{
  "$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."
    }
  }
}
