JSON Schema: Term

URI Template

/terms

Properties

- (string) uri

- (string (max length: 255)) term

- (string) term_type

- (JSONModel(:vocabulary) uri) vocabulary

View Source


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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/terms",
    "properties" => {
      "uri" => {"type" => "string", "required" => false},

      "term" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "ifmissing" => "error"},
      "term_type" => {"type" => "string", "minLength" => 1, "ifmissing" => "error", "dynamic_enum" => "subject_term_type"},

      "vocabulary" => {"type" => "JSONModel(:vocabulary) uri", "ifmissing" => "error"}
    },
  },
}

Plain Text Version