JSON Schema: Digital_object_tree

URI Template

/repositories/:repo_id/digital_objects/:digital_object_id/tree

Properties

- (string (max length: 255)) level

- (string (max length: 255)) digital_object_type

- (array (object)) file_versions

- (array (JSONModel(:digital_object_tree) object)) children

View Source


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'common/schemas/digital_object_tree.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/repositories/:repo_id/digital_objects/:digital_object_id/tree",
    "parent" => "record_tree",
    "properties" => {
      "level" => {"type" => "string", "maxLength" => 255},
      "digital_object_type" => {"type" => "string", "maxLength" => 255},
      "file_versions" => {"type" => "array", "items" => {"type" => "object"}},
      "children" => {
        "type" => "array",
        "additionalItems" => false,
        "items" => { "type" => "JSONModel(:digital_object_tree) object" }
      }
    },
  },
}

Plain Text Version