{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "region-dict": {
      "title": "Regions",
      "description": "Defines regions of the cluster",
      "patternProperties": {
        ".*": {
          "properties": {
            "state": {
              "title": "State",
              "description": "State of the node of the region. Can be used to destroy not needed regions.",
              "type": "string",
              "default": "started",
              "enum": [
                "started",
                "stopped",
                "destroyed"
              ]
            },
            "sla-computer_guid": {
              "title": "GUID of the computer on which this region shall be deployed",
              "description": "Unique identifier of the computer, like \"COMP-1234\". By default, let Master choose a computer.",
              "type": "string",
              "default": ""
            },
            "nameserver-list": {
              "default": [],
              "title": "Nameservers",
              "description": "List of nameservers to use.",
              "type": "array"
            },
            "check-frontend-ip-list": {
              "default": [],
              "title": "Default Frontend IPs to check",
              "description": "List of default frontend IPs to check, if empty no constraint is used.",
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "nameserver-list": {
      "default": [],
      "title": "Nameservers (backward compatibility)",
      "description": "List of nameservers to use. Note: This is backward compatibility, use region-dict for full configuration control.",
      "type": "array"
    },
    "check-frontend-ip-list": {
      "default": [],
      "title": "Default Frontend IPs to check (backward compatibility)",
      "description": "List of default frontend IPs to check, if empty no constraint is used. Note: This is backward compatibility, use region-dict for full configuration control.",
      "type": "array"
    }
  }
}
