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