{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "bootstrap": {
          "properties": {
            "configRef": {
              "properties": {
                "apiVersion": {
                  "type": "string"
                },
                "fieldPath": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "namespace": {
                  "type": "string"
                },
                "resourceVersion": {
                  "type": "string"
                },
                "uid": {
                  "type": "string"
                }
              },
              "type": "object",
              "x-kubernetes-map-type": "atomic"
            },
            "dataSecretName": {
              "maxLength": 253,
              "minLength": 0,
              "type": "string"
            }
          },
          "type": "object"
        },
        "clusterName": {
          "maxLength": 63,
          "minLength": 1,
          "type": "string"
        },
        "failureDomain": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "infrastructureRef": {
          "properties": {
            "apiVersion": {
              "type": "string"
            },
            "fieldPath": {
              "type": "string"
            },
            "kind": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "namespace": {
              "type": "string"
            },
            "resourceVersion": {
              "type": "string"
            },
            "uid": {
              "type": "string"
            }
          },
          "type": "object",
          "x-kubernetes-map-type": "atomic"
        },
        "nodeDeletionTimeout": {
          "type": "string"
        },
        "nodeDrainTimeout": {
          "type": "string"
        },
        "nodeVolumeDetachTimeout": {
          "type": "string"
        },
        "providerID": {
          "maxLength": 512,
          "minLength": 1,
          "type": "string"
        },
        "readinessGates": {
          "items": {
            "properties": {
              "conditionType": {
                "maxLength": 316,
                "minLength": 1,
                "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                "type": "string"
              },
              "polarity": {
                "enum": [
                  "Positive",
                  "Negative"
                ],
                "type": "string"
              }
            },
            "required": [
              "conditionType"
            ],
            "type": "object"
          },
          "maxItems": 32,
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "conditionType"
          ],
          "x-kubernetes-list-type": "map"
        },
        "version": {
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "bootstrap",
        "clusterName",
        "infrastructureRef"
      ],
      "type": "object"
    },
    "status": {
      "properties": {
        "addresses": {
          "items": {
            "properties": {
              "address": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "type": {
                "enum": [
                  "Hostname",
                  "ExternalIP",
                  "InternalIP",
                  "ExternalDNS",
                  "InternalDNS"
                ],
                "type": "string"
              }
            },
            "required": [
              "address",
              "type"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "bootstrapReady": {
          "type": "boolean"
        },
        "certificatesExpiryDate": {
          "format": "date-time",
          "type": "string"
        },
        "conditions": {
          "items": {
            "properties": {
              "lastTransitionTime": {
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "maxLength": 10240,
                "minLength": 1,
                "type": "string"
              },
              "reason": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              },
              "severity": {
                "maxLength": 32,
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "type": {
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "lastTransitionTime",
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "deletion": {
          "properties": {
            "nodeDrainStartTime": {
              "format": "date-time",
              "type": "string"
            },
            "waitForNodeVolumeDetachStartTime": {
              "format": "date-time",
              "type": "string"
            }
          },
          "type": "object"
        },
        "failureMessage": {
          "maxLength": 10240,
          "minLength": 1,
          "type": "string"
        },
        "failureReason": {
          "type": "string"
        },
        "infrastructureReady": {
          "type": "boolean"
        },
        "lastUpdated": {
          "format": "date-time",
          "type": "string"
        },
        "nodeInfo": {
          "properties": {
            "architecture": {
              "type": "string"
            },
            "bootID": {
              "type": "string"
            },
            "containerRuntimeVersion": {
              "type": "string"
            },
            "kernelVersion": {
              "type": "string"
            },
            "kubeProxyVersion": {
              "type": "string"
            },
            "kubeletVersion": {
              "type": "string"
            },
            "machineID": {
              "type": "string"
            },
            "operatingSystem": {
              "type": "string"
            },
            "osImage": {
              "type": "string"
            },
            "systemUUID": {
              "type": "string"
            }
          },
          "required": [
            "architecture",
            "bootID",
            "containerRuntimeVersion",
            "kernelVersion",
            "kubeProxyVersion",
            "kubeletVersion",
            "machineID",
            "operatingSystem",
            "osImage",
            "systemUUID"
          ],
          "type": "object"
        },
        "nodeRef": {
          "properties": {
            "apiVersion": {
              "type": "string"
            },
            "fieldPath": {
              "type": "string"
            },
            "kind": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "namespace": {
              "type": "string"
            },
            "resourceVersion": {
              "type": "string"
            },
            "uid": {
              "type": "string"
            }
          },
          "type": "object",
          "x-kubernetes-map-type": "atomic"
        },
        "observedGeneration": {
          "format": "int64",
          "type": "integer"
        },
        "phase": {
          "enum": [
            "Pending",
            "Provisioning",
            "Provisioned",
            "Running",
            "Deleting",
            "Deleted",
            "Failed",
            "Unknown"
          ],
          "type": "string"
        },
        "v1beta2": {
          "properties": {
            "conditions": {
              "items": {
                "properties": {
                  "lastTransitionTime": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "message": {
                    "maxLength": 32768,
                    "type": "string"
                  },
                  "observedGeneration": {
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "reason": {
                    "maxLength": 1024,
                    "minLength": 1,
                    "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "True",
                      "False",
                      "Unknown"
                    ],
                    "type": "string"
                  },
                  "type": {
                    "maxLength": 316,
                    "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                    "type": "string"
                  }
                },
                "required": [
                  "lastTransitionTime",
                  "message",
                  "reason",
                  "status",
                  "type"
                ],
                "type": "object"
              },
              "maxItems": 32,
              "type": "array",
              "x-kubernetes-list-map-keys": [
                "type"
              ],
              "x-kubernetes-list-type": "map"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
