JSON Schema: Digital_object_component

URI Template

/repositories/:repo_id/digital_object_components

Properties

- (string (max length: 255)) component_id

- (string (max length: 255)) label

- (string) title

- (string (max length: 8192)) display_string

- (array (JSONModel(:file_version) object)) file_versions

- (string) slug

- (boolean) is_slug_auto

- (object) parent

- (object) digital_object

- (integer) position

- (array ([{"type"=>"JSONModel(:note_bibliography) object"}, {"type"=>"JSONModel(:note_digital_object) object"}])) notes

- (boolean) has_unpublished_ancestor

- (array (Object (ref, _resolved))) ancestors

View Source


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
73
74
# File 'common/schemas/digital_object_component.rb', line 3

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "parent" => "abstract_archival_object",
    "uri" => "/repositories/:repo_id/digital_object_components",
    "properties" => {

      "component_id" => {"type" => "string", "maxLength" => 255},
      "label" => {"type" => "string", "maxLength" => 255},
      "title" => {"type" => "string", "ifmissing" => nil},
      "display_string" => {"type" => "string", "maxLength" => 8192, "readonly" => true},

      "file_versions" => {"type" => "array", "items" => {"type" => "JSONModel(:file_version) object"}},

      "slug" => {"type" => "string"},
      "is_slug_auto" => {"type" => "boolean", "default" => true},

      "parent" => {
        "type" => "object",
        "subtype" => "ref",
        "properties" => {
          "ref" => {"type" => "JSONModel(:digital_object_component) uri"},
          "_resolved" => {
            "type" => "object",
            "readonly" => "true"
          }
        }
      },

      "digital_object" => {
        "type" => "object",
        "subtype" => "ref",
        "properties" => {
          "ref" => {"type" => "JSONModel(:digital_object) uri"},
          "_resolved" => {
            "type" => "object",
            "readonly" => "true"
          }
        },
        "ifmissing" => "error"
      },

      "position" => {"type" => "integer", "required" => false},

      "notes" => {
            "type" => "array",
            "items" => {"type" => [{"type" => "JSONModel(:note_bibliography) object"},
                                   {"type" => "JSONModel(:note_digital_object) object"}]},
          },

      "has_unpublished_ancestor" => {"type" => "boolean", "readonly" => "true"},

      "ancestors" => {
        "type" => "array",
        "items" => {
          "type" => "object",
          "subtype" => "ref",
          "properties" => {
            "ref" => {"type" => [{"type" => "JSONModel(:digital_object) uri"},
                                 {"type" => "JSONModel(:digital_object_component) uri"}]},
            "_resolved" => {
              "type" => "object",
              "readonly" => "true"
            }
          }
        }
      },
    },
  },
}

Plain Text Version