{
  "description": "HetznerBareMetalRemediation is the Schema for the hetznerbaremetalremediations 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": "HetznerBareMetalRemediationSpec defines the desired state of HetznerBareMetalRemediation.",
      "properties": {
        "strategy": {
          "description": "Strategy field defines the remediation strategy to be applied.",
          "properties": {
            "retryLimit": {
              "description": "RetryLimit sets the maximum number of remediation retries. Zero retries if not set.",
              "type": "integer"
            },
            "timeout": {
              "description": "Timeout sets the timeout between remediation retries. It should be of the form \"10m\", or \"40s\".",
              "type": "string"
            },
            "type": {
              "default": "Reboot",
              "description": "Type represents the type of the remediation strategy. At the moment, only \"Reboot\" is supported.",
              "type": "string"
            }
          },
          "required": [
            "timeout"
          ],
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "HetznerBareMetalRemediationStatus defines the observed state of HetznerBareMetalRemediation.",
      "properties": {
        "lastRemediated": {
          "description": "LastRemediated identifies when the host was last remediated",
          "format": "date-time",
          "type": "string"
        },
        "phase": {
          "description": "Phase represents the current phase of machine remediation.\nE.g. Pending, Running, Done etc.",
          "type": "string"
        },
        "retryCount": {
          "description": "RetryCount can be used as a counter during the remediation.\nField can hold number of reboots etc.",
          "type": "integer"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
