{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-server-groups-schema.json", "title": "ServerGroups", "description": "Server groups configuration", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/couchbase-server-groups-api-openapi.yml#/components/schemas/ServerGroups", "type": "object", "properties": { "groups": { "type": "array", "description": "List of server groups", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the server group" }, "uri": { "type": "string", "description": "URI for the server group" }, "nodes": { "type": "array", "description": "Nodes in the server group", "items": { "$ref": "#/$defs/Node" } } } } } }, "$defs": { "Node": { "type": "object", "description": "Information about a cluster node", "properties": { "hostname": { "type": "string", "description": "Node hostname and port" }, "status": { "type": "string", "description": "Node status", "enum": [ "healthy", "unhealthy", "warmup" ] }, "clusterMembership": { "type": "string", "description": "Cluster membership status", "enum": [ "active", "inactiveAdded", "inactiveFailed" ] }, "services": { "type": "array", "description": "List of services running on the node", "items": { "type": "string", "enum": [ "kv", "n1ql", "index", "fts", "cbas", "eventing", "backup" ] } }, "os": { "type": "string", "description": "Operating system of the node" }, "version": { "type": "string", "description": "Couchbase Server version on the node" }, "memoryTotal": { "type": "integer", "description": "Total memory on the node in bytes" }, "memoryFree": { "type": "integer", "description": "Free memory on the node in bytes" } } } } }