JSON Schema: Field_query

URI Template

Properties

- (boolean) negated

- (string) field

- (string) value

- (boolean) literal

- (string) comparator

View Source


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

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

      "negated" => {"type" => "boolean", "default" => false},
      "field" => {"type" => "string", "ifmissing" => "error"},
      "value" => {"type" => "string"},

      "literal" => {"type" => "boolean", "default" => false},
      "comparator" => {"type" => "string", "enum" => ["contains", "empty"]},

    },
  },
}

Plain Text Version