{
  "description": "Cluster is the Schema for the clusters API.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "spec is the desired state of Cluster.",
      "minProperties": 1,
      "properties": {
        "availabilityGates": {
          "description": "availabilityGates specifies additional conditions to include when evaluating Cluster Available condition.\n\nIf this field is not defined and the Cluster implements a managed topology, availabilityGates\nfrom the corresponding ClusterClass will be used, if any.",
          "items": {
            "description": "ClusterAvailabilityGate contains the type of a Cluster condition to be used as availability gate.",
            "properties": {
              "conditionType": {
                "description": "conditionType refers to a condition with matching type in the Cluster's condition list.\nIf the conditions doesn't exist, it will be treated as unknown.\nNote: Both Cluster API conditions or conditions added by 3rd party controllers can be used as availability gates.",
                "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": {
                "description": "polarity of the conditionType specified in this availabilityGate.\nValid values are Positive, Negative and omitted.\nWhen omitted, the default behaviour will be Positive.\nA positive polarity means that the condition should report a true status under normal conditions.\nA negative polarity means that the condition should report a false status under normal conditions.",
                "enum": [
                  "Positive",
                  "Negative"
                ],
                "type": "string"
              }
            },
            "required": [
              "conditionType"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "maxItems": 32,
          "minItems": 1,
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "conditionType"
          ],
          "x-kubernetes-list-type": "map"
        },
        "clusterNetwork": {
          "description": "clusterNetwork represents the cluster network configuration.",
          "minProperties": 1,
          "properties": {
            "apiServerPort": {
              "description": "apiServerPort specifies the port the API Server should bind to.\nDefaults to 6443.",
              "format": "int32",
              "maximum": 65535,
              "minimum": 1,
              "type": "integer"
            },
            "pods": {
              "description": "pods is the network ranges from which Pod networks are allocated.",
              "properties": {
                "cidrBlocks": {
                  "description": "cidrBlocks is a list of CIDR blocks.",
                  "items": {
                    "maxLength": 43,
                    "minLength": 1,
                    "type": "string"
                  },
                  "maxItems": 100,
                  "minItems": 1,
                  "type": "array",
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "required": [
                "cidrBlocks"
              ],
              "type": "object",
              "additionalProperties": false
            },
            "serviceDomain": {
              "description": "serviceDomain is the domain name for services.",
              "maxLength": 253,
              "minLength": 1,
              "type": "string"
            },
            "services": {
              "description": "services is the network ranges from which service VIPs are allocated.",
              "properties": {
                "cidrBlocks": {
                  "description": "cidrBlocks is a list of CIDR blocks.",
                  "items": {
                    "maxLength": 43,
                    "minLength": 1,
                    "type": "string"
                  },
                  "maxItems": 100,
                  "minItems": 1,
                  "type": "array",
                  "x-kubernetes-list-type": "atomic"
                }
              },
              "required": [
                "cidrBlocks"
              ],
              "type": "object",
              "additionalProperties": false
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "controlPlaneEndpoint": {
          "description": "controlPlaneEndpoint represents the endpoint used to communicate with the control plane.",
          "minProperties": 1,
          "properties": {
            "host": {
              "description": "host is the hostname on which the API server is serving.",
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            },
            "port": {
              "description": "port is the port on which the API server is serving.",
              "format": "int32",
              "maximum": 65535,
              "minimum": 1,
              "type": "integer"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "controlPlaneRef": {
          "description": "controlPlaneRef is an optional reference to a provider-specific resource that holds\nthe details for provisioning the Control Plane for a Cluster.",
          "properties": {
            "apiGroup": {
              "description": "apiGroup is the group of the resource being referenced.\napiGroup must be fully qualified domain name.\nThe corresponding version for this reference will be looked up from the contract\nlabels of the corresponding CRD of the resource being referenced.",
              "maxLength": 253,
              "minLength": 1,
              "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
              "type": "string"
            },
            "kind": {
              "description": "kind of the resource being referenced.\nkind must consist of alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character.",
              "maxLength": 63,
              "minLength": 1,
              "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$",
              "type": "string"
            },
            "name": {
              "description": "name of the resource being referenced.\nname must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.",
              "maxLength": 253,
              "minLength": 1,
              "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
              "type": "string"
            }
          },
          "required": [
            "apiGroup",
            "kind",
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "infrastructureRef": {
          "description": "infrastructureRef is a reference to a provider-specific resource that holds the details\nfor provisioning infrastructure for a cluster in said provider.",
          "properties": {
            "apiGroup": {
              "description": "apiGroup is the group of the resource being referenced.\napiGroup must be fully qualified domain name.\nThe corresponding version for this reference will be looked up from the contract\nlabels of the corresponding CRD of the resource being referenced.",
              "maxLength": 253,
              "minLength": 1,
              "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
              "type": "string"
            },
            "kind": {
              "description": "kind of the resource being referenced.\nkind must consist of alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character.",
              "maxLength": 63,
              "minLength": 1,
              "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$",
              "type": "string"
            },
            "name": {
              "description": "name of the resource being referenced.\nname must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.",
              "maxLength": 253,
              "minLength": 1,
              "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
              "type": "string"
            }
          },
          "required": [
            "apiGroup",
            "kind",
            "name"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "paused": {
          "description": "paused can be used to prevent controllers from processing the Cluster and all its associated objects.",
          "type": "boolean"
        },
        "topology": {
          "description": "topology encapsulates the topology for the cluster.\nNOTE: It is required to enable the ClusterTopology\nfeature gate flag to activate managed topologies support;\nthis feature is highly experimental, and parts of it might still be not implemented.",
          "properties": {
            "classRef": {
              "description": "classRef is the ref to the ClusterClass that should be used for the topology.",
              "properties": {
                "name": {
                  "description": "name is the name of the ClusterClass that should be used for the topology.\nname must be a valid ClusterClass name and because of that be at most 253 characters in length\nand it must consist only of lower case alphanumeric characters, hyphens (-) and periods (.), and must start\nand end with an alphanumeric character.",
                  "maxLength": 253,
                  "minLength": 1,
                  "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
                  "type": "string"
                },
                "namespace": {
                  "description": "namespace is the namespace of the ClusterClass that should be used for the topology.\nIf namespace is empty or not set, it is defaulted to the namespace of the Cluster object.\nnamespace must be a valid namespace name and because of that be at most 63 characters in length\nand it must consist only of lower case alphanumeric characters or hyphens (-), and must start\nand end with an alphanumeric character.",
                  "maxLength": 63,
                  "minLength": 1,
                  "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object",
              "additionalProperties": false
            },
            "controlPlane": {
              "description": "controlPlane describes the cluster control plane.",
              "minProperties": 1,
              "properties": {
                "deletion": {
                  "description": "deletion contains configuration options for Machine deletion.",
                  "minProperties": 1,
                  "properties": {
                    "nodeDeletionTimeoutSeconds": {
                      "description": "nodeDeletionTimeoutSeconds defines how long the controller will attempt to delete the Node that the Machine\nhosts after the Machine is marked for deletion. A duration of 0 will retry deletion indefinitely.\nDefaults to 10 seconds.",
                      "format": "int32",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "nodeDrainTimeoutSeconds": {
                      "description": "nodeDrainTimeoutSeconds is the total amount of time that the controller will spend on draining a node.\nThe default value is 0, meaning that the node can be drained without any time limitations.\nNOTE: nodeDrainTimeoutSeconds is different from `kubectl drain --timeout`",
                      "format": "int32",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "nodeVolumeDetachTimeoutSeconds": {
                      "description": "nodeVolumeDetachTimeoutSeconds is the total amount of time that the controller will spend on waiting for all volumes\nto be detached. The default value is 0, meaning that the volumes can be detached without any time limitations.",
                      "format": "int32",
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                },
                "healthCheck": {
                  "description": "healthCheck allows to enable, disable and override control plane health check\nconfiguration from the ClusterClass for this control plane.",
                  "minProperties": 1,
                  "properties": {
                    "checks": {
                      "description": "checks are the checks that are used to evaluate if a Machine is healthy.\n\nIf one of checks and remediation fields are set, the system assumes that an healthCheck override is defined,\nand as a consequence the checks and remediation fields from Cluster will be used instead of the\ncorresponding fields in ClusterClass.\n\nIndependent of this configuration the MachineHealthCheck controller will always\nflag Machines with `cluster.x-k8s.io/remediate-machine` annotation and\nMachines with deleted Nodes as unhealthy.\n\nFurthermore, if checks.nodeStartupTimeoutSeconds is not set it\nis defaulted to 10 minutes and evaluated accordingly.",
                      "minProperties": 1,
                      "properties": {
                        "nodeStartupTimeoutSeconds": {
                          "description": "nodeStartupTimeoutSeconds allows to set the maximum time for MachineHealthCheck\nto consider a Machine unhealthy if a corresponding Node isn't associated\nthrough a `Spec.ProviderID` field.\n\nThe duration set in this field is compared to the greatest of:\n- Cluster's infrastructure ready condition timestamp (if and when available)\n- Control Plane's initialized condition timestamp (if and when available)\n- Machine's infrastructure ready condition timestamp (if and when available)\n- Machine's metadata creation timestamp\n\nDefaults to 10 minutes.\nIf you wish to disable this feature, set the value explicitly to 0.",
                          "format": "int32",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "unhealthyNodeConditions": {
                          "description": "unhealthyNodeConditions contains a list of conditions that determine\nwhether a node is considered unhealthy. The conditions are combined in a\nlogical OR, i.e. if any of the conditions is met, the node is unhealthy.",
                          "items": {
                            "description": "UnhealthyNodeCondition represents a Node condition type and value with a timeout\nspecified as a duration.  When the named condition has been in the given\nstatus for at least the timeout value, a node is considered unhealthy.",
                            "properties": {
                              "status": {
                                "description": "status of the condition, one of True, False, Unknown.",
                                "minLength": 1,
                                "type": "string"
                              },
                              "timeoutSeconds": {
                                "description": "timeoutSeconds is the duration that a node must be in a given status for,\nafter which the node is considered unhealthy.\nFor example, with a value of \"1h\", the node must match the status\nfor at least 1 hour before being considered unhealthy.",
                                "format": "int32",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "type": {
                                "description": "type of Node condition",
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "status",
                              "timeoutSeconds",
                              "type"
                            ],
                            "type": "object",
                            "additionalProperties": false
                          },
                          "maxItems": 100,
                          "minItems": 1,
                          "type": "array",
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "type": "object",
                      "additionalProperties": false
                    },
                    "enabled": {
                      "description": "enabled controls if a MachineHealthCheck should be created for the target machines.\n\nIf false: No MachineHealthCheck will be created.\n\nIf not set(default): A MachineHealthCheck will be created if it is defined here or\n in the associated ClusterClass. If no MachineHealthCheck is defined then none will be created.\n\nIf true: A MachineHealthCheck is guaranteed to be created. Cluster validation will\nblock if `enable` is true and no MachineHealthCheck definition is available.",
                      "type": "boolean"
                    },
                    "remediation": {
                      "description": "remediation configures if and how remediations are triggered if a Machine is unhealthy.\n\nIf one of checks and remediation fields are set, the system assumes that an healthCheck override is defined,\nand as a consequence the checks and remediation fields from cluster will be used instead of the\ncorresponding fields in ClusterClass.\n\nIf an health check override is defined and remediation or remediation.triggerIf is not set,\nremediation will always be triggered for unhealthy Machines.\n\nIf an health check override is defined and remediation or remediation.templateRef is not set,\nthe OwnerRemediated condition will be set on unhealthy Machines to trigger remediation via\nthe owner of the Machines, for example a MachineSet or a KubeadmControlPlane.",
                      "minProperties": 1,
                      "properties": {
                        "templateRef": {
                          "description": "templateRef is a reference to a remediation template\nprovided by an infrastructure provider.\n\nThis field is completely optional, when filled, the MachineHealthCheck controller\ncreates a new object from the template referenced and hands off remediation of the machine to\na controller that lives outside of Cluster API.",
                          "properties": {
                            "apiVersion": {
                              "description": "apiVersion of the remediation template.\napiVersion must be fully qualified domain name followed by / and a version.\nNOTE: This field must be kept in sync with the APIVersion of the remediation template.",
                              "maxLength": 317,
                              "minLength": 1,
                              "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[a-z]([-a-z0-9]*[a-z0-9])?$",
                              "type": "string"
                            },
                            "kind": {
                              "description": "kind of the remediation template.\nkind must consist of alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character.",
                              "maxLength": 63,
                              "minLength": 1,
                              "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$",
                              "type": "string"
                            },
                            "name": {
                              "description": "name of the remediation template.\nname must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.",
                              "maxLength": 253,
                              "minLength": 1,
                              "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "apiVersion",
                            "kind",
                            "name"
                          ],
                          "type": "object",
                          "additionalProperties": false
                        },
                        "triggerIf": {
                          "description": "triggerIf configures if remediations are triggered.\nIf this field is not set, remediations are always triggered.",
                          "minProperties": 1,
                          "properties": {
                            "unhealthyInRange": {
                              "description": "unhealthyInRange specifies that remediations are only triggered if the number of\nunhealthy Machines is in the configured range.\nTakes precedence over unhealthyLessThanOrEqualTo.\nEg. \"[3-5]\" - This means that remediation will be allowed only when:\n(a) there are at least 3 unhealthy Machines (and)\n(b) there are at most 5 unhealthy Machines",
                              "maxLength": 32,
                              "minLength": 1,
                              "pattern": "^\\[[0-9]+-[0-9]+\\]$",
                              "type": "string"
                            },
                            "unhealthyLessThanOrEqualTo": {
                              "anyOf": [
                                {
                                  "type": "integer"
                                },
                                {
                                  "type": "string"
                                }
                              ],
                              "description": "unhealthyLessThanOrEqualTo specifies that remediations are only triggered if the number of\nunhealthy Machines is less than or equal to the configured value.\nunhealthyInRange takes precedence if set.",
                              "x-kubernetes-int-or-string": true
                            }
                          },
                          "type": "object",
                          "additionalProperties": false
                        }
                      },
                      "type": "object",
                      "additionalProperties": false
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                },
                "metadata": {
                  "description": "metadata is the metadata applied to the ControlPlane and the Machines of the ControlPlane\nif the ControlPlaneTemplate referenced by the ClusterClass is machine based. If not, it\nis applied only to the ControlPlane.\nAt runtime this metadata is merged with the corresponding metadata from the ClusterClass.",
                  "minProperties": 1,
                  "properties": {
                    "annotations": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations",
                      "type": "object"
                    },
                    "labels": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "description": "labels is a map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels",
                      "type": "object"
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                },
                "readinessGates": {
                  "description": "readinessGates specifies additional conditions to include when evaluating Machine Ready condition.\n\nThis field can be used e.g. to instruct the machine controller to include in the computation for Machine's ready\ncomputation a condition, managed by an external controllers, reporting the status of special software/hardware installed on the Machine.\n\nIf this field is not defined, readinessGates from the corresponding ControlPlaneClass will be used, if any.\n\nNOTE: Specific control plane provider implementations might automatically extend the list of readinessGates;\ne.g. the kubeadm control provider adds ReadinessGates for the APIServerPodHealthy, SchedulerPodHealthy conditions, etc.",
                  "items": {
                    "description": "MachineReadinessGate contains the type of a Machine condition to be used as a readiness gate.",
                    "properties": {
                      "conditionType": {
                        "description": "conditionType refers to a condition with matching type in the Machine's condition list.\nIf the conditions doesn't exist, it will be treated as unknown.\nNote: Both Cluster API conditions or conditions added by 3rd party controllers can be used as readiness gates.",
                        "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": {
                        "description": "polarity of the conditionType specified in this readinessGate.\nValid values are Positive, Negative and omitted.\nWhen omitted, the default behaviour will be Positive.\nA positive polarity means that the condition should report a true status under normal conditions.\nA negative polarity means that the condition should report a false status under normal conditions.",
                        "enum": [
                          "Positive",
                          "Negative"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "conditionType"
                    ],
                    "type": "object",
                    "additionalProperties": false
                  },
                  "maxItems": 32,
                  "minItems": 1,
                  "type": "array",
                  "x-kubernetes-list-map-keys": [
                    "conditionType"
                  ],
                  "x-kubernetes-list-type": "map"
                },
                "replicas": {
                  "description": "replicas is the number of control plane nodes.\nIf the value is not set, the ControlPlane object is created without the number of Replicas\nand it's assumed that the control plane controller does not implement support for this field.\nWhen specified against a control plane provider that lacks support for this field, this value will be ignored.",
                  "format": "int32",
                  "type": "integer"
                },
                "variables": {
                  "description": "variables can be used to customize the ControlPlane through patches.",
                  "minProperties": 1,
                  "properties": {
                    "overrides": {
                      "description": "overrides can be used to override Cluster level variables.",
                      "items": {
                        "description": "ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a\nVariable definition in the ClusterClass `status` variables.",
                        "properties": {
                          "name": {
                            "description": "name of the variable.",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "value": {
                            "description": "value of the variable.\nNote: the value will be validated against the schema of the corresponding ClusterClassVariable\nfrom the ClusterClass.\nNote: We have to use apiextensionsv1.JSON instead of a custom JSON type, because controller-tools has a\nhard-coded schema for apiextensionsv1.JSON which cannot be produced by another type via controller-tools,\ni.e. it is not possible to have no type field.\nRef: https://github.com/kubernetes-sigs/controller-tools/blob/d0e03a142d0ecdd5491593e941ee1d6b5d91dba6/pkg/crd/known_types.go#L106-L111",
                            "x-kubernetes-preserve-unknown-fields": true
                          }
                        },
                        "required": [
                          "name",
                          "value"
                        ],
                        "type": "object",
                        "additionalProperties": false
                      },
                      "maxItems": 1000,
                      "minItems": 1,
                      "type": "array",
                      "x-kubernetes-list-map-keys": [
                        "name"
                      ],
                      "x-kubernetes-list-type": "map"
                    }
                  },
                  "type": "object",
                  "additionalProperties": false
                }
              },
              "type": "object",
              "additionalProperties": false
            },
            "variables": {
              "description": "variables can be used to customize the Cluster through\npatches. They must comply to the corresponding\nVariableClasses defined in the ClusterClass.",
              "items": {
                "description": "ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a\nVariable definition in the ClusterClass `status` variables.",
                "properties": {
                  "name": {
                    "description": "name of the variable.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "value": {
                    "description": "value of the variable.\nNote: the value will be validated against the schema of the corresponding ClusterClassVariable\nfrom the ClusterClass.\nNote: We have to use apiextensionsv1.JSON instead of a custom JSON type, because controller-tools has a\nhard-coded schema for apiextensionsv1.JSON which cannot be produced by another type via controller-tools,\ni.e. it is not possible to have no type field.\nRef: https://github.com/kubernetes-sigs/controller-tools/blob/d0e03a142d0ecdd5491593e941ee1d6b5d91dba6/pkg/crd/known_types.go#L106-L111",
                    "x-kubernetes-preserve-unknown-fields": true
                  }
                },
                "required": [
                  "name",
                  "value"
                ],
                "type": "object",
                "additionalProperties": false
              },
              "maxItems": 1000,
              "minItems": 1,
              "type": "array",
              "x-kubernetes-list-map-keys": [
                "name"
              ],
              "x-kubernetes-list-type": "map"
            },
            "version": {
              "description": "version is the Kubernetes version of the cluster.",
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "workers": {
              "description": "workers encapsulates the different constructs that form the worker nodes\nfor the cluster.",
              "minProperties": 1,
              "properties": {
                "machineDeployments": {
                  "description": "machineDeployments is a list of machine deployments in the cluster.",
                  "items": {
                    "description": "MachineDeploymentTopology specifies the different parameters for a set of worker nodes in the topology.\nThis set of nodes is managed by a MachineDeployment object whose lifecycle is managed by the Cluster controller.",
                    "properties": {
                      "class": {
                        "description": "class is the name of the MachineDeploymentClass used to create the set of worker nodes.\nThis should match one of the deployment classes defined in the ClusterClass object\nmentioned in the `Cluster.Spec.Class` field.",
                        "maxLength": 256,
                        "minLength": 1,
                        "type": "string"
                      },
                      "deletion": {
                        "description": "deletion contains configuration options for Machine deletion.",
                        "minProperties": 1,
                        "properties": {
                          "nodeDeletionTimeoutSeconds": {
                            "description": "nodeDeletionTimeoutSeconds defines how long the controller will attempt to delete the Node that the Machine\nhosts after the Machine is marked for deletion. A duration of 0 will retry deletion indefinitely.\nDefaults to 10 seconds.",
                            "format": "int32",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "nodeDrainTimeoutSeconds": {
                            "description": "nodeDrainTimeoutSeconds is the total amount of time that the controller will spend on draining a node.\nThe default value is 0, meaning that the node can be drained without any time limitations.\nNOTE: nodeDrainTimeoutSeconds is different from `kubectl drain --timeout`",
                            "format": "int32",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "nodeVolumeDetachTimeoutSeconds": {
                            "description": "nodeVolumeDetachTimeoutSeconds is the total amount of time that the controller will spend on waiting for all volumes\nto be detached. The default value is 0, meaning that the volumes can be detached without any time limitations.",
                            "format": "int32",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "order": {
                            "description": "order defines the order in which Machines are deleted when downscaling.\nDefaults to \"Random\".  Valid values are \"Random, \"Newest\", \"Oldest\"",
                            "enum": [
                              "Random",
                              "Newest",
                              "Oldest"
                            ],
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      },
                      "failureDomain": {
                        "description": "failureDomain is the failure domain the machines will be created in.\nMust match a key in the FailureDomains map stored on the cluster object.",
                        "maxLength": 256,
                        "minLength": 1,
                        "type": "string"
                      },
                      "healthCheck": {
                        "description": "healthCheck allows to enable, disable and override MachineDeployment health check\nconfiguration from the ClusterClass for this MachineDeployment.",
                        "minProperties": 1,
                        "properties": {
                          "checks": {
                            "description": "checks are the checks that are used to evaluate if a Machine is healthy.\n\nIf one of checks and remediation fields are set, the system assumes that an healthCheck override is defined,\nand as a consequence the checks and remediation fields from Cluster will be used instead of the\ncorresponding fields in ClusterClass.\n\nIndependent of this configuration the MachineHealthCheck controller will always\nflag Machines with `cluster.x-k8s.io/remediate-machine` annotation and\nMachines with deleted Nodes as unhealthy.\n\nFurthermore, if checks.nodeStartupTimeoutSeconds is not set it\nis defaulted to 10 minutes and evaluated accordingly.",
                            "minProperties": 1,
                            "properties": {
                              "nodeStartupTimeoutSeconds": {
                                "description": "nodeStartupTimeoutSeconds allows to set the maximum time for MachineHealthCheck\nto consider a Machine unhealthy if a corresponding Node isn't associated\nthrough a `Spec.ProviderID` field.\n\nThe duration set in this field is compared to the greatest of:\n- Cluster's infrastructure ready condition timestamp (if and when available)\n- Control Plane's initialized condition timestamp (if and when available)\n- Machine's infrastructure ready condition timestamp (if and when available)\n- Machine's metadata creation timestamp\n\nDefaults to 10 minutes.\nIf you wish to disable this feature, set the value explicitly to 0.",
                                "format": "int32",
                                "minimum": 0,
                                "type": "integer"
                              },
                              "unhealthyNodeConditions": {
                                "description": "unhealthyNodeConditions contains a list of conditions that determine\nwhether a node is considered unhealthy. The conditions are combined in a\nlogical OR, i.e. if any of the conditions is met, the node is unhealthy.",
                                "items": {
                                  "description": "UnhealthyNodeCondition represents a Node condition type and value with a timeout\nspecified as a duration.  When the named condition has been in the given\nstatus for at least the timeout value, a node is considered unhealthy.",
                                  "properties": {
                                    "status": {
                                      "description": "status of the condition, one of True, False, Unknown.",
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "timeoutSeconds": {
                                      "description": "timeoutSeconds is the duration that a node must be in a given status for,\nafter which the node is considered unhealthy.\nFor example, with a value of \"1h\", the node must match the status\nfor at least 1 hour before being considered unhealthy.",
                                      "format": "int32",
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "type": {
                                      "description": "type of Node condition",
                                      "minLength": 1,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "timeoutSeconds",
                                    "type"
                                  ],
                                  "type": "object",
                                  "additionalProperties": false
                                },
                                "maxItems": 100,
                                "minItems": 1,
                                "type": "array",
                                "x-kubernetes-list-type": "atomic"
                              }
                            },
                            "type": "object",
                            "additionalProperties": false
                          },
                          "enabled": {
                            "description": "enabled controls if a MachineHealthCheck should be created for the target machines.\n\nIf false: No MachineHealthCheck will be created.\n\nIf not set(default): A MachineHealthCheck will be created if it is defined here or\n in the associated ClusterClass. If no MachineHealthCheck is defined then none will be created.\n\nIf true: A MachineHealthCheck is guaranteed to be created. Cluster validation will\nblock if `enable` is true and no MachineHealthCheck definition is available.",
                            "type": "boolean"
                          },
                          "remediation": {
                            "description": "remediation configures if and how remediations are triggered if a Machine is unhealthy.\n\nIf one of checks and remediation fields are set, the system assumes that an healthCheck override is defined,\nand as a consequence the checks and remediation fields from cluster will be used instead of the\ncorresponding fields in ClusterClass.\n\nIf an health check override is defined and remediation or remediation.triggerIf is not set,\nremediation will always be triggered for unhealthy Machines.\n\nIf an health check override is defined and remediation or remediation.templateRef is not set,\nthe OwnerRemediated condition will be set on unhealthy Machines to trigger remediation via\nthe owner of the Machines, for example a MachineSet or a KubeadmControlPlane.",
                            "minProperties": 1,
                            "properties": {
                              "maxInFlight": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "string"
                                  }
                                ],
                                "description": "maxInFlight determines how many in flight remediations should happen at the same time.\n\nRemediation only happens on the MachineSet with the most current revision, while\nolder MachineSets (usually present during rollout operations) aren't allowed to remediate.\n\nNote: In general (independent of remediations), unhealthy machines are always\nprioritized during scale down operations over healthy ones.\n\nMaxInFlight can be set to a fixed number or a percentage.\nExample: when this is set to 20%, the MachineSet controller deletes at most 20% of\nthe desired replicas.\n\nIf not set, remediation is limited to all machines (bounded by replicas)\nunder the active MachineSet's management.",
                                "x-kubernetes-int-or-string": true
                              },
                              "templateRef": {
                                "description": "templateRef is a reference to a remediation template\nprovided by an infrastructure provider.\n\nThis field is completely optional, when filled, the MachineHealthCheck controller\ncreates a new object from the template referenced and hands off remediation of the machine to\na controller that lives outside of Cluster API.",
                                "properties": {
                                  "apiVersion": {
                                    "description": "apiVersion of the remediation template.\napiVersion must be fully qualified domain name followed by / and a version.\nNOTE: This field must be kept in sync with the APIVersion of the remediation template.",
                                    "maxLength": 317,
                                    "minLength": 1,
                                    "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\\/[a-z]([-a-z0-9]*[a-z0-9])?$",
                                    "type": "string"
                                  },
                                  "kind": {
                                    "description": "kind of the remediation template.\nkind must consist of alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character.",
                                    "maxLength": 63,
                                    "minLength": 1,
                                    "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$",
                                    "type": "string"
                                  },
                                  "name": {
                                    "description": "name of the remediation template.\nname must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.",
                                    "maxLength": 253,
                                    "minLength": 1,
                                    "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "apiVersion",
                                  "kind",
                                  "name"
                                ],
                                "type": "object",
                                "additionalProperties": false
                              },
                              "triggerIf": {
                                "description": "triggerIf configures if remediations are triggered.\nIf this field is not set, remediations are always triggered.",
                                "minProperties": 1,
                                "properties": {
                                  "unhealthyInRange": {
                                    "description": "unhealthyInRange specifies that remediations are only triggered if the number of\nunhealthy Machines is in the configured range.\nTakes precedence over unhealthyLessThanOrEqualTo.\nEg. \"[3-5]\" - This means that remediation will be allowed only when:\n(a) there are at least 3 unhealthy Machines (and)\n(b) there are at most 5 unhealthy Machines",
                                    "maxLength": 32,
                                    "minLength": 1,
                                    "pattern": "^\\[[0-9]+-[0-9]+\\]$",
                                    "type": "string"
                                  },
                                  "unhealthyLessThanOrEqualTo": {
                                    "anyOf": [
                                      {
                                        "type": "integer"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ],
                                    "description": "unhealthyLessThanOrEqualTo specifies that remediations are only triggered if the number of\nunhealthy Machines is less than or equal to the configured value.\nunhealthyInRange takes precedence if set.",
                                    "x-kubernetes-int-or-string": true
                                  }
                                },
                                "type": "object",
                                "additionalProperties": false
                              }
                            },
                            "type": "object",
                            "additionalProperties": false
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      },
                      "metadata": {
                        "description": "metadata is the metadata applied to the MachineDeployment and the machines of the MachineDeployment.\nAt runtime this metadata is merged with the corresponding metadata from the ClusterClass.",
                        "minProperties": 1,
                        "properties": {
                          "annotations": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations",
                            "type": "object"
                          },
                          "labels": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "labels is a map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels",
                            "type": "object"
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      },
                      "minReadySeconds": {
                        "description": "minReadySeconds is the minimum number of seconds for which a newly created machine should\nbe ready.\nDefaults to 0 (machine will be considered available as soon as it\nis ready)",
                        "format": "int32",
                        "minimum": 0,
                        "type": "integer"
                      },
                      "name": {
                        "description": "name is the unique identifier for this MachineDeploymentTopology.\nThe value is used with other unique identifiers to create a MachineDeployment's Name\n(e.g. cluster's name, etc). In case the name is greater than the allowed maximum length,\nthe values are hashed together.",
                        "maxLength": 63,
                        "minLength": 1,
                        "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
                        "type": "string"
                      },
                      "readinessGates": {
                        "description": "readinessGates specifies additional conditions to include when evaluating Machine Ready condition.\n\nThis field can be used e.g. to instruct the machine controller to include in the computation for Machine's ready\ncomputation a condition, managed by an external controllers, reporting the status of special software/hardware installed on the Machine.\n\nIf this field is not defined, readinessGates from the corresponding MachineDeploymentClass will be used, if any.",
                        "items": {
                          "description": "MachineReadinessGate contains the type of a Machine condition to be used as a readiness gate.",
                          "properties": {
                            "conditionType": {
                              "description": "conditionType refers to a condition with matching type in the Machine's condition list.\nIf the conditions doesn't exist, it will be treated as unknown.\nNote: Both Cluster API conditions or conditions added by 3rd party controllers can be used as readiness gates.",
                              "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": {
                              "description": "polarity of the conditionType specified in this readinessGate.\nValid values are Positive, Negative and omitted.\nWhen omitted, the default behaviour will be Positive.\nA positive polarity means that the condition should report a true status under normal conditions.\nA negative polarity means that the condition should report a false status under normal conditions.",
                              "enum": [
                                "Positive",
                                "Negative"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "conditionType"
                          ],
                          "type": "object",
                          "additionalProperties": false
                        },
                        "maxItems": 32,
                        "minItems": 1,
                        "type": "array",
                        "x-kubernetes-list-map-keys": [
                          "conditionType"
                        ],
                        "x-kubernetes-list-type": "map"
                      },
                      "replicas": {
                        "description": "replicas is the number of worker nodes belonging to this set.\nIf the value is nil, the MachineDeployment is created without the number of Replicas (defaulting to 1)\nand it's assumed that an external entity (like cluster autoscaler) is responsible for the management\nof this value.",
                        "format": "int32",
                        "type": "integer"
                      },
                      "rollout": {
                        "description": "rollout allows you to configure the behaviour of rolling updates to the MachineDeployment Machines.\nIt allows you to define the strategy used during rolling replacements.",
                        "minProperties": 1,
                        "properties": {
                          "strategy": {
                            "description": "strategy specifies how to roll out control plane Machines.",
                            "minProperties": 1,
                            "properties": {
                              "rollingUpdate": {
                                "description": "rollingUpdate is the rolling update config params. Present only if\ntype = RollingUpdate.",
                                "minProperties": 1,
                                "properties": {
                                  "maxSurge": {
                                    "anyOf": [
                                      {
                                        "type": "integer"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ],
                                    "description": "maxSurge is the maximum number of machines that can be scheduled above the\ndesired number of machines.\nValue can be an absolute number (ex: 5) or a percentage of\ndesired machines (ex: 10%).\nThis can not be 0 if MaxUnavailable is 0.\nAbsolute number is calculated from percentage by rounding up.\nDefaults to 1.\nExample: when this is set to 30%, the new MachineSet can be scaled\nup immediately when the rolling update starts, such that the total\nnumber of old and new machines do not exceed 130% of desired\nmachines. Once old machines have been killed, new MachineSet can\nbe scaled up further, ensuring that total number of machines running\nat any time during the update is at most 130% of desired machines.",
                                    "x-kubernetes-int-or-string": true
                                  },
                                  "maxUnavailable": {
                                    "anyOf": [
                                      {
                                        "type": "integer"
                                      },
                                      {
                                        "type": "string"
                                      }
                                    ],
                                    "description": "maxUnavailable is the maximum number of machines that can be unavailable during the update.\nValue can be an absolute number (ex: 5) or a percentage of desired\nmachines (ex: 10%).\nAbsolute number is calculated from percentage by rounding down.\nThis can not be 0 if MaxSurge is 0.\nDefaults to 0.\nExample: when this is set to 30%, the old MachineSet can be scaled\ndown to 70% of desired machines immediately when the rolling update\nstarts. Once new machines are ready, old MachineSet can be scaled\ndown further, followed by scaling up the new MachineSet, ensuring\nthat the total number of machines available at all times\nduring the update is at least 70% of desired machines.",
                                    "x-kubernetes-int-or-string": true
                                  }
                                },
                                "type": "object",
                                "additionalProperties": false
                              },
                              "type": {
                                "description": "type of rollout. Allowed values are RollingUpdate and OnDelete.\nDefault is RollingUpdate.",
                                "enum": [
                                  "RollingUpdate",
                                  "OnDelete"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "type": "object",
                            "additionalProperties": false
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      },
                      "variables": {
                        "description": "variables can be used to customize the MachineDeployment through patches.",
                        "minProperties": 1,
                        "properties": {
                          "overrides": {
                            "description": "overrides can be used to override Cluster level variables.",
                            "items": {
                              "description": "ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a\nVariable definition in the ClusterClass `status` variables.",
                              "properties": {
                                "name": {
                                  "description": "name of the variable.",
                                  "maxLength": 256,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "value": {
                                  "description": "value of the variable.\nNote: the value will be validated against the schema of the corresponding ClusterClassVariable\nfrom the ClusterClass.\nNote: We have to use apiextensionsv1.JSON instead of a custom JSON type, because controller-tools has a\nhard-coded schema for apiextensionsv1.JSON which cannot be produced by another type via controller-tools,\ni.e. it is not possible to have no type field.\nRef: https://github.com/kubernetes-sigs/controller-tools/blob/d0e03a142d0ecdd5491593e941ee1d6b5d91dba6/pkg/crd/known_types.go#L106-L111",
                                  "x-kubernetes-preserve-unknown-fields": true
                                }
                              },
                              "required": [
                                "name",
                                "value"
                              ],
                              "type": "object",
                              "additionalProperties": false
                            },
                            "maxItems": 1000,
                            "minItems": 1,
                            "type": "array",
                            "x-kubernetes-list-map-keys": [
                              "name"
                            ],
                            "x-kubernetes-list-type": "map"
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "class",
                      "name"
                    ],
                    "type": "object",
                    "additionalProperties": false
                  },
                  "maxItems": 2000,
                  "minItems": 1,
                  "type": "array",
                  "x-kubernetes-list-map-keys": [
                    "name"
                  ],
                  "x-kubernetes-list-type": "map"
                },
                "machinePools": {
                  "description": "machinePools is a list of machine pools in the cluster.",
                  "items": {
                    "description": "MachinePoolTopology specifies the different parameters for a pool of worker nodes in the topology.\nThis pool of nodes is managed by a MachinePool object whose lifecycle is managed by the Cluster controller.",
                    "properties": {
                      "class": {
                        "description": "class is the name of the MachinePoolClass used to create the pool of worker nodes.\nThis should match one of the deployment classes defined in the ClusterClass object\nmentioned in the `Cluster.Spec.Class` field.",
                        "maxLength": 256,
                        "minLength": 1,
                        "type": "string"
                      },
                      "deletion": {
                        "description": "deletion contains configuration options for Machine deletion.",
                        "minProperties": 1,
                        "properties": {
                          "nodeDeletionTimeoutSeconds": {
                            "description": "nodeDeletionTimeoutSeconds defines how long the controller will attempt to delete the Node that the MachinePool\nhosts after the MachinePool is marked for deletion. A duration of 0 will retry deletion indefinitely.\nDefaults to 10 seconds.",
                            "format": "int32",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "nodeDrainTimeoutSeconds": {
                            "description": "nodeDrainTimeoutSeconds is the total amount of time that the controller will spend on draining a node.\nThe default value is 0, meaning that the node can be drained without any time limitations.\nNOTE: nodeDrainTimeoutSeconds is different from `kubectl drain --timeout`",
                            "format": "int32",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "nodeVolumeDetachTimeoutSeconds": {
                            "description": "nodeVolumeDetachTimeoutSeconds is the total amount of time that the controller will spend on waiting for all volumes\nto be detached. The default value is 0, meaning that the volumes can be detached without any time limitations.",
                            "format": "int32",
                            "minimum": 0,
                            "type": "integer"
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      },
                      "failureDomains": {
                        "description": "failureDomains is the list of failure domains the machine pool will be created in.\nMust match a key in the FailureDomains map stored on the cluster object.",
                        "items": {
                          "maxLength": 256,
                          "minLength": 1,
                          "type": "string"
                        },
                        "maxItems": 100,
                        "minItems": 1,
                        "type": "array",
                        "x-kubernetes-list-type": "atomic"
                      },
                      "metadata": {
                        "description": "metadata is the metadata applied to the MachinePool.\nAt runtime this metadata is merged with the corresponding metadata from the ClusterClass.",
                        "minProperties": 1,
                        "properties": {
                          "annotations": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations",
                            "type": "object"
                          },
                          "labels": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "description": "labels is a map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels",
                            "type": "object"
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      },
                      "minReadySeconds": {
                        "description": "minReadySeconds is the minimum number of seconds for which a newly created machine pool should\nbe ready.\nDefaults to 0 (machine will be considered available as soon as it\nis ready)",
                        "format": "int32",
                        "minimum": 0,
                        "type": "integer"
                      },
                      "name": {
                        "description": "name is the unique identifier for this MachinePoolTopology.\nThe value is used with other unique identifiers to create a MachinePool's Name\n(e.g. cluster's name, etc). In case the name is greater than the allowed maximum length,\nthe values are hashed together.",
                        "maxLength": 63,
                        "minLength": 1,
                        "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
                        "type": "string"
                      },
                      "replicas": {
                        "description": "replicas is the number of nodes belonging to this pool.\nIf the value is nil, the MachinePool is created without the number of Replicas (defaulting to 1)\nand it's assumed that an external entity (like cluster autoscaler) is responsible for the management\nof this value.",
                        "format": "int32",
                        "type": "integer"
                      },
                      "variables": {
                        "description": "variables can be used to customize the MachinePool through patches.",
                        "minProperties": 1,
                        "properties": {
                          "overrides": {
                            "description": "overrides can be used to override Cluster level variables.",
                            "items": {
                              "description": "ClusterVariable can be used to customize the Cluster through patches. Each ClusterVariable is associated with a\nVariable definition in the ClusterClass `status` variables.",
                              "properties": {
                                "name": {
                                  "description": "name of the variable.",
                                  "maxLength": 256,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "value": {
                                  "description": "value of the variable.\nNote: the value will be validated against the schema of the corresponding ClusterClassVariable\nfrom the ClusterClass.\nNote: We have to use apiextensionsv1.JSON instead of a custom JSON type, because controller-tools has a\nhard-coded schema for apiextensionsv1.JSON which cannot be produced by another type via controller-tools,\ni.e. it is not possible to have no type field.\nRef: https://github.com/kubernetes-sigs/controller-tools/blob/d0e03a142d0ecdd5491593e941ee1d6b5d91dba6/pkg/crd/known_types.go#L106-L111",
                                  "x-kubernetes-preserve-unknown-fields": true
                                }
                              },
                              "required": [
                                "name",
                                "value"
                              ],
                              "type": "object",
                              "additionalProperties": false
                            },
                            "maxItems": 1000,
                            "minItems": 1,
                            "type": "array",
                            "x-kubernetes-list-map-keys": [
                              "name"
                            ],
                            "x-kubernetes-list-type": "map"
                          }
                        },
                        "type": "object",
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "class",
                      "name"
                    ],
                    "type": "object",
                    "additionalProperties": false
                  },
                  "maxItems": 2000,
                  "minItems": 1,
                  "type": "array",
                  "x-kubernetes-list-map-keys": [
                    "name"
                  ],
                  "x-kubernetes-list-type": "map"
                }
              },
              "type": "object",
              "additionalProperties": false
            }
          },
          "required": [
            "classRef",
            "version"
          ],
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "status is the observed state of Cluster.",
      "minProperties": 1,
      "properties": {
        "conditions": {
          "description": "conditions represents the observations of a Cluster's current state.\nKnown condition types are Available, InfrastructureReady, ControlPlaneInitialized, ControlPlaneAvailable, WorkersAvailable, MachinesReady\nMachinesUpToDate, RemoteConnectionProbe, ScalingUp, ScalingDown, Remediating, Deleting, Paused.\nAdditionally, a TopologyReconciled condition will be added in case the Cluster is referencing a ClusterClass / defining a managed Topology.",
          "items": {
            "description": "Condition contains details for one aspect of the current state of this API Resource.",
            "properties": {
              "lastTransitionTime": {
                "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
                "maxLength": 32768,
                "type": "string"
              },
              "observedGeneration": {
                "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                "format": "int64",
                "minimum": 0,
                "type": "integer"
              },
              "reason": {
                "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
                "maxLength": 1024,
                "minLength": 1,
                "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                "type": "string"
              },
              "status": {
                "description": "status of the condition, one of True, False, Unknown.",
                "enum": [
                  "True",
                  "False",
                  "Unknown"
                ],
                "type": "string"
              },
              "type": {
                "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                "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",
            "additionalProperties": false
          },
          "maxItems": 32,
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "type"
          ],
          "x-kubernetes-list-type": "map"
        },
        "controlPlane": {
          "description": "controlPlane groups all the observations about Cluster's ControlPlane current state.",
          "properties": {
            "availableReplicas": {
              "description": "availableReplicas is the total number of available control plane machines in this cluster. A machine is considered available when Machine's Available condition is true.",
              "format": "int32",
              "type": "integer"
            },
            "desiredReplicas": {
              "description": "desiredReplicas is the total number of desired control plane machines in this cluster.",
              "format": "int32",
              "type": "integer"
            },
            "readyReplicas": {
              "description": "readyReplicas is the total number of ready control plane machines in this cluster. A machine is considered ready when Machine's Ready condition is true.",
              "format": "int32",
              "type": "integer"
            },
            "replicas": {
              "description": "replicas is the total number of control plane machines in this cluster.\nNOTE: replicas also includes machines still being provisioned or being deleted.",
              "format": "int32",
              "type": "integer"
            },
            "upToDateReplicas": {
              "description": "upToDateReplicas is the number of up-to-date control plane machines in this cluster. A machine is considered up-to-date when Machine's UpToDate condition is true.",
              "format": "int32",
              "type": "integer"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "deprecated": {
          "description": "deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.",
          "properties": {
            "v1beta1": {
              "description": "v1beta1 groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped.",
              "properties": {
                "conditions": {
                  "description": "conditions defines current service state of the cluster.\n\nDeprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.",
                  "items": {
                    "description": "Condition defines an observation of a Cluster API resource operational state.",
                    "properties": {
                      "lastTransitionTime": {
                        "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when\nthe API field changed is acceptable.",
                        "format": "date-time",
                        "type": "string"
                      },
                      "message": {
                        "description": "message is a human readable message indicating details about the transition.\nThis field may be empty.",
                        "maxLength": 10240,
                        "minLength": 1,
                        "type": "string"
                      },
                      "reason": {
                        "description": "reason is the reason for the condition's last transition in CamelCase.\nThe specific API may choose whether or not this field is considered a guaranteed API.\nThis field may be empty.",
                        "maxLength": 256,
                        "minLength": 1,
                        "type": "string"
                      },
                      "severity": {
                        "description": "severity provides an explicit classification of Reason code, so the users or machines can immediately\nunderstand the current situation and act accordingly.\nThe Severity field MUST be set only when Status=False.",
                        "maxLength": 32,
                        "type": "string"
                      },
                      "status": {
                        "description": "status of the condition, one of True, False, Unknown.",
                        "type": "string"
                      },
                      "type": {
                        "description": "type of condition in CamelCase or in foo.example.com/CamelCase.\nMany .condition.type values are consistent across resources like Available, but because arbitrary conditions\ncan be useful (see .node.status.conditions), the ability to deconflict is important.",
                        "maxLength": 256,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "lastTransitionTime",
                      "status",
                      "type"
                    ],
                    "type": "object",
                    "additionalProperties": false
                  },
                  "type": "array"
                },
                "failureMessage": {
                  "description": "failureMessage indicates that there is a fatal problem reconciling the\nstate, and will be set to a descriptive error message.\n\nDeprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.",
                  "maxLength": 10240,
                  "minLength": 1,
                  "type": "string"
                },
                "failureReason": {
                  "description": "failureReason indicates that there is a fatal problem reconciling the\nstate, and will be set to a token value suitable for\nprogrammatic interpretation.\n\nDeprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.",
                  "type": "string"
                }
              },
              "type": "object",
              "additionalProperties": false
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "failureDomains": {
          "description": "failureDomains is a slice of failure domain objects synced from the infrastructure provider.",
          "items": {
            "description": "FailureDomain is the Schema for Cluster API failure domains.\nIt allows controllers to understand how many failure domains a cluster can optionally span across.",
            "properties": {
              "attributes": {
                "additionalProperties": {
                  "type": "string"
                },
                "description": "attributes is a free form map of attributes an infrastructure provider might use or require.",
                "type": "object"
              },
              "controlPlane": {
                "description": "controlPlane determines if this failure domain is suitable for use by control plane machines.",
                "type": "boolean"
              },
              "name": {
                "description": "name is the name of the failure domain.",
                "maxLength": 256,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "maxItems": 100,
          "minItems": 1,
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "name"
          ],
          "x-kubernetes-list-type": "map"
        },
        "initialization": {
          "description": "initialization provides observations of the Cluster initialization process.\nNOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Cluster provisioning.",
          "minProperties": 1,
          "properties": {
            "controlPlaneInitialized": {
              "description": "controlPlaneInitialized denotes when the control plane is functional enough to accept requests.\nThis information is usually used as a signal for starting all the provisioning operations that depends on\na functional API server, but do not require a full HA control plane to exists, like e.g. join worker Machines,\ninstall core addons like CNI, CPI, CSI etc.\nNOTE: this field is part of the Cluster API contract, and it is used to orchestrate provisioning.\nThe value of this field is never updated after initialization is completed.",
              "type": "boolean"
            },
            "infrastructureProvisioned": {
              "description": "infrastructureProvisioned is true when the infrastructure provider reports that Cluster's infrastructure is fully provisioned.\nNOTE: this field is part of the Cluster API contract, and it is used to orchestrate provisioning.\nThe value of this field is never updated after provisioning is completed.",
              "type": "boolean"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "observedGeneration": {
          "description": "observedGeneration is the latest generation observed by the controller.",
          "format": "int64",
          "minimum": 1,
          "type": "integer"
        },
        "phase": {
          "description": "phase represents the current phase of cluster actuation.",
          "enum": [
            "Pending",
            "Provisioning",
            "Provisioned",
            "Deleting",
            "Failed",
            "Unknown"
          ],
          "type": "string"
        },
        "workers": {
          "description": "workers groups all the observations about Cluster's Workers current state.",
          "properties": {
            "availableReplicas": {
              "description": "availableReplicas is the total number of available worker machines in this cluster. A machine is considered available when Machine's Available condition is true.",
              "format": "int32",
              "type": "integer"
            },
            "desiredReplicas": {
              "description": "desiredReplicas is the total number of desired worker machines in this cluster.",
              "format": "int32",
              "type": "integer"
            },
            "readyReplicas": {
              "description": "readyReplicas is the total number of ready worker machines in this cluster. A machine is considered ready when Machine's Ready condition is true.",
              "format": "int32",
              "type": "integer"
            },
            "replicas": {
              "description": "replicas is the total number of worker machines in this cluster.\nNOTE: replicas also includes machines still being provisioned or being deleted.",
              "format": "int32",
              "type": "integer"
            },
            "upToDateReplicas": {
              "description": "upToDateReplicas is the number of up-to-date worker machines in this cluster. A machine is considered up-to-date when Machine's UpToDate condition is true.",
              "format": "int32",
              "type": "integer"
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
