{
  "description": "DataImage is the Schema for the dataimages 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": "DataImageSpec defines the desired state of DataImage.",
      "properties": {
        "url": {
          "description": "Url is the address of the dataImage that we want to attach\nto a BareMetalHost",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "DataImageStatus defines the observed state of DataImage.",
      "properties": {
        "attachedImage": {
          "description": "Currently attached DataImage",
          "properties": {
            "url": {
              "type": "string"
            }
          },
          "required": [
            "url"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "error": {
          "description": "Error count and message when attaching/detaching",
          "properties": {
            "count": {
              "type": "integer"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "count",
            "message"
          ],
          "type": "object",
          "additionalProperties": false
        },
        "lastReconciled": {
          "description": "Time of last reconciliation",
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
