{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-networking-services/json-schema/azure-networking-services-interconnect-group-node-availability-schema.json",
  "title": "InterconnectGroupNodeAvailability",
  "description": "Represents node availability information for subgroups within an interconnect group.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-networking-services-interconnectgroups-api-openapi.yml#/components/schemas/InterconnectGroupNodeAvailability",
  "type": "object",
  "properties": {
    "subgroupsNodeAvailability": {
      "type": "array",
      "description": "The list of subgroup node availability entries.",
      "items": {
        "$ref": "#/$defs/SubgroupNodeAvailabilityEntry"
      }
    }
  },
  "$defs": {
    "SubgroupNodeAvailabilityEntry": {
      "type": "object",
      "description": "Represents the node availability information for a single subgroup.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The subgroup name."
        },
        "internalSubgroupId": {
          "type": "string",
          "description": "The unique identifier of the subgroup."
        },
        "inServiceNodeCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of nodes that are in service."
        },
        "inUseNodeCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of nodes that are currently in use."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "The total node count for the subgroup."
        }
      }
    }
  }
}