{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-list-collection-groups-response-schema.json",
  "title": "ListCollectionGroupsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-collection-group-api-openapi.yml#/components/schemas/ListCollectionGroupsResponse",
  "type": "object",
  "properties": {
    "collectionGroupSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CollectionGroupSummary"
      },
      "description": "Details about each collection group."
    },
    "nextToken": {
      "type": "string",
      "description": "When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page."
    }
  },
  "$defs": {
    "CollectionGroupCapacityLimits": {
      "type": "object",
      "properties": {
        "maxIndexingCapacityInOCU": {
          "type": "number",
          "description": "The maximum indexing capacity for collections in the group."
        },
        "maxSearchCapacityInOCU": {
          "type": "number",
          "description": "The maximum search capacity for collections in the group."
        },
        "minIndexingCapacityInOCU": {
          "type": "number",
          "description": "The minimum indexing capacity for collections in the group."
        },
        "minSearchCapacityInOCU": {
          "type": "number",
          "description": "The minimum search capacity for collections in the group."
        }
      }
    },
    "CollectionGroupSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the collection group."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the collection group."
        },
        "name": {
          "type": "string",
          "description": "The name of the collection group."
        },
        "numberOfCollections": {
          "type": "integer",
          "description": "The number of collections within the collection group."
        },
        "createdDate": {
          "type": "integer",
          "description": "The Epoch time when the collection group was created."
        },
        "capacityLimits": {
          "$ref": "#/$defs/CollectionGroupCapacityLimits"
        },
        "generation": {
          "type": "string",
          "description": "The generation of Amazon OpenSearch Serverless for the collection group."
        }
      }
    }
  }
}