JSON Schema: Agent_relationship_temporal

URI Template

Properties

- (string) relator

- ([{"type"=>"JSONModel(:agent_person) uri"}, {"type"=>"JSONModel(:agent_family) uri"}, {"type"=>"JSONModel(:agent_corporate_entity) 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
# File 'common/schemas/agent_relationship_temporal.rb', line 1

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

      "ref" => {
        "type" => [{"type" => "JSONModel(:agent_person) uri"},
                   {"type" => "JSONModel(:agent_family) uri"},
                   {"type" => "JSONModel(:agent_corporate_entity) uri"}],
        "ifmissing" => "error"
      },

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

Plain Text Version