JSON Schema: Abstract_name

URI Template

Properties

- (string (max length: 255)) authority_id

- (string (max length: 255)) dates

- (array (JSONModel(:structured_date_label) object)) use_dates

- (string (max length: 255)) qualifier

- (string) source

- (string) rules

- (boolean) authorized

- (boolean) is_display_name

- (string) language

- (string) script

- (string) transliteration

- (string (max length: 255)) sort_name

- (boolean) sort_name_auto_generate

View Source


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
32
33
34
35
36
37
38
39
# File 'common/schemas/abstract_name.rb', line 3

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "properties" => {
      "authority_id" => {"type" => "string", "maxLength" => 255},
      "dates" => {"type" => "string", "maxLength" => 255},
      "use_dates" => {"type" => "array", "items" => {"type" => "JSONModel(:structured_date_label) object"}},
      "qualifier" => {"type" => "string", "maxLength" => 255},
      "source" => {"type" => "string", "dynamic_enum" => "name_source"},
      "rules" => {"type" => "string", "dynamic_enum" => "name_rule"},

      "authorized" => {"type" => "boolean", "default" => false},
      "is_display_name" => {"type" => "boolean", "default" => false},

      "language" => {
        "type" => "string",
        "dynamic_enum" => "language_iso639_2",
        "required" => false
      },
      "script" => {
        "type" => "string",
        "dynamic_enum" => "script_iso15924",
        "required" => false
      },
      "transliteration" => {
        "type" => "string",
        "dynamic_enum" => "transliteration",
        "required" => false
      },

      "sort_name" => {"type" => "string", "maxLength" => 255},
      "sort_name_auto_generate" => {"type" => "boolean", "default" => true},
    },
  },
}

Plain Text Version