{
  "title": "Range Information",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Range Information.",
  "properties": {
    "currentRangeExtent": {
      "type": "array",
      "description": "Contains the min and max values within which the features are visible.",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "field": {
      "type": "string",
      "description": "Field name to used for the range."
    },
    "fullRangeExtent": {
      "type": "array",
      "description": "Contains the min and max values of all the features for this rangeInfo.",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "name": {
      "type": "string",
      "description": "A unique name that can be referenced by webMap.activeRanges."
    },
    "type": {
      "type": "string",
      "description": "Type of range object.",
      "enum": [
        "rangeInfo"
      ]
    }
  },
  "required": [
    "field",
    "name",
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "rangeInfo",
        "schema": "layerDefinition_schema.json",
        "code": {
          "layerDefinition": {
            "rangeInfos": [
              {
                "type": "rangeInfo",
                "name": "floors",
                "field": "floor",
                "currentRangeExtent": [
                  -2,
                  10
                ],
                "fullRangeExtent": [
                  -2,
                  100
                ]
              }
            ]
          }
        }
      }
    ]
  }
}
