Lunchbox · JSON Structure

Core Customer Structure

Customer schema from Lunchbox Core API

Type: object Properties: 12
RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

Customer is a JSON Structure definition published by Lunchbox, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

customer_id first_name last_name email phone is_phone_verified is_verified is_guest is_mgmt company_name occupation birthdate

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lunchbox/refs/heads/main/json-structure/core-customer-structure.json",
  "name": "Customer",
  "description": "Customer schema from Lunchbox Core API",
  "type": "object",
  "properties": {
    "customer_id": {
      "type": "int32",
      "example": 1234
    },
    "first_name": {
      "type": "string",
      "example": "John"
    },
    "last_name": {
      "type": "string",
      "example": "Smith"
    },
    "email": {
      "type": "string",
      "example": "demo@lunchbox.io"
    },
    "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": "date",
      "nullable": true,
      "example": "1990-05-21"
    }
  }
}