{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "type": "object",
  "properties": {
    "features": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "properties": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "id": { "type": "string" },
              "start_date": { "type": ["string", "null"], "format": "date" },
              "end_date": { "type": ["string", "null"], "format": "date" },
              "elevation": {
                "type": "string",
                "enum": ["low", "high", "low_high"]
              },
              "elevation line_visualization": {
                "oneOf": [{ "type": "number" }, { "type": "null" }]
              },
              "threshold": {
                "oneOf": [{ "type": "number" }, { "type": "null" }]
              }
            },
            "required": ["id", "elevation"]
          }
        }
      }
    }
  }
}
