{
  "additionalProperties": false,
  "properties": {
    "base": {
      "description": "Name of the base (database) the table is in. Optional: when set, the table must belong to this base.",
      "minLength": 1,
      "type": "string"
    },
    "ifMissing": {
      "default": "fail",
      "enum": [
        "fail",
        "skip"
      ],
      "type": "string",
      "x-lumen-widget": "segmented"
    },
    "set": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "sheet": {
      "description": "Name of the table whose row to update.",
      "minLength": 1,
      "type": "string",
      "x-lumen-widget": "sheet-ref"
    },
    "where": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "column": {
            "minLength": 1,
            "type": "string"
          },
          "op": {
            "default": "eq",
            "enum": [
              "eq",
              "contains",
              "gt",
              "gte",
              "lt",
              "lte"
            ],
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "column",
          "value"
        ],
        "type": "object"
      },
      "maxItems": 8,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "sheet",
    "where",
    "set"
  ],
  "type": "object"
}
