{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lastmileai/main/json-schema/lastmileai-lmai-proto-webserver-v2-update-dataset-row-request-schema.json",
  "title": "UpdateDatasetRowRequest",
  "description": "Update a row in a dataset",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lastmileai-openapi.json#/components/schemas/lmai.proto.webserver.v2.UpdateDatasetRowRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The dataset containing the row to update"
    },
    "rowId": {
      "type": "string",
      "description": "The specific row to update, by ID"
    },
    "fieldUpdates": {
      "type": "object",
      "additionalProperties": {
        "description": "Ordered row values with length always equal to `num_rows` on the\n corresponding view.",
        "type": "object",
        "additionalProperties": true
      },
      "description": "The new values to set for specific fields"
    },
    "datasetVersionKey": {
      "type": "string",
      "description": "The version key of the dataset to update"
    }
  },
  "required": [
    "id",
    "rowId",
    "fieldUpdates",
    "datasetVersionKey"
  ]
}