{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue/refs/heads/main/json-schema/glue-create-table-request-schema.json",
"title": "CreateTableRequest",
"description": "CreateTableRequest schema from Amazon Glue API",
"type": "object",
"properties": {
"CatalogId": {
"allOf": [
{
"$ref": "#/components/schemas/CatalogIdString"
},
{
"description": "The ID of the Data Catalog in which to create the Table. If none is supplied, the Amazon Web Services account ID is used by default."
}
]
},
"DatabaseName": {
"allOf": [
{
"$ref": "#/components/schemas/NameString"
},
{
"description": "The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase."
}
]
},
"TableInput": {
"allOf": [
{
"$ref": "#/components/schemas/TableInput"
},
{
"description": "The TableInput object that defines the metadata table to create in the catalog."
}
]
},
"PartitionIndexes": {
"allOf": [
{
"$ref": "#/components/schemas/PartitionIndexList"
},
{
"description": "A list of partition indexes, PartitionIndex structures, to create in the table."
}
]
},
"TransactionId": {
"allOf": [
{
"$ref": "#/components/schemas/TransactionIdString"
},
{
"description": "The ID of the transaction."
}
]
}
},
"required": [
"DatabaseName",
"TableInput"
]
}