{
  "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
  "properties": {
    "attachError": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.storage.v1.VolumeError",
      "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
    },
    "attached": {
      "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "attachmentMetadata": {
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
      "type": [
        "object",
        "null"
      ]
    },
    "detachError": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.storage.v1.VolumeError",
      "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
    }
  },
  "required": [
    "attached"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/volumeattachmentstatus/storage/v1"
}