{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-add-column-config-schema.json",
  "title": "AddColumnConfig",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-modeling-apis-api-openapi.yml#/components/schemas/AddColumnConfig",
  "type": "object",
  "properties": {
    "columnName": {
      "type": "string",
      "description": "The name of the column."
    },
    "dataType": {
      "type": "string",
      "description": "The data type of the column.",
      "enum": [
        "PLAIN",
        "MULTI_LINE",
        "EMAIL",
        "NUMBER",
        "POSITIVE_NUMBER",
        "DECIMAL_NUMBER",
        "CURRENCY",
        "PERCENT",
        "DATE",
        "BOOLEAN",
        "URL",
        "AUTO_NUMBER",
        "GEO",
        "DURATION"
      ]
    },
    "isPIIColumn": {
      "type": "boolean",
      "description": "To mark as personal data column. Default is false."
    },
    "geoRole": {
      "type": "integer",
      "description": "To specify the geo location type. Required if dataType is GEO.",
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8
      ]
    }
  },
  "required": [
    "columnName",
    "dataType"
  ]
}