{
  "description": "Zone is the Schema for the zones API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "ZoneSpec defines the desired state of Zone",
      "properties": {
        "id": {
          "description": "ID of the zone",
          "type": "string"
        },
        "interval": {
          "default": "5m",
          "description": "Interval to check zone status",
          "type": "string"
        },
        "name": {
          "description": "Name of the zone",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "ZoneStatus defines the observed state of Zone",
      "properties": {
        "message": {
          "description": "Message if the Zone failed",
          "type": "string"
        },
        "phase": {
          "description": "Phase of the Zone",
          "enum": [
            "Active",
            "Pending",
            "Failed"
          ],
          "type": "string"
        }
      },
      "required": [
        "phase"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
