{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-batch-delete-document-request-schema.json",
  "title": "BatchDeleteDocumentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-documents-api-openapi.yml#/components/schemas/BatchDeleteDocumentRequest",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The identifier of the Amazon Q Business application."
    },
    "indexId": {
      "type": "string",
      "description": "The identifier of the Amazon Q Business index that contains the documents to delete."
    },
    "documents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeleteDocument"
      },
      "description": "Documents deleted from the Amazon Q Business index."
    },
    "dataSourceSyncId": {
      "type": "string",
      "description": "The identifier of the data source sync during which the documents were deleted."
    }
  },
  "required": [
    "applicationId",
    "indexId",
    "documents"
  ],
  "$defs": {
    "DeleteDocument": {
      "type": "object",
      "properties": {
        "documentId": {
          "type": "string",
          "description": "The identifier of the deleted document."
        }
      },
      "required": [
        "documentId"
      ]
    }
  }
}