JSON Schema: Name_family

URI Template

Properties

- (string (max length: 65000)) family_name

- (string (max length: 65000)) prefix

- (string (max length: 65000)) location

- (string (max length: 65000)) family_type

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

View Source


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

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

    "properties" => {
      "family_name" => {"type" => "string", "maxLength" => 65000, "ifmissing" => "error"},
      "prefix" => {"type" => "string", "maxLength" => 65000},
      "location" => {"type" => "string", "maxLength" => 65000},
      "family_type" => {"type" => "string", "maxLength" => 65000},

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

Plain Text Version