{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cockroach-labs/json-schema/cockroach-labs-client-cacert-info-schema.json",
  "title": "ClientCACertInfo",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cockroach-labs-client-ca-certificates-api-openapi.yml#/components/schemas/ClientCACertInfo",
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/$defs/ClientCACertStatus"
    },
    "x509_pem_cert": {
      "type": "string"
    }
  },
  "$defs": {
    "ClientCACertStatus": {
      "description": " - NOT_SET: NOT_SET indicates a client CA cert is not set on the cluster.\nNew clusters won't have a client CA cert set.\n - IS_SET: IS_SET indicates a client CA cert is set on the cluster.\n - PENDING: PENDING indicates a client CA cert update is in flight on the cluster.\n - FAILED: FAILED indicates a client CA cert update was attempted, but failed.",
      "type": "string",
      "enum": [
        "NOT_SET",
        "IS_SET",
        "PENDING",
        "FAILED"
      ]
    }
  }
}