{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-interactive-video-service/json-schema/amazon-interactive-video-service-list-participants-request-schema.json",
  "title": "ListParticipantsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-interactive-video-service-operations-api-openapi.yml#/components/schemas/ListParticipantsRequest",
  "type": "object",
  "properties": {
    "stageArn": {
      "type": "string",
      "description": "Stage ARN."
    },
    "sessionId": {
      "type": "string",
      "description": "ID of the session within the stage."
    },
    "filterByUserId": {
      "type": "string",
      "description": "Filters the response list to match the specified user ID. Only one of filterByUserId, filterByPublished, filterByState, or filterByRecordingState can be provided per request. A userId is a customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems."
    },
    "filterByPublished": {
      "type": "boolean",
      "description": "Filters the response list to only show participants who published during the stage session. Only one of filterByUserId, filterByPublished, filterByState, or filterByRecordingState can be provided per request."
    },
    "filterByState": {
      "type": "string",
      "description": "Filters the response list to only show participants in the specified state. Only one of filterByUserId, filterByPublished, filterByState, or filterByRecordingState can be provided per request."
    },
    "nextToken": {
      "type": "string",
      "description": "The first participant to retrieve. This is used for pagination; see the nextToken response field."
    },
    "maxResults": {
      "type": "integer",
      "description": "Maximum number of results to return. Default: 50."
    },
    "filterByRecordingState": {
      "type": "string",
      "description": "Filters the response list to only show participants with the specified recording state. Only one of filterByUserId, filterByPublished, filterByState, or filterByRecordingState can be provided per request."
    }
  },
  "required": [
    "stageArn",
    "sessionId"
  ]
}