{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/marketing-percent-discount-details-structure.json", "name": "PercentDiscountDetails", "description": "Percent discount details", "type": "object", "properties": { "PercentageDiscount": { "description": "Percentage discount", "type": "int32", "example": 3 }, "MaxDiscountAmount": { "description": "The maximum amount that the percentage discount value can be.\r\nIf not set then there is no maximum.\r\nIf set to e.g. 20 euro, and the percentage discount is 25%, and the order total is 100 euro, then the discount will be 20 euro (not 25 euro).", "type": "double", "nullable": true, "example": 12.5 } } }