{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-remote-cluster-reference-schema.json",
  "title": "RemoteClusterReference",
  "description": "Remote cluster reference for XDCR",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/couchbase-cluster-references-api-openapi.yml#/components/schemas/RemoteClusterReference",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the remote cluster reference"
    },
    "uuid": {
      "type": "string",
      "description": "UUID of the remote cluster"
    },
    "hostname": {
      "type": "string",
      "description": "Hostname and port of the remote cluster"
    },
    "username": {
      "type": "string",
      "description": "Administrator username for the remote cluster"
    },
    "uri": {
      "type": "string",
      "description": "URI for accessing this cluster reference"
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the reference is marked for deletion"
    },
    "demandEncryption": {
      "type": "boolean",
      "description": "Whether encryption is required"
    },
    "encryptionType": {
      "type": "string",
      "description": "Type of encryption used",
      "enum": [
        "none",
        "half",
        "full"
      ]
    }
  }
}