JSON Schema: Container

URI Template

Properties

- (string) container_profile_key

- (string) type_1

- (string (max length: 255)) indicator_1

- (string (max length: 255)) barcode_1

- (string) type_2

- (string (max length: 255)) indicator_2

- (string) type_3

- (string (max length: 255)) indicator_3

- (string (max length: 255)) container_extent

- (string) container_extent_type

- (array (JSONModel(:container_location) object)) container_locations

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/container.rb', line 1

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

      "type_1" => {"type" => "string", "dynamic_enum" => "container_type", "required" => false},
      "indicator_1" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "required" => false },
      "barcode_1" => {"type" => "string", "maxLength" => 255, "minLength" => 1},

      "type_2" => {"type" => "string", "dynamic_enum" => "container_type"},
      "indicator_2" => {"type" => "string", "maxLength" => 255},

      "type_3" => {"type" => "string", "dynamic_enum" => "container_type"},
      "indicator_3" => {"type" => "string", "maxLength" => 255},

      "container_extent" => {"type" => "string", "maxLength" => 255, "required" => false},
      "container_extent_type" => {"type" => "string", "required" => false, "dynamic_enum" => "extent_extent_type"},

      "container_locations" => {
        "type" => "array",
        "items" => {
          "type" => "JSONModel(:container_location) object",
        }
      }
    },
  },
}

Plain Text Version