JSON Schema: Boolean_field_query

URI Template

Properties

- (string) field

- (boolean) value

- (boolean) negated

View Source


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

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

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

    },
  },
}

Plain Text Version