JSON Schema: Agent_place
URI Template
Properties
- (boolean) publish
- (string) place_role
- (array (JSONModel(:structured_date_label) object)) dates
- (array ([{"type"=>"JSONModel(:note_text) object"}, {"type"=>"JSONModel(:note_citation) object"}])) notes
- (array (Object (ref, _resolved))) subjects
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 |
# File 'common/schemas/agent_place.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "properties" => { "publish" => {"type" => "boolean"}, "place_role" => {"type" => "string", "dynamic_enum" => "place_role", "required" => false}, "dates" => { "type" => "array", "items" => {"type" => "JSONModel(:structured_date_label) object"} }, "notes" => { "type" => "array", "items" => {"type" => [{"type" => "JSONModel(:note_text) object"}, {"type" => "JSONModel(:note_citation) object"}]}, }, "subjects" => { "type" => "array", "items" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => { "type" => "JSONModel(:subject) uri", "ifmissing" => "error" }, "_resolved" => { "type" => "object", "readonly" => "true" } } } }, }, }, } |
Plain Text Version