{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "BigqueryAddColumnToTableRequest",
  "description": "Request for adding a column to a BigQuery table.",
  "required": [
    "name",
    "definition"
  ],
  "properties": {
    "name": {
      "description": "Name of the column to add.",
      "type": "string"
    },
    "definition": {
      "description": "Column definition for BigQuery.",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "description": "BigQuery column type. Must be one of allowed types.",
          "type": "string"
        },
        "length": {
          "description": "Optional length for the column.",
          "type": "integer",
          "nullable": true
        },
        "nullable": {
          "description": "Whether the column is nullable.",
          "type": "boolean",
          "nullable": true
        },
        "description": {
          "description": "Optional column description stored as table metadata.",
          "type": "string",
          "nullable": true
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}