{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "pattern": "^Feature$"
    },
    "id": {
      "type": "string",
      "pattern": "^[a-z0-9_\\-]{3,255}$"
    },
    "geometry": {
      "$ref": "../../geojson/point.json"
    },
    "properties": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        },
        "type": {
          "type": "string",
          "pattern": "^op$"
        },
        "sp_values": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "description": "0: stage (float), 1: cond (float), 2: rbot (float)",
              "type": "number",
              "minItems": 3,
              "maxItems": 3
            }
          }
        }
      },
      "required": [
        "name",
        "type",
        "sp_values"
      ]
    }
  },
  "required": [
    "type",
    "id",
    "geometry",
    "properties"
  ]
}
