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: 65000)) description
- (string (max length: 255)) url
- (string (max length: 255)) image_url
- (string (max length: 65000)) contact_persons
- (boolean) publish
- (integer) position
- (string) display_string
- (boolean) oai_is_disabled
- (string) oai_sets_available
- (string) slug
- (boolean) is_slug_auto
- (string) ark_shoulder
- (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 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# 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}, "description" => {"type" => "string", "maxLength" => 65000}, "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}, "publish" => {"type" => "boolean"}, "position" => {"type" => "integer", "readonly" => "true"}, "display_string" => {"type" => "string", "readonly" => true}, "oai_is_disabled" => {"type" => "boolean"}, "oai_sets_available" => {"type" => "string"}, "slug" => {"type" => "string"}, "is_slug_auto" => {"type" => "boolean", "default" => true}, "ark_shoulder" => {"type" => "string"}, "agent_representation" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => { "type" => "JSONModel(:agent_corporate_entity) uri", "ifmissing" => "error", "readonly" => "true" } } }, }, }, } |
Plain Text Version