{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/narmi/main/json-schema/narmi-patched-fedwire-template-request-schema.json",
  "title": "PatchedFedwireTemplateRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/narmi-fedwire-templates-api-openapi.yml#/components/schemas/PatchedFedwireTemplateRequest",
  "type": "object",
  "properties": {
    "recipient": {
      "description": "The UUID of the wire recipient for wires sent using this template.",
      "type": "string",
      "format": "uuid"
    },
    "source_account": {
      "description": "The UUID of the source account for wires sent using this template.",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 35,
      "description": "Name of the wire template for easy reference in the UI. This name must be unique to all templates owned by an organization."
    },
    "wire_reason": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "Choices are configurable via Institution Settings. Please refer to Institution Settings for the most current list of wire reason types. If not provided, this value must be included when making a request to send a wire."
    },
    "amount": {
      "maximum": 1000000000000000,
      "minimum": -1000000000000000,
      "description": "A field that returns the original value in the currency's smallest unit (e.g. cents). If not provided, this value must be included when making a request to send a wire. ",
      "type": [
        "integer",
        "null"
      ]
    },
    "memo": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 140,
      "description": "Memo for wires sent using this template. If not provided, this value must be included when making a request to send a wire."
    }
  },
  "required": [
    "name",
    "recipient",
    "source_account"
  ],
  "x-stoplight": {
    "id": "aucbpwalozqdc"
  }
}