{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-update-rows-config-schema.json",
  "title": "UpdateRowsConfig",
  "description": "JSONObject with configuration for updating rows.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-data-apis-api-openapi.yml#/components/schemas/UpdateRowsConfig",
  "type": "object",
  "properties": {
    "columns": {
      "type": "object",
      "description": "JSONObject with column name as key and data as value."
    },
    "criteria": {
      "type": "string",
      "description": "If criteria is sent, then the rows matching the criteria alone are updated."
    },
    "updateAllRows": {
      "type": "boolean",
      "description": "To update all the rows in the table."
    },
    "addIfNotExist": {
      "type": "boolean",
      "description": "It controls whether to add a new row with the provided details if the provided criteria doesn't matches with the existing data.",
      "default": false
    },
    "dateFormat": {
      "type": "string",
      "description": "Specify this in-case any date field is being added and its format cannot be auto recognized."
    },
    "columnDateFormat": {
      "type": "object",
      "description": "Specify this in case multiple date fields are being imported having different format each. Column name as key and date format as value."
    }
  },
  "required": [
    "columns"
  ]
}