Lunchbox · Schema

Customer

Customer schema from Lunchbox Core API

RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

Properties

Name Type Description
customer_id integer
first_name string
last_name string
email string
phone string
is_phone_verified boolean
is_verified boolean
is_guest boolean
is_mgmt boolean
company_name string
occupation string
birthdate string
View JSON Schema on GitHub

JSON Schema

core-customer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Customer",
  "description": "Customer schema from Lunchbox Core API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lunchbox/refs/heads/main/json-schema/core-customer-schema.json",
  "type": "object",
  "properties": {
    "customer_id": {
      "type": "integer",
      "example": 1234
    },
    "first_name": {
      "type": "string",
      "example": "John"
    },
    "last_name": {
      "type": "string",
      "example": "Smith"
    },
    "email": {
      "type": "string",
      "format": "email",
      "example": "[email protected]"
    },
    "phone": {
      "type": "string",
      "example": "2125551411"
    },
    "is_phone_verified": {
      "type": "boolean",
      "example": "2125551411"
    },
    "is_verified": {
      "type": "boolean",
      "example": true
    },
    "is_guest": {
      "type": "boolean",
      "example": true
    },
    "is_mgmt": {
      "type": "boolean",
      "example": true
    },
    "company_name": {
      "type": "string",
      "nullable": true,
      "example": "Sample"
    },
    "occupation": {
      "type": "string",
      "nullable": true,
      "example": "string"
    },
    "birthdate": {
      "type": "string",
      "format": "date",
      "nullable": true,
      "example": "1990-05-21"
    }
  }
}