{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateTableRequest",
"title": "CreateTableRequest",
"type": "object",
"description": "Request body for creating a new table within a base.",
"properties": {
"name": {
"type": "string",
"description": "The name of the new table."
},
"description": {
"type": "string",
"description": "The description of the new table."
},
"fields": {
"type": "array",
"description": "The field definitions for the table. At least one field is required.",
"minItems": 1,
"items": {
"$ref": "#/components/schemas/CreateFieldRequest"
}
}
},
"required": [
"name",
"fields"
]
}