JSON Schema: Location
URI Template
/locations
Properties
- (string) uri
- (string) title
- (array (JSONModel(:external_id) object)) external_ids
- (string (max length: 255)) building
- (string (max length: 255)) floor
- (string (max length: 255)) room
- (string (max length: 255)) area
- (string (max length: 255)) barcode
- (string (max length: 255)) classification
- (string (max length: 255)) coordinate_1_label
- (string (max length: 255)) coordinate_1_indicator
- (string (max length: 255)) coordinate_2_label
- (string (max length: 255)) coordinate_2_indicator
- (string (max length: 255)) coordinate_3_label
- (string (max length: 255)) coordinate_3_indicator
- (string) temporary
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 |
# File 'common/schemas/location.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "uri" => "/locations", "properties" => { "uri" => {"type" => "string", "required" => false}, "title" => {"type" => "string", "readonly" => true}, "external_ids" => {"type" => "array", "items" => {"type" => "JSONModel(:external_id) object"}}, "building" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "ifmissing" => "error"}, "floor" => {"type" => "string", "maxLength" => 255, "required" => false}, "room" => {"type" => "string", "maxLength" => 255, "required" => false}, "area" => {"type" => "string", "maxLength" => 255, "required" => false}, "barcode" => {"type" => "string", "maxLength" => 255, "required" => false}, "classification" => {"type" => "string", "maxLength" => 255, "required" => false}, "coordinate_1_label" => {"type" => "string", "maxLength" => 255, "required" => false}, "coordinate_1_indicator" => {"type" => "string", "maxLength" => 255, "required" => false}, "coordinate_2_label" => {"type" => "string", "maxLength" => 255, "required" => false}, "coordinate_2_indicator" => {"type" => "string", "maxLength" => 255, "required" => false}, "coordinate_3_label" => {"type" => "string", "maxLength" => 255, "required" => false}, "coordinate_3_indicator" => {"type" => "string", "maxLength" => 255, "required" => false}, "temporary" => {"type" => "string", "dynamic_enum" => "location_temporary"}, }, }, } |
Plain Text Version