{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/terminal-loyalty-totals-schema.json",
  "title": "LoyaltyTotals",
  "description": "Totals of the loyalty transaction during the reconciliation period.",
  "type": "object",
  "properties": {
    "TransactionType": {
      "$ref": "#/components/schemas/TransactionType"
    },
    "TransactionCount": {
      "type": "integer",
      "description": "Number of processed transaction during the period."
    },
    "TransactionAmount": {
      "type": "number",
      "maximum": 99999999.999999,
      "minimum": 0,
      "description": "Sum of amount of processed transaction during the period."
    }
  },
  "required": [
    "TransactionType",
    "TransactionCount",
    "TransactionAmount"
  ]
}