{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Volume",
  "title": "Volume",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique ID of this volume."
    },
    "label": {
      "type": "string",
      "description": "The label of this volume."
    },
    "status": {
      "type": "string",
      "enum": [
        "creating",
        "active",
        "resizing",
        "deleting"
      ],
      "description": "The current status of this volume."
    },
    "size": {
      "type": "integer",
      "description": "The size of this volume in GB."
    },
    "region": {
      "type": "string",
      "description": "The region where this volume is located."
    },
    "linode_id": {
      "type": "integer",
      "description": "The ID of the Linode this volume is attached to, or null."
    },
    "linode_label": {
      "type": "string",
      "description": "The label of the Linode this volume is attached to."
    },
    "filesystem_path": {
      "type": "string",
      "description": "The filesystem path for this volume on the attached Linode."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tags for this volume."
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "When this volume was created."
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "description": "When this volume was last updated."
    }
  }
}