{
  "type": "object",
  "properties": {
    "fields": {
      "type": "array",
      "description": "A list of field updates to apply.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The ID of the project field to update."
          },
          "value": {
            "description": "The new value for the field:\n- For text, number, and date fields, provide the new value directly.\n- For single select and iteration fields, provide the ID of the option or iteration.\n- To clear the field, set this to null.",
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              }
            ]
          }
        },
        "required": [
          "id",
          "value"
        ]
      }
    }
  },
  "required": [
    "fields"
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}