{
  "type": "object",
  "description": "Request body for creating or updating a HubDB table.",
  "name": "HubDBTableCreateRequest",
  "properties": {
    "name": {
      "type": "string",
      "description": "The machine-readable name of the table."
    },
    "label": {
      "type": "string",
      "description": "The human-readable label for the table."
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "name",
    "label"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}