Lunchbox · JSON-LD Context

Lunchbox Loyalty Context

JSON-LD context defining the semantic vocabulary for Lunchbox Loyalty from Lunchbox.

5 Classes 14 Properties 4 Namespaces
View Context View on GitHub

Namespaces

lbx: https://docs.lunchbox.io/schema/
schema: https://schema.org/
dcterms: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

UserWalletCreate UserWallet UserWalletUpdate WalletReward email

Properties

Property Type Container
firstName string
lastName string
birthdate date
phone string
id string
merchantId string
pointsBalance integer
creditsBalance integer
lifetimePointsBalance integer
isActive boolean
lastBirthdayYear integer
createdAt dateTime
updatedAt dateTime
walletRewards string set

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "lbx": "https://docs.lunchbox.io/schema/",
    "schema": "https://schema.org/",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "UserWalletCreate": "lbx:UserWalletCreate",
    "UserWallet": "lbx:UserWallet",
    "UserWalletUpdate": "lbx:UserWalletUpdate",
    "WalletReward": "lbx:WalletReward",
    "firstName": {
      "@id": "lbx:firstName",
      "@type": "xsd:string"
    },
    "lastName": {
      "@id": "lbx:lastName",
      "@type": "xsd:string"
    },
    "birthdate": {
      "@id": "lbx:birthdate",
      "@type": "xsd:date"
    },
    "email": "schema:email",
    "phone": {
      "@id": "lbx:phone",
      "@type": "xsd:string"
    },
    "id": {
      "@id": "lbx:id",
      "@type": "xsd:string"
    },
    "merchantId": {
      "@id": "lbx:merchantId",
      "@type": "xsd:string"
    },
    "pointsBalance": {
      "@id": "lbx:pointsBalance",
      "@type": "xsd:integer"
    },
    "creditsBalance": {
      "@id": "lbx:creditsBalance",
      "@type": "xsd:integer"
    },
    "lifetimePointsBalance": {
      "@id": "lbx:lifetimePointsBalance",
      "@type": "xsd:integer"
    },
    "isActive": {
      "@id": "lbx:isActive",
      "@type": "xsd:boolean"
    },
    "lastBirthdayYear": {
      "@id": "lbx:lastBirthdayYear",
      "@type": "xsd:integer"
    },
    "createdAt": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updatedAt": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    },
    "walletRewards": {
      "@id": "lbx:walletRewards",
      "@container": "@set",
      "@type": "xsd:string"
    }
  }
}