{
  "title": "rangeDomain",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Range domain specifies a range of valid values for a field.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The domain name."
    },
    "range": {
      "type": "array",
      "description": "The first element is the minValue and the second element is the maxValue.",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2,
      "uniqueItems": true
    },
    "type": {
      "type": "string",
      "description": "String value representing the domain type.",
      "enum": [
        "range"
      ]
    }
  },
  "required": [
    "range",
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "rangeDomain",
        "code": {
          "domain": {
            "type": "range",
            "name": "Measured Length",
            "range": [
              1,
              10000
            ]
          }
        }
      }
    ]
  }
}
