JSON Schema: Classification_term

URI Template

/repositories/:repo_id/classification_terms

Properties

- (string) display_string

- (string) slug

- (boolean) is_slug_auto

- (integer) position

- (object) parent

- (object) classification

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
36
37
38
39
40
41
42
# File 'common/schemas/classification_term.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "parent" => "abstract_classification",
    "uri" => "/repositories/:repo_id/classification_terms",
    "properties" => {
      "display_string" => {"type" => "string", "readonly" => true},
      "slug" => {"type" => "string"},
      "is_slug_auto" => {"type" => "boolean", "default" => true},

      "position" => {"type" => "integer", "required" => false},

      "parent" => {
        "type" => "object",
        "subtype" => "ref",
        "properties" => {
          "ref" => {"type" => "JSONModel(:classification_term) uri"},
          "_resolved" => {
            "type" => "object",
            "readonly" => "true"
          }
        },
      },

      "classification" => {
        "type" => "object",
        "subtype" => "ref",
        "ifmissing" => "error",
        "properties" => {
          "ref" => {"type" => "JSONModel(:classification) uri"},
          "_resolved" => {
            "type" => "object",
            "readonly" => "true"
          },
        },
        "ifmissing" => "error"
      }
    },
  },
}

Plain Text Version