{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-update-payment-draft-request-schema.json",
  "title": "UpdatePaymentDraftRequest",
  "description": "The updated metadata of a payment draft.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-payment-drafts-api-openapi.yml#/components/schemas/UpdatePaymentDraftRequest",
  "type": "object",
  "minProperties": 1,
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 255,
      "description": "The title of the payment draft. To clear the title, provide `null`."
    },
    "schedule_for": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "The scheduled date of the payment draft in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n\n:::note\nThe date must be in the future.\n:::\n\nTo clear the scheduled date, provide `null`."
    }
  }
}