{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/terminal-loyalty-account-status-schema.json", "title": "LoyaltyAccountStatus", "description": "LoyaltyAccountStatus schema from Adyen API", "type": "object", "properties": { "LoyaltyAccount": { "$ref": "#/components/schemas/LoyaltyAccount" }, "CurrentBalance": { "type": "number", "maximum": 99999999.999999, "minimum": 0 }, "LoyaltyUnit": { "$ref": "#/components/schemas/LoyaltyUnit" }, "Currency": { "type": "string", "pattern": "^[A-Z]{3,3}$" } }, "required": [ "LoyaltyAccount" ] }