{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/orders-customer-summary-schema.json",
  "title": "CustomerSummary",
  "description": "Customer summary",
  "type": "object",
  "properties": {
    "Id": {
      "format": "int32",
      "description": "Customer identifier",
      "type": "integer",
      "example": 500123
    },
    "Name": {
      "description": "Customer name",
      "type": "string",
      "example": "Example Name"
    },
    "EmailAddress": {
      "description": "Customer email address",
      "type": "string",
      "example": "owner@example.com"
    },
    "PhoneNumberLocalFormat": {
      "description": "Customer local phone number",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    },
    "PhoneNumber": {
      "description": "Customer phone number",
      "type": "string",
      "example": "+353000000000"
    },
    "LanguagePreference": {
      "description": "Preferred language of the consumer",
      "type": "string",
      "example": "string"
    }
  }
}