JSON Schema: Extent

URI Template

Properties

- (string) portion

- (string (max length: 255)) number

- (string) extent_type

- (string (max length: 65000)) container_summary

- (string (max length: 65000)) physical_details

- (string (max length: 255)) dimensions

View Source


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'common/schemas/extent.rb', line 1

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

    "properties" => {
      "portion" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "extent_portion"},
      "number" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "ifmissing" => "error"},
      "extent_type" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "extent_extent_type"},

      "container_summary" => {"type" => "string", "maxLength" => 65000, "required" => false},
      "physical_details" => {"type" => "string", "maxLength" => 65000, "required" => false},
      "dimensions" => {"type" => "string", "maxLength" => 255, "required" => false},
    },
  },
}

Plain Text Version