{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/stores-service-charge-schema.json", "title": "ServiceCharge", "description": "Store Service Charge", "type": "object", "properties": { "StoreId": { "format": "int32", "description": "Store identifier", "type": "integer", "example": 500123 }, "PercentageValue": { "format": "double", "description": "The Default Service Charge Value", "type": "number", "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 } } }