{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-ignite/refs/heads/main/json-schema/rest-api-cluster-state-schema.json",
  "title": "ClusterState",
  "description": "Information about current cluster state.",
  "type": "object",
  "properties": {
    "cmgNodes": {
      "type": "array",
      "description": "List of cluster management group nodes. These nodes are responsible for maintaining RAFT cluster topology.",
      "items": {
        "type": "string"
      }
    },
    "msNodes": {
      "type": "array",
      "description": "List of metastorage nodes. These nodes are responsible for storing RAFT cluster metadata.",
      "items": {
        "type": "string"
      }
    },
    "igniteVersion": {
      "type": "string",
      "description": "Version of Apache Ignite that the cluster was created on."
    },
    "clusterTag": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ClusterTag"
        },
        {
          "description": "Unique tag that identifies the cluster."
        }
      ]
    },
    "formerClusterIds": {
      "type": "array",
      "description": "IDs the cluster had before.",
      "nullable": true,
      "items": {
        "type": "string",
        "format": "uuid"
      }
    }
  }
}