{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/customers-customer-schema.json", "title": "Customer", "description": "Defines a customer", "type": "object", "properties": { "CustomerId": { "format": "int32", "description": "Id of the customer", "type": "integer", "example": 500123 }, "Name": { "description": "Customer name", "type": "string", "example": "Example Name" }, "RegistrationDate": { "format": "date-time", "description": "Customer registration date", "type": "string", "example": "2026-06-02T12:00:00Z" }, "PhoneNumber": { "description": "Phone Number in international format", "type": "string", "example": "+353000000000" }, "CashOrdersEnabled": { "description": "Customer can place cash orders", "type": "boolean", "example": true }, "CardOrdersEnabled": { "description": "Customer can place card orders", "type": "boolean", "example": true }, "MarketingEnabled": { "description": "Customer can receive marketing", "type": "boolean", "example": true } } }