{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LoyaltyAmount", "title": "LoyaltyAmount", "type": "object", "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.", "properties": { "LoyaltyUnit": { "$ref": "#/components/schemas/LoyaltyUnit" }, "Currency": { "type": "string", "pattern": "^[A-Z]{3,3}$" }, "AmountValue": { "type": "number", "maximum": 99999999.999999, "minimum": 0 } }, "required": [ "AmountValue" ] }