{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PaymentUpdate",
  "title": "PaymentUpdate",
  "type": "object",
  "description": "Request body for updating a payment.",
  "required": [
    "version",
    "actions"
  ],
  "properties": {
    "version": {
      "type": "integer",
      "description": "Current version for optimistic concurrency control."
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "List of update actions to apply to the payment."
    }
  }
}