{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-cluster-group-schema.json",
  "title": "ClusterGroup represents a cluster group.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-cluster-groups-api-openapi.yml#/components/schemas/ClusterGroup",
  "properties": {
    "description": {
      "description": "The description of the cluster group",
      "type": "string",
      "x-go-name": "Description"
    },
    "members": {
      "description": "List of members in this group",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-go-name": "Members"
    },
    "name": {
      "description": "The new name of the cluster group",
      "type": "string",
      "x-go-name": "Name"
    },
    "used_by": {
      "description": "UsedBy is a list or LXD entity URLs that reference the cluster group.\n\nAPI extension: clustering_groups_used_by",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-go-name": "UsedBy"
    }
  },
  "type": "object",
  "x-go-package": "github.com/canonical/lxd/shared/api"
}