{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-remote-cluster-create-request-schema.json", "title": "RemoteClusterCreateRequest", "description": "Request to create or update a remote cluster reference", "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/RemoteClusterCreateRequest", "type": "object", "required": [ "name", "hostname", "username", "password" ], "properties": { "name": { "type": "string", "description": "Name for the remote cluster reference" }, "hostname": { "type": "string", "description": "Hostname and port of the remote cluster" }, "username": { "type": "string", "description": "Administrator username on the remote cluster" }, "password": { "type": "string", "description": "Administrator password on the remote cluster" }, "demandEncryption": { "type": "integer", "description": "Whether to require encryption (0 or 1)", "enum": [ 0, 1 ] }, "encryptionType": { "type": "string", "description": "Type of encryption to use", "enum": [ "none", "half", "full" ] }, "certificate": { "type": "string", "description": "CA certificate for the remote cluster in PEM format" } } }