JSON Schema: Deaccession

URI Template

Properties

- (string) scope

- (string (max length: 65000)) description

- (string (max length: 65000)) reason

- (string (max length: 65000)) disposition

- (boolean) notification

- (JSONModel(:date) object) date

- (array (JSONModel(:extent) object)) extents

View Source


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

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

      "scope" => {"type" => "string", "dynamic_enum" => "deaccession_scope", "ifmissing" => "error"},
      "description" => {"type" => "string", "maxLength" => 65000, "minLength" => 1, "ifmissing" => "error"},

      "reason" => {"type" => "string", "maxLength" => 65000},
      "disposition" => {"type" => "string", "maxLength" => 65000},
      "notification" => {"type" => "boolean", "default" => false},

      "date" => {"type" => "JSONModel(:date) object", "ifmissing" => "error"},

      "extents" => {"type" => "array", "items" => {"type" => "JSONModel(:extent) object"}},
    },
  },
}

Plain Text Version