JSON Schema: Resource_tree

URI Template

/repositories/:repo_id/resources/:resource_id/tree

Properties

- (string (max length: 65000)) finding_aid_filing_title

- (string (max length: 255)) level

- (string (max length: 255)) component_id

- (array (string)) instance_types

- (array (object)) containers

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

View Source


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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/repositories/:repo_id/resources/:resource_id/tree",
    "parent" => "record_tree",
    "properties" => {
      "finding_aid_filing_title" => {"type" => "string", "maxLength" => 65000},
      "level" => {"type" => "string", "maxLength" => 255},
      "component_id" => {"type" => "string", "maxLength" => 255},
      "instance_types" => {"type" => "array", "items" => {"type" => "string"}},
      "containers" => {"type" => "array", "items" => {"type" => "object"}},
      "children" => {
        "type" => "array",
        "additionalItems" => false,
        "items" => { "type" => "JSONModel(:resource_tree) object" }
      }
    },
  },
}

Plain Text Version