JSON Schema: Rights_statement

URI Template

Properties

- (string) rights_type

- (string (max length: 255)) identifier

- (boolean) active

- (string (max length: 255)) materials

- (string) ip_status

- (date) ip_expiration_date

- (string (max length: 255)) license_identifier_terms

- (string (max length: 255)) statute_citation

- (string) jurisdiction

- (string (max length: 255)) type_note

- (string (max length: 65000)) permissions

- (string (max length: 65000)) restrictions

- (date) restriction_start_date

- (date) restriction_end_date

- (string (max length: 255)) granted_note

- (array (JSONModel(:external_document) object)) external_documents

View Source


1
2
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
# File 'common/schemas/rights_statement.rb', line 1

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

    "properties" => {
      "rights_type" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "rights_statement_rights_type"},
      "identifier" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "required" => false},

      "active" => {"type" => "boolean", "default" => true},

      "materials" => {"type" => "string", "maxLength" => 255, "required" => false},

      "ip_status" => {"type" => "string", "required" => false, "dynamic_enum" => "rights_statement_ip_status"},
      "ip_expiration_date" => {"type" => "date", "required" => false},

      "license_identifier_terms" => {"type" => "string", "maxLength" => 255, "required" => false},

      "statute_citation" => {"type" => "string", "maxLength" => 255, "required" => false},

      "jurisdiction" => {"type" => "string", "required" => false, "dynamic_enum" => "country_iso_3166"},
      "type_note" => {"type" => "string", "maxLength" => 255, "required" => false},

      "permissions" => {"type" => "string", "maxLength" => 65000, "required" => false},
      "restrictions" => {"type" => "string", "maxLength" => 65000, "required" => false},
      "restriction_start_date" => {"type" => "date", "required" => false},
      "restriction_end_date" => {"type" => "date", "required" => false},

      "granted_note" => {"type" => "string", "maxLength" => 255, "required" => false},

      "external_documents" => {"type" => "array", "items" => {"type" => "JSONModel(:external_document) object"}},
    },
  },
}

Plain Text Version