{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-payment-model-schema.json",
  "title": "PaymentModel",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-ap-exchange-api-openapi.yml#/components/schemas/PaymentModel",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "paymentNumber": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "minLength": 0
    },
    "paymentStatus": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 50,
      "minLength": 0
    },
    "paymentComments": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 250,
      "minLength": 0
    },
    "paymentDateTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "exchangeRate": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "paymentAmount": {
      "type": [
        "number",
        "null"
      ],
      "format": "decimal"
    }
  }
}