{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scylladb/json-schema/scylladb-cluster-request-schema.json",
  "title": "ClusterRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scylladb-account-cluster-network-api-openapi.yml#/components/schemas/ClusterRequest",
  "type": "object",
  "x-public": true,
  "properties": {
    "accountId": {
      "type": "integer",
      "description": "ID of the account where cluster belongs to"
    },
    "clusterId": {
      "type": "integer",
      "description": "ID of the cluster where the datacenter belongs to"
    },
    "connectionID": {
      "type": "integer"
    },
    "id": {
      "type": "integer",
      "description": "ID of the cluster request"
    },
    "progressDescription": {
      "type": "string",
      "description": "Request progress description"
    },
    "progressPercent": {
      "type": "integer",
      "description": "Request processing progress"
    },
    "requestBody": {
      "type": "string",
      "description": "JSON body of the request"
    },
    "requestType": {
      "type": "string",
      "description": "Defines type of the request",
      "enum": [
        "ADD_DC",
        "CREATE_CLUSTER",
        "DELETE_CLUSTER",
        "RESIZE_CLUSTER_V2",
        "RESIZE_CLUSTER_V3",
        "UPGRADE_CLUSTER",
        "SCALE_CLUSTER",
        "INSTALL_MANAGER",
        "DNS",
        "CREATE_VPC_PEERING",
        "DELETE_VPC_PEERING",
        "CREATE_CLUSTER_CONNECTION",
        "DELETE_CLUSTER_CONNECTION",
        "UPDATE_CLUSTER_CONNECTION",
        "INSTALL_VECTOR_SEARCH",
        "RESIZE_VECTOR_SEARCH",
        "DELETE_VECTOR_SEARCH"
      ]
    },
    "status": {
      "type": "string",
      "description": "Status of the request",
      "enum": [
        "QUEUED",
        "IN_PROGRESS",
        "FAILED",
        "COMPLETED",
        "CANCELLED"
      ]
    },
    "ticketExternalID": {
      "description": "External ID from Zendesk ticket",
      "type": "string"
    },
    "userFriendlyError": {
      "type": "string",
      "description": "Descriptive information about the potential error",
      "deprecated": true
    },
    "userId": {
      "type": "integer",
      "description": "ID of the user who created the request"
    },
    "version": {
      "type": "integer",
      "description": "Version of the request. Always = 1"
    },
    "provisioning": {
      "default": "dedicated-vm",
      "enum": [
        "dedicated-vm"
      ],
      "type": "string"
    }
  }
}