JSON Schema: Container_location

URI Template

Properties

- (string) status

- (date) start_date

- (date) end_date

- (string) note

- (JSONModel(:location) 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
# File 'common/schemas/container_location.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "subtype" => "ref",
    "properties" => {
      "status" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "container_location_status"},
      "start_date" => {"type" => "date", "minLength" => 1, "ifmissing" => "error"},
      "end_date" => {"type" => "date"},
      "note" => {"type" => "string"},
      "ref" => {"type" => "JSONModel(:location) uri", "ifmissing" => "error"},
      "_resolved" => {
        "type" => "object",
        "readonly" => "true"
      }
    },
  },
}

Plain Text Version