Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the table. |
| columns | array | The list of columns in this table. |
| rows | array | The resulting rows from the query. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Table",
"title": "Table",
"type": "object",
"required": [
"name",
"columns",
"rows"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the table."
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the column."
},
"type": {
"type": "string",
"description": "The data type of the column."
}
}
},
"description": "The list of columns in this table."
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {}
},
"description": "The resulting rows from the query."
}
}
}