{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-cmekcluster-specification-schema.json",
  "title": "CMEKClusterSpecification",
  "description": "Specification defining the customer-managed encryption key configuration for a CockroachDB cluster.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-cmek-api-openapi.yml#/components/schemas/CMEKClusterSpecification",
  "type": "object",
  "required": [
    "region_specs"
  ],
  "properties": {
    "region_specs": {
      "type": "array",
      "description": "Per-region CMEK key specifications.",
      "items": {
        "type": "object",
        "properties": {
          "region": {
            "type": "string",
            "description": "Cloud region the key applies to."
          },
          "key": {
            "type": "object",
            "description": "Key specification including type and URI."
          }
        }
      }
    }
  }
}