JSON Schema: Repository
URI Template
/repositories
Properties
- (string) uri
- (string (max length: 255)) repo_code
- (string (max length: 255)) name
- (string (max length: 255)) org_code
- (string) country
- (string (max length: 255)) parent_institution_name
- (string (max length: 255)) url
- (string (max length: 255)) image_url
- (string (max length: 65000)) contact_persons
- (object) agent_representation
View Source
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'common/schemas/repository.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "uri" => "/repositories", "properties" => { "uri" => {"type" => "string", "required" => false}, "repo_code" => {"type" => "string", "maxLength" => 255, "ifmissing" => "error", "minLength" => 1}, "name" => {"type" => "string", "maxLength" => 255, "ifmissing" => "error", "default" => ""}, "org_code" => {"type" => "string", "maxLength" => 255}, "country" => {"type" => "string", "required" => false, "dynamic_enum" => "country_iso_3166"}, "parent_institution_name" => {"type" => "string", "maxLength" => 255}, "url" => {"type" => "string", "maxLength" => 255, "pattern" => "\\Ahttps?:\\/\\/[\\\S]+\\z"}, "image_url" => {"type" => "string", "maxLength" => 255, "pattern" => "\\Ahttps?:\\/\\/[\\\S]+\\z"}, "contact_persons" => {"type" => "string", "maxLength" => 65000}, "agent_representation" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => { "type" => "JSONModel(:agent_corporate_entity) uri", "ifmissing" => "error", "readonly" => "true" } } }, }, }, } |
Plain Text Version