JSON Schema: Date

URI Template

Properties

- (string) date_type

- (string) label

- (string) certainty

- (string (max length: 255)) expression

- (string (max length: 255)) begin

- (string (max length: 255)) end

- (string) era

- (string) calendar

View Source


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

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

    "properties" => {
      "date_type" => {"type" => "string", "dynamic_enum" => "date_type", "ifmissing" => "error"},
      "label" => {"type" => "string", "dynamic_enum" => "date_label", "ifmissing" => "error"},

      "certainty" => {"type" => "string", "dynamic_enum" => "date_certainty"},
      "expression" => {"type" => "string", "maxLength" => 255},
      "begin" => {"type" => "string", "maxLength" => 255},
      "end" => {"type" => "string", "maxLength" => 255},
      "era" => {"type" => "string", "dynamic_enum" => "date_era"},
      "calendar" => {"type" => "string", "dynamic_enum" => "date_calendar"},
    },
  },
}

Plain Text Version