{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instaclustr/json-schema/instaclustr-account-clusters-v2-schema.json",
  "title": "AccountClustersV2",
  "description": "A listable data source of all cluster IDs in an Instaclustr Account.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instaclustr-account-cluster-list-v2-api-openapi.yml#/components/schemas/AccountClustersV2",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "UUID of the Instaclustr Account.",
      "readOnly": true,
      "x-terraform-id": true
    },
    "clusters": {
      "type": "array",
      "description": "",
      "items": {
        "$ref": "#/$defs/ClusterSummaryV2"
      }
    }
  },
  "$defs": {
    "ClusterSummaryV2": {
      "type": "object",
      "properties": {
        "application": {
          "type": "string",
          "description": "",
          "enum": [
            "APACHE_CASSANDRA",
            "KAFKA",
            "APACHE_ZOOKEEPER",
            "KAFKA_CONNECT",
            "CADENCE",
            "CLICKHOUSE",
            "REDIS",
            "VALKEY",
            "OPENSEARCH",
            "POSTGRESQL",
            "MCP_GATEWAY",
            "KAFKA_DISKLESS",
            "UNKNOWN"
          ]
        },
        "id": {
          "type": "string",
          "description": ""
        }
      },
      "description": ""
    }
  }
}