{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/narmi/main/json-schema/narmi-swift-wire-template-request-schema.json",
  "title": "SwiftWireTemplateRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/narmi-swift-wire-templates-api-openapi.yml#/components/schemas/SwiftWireTemplateRequest",
  "type": "object",
  "properties": {
    "recipient": {
      "description": "The UUID of the recipient for swiftwires sent using this template.",
      "type": "string",
      "format": "uuid"
    },
    "from_account": {
      "description": "The UUID of the source account for swiftwires sent using this template.",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 35
    },
    "wire_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "amount": {
      "maximum": 1000000000000000,
      "minimum": -1000000000000000,
      "description": "A field that returns the original value in the currency's smallest unit (e.g. cents).",
      "type": [
        "integer",
        "null"
      ]
    },
    "amount_currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 4217 currency code the amount is denominated in (e.g. 'USD' or the recipient's currency).",
      "maxLength": 3
    },
    "memo": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 128
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "recipient_currency": {
      "type": "string",
      "minLength": 1,
      "maxLength": 3
    }
  },
  "required": [
    "from_account",
    "name",
    "recipient"
  ],
  "x-stoplight": {
    "id": "bnskmiqnavwxx"
  }
}