{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-list-collections-request-schema.json",
  "title": "ListCollectionsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-collection-api-openapi.yml#/components/schemas/ListCollectionsRequest",
  "type": "object",
  "properties": {
    "collectionFilters": {
      "$ref": "#/$defs/CollectionFilters"
    },
    "nextToken": {
      "type": "string",
      "description": "If your initial ListCollections operation returns a nextToken, you can include the returned nextToken in subsequent ListCollections operations, which returns results in the next page."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return. Default is 20. You can use nextToken to get the next page of results."
    }
  },
  "$defs": {
    "CollectionFilters": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the collection."
        },
        "status": {
          "type": "string",
          "description": "The current status of the collection."
        },
        "collectionGroupName": {
          "type": "string",
          "description": "The name of the collection group to filter by."
        }
      }
    }
  }
}