{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-glue/json-schema/aws-glue-batch-get-partition-request-schema.json",
  "title": "BatchGetPartitionRequest",
  "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-batchgetpartition-api-api-openapi.yml#/components/schemas/BatchGetPartitionRequest",
  "type": "object",
  "properties": {
    "CatalogId": {
      "type": "string",
      "description": "The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default."
    },
    "DatabaseName": {
      "type": "string",
      "description": "The name of the catalog database where the partitions reside."
    },
    "TableName": {
      "type": "string",
      "description": "The name of the partitions' table."
    },
    "PartitionsToGet": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PartitionValueList"
      },
      "description": "A list of partition values identifying the partitions to retrieve."
    },
    "AuditContext": {
      "$ref": "#/$defs/AuditContext"
    },
    "QuerySessionContext": {
      "$ref": "#/$defs/QuerySessionContext"
    }
  },
  "required": [
    "DatabaseName",
    "TableName",
    "PartitionsToGet"
  ],
  "$defs": {
    "AuditContext": {
      "type": "object",
      "properties": {
        "AdditionalAuditContext": {
          "type": "string",
          "description": "A string containing the additional audit context information."
        },
        "RequestedColumns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The requested columns for audit."
        },
        "AllColumnsRequested": {
          "type": "boolean",
          "description": "All columns request for audit."
        }
      }
    },
    "PartitionValueList": {
      "type": "object",
      "properties": {
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of values."
        }
      },
      "required": [
        "Values"
      ]
    },
    "QuerySessionContext": {
      "type": "object",
      "properties": {
        "QueryId": {
          "type": "string",
          "description": "A unique identifier generated by the query engine for the query."
        },
        "QueryStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "A timestamp provided by the query engine for when the query started."
        },
        "ClusterId": {
          "type": "string",
          "description": "An identifier string for the consumer cluster."
        },
        "QueryAuthorizationId": {
          "type": "string",
          "description": "A cryptographically generated query identifier generated by Glue or Lake Formation."
        },
        "AdditionalContext": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "An opaque string-string map passed by the query engine."
        }
      }
    }
  }
}