{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-chime/json-schema/amazon-chime-batch-create-channel-membership-request-schema.json",
  "title": "BatchCreateChannelMembershipRequest",
  "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/BatchCreateChannelMembershipRequest",
  "type": "object",
  "properties": {
    "ChannelArn": {
      "type": "string",
      "description": "The ARN of the channel to which you're adding users or bots."
    },
    "Type": {
      "type": "string",
      "enum": [
        "DEFAULT",
        "HIDDEN"
      ],
      "description": "The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators."
    },
    "MemberArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARNs of the members you want to add to the channel. Only AppInstanceUsers and AppInstanceBots can be added as a channel member."
    },
    "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 creating membership in a SubChannel for a moderator in an elastic channel."
    }
  },
  "required": [
    "ChannelArn",
    "MemberArns",
    "ChimeBearer"
  ]
}