{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-glue/json-schema/aws-glue-batch-delete-partition-request-schema.json",
  "title": "BatchDeletePartitionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-glue-aws-glue-x-amz-target-awsglue-batchdeletepartition-api-api-openapi.yml#/components/schemas/BatchDeletePartitionRequest",
  "type": "object",
  "properties": {
    "CatalogId": {
      "type": "string",
      "description": "The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default."
    },
    "DatabaseName": {
      "type": "string",
      "description": "The name of the catalog database in which the table in question resides."
    },
    "TableName": {
      "type": "string",
      "description": "The name of the table that contains the partitions to be deleted."
    },
    "PartitionsToDelete": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PartitionValueList"
      },
      "description": "A list of PartitionInput structures that define the partitions to be deleted."
    }
  },
  "required": [
    "DatabaseName",
    "TableName",
    "PartitionsToDelete"
  ],
  "$defs": {
    "PartitionValueList": {
      "type": "object",
      "properties": {
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of values."
        }
      },
      "required": [
        "Values"
      ]
    }
  }
}