JSON Schema: Date_field_query

URI Template

Properties

- (string) comparator

- (string) field

- (date) value

View Source


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

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

      "comparator" => {"type" => "string", "enum" => ["greater_than", "lesser_than", "equal"]},
      "field" => {"type" => "string", "ifmissing" => "error"},
      "value" => {"type" => "date", "ifmissing" => "error"},

    },
  },
}

Plain Text Version