{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordline/main/json-schema/wordline-exchange-rate-request-schema.json",
  "title": "ExchangeRateRequest",
  "x-generated": "2026-10-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wordline-currency-conversion-extended-services-api-openapi.yml#/components/schemas/ExchangeRateRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "Amount": {
      "pattern": "^\\d{1,13}\\.\\d{1,5}$",
      "type": "string",
      "description": "Amount of the payment. Amount to be converted. The decimal separator is a dot.\n"
    },
    "TargetCurrency": {
      "pattern": "[A-Z]{3,3}",
      "type": "string",
      "description": "Currency of the payment. The currency being referenced or converted from. ISO 4217 currency codes should be used.\n"
    },
    "UnitCurrency": {
      "pattern": "[A-Z]{3,3}",
      "type": "string",
      "description": "The currency against which the target currency is being measured. ISO 4217 currency codes should be used.\n"
    }
  },
  "required": [
    "Amount",
    "TargetCurrency",
    "UnitCurrency"
  ]
}