JSON Schema: Note_structure_or_genealogy

URI Template

Properties

- (array ([{"type"=>"JSONModel(:note_text) object"}, {"type"=>"JSONModel(:note_definedlist) object"}, {"type"=>"JSONModel(:note_orderedlist) object"}, {"type"=>"JSONModel(:note_outline) object"}])) subnotes

View Source


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

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

    "properties" => {

      "subnotes" => {
        "type" => "array",
        "items" => {"type" => [{"type" => "JSONModel(:note_text) object"},
                               {"type" => "JSONModel(:note_definedlist) object"},
                               {"type" => "JSONModel(:note_orderedlist) object"},
                               {"type" => "JSONModel(:note_outline) object"}]},
      },
    },
  },
}

Plain Text Version