JSON Schema: Note_index

URI Template

Properties

- (array (string)) content

- (string) type

- (array ([{"type"=>"JSONModel(:note_index_item) object"}])) items

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

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

    "properties" => {

      "content" => {
        "type" => "array",
        "items" => {"type" => "string", "maxLength" => 65000},
        "minItems" => 0,
        "ifmissing" => nil,
      },

      "type" => {
        "type" => "string",
        "readonly" => true,
        "dynamic_enum" => "note_index_type"
      },

      "items" => {
        "type" => "array",
        "items" => {"type" => [{"type" => "JSONModel(:note_index_item) object"}]}
      }
    },
  },
}

Plain Text Version