JSON Schema: Archival_object
URI Template
/repositories/:repo_id/archival_objects
Properties
- (string (max length: 255)) ref_id
- (string (max length: 255)) component_id
- (string) level
- (string (max length: 255)) other_level
- (string (max length: 8192)) title
- (string (max length: 8192)) display_string
- (boolean) restrictions_apply
- (string (max length: 65000)) repository_processing_note
- (object) parent
- (object) resource
- (object) series
- (integer) position
- (array (JSONModel(:instance) object)) instances
- (array ([{"type"=>"JSONModel(:note_bibliography) object"}, {"type"=>"JSONModel(:note_index) object"}, {"type"=>"JSONModel(:note_multipart) object"}, {"type"=>"JSONModel(:note_singlepart) object"}])) notes
- (boolean) has_unpublished_ancestor
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'common/schemas/archival_object.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "parent" => "abstract_archival_object", "uri" => "/repositories/:repo_id/archival_objects", "properties" => { "ref_id" => {"type" => "string", "maxLength" => 255, "pattern" => "\\A[a-zA-Z0-9\\-_:\\.]*\\z"}, "component_id" => {"type" => "string", "maxLength" => 255, "required" => false, "default" => ""}, "level" => {"type" => "string", "ifmissing" => "error", "dynamic_enum" => "archival_record_level"}, "other_level" => {"type" => "string", "maxLength" => 255}, "title" => {"type" => "string", "maxLength" => 8192, "ifmissing" => nil}, "display_string" => {"type" => "string", "maxLength" => 8192, "readonly" => true}, "restrictions_apply" => {"type" => "boolean", "default" => false}, "repository_processing_note" => {"type" => "string", "maxLength" => 65000}, "parent" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => {"type" => "JSONModel(:archival_object) uri"}, "_resolved" => { "type" => "object", "readonly" => "true" } } }, "resource" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => {"type" => "JSONModel(:resource) uri"}, "_resolved" => { "type" => "object", "readonly" => "true" } } }, "series" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => {"type" => "JSONModel(:archival_object) uri"}, "_resolved" => { "type" => "object", "readonly" => "true" } } }, "position" => {"type" => "integer", "required" => false}, "instances" => {"type" => "array", "items" => {"type" => "JSONModel(:instance) object"}}, "notes" => { "type" => "array", "items" => {"type" => [{"type" => "JSONModel(:note_bibliography) object"}, {"type" => "JSONModel(:note_index) object"}, {"type" => "JSONModel(:note_multipart) object"}, {"type" => "JSONModel(:note_singlepart) object"}]}, }, "has_unpublished_ancestor" => {"type" => "boolean", "readonly" => "true"}, }, }, } |
Plain Text Version