{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/stores-service-charge-structure.json", "name": "ServiceCharge", "description": "Store Service Charge", "type": "object", "properties": { "StoreId": { "description": "Store identifier", "type": "int32", "example": 500123 }, "PercentageValue": { "description": "The Default Service Charge Value", "type": "double", "example": 1.0 }, "Enabled": { "description": "Enable Service Charge for store true(on) / false(off)", "type": "boolean", "example": true }, "IsOptional": { "description": "Sets the service charge to be optional", "type": "boolean", "example": true }, "DisplayWithProcessingFee": { "description": "Display service charge together with processing fee", "type": "boolean", "example": true }, "IncludesVouchers": { "description": "If true, will include voucher value in calculation \r\ni.e 10E order with 1E service charge and 5E voucher would have service charge at 0.5E", "type": "boolean", "example": true } } }