{
  "description": "TinkerbellMachineConfig is the Schema for the tinkerbellmachineconfigs API.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "TinkerbellMachineConfigSpec defines the desired state of TinkerbellMachineConfig.",
      "properties": {
        "hardwareSelector": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "HardwareSelector models a simple key-value selector used in Tinkerbell provisioning.",
          "type": "object"
        },
        "osFamily": {
          "type": "string"
        },
        "templateRef": {
          "properties": {
            "kind": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "users": {
          "items": {
            "description": "UserConfiguration defines the configuration of the user to be added to the VM.",
            "properties": {
              "name": {
                "type": "string"
              },
              "sshAuthorizedKeys": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "name",
              "sshAuthorizedKeys"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        }
      },
      "required": [
        "hardwareSelector",
        "osFamily"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "TinkerbellMachineConfigStatus defines the observed state of TinkerbellMachineConfig.",
      "type": "object"
    }
  },
  "type": "object"
}
