{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-get-volume-response-schema.json",
  "title": "GetVolumeResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-volumes-api-openapi.yml#/components/schemas/GetVolumeResponse",
  "type": "object",
  "properties": {
    "volumeId": {
      "type": "string",
      "description": "The volume ID."
    },
    "farmId": {
      "type": "string",
      "description": "The farm ID of the farm that contains the fleet."
    },
    "fleetId": {
      "type": "string",
      "description": "The fleet ID of the fleet that contains the volume."
    },
    "state": {
      "type": "string",
      "enum": [
        "PENDING_CREATION",
        "PENDING_ATTACHMENT",
        "IN_USE",
        "AVAILABLE",
        "PENDING_DELETION"
      ],
      "description": "The state of the volume."
    },
    "sizeGiB": {
      "type": "integer",
      "description": "The volume size in GiB."
    },
    "availabilityZoneId": {
      "type": "string",
      "description": "The Availability Zone ID of the volume."
    },
    "attachedWorkerId": {
      "type": "string",
      "description": "The worker ID of the worker the volume is attached to."
    },
    "volumeType": {
      "type": "string",
      "enum": [
        "gp3"
      ],
      "description": "The EBS volume type."
    },
    "iops": {
      "type": "integer",
      "description": "The IOPS of the volume."
    },
    "throughputMiB": {
      "type": "integer",
      "description": "The throughput of the volume in MiB."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the resource was created."
    },
    "lastAssignedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the volume was last assigned to a worker."
    },
    "lastReleasedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the volume was last released from a worker."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the volume expires and will be deleted."
    }
  },
  "required": [
    "volumeId",
    "farmId",
    "fleetId",
    "state",
    "sizeGiB",
    "availabilityZoneId",
    "volumeType",
    "createdAt"
  ]
}