Microsoft Word · Schema
Table
Represents a table in a Word document.
DocumentsMicrosoft 365OfficeProductivityWord Processing
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the table. |
| rowCount | integer | Number of rows in the table. |
| columnCount | integer | Number of columns in the table. |
| style | string | Style name applied to the table. |
| alignment | string | Table alignment. |
| headerRowCount | integer | Number of header rows. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-word/refs/heads/main/json-schema/javascript-api-table-schema.json",
"title": "Table",
"description": "Represents a table in a Word document.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the table."
},
"rowCount": {
"type": "integer",
"description": "Number of rows in the table."
},
"columnCount": {
"type": "integer",
"description": "Number of columns in the table."
},
"style": {
"type": "string",
"description": "Style name applied to the table."
},
"alignment": {
"type": "string",
"description": "Table alignment.",
"enum": ["Left", "Centered", "Right"]
},
"headerRowCount": {
"type": "integer",
"description": "Number of header rows."
}
}
}