JSON Schema: Agent_maintenance_history

URI Template

Properties

- (string) maintenance_event_type

- (string) maintenance_agent_type

- (date-time) event_date

- (string (max length: 65000)) agent

- (string (max length: 65000)) descriptive_note

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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",

    "properties" => {
      "maintenance_event_type" => {
        "type" => "string",
        "dynamic_enum" => "maintenance_event_type",
        "ifmissing" => "error"
      },
      "maintenance_agent_type" => {
        "type" => "string",
        "dynamic_enum" => "maintenance_agent_type",
        "ifmissing" => "error",
        "default" => "Human"
      },
      "event_date" => {"type" => "date-time", "ifmissing" => "error"},
      "agent" => {"type" => "string", "maxLength" => 65000, "ifmissing" => "error"},
      "descriptive_note" => {"type" => "string", "maxLength" => 65000, "default" => ""},
    }
  }
}

Plain Text Version