JSON Schema: Digital_object
URI Template
/repositories/:repo_id/digital_objects
Properties
- (string (max length: 255)) digital_object_id
- (string) level
- (string) digital_object_type
- (array (JSONModel(:file_version) object)) file_versions
- (boolean) restrictions
- (object) tree
- (array ([{"type"=>"JSONModel(:note_bibliography) object"}, {"type"=>"JSONModel(:note_digital_object) object"}])) notes
- (JSONModel(:collection_management) object) collection_management
- (JSONModel(:user_defined) object) user_defined
- (array (Object (ref, _resolved))) linked_instances
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 |
# File 'common/schemas/digital_object.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "parent" => "abstract_archival_object", "uri" => "/repositories/:repo_id/digital_objects", "properties" => { "digital_object_id" => {"type" => "string", "maxLength" => 255, "ifmissing" => "error"}, "level" => {"type" => "string", "dynamic_enum" => "digital_object_level"}, "digital_object_type" => { "type" => "string", "dynamic_enum" => "digital_object_digital_object_type" }, "file_versions" => {"type" => "array", "items" => {"type" => "JSONModel(:file_version) object"}}, "restrictions" => {"type" => "boolean", "default" => false}, "tree" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => { "type" => "JSONModel(:digital_object_tree) uri", "ifmissing" => "error" }, "_resolved" => { "type" => "object", "readonly" => "true" } } }, "notes" => { "type" => "array", "items" => {"type" => [{"type" => "JSONModel(:note_bibliography) object"}, {"type" => "JSONModel(:note_digital_object) object"}]}, }, "collection_management" => {"type" => "JSONModel(:collection_management) object"}, "user_defined" => {"type" => "JSONModel(:user_defined) object"}, "linked_instances" => { "type" => "array", "readonly" => "true", "items" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => { "type" => ["JSONModel(:resource) uri", "JSONModel(:archival_object) object"], "ifmissing" => "error" }, "_resolved" => { "type" => "object", "readonly" => "true" } } }, }, }, }, } |
Plain Text Version