JSON Schema: Subrecord_requirement

URI Template

Properties

- (string) property

- (string) record_type

- (array (string)) required_fields

- (boolean) required

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/subrecord_requirement.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "properties" => {
      "property" => {
        "type" => "string",
        "ifmissing" => "error"
      },
      "record_type" => {
        "type" => "string"
      },
      "required_fields" => {
        "type" => "array",
        "items" => {"type" => "string"},
      },
      "required" => {"type" => "boolean", "default" => false}
    },
  },
}

Plain Text Version