{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/terminal-loyalty-amount-schema.json", "title": "LoyaltyAmount", "description": "An awarded amount or an amount to redeem to the loyalty account might be sent in the Payment request message. Amount of a loyalty account.", "type": "object", "properties": { "LoyaltyUnit": { "$ref": "#/components/schemas/LoyaltyUnit" }, "Currency": { "type": "string", "pattern": "^[A-Z]{3,3}$" }, "AmountValue": { "type": "number", "maximum": 99999999.999999, "minimum": 0 } }, "required": [ "AmountValue" ] }