{ "type": "object", "properties": { "id": { "type": "string", "description": "Volume ID", "example": "vol-12345678" }, "name": { "type": "string", "description": "Volume name", "example": "my-volume" }, "organizationId": { "type": "string", "description": "Organization ID", "example": "123e4567-e89b-12d3-a456-426614174000" }, "state": { "description": "Volume state", "example": "ready", "allOf": [ { "type": "string", "enum": [ "creating", "ready", "pending_create", "pending_delete", "deleting", "deleted", "error" ], "description": "Volume state" } ] }, "createdAt": { "type": "string", "description": "Creation timestamp", "example": "2023-01-01T00:00:00.000Z" }, "updatedAt": { "type": "string", "description": "Last update timestamp", "example": "2023-01-01T00:00:00.000Z" }, "lastUsedAt": { "type": "string", "description": "Last used timestamp", "example": "2023-01-01T00:00:00.000Z", "nullable": true }, "errorReason": { "type": "string", "description": "The error reason of the volume", "example": "Error processing volume", "nullable": true } }, "required": [ "id", "name", "organizationId", "state", "createdAt", "updatedAt", "errorReason" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/daytona-io/refs/heads/main/json-schema/daytona-volume-schema.json", "title": "VolumeDto" }