{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-interactive-video-service/json-schema/amazon-interactive-video-service-batch-start-viewer-session-revocation-request-schema.json",
  "title": "BatchStartViewerSessionRevocationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-interactive-video-service-batchstartviewersessionrevocation-api-openapi.yml#/components/schemas/BatchStartViewerSessionRevocationRequest",
  "type": "object",
  "properties": {
    "viewerSessions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchStartViewerSessionRevocationViewerSession"
      },
      "description": "Array of viewer sessions, one per channel-ARN and viewer-ID pair."
    }
  },
  "required": [
    "viewerSessions"
  ],
  "$defs": {
    "BatchStartViewerSessionRevocationViewerSession": {
      "type": "object",
      "properties": {
        "channelArn": {
          "type": "string",
          "description": "The ARN of the channel associated with the viewer session to revoke."
        },
        "viewerId": {
          "type": "string",
          "description": "The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information."
        },
        "viewerSessionVersionsLessThanOrEqualTo": {
          "type": "integer",
          "description": "An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0."
        }
      },
      "required": [
        "channelArn",
        "viewerId"
      ]
    }
  }
}