{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scylladb/json-schema/scylladb-instance-schema.json",
  "title": "instance",
  "description": "Cloud provider instance pricing 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/instance",
  "type": "object",
  "x-public": true,
  "properties": {
    "id": {
      "type": "integer",
      "description": "ID of the instance type (internal for scylla-cloud)"
    },
    "externalId": {
      "type": "string",
      "description": "External ID of the cloud provider instance type"
    },
    "cloudProviderId": {
      "type": "integer",
      "description": "ID of the cloud provider (full list [get] /deployment/cloud-providers)"
    },
    "groupDefault": {
      "type": "boolean",
      "description": "GroupDefault says which one is the default in a group of matching external_id"
    },
    "displayOrder": {
      "type": "integer",
      "description": "Position when showing multiple instance types"
    },
    "memory": {
      "type": "integer",
      "description": "Instance type RAM size in Megabytes"
    },
    "localDiskCount": {
      "type": "integer",
      "description": "Instance type disk count"
    },
    "totalStorage": {
      "type": "integer",
      "description": "Instance type total storage size (uses base of 10 GB)"
    },
    "cpuCount": {
      "type": "integer",
      "description": "Instance type CPU core count"
    },
    "networkSpeed": {
      "type": "integer",
      "description": "Instance type network bandwidth in Megabytes per second"
    },
    "networkSpeedDescription": {
      "description": "Network performance description",
      "type": "string"
    },
    "baseNetworkSpeed": {
      "description": "The network performance in Megabytes per second",
      "type": "integer"
    },
    "externalStorageNetworkSpeed": {
      "type": "integer",
      "description": "Cloud provider storage bandwidth in Megabytes per second"
    },
    "costPerHour": {
      "type": "number",
      "description": "Deprecated in favor of InstanceCostHourly",
      "deprecated": true
    },
    "environment": {
      "type": "string",
      "description": "Development clusters lack advanced features (e.g. Scylla Manager, monitoring alerts and many others) which are present in Production clusters",
      "enum": [
        "PRODUCTION",
        "DEVELOPMENT"
      ]
    },
    "licenseCostOnDemandPerHour": {
      "type": "number",
      "description": "Deprecated in favor of SubscriptionCostHourly",
      "deprecated": true
    },
    "subscriptionCostHourly": {
      "type": "number",
      "description": "Scylla related part of the cost per hour"
    },
    "subscriptionCostHourlyXCloud": {
      "type": "number",
      "description": "Scylla related part of the cost per hour for XCloud"
    },
    "subscriptionCostHourlyXCloudBYOA": {
      "type": "number",
      "description": "Scylla related part of the cost per hour for XCloud BYOA"
    },
    "subscriptionCostMonthly": {
      "type": "number",
      "description": "Scylla related part of the cost per month"
    },
    "subscriptionCostMonthlyXCloud": {
      "type": "number",
      "description": "Scylla related part of the cost per month for XCloud"
    },
    "subscriptionCostYearly": {
      "type": "number",
      "description": "Scylla related part of the cost per year"
    },
    "subscriptionCostYearlyXCloud": {
      "type": "number",
      "description": "Scylla related part of the cost per year for XCloud"
    },
    "instanceCostHourly": {
      "type": "number",
      "description": "Cloud provider related part of the cost"
    },
    "instanceFamily": {
      "description": "Describes instance type best price-performance workloads",
      "type": "string"
    },
    "freeTier": {
      "description": "This instance type can be used on a free tier cluster",
      "type": "boolean"
    }
  }
}