{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scylladb/json-schema/scylladb-region-schema.json",
  "title": "region",
  "description": "Region and continent description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scylladb-deployment-api-openapi.yml#/components/schemas/region",
  "type": "object",
  "x-public": true,
  "properties": {
    "id": {
      "type": "integer",
      "description": "ID of the region (internal for scylla-cloud)"
    },
    "externalId": {
      "type": "string",
      "description": "External ID of the cloud provider region"
    },
    "cloudProviderId": {
      "type": "integer",
      "description": "ID of the cloud provider (full list [get] /deployment/cloud-providers)"
    },
    "name": {
      "type": "string",
      "description": "Name of the region"
    },
    "dcName": {
      "type": "string",
      "description": "Name of the data center"
    },
    "fullName": {
      "type": "string",
      "description": "Full name of the region"
    },
    "continent": {
      "type": "string",
      "description": "Continent name"
    },
    "backupStorageGBCost": {
      "type": "number",
      "description": "Cost of storing 1 Gigabyte in backup"
    },
    "trafficSameRegionInGBCost": {
      "type": "number",
      "description": "Cost of receiving 1 Gigabyte from the same region"
    },
    "trafficSameRegionOutGBCost": {
      "type": "number",
      "description": "Cost of sending 1 Gigabyte to the same region"
    },
    "trafficCrossRegionOutGBCost": {
      "type": "number",
      "description": "Cost of sending 1 Gigabyte to another region"
    },
    "trafficInternetOutGBCost": {
      "type": "number",
      "description": "Cost of sending 1 Gigabyte to the internet"
    },
    "multiRegionExternalId": {
      "description": "External ID of the cloud provider multi-region",
      "type": "string"
    }
  }
}