JSON Schema: Accession_parts_relationship

URI Template

Properties

- (string) relator

- (string) relator_type

- (JSONModel(:accession) uri) ref

- (object) _resolved

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
# File 'common/schemas/accession_parts_relationship.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "subtype" => "ref",
    "properties" => {
      "relator" => {
        "type" => "string",
        "dynamic_enum" => "accession_parts_relator",
        "ifmissing" => "error"
      },

      "relator_type" => {
        "type" => "string",
        "dynamic_enum" => "accession_parts_relator_type",
        "ifmissing" => "error"
      },

      "ref" => {
        "type" => "JSONModel(:accession) uri",
        "ifmissing" => "error"
      },

      "_resolved" => {
        "type" => "object",
        "readonly" => "true"
      }
    }
  }
}

Plain Text Version