JSON Schema: Resource_ordered_records

URI Template

/repositories/:repo_id/resources/:id/ordered_records

Properties

- (array (Object (ref, display_string, depth, level, _resolved))) uris

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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/repositories/:repo_id/resources/:id/ordered_records",
    "properties" => {
      "uris" => {
        "type" => "array",
        "items" => {
          "type" => "object",
          "subtype" => "ref",
          "properties" => {
            "ref" => {
              "type" => [ { "type" => "JSONModel(:resource) uri"},
                          { "type" => "JSONModel(:archival_object) uri" }],
              "ifmissing" => "error"
            },
            "display_string" => {"type" => "string", "readonly" => true},
            "depth" => {"type" => "integer", "readonly" => true},
            "level" => {"type" => "string", "readonly" => true},
            "_resolved" => {
              "type" => "object",
              "readonly" => "true"
            }
          }
        }
      },
    },
  },
}

Plain Text Version