TheFork · JSON-LD Context

Thefork B2B Context

JSON-LD context defining the semantic vocabulary for Thefork B2B from TheFork.

8 Classes 26 Properties 4 Namespaces
View Context View on GitHub

Namespaces

pan: https://apievangelist.com/ns#
schema: https://schema.org/
dcterms: http://purl.org/dc/terms/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

CustomerInput Customer Offer ReservationCreateRequest Reservation ReservationStatus ReservationUpdateRequest Review

Properties

Property Type Container
firstName
lastName
email
phoneNumber
id
allergies
dietaryRestrictions
seatingPreferences
type
name
discount
price
mealDate
partySize
customer
offerId
menuId
notes
restaurantId
status
offer
createdAt
updatedAt
reservationId
rating
comment

JSON-LD Document

Raw ↑
{
  "@context": {
    "pan": "https://apievangelist.com/ns#",
    "schema": "https://schema.org/",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "CustomerInput": "pan:CustomerInput",
    "firstName": {
      "@id": "schema:givenName"
    },
    "lastName": {
      "@id": "schema:familyName"
    },
    "email": {
      "@id": "schema:email"
    },
    "phoneNumber": {
      "@id": "schema:telephone"
    },
    "Customer": "pan:Customer",
    "id": {
      "@id": "pan:id"
    },
    "allergies": {
      "@id": "pan:allergies"
    },
    "dietaryRestrictions": {
      "@id": "pan:dietaryRestrictions"
    },
    "seatingPreferences": {
      "@id": "pan:seatingPreferences"
    },
    "Offer": "pan:Offer",
    "type": {
      "@id": "pan:type"
    },
    "name": {
      "@id": "schema:name"
    },
    "discount": {
      "@id": "pan:discount"
    },
    "price": {
      "@id": "pan:price"
    },
    "ReservationCreateRequest": "pan:ReservationCreateRequest",
    "mealDate": {
      "@id": "pan:mealDate"
    },
    "partySize": {
      "@id": "schema:partySize"
    },
    "customer": {
      "@id": "pan:customer"
    },
    "offerId": {
      "@id": "pan:offerId"
    },
    "menuId": {
      "@id": "pan:menuId"
    },
    "notes": {
      "@id": "pan:notes"
    },
    "Reservation": "pan:Reservation",
    "restaurantId": {
      "@id": "pan:restaurantId"
    },
    "status": {
      "@id": "pan:status"
    },
    "offer": {
      "@id": "pan:offer"
    },
    "createdAt": {
      "@id": "schema:dateCreated"
    },
    "updatedAt": {
      "@id": "schema:dateModified"
    },
    "ReservationStatus": "pan:ReservationStatus",
    "ReservationUpdateRequest": "pan:ReservationUpdateRequest",
    "Review": "pan:Review",
    "reservationId": {
      "@id": "pan:reservationId"
    },
    "rating": {
      "@id": "schema:ratingValue"
    },
    "comment": {
      "@id": "schema:reviewBody"
    }
  }
}