{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-create-participant-connection-request-schema.json",
  "title": "CreateParticipantConnectionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-participant-api-openapi.yml#/components/schemas/CreateParticipantConnectionRequest",
  "type": "object",
  "properties": {
    "Type": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "WEBSOCKET",
          "CONNECTION_CREDENTIALS",
          "WEBRTC_CONNECTION"
        ]
      },
      "description": "Type of connection information required. If you need CONNECTION_CREDENTIALS along with marking participant as connected, pass CONNECTION_CREDENTIALS in Type."
    },
    "ParticipantToken": {
      "type": "string",
      "description": "This is a header parameter. The ParticipantToken as obtained from StartChatContact API response."
    },
    "ConnectParticipant": {
      "type": "boolean",
      "description": "Amazon Connect Participant is used to mark the participant as connected for customer participant in message streaming, as well as for agent or manager participant in non-streaming chats."
    }
  },
  "required": [
    "ParticipantToken"
  ]
}