JSON Schema: Assessment_attribute_definitions

URI Template

/repositories/:repo_id/assessment_attribute_definitions

Properties

- (array (Object (id, label, type, global, readonly, position))) definitions

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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/repositories/:repo_id/assessment_attribute_definitions",
    "properties" => {
      "definitions" => {
        "type" => "array",
        "items" => {
          "type" => "object",
          "properties" => {
            "id" => { "type" => "integer" },
            "label" => { "type" => "string", "ifmissing" => "error" },
            "type" => { "enum" => ["rating", "format", "conservation_issue"], "ifmissing" => "error" },
            "global" => { "type" => "boolean", "default" => false },
            "readonly" => { "type" => "boolean", "default" => false },
            "position" => { "type" => "integer", "readonly" => "true"},
          }
        }
      }
    }
  }
}

Plain Text Version