JSON Schema: Name_person

URI Template

Properties

- (string (max length: 255)) primary_name

- (string (max length: 16384)) title

- (string) name_order

- (string (max length: 65000)) prefix

- (string (max length: 65000)) rest_of_name

- (string (max length: 65000)) suffix

- (string (max length: 65000)) fuller_form

- (string (max length: 255)) number

- (array (JSONModel(:parallel_name_person) object)) parallel_names

View Source


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

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

    "properties" => {
      "primary_name" => {"type" => "string", "maxLength" => 255, "ifmissing" => "error"},
      "title" => {"type" => "string", "maxLength" => 16384},
      "name_order" => {"type" => "string", "ifmissing" => "error", "dynamic_enum" => "name_person_name_order"},
      "prefix" => {"type" => "string", "maxLength" => 65000},
      "rest_of_name" => {"type" => "string", "maxLength" => 65000},
      "suffix" => {"type" => "string", "maxLength" => 65000},
      "fuller_form" => {"type" => "string", "maxLength" => 65000},
      "number" => {"type" => "string", "maxLength" => 255},

      "parallel_names" => {"type" => "array", "items" => {"type" => "JSONModel(:parallel_name_person) object"}},
    },
  },
}

Plain Text Version