JSON Schema: Rights_statement_act

URI Template

Properties

- (string) act_type

- (string) restriction

- (date) start_date

- (date) end_date

- (array (JSONModel(:note_rights_statement_act) object)) notes

View Source


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

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

    "properties" => {
      "act_type" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "rights_statement_act_type"},
      "restriction" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "rights_statement_act_restriction"},
      "start_date" => {"type" => "date", "minLength" => 1, "ifmissing" => "error"},
      "end_date" => {"type" => "date", "required" => false},

      "notes" => {
        "type" => "array",
        "items" => {"type" => "JSONModel(:note_rights_statement_act) object"},
      },
    },
  },
}

Plain Text Version