JSON Schema: Record_tree

URI Template

Properties

- (string) uri

- (integer) id

- (string) record_uri

- (string (max length: 16384)) title

- (boolean) suppressed

- (boolean) publish

- (boolean) has_children

- (string (max length: 255)) node_type

View Source


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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "properties" => {
      "uri" => {"type" => "string", "required" => false},
      "id" => {"type" => "integer", "ifmissing" => "error"},
      "record_uri" => {"type" => "string", "ifmissing" => "error"},
      "title" => {"type" => "string", "minLength" => 1, "required" => false, "maxLength" => 16384},
      "suppressed" => {"type" => "boolean", "default" => false},
      "publish" => {"type" => "boolean"},
      "has_children" => {"type" => "boolean", "readonly" => true},
      "node_type" => {"type" => "string", "maxLength" => 255},
    },
  },
}

Plain Text Version