Lunchbox · Schema

RegistrationRequest

RegistrationRequest schema from Lunchbox Core API

RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

Properties

Name Type Description
email string
password string
first_name string
last_name string
phone string
email_optin boolean
auto_login boolean
birthdate string
View JSON Schema on GitHub

JSON Schema

core-registration-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RegistrationRequest",
  "description": "RegistrationRequest schema from Lunchbox Core API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lunchbox/refs/heads/main/json-schema/core-registration-request-schema.json",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "example": "[email protected]"
    },
    "password": {
      "type": "string",
      "example": "string"
    },
    "first_name": {
      "type": "string",
      "example": "John"
    },
    "last_name": {
      "type": "string",
      "example": "Smith"
    },
    "phone": {
      "type": "string",
      "example": "2125551411"
    },
    "email_optin": {
      "type": "boolean",
      "example": true
    },
    "auto_login": {
      "type": "boolean",
      "example": true
    },
    "birthdate": {
      "type": "string",
      "format": "date",
      "example": "1990-05-21"
    }
  },
  "required": [
    "email",
    "password"
  ]
}