{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-chime/json-schema/amazon-chime-list-channel-memberships-request-schema.json",
  "title": "ListChannelMembershipsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-chime-memberships-api-openapi.yml#/components/schemas/ListChannelMembershipsRequest",
  "type": "object",
  "properties": {
    "ChannelArn": {
      "type": "string",
      "description": "The maximum number of channel memberships that you want returned."
    },
    "Type": {
      "type": "string",
      "enum": [
        "DEFAULT",
        "HIDDEN"
      ],
      "description": "The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of channel memberships that you want returned."
    },
    "NextToken": {
      "type": "string",
      "description": "The token passed by previous API calls until all requested channel memberships are returned."
    },
    "ChimeBearer": {
      "type": "string",
      "description": "The ARN of the AppInstanceUser or AppInstanceBot that makes the API call."
    },
    "SubChannelId": {
      "type": "string",
      "description": "The ID of the SubChannel in the request. Only required when listing a user's memberships in a particular sub-channel of an elastic channel."
    }
  },
  "required": [
    "ChannelArn",
    "ChimeBearer"
  ]
}