{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-chime/json-schema/amazon-chime-list-channels-request-schema.json",
  "title": "ListChannelsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-chime-channels-api-openapi.yml#/components/schemas/ListChannelsRequest",
  "type": "object",
  "properties": {
    "AppInstanceArn": {
      "type": "string",
      "description": "The ARN of the AppInstance."
    },
    "Privacy": {
      "type": "string",
      "enum": [
        "PUBLIC",
        "PRIVATE"
      ],
      "description": "The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of channels that you want to return."
    },
    "NextToken": {
      "type": "string",
      "description": "The token passed by previous API calls until all requested channels are returned."
    },
    "ChimeBearer": {
      "type": "string",
      "description": "The ARN of the AppInstanceUser or AppInstanceBot that makes the API call."
    }
  },
  "required": [
    "AppInstanceArn",
    "ChimeBearer"
  ]
}