Yum China · JSON-LD Context

Yum China Context

JSON-LD context defining the semantic vocabulary for Yum China from Yum China.

10 Classes 21 Properties 2 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
yumc: https://www.yumchina.com/vocab/

Classes

Restaurant Brand MenuItem MenuSection Menu LoyaltyProgram LoyaltyMember DigitalOrder OrderItem DeliveryAddress

Properties

Property Type Container
YumChina reference
superApp reference
superBrain reference
membershipCount
loyaltyPoints
digitalSalesPercentage
aiOrderingAssistant reference
restaurantCount
brandName
menuItemName
menuItemDescription
menuItemPrice
calories
restaurantAddress schema:PostalAddress
restaurantHours
orderStatus
estimatedDeliveryTime
city
province
latitude
longitude

JSON-LD Document

yum-china-context.jsonld Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "yumc": "https://www.yumchina.com/vocab/",

    "YumChina": {
      "@id": "schema:Organization",
      "@type": "@id"
    },
    "Restaurant": "schema:FoodEstablishment",
    "Brand": "schema:Brand",
    "MenuItem": "schema:MenuItem",
    "MenuSection": "schema:MenuSection",
    "Menu": "schema:Menu",
    "LoyaltyProgram": "schema:ProgramMembership",
    "LoyaltyMember": "schema:Person",
    "DigitalOrder": "schema:Order",
    "OrderItem": "schema:OrderItem",
    "DeliveryAddress": "schema:PostalAddress",

    "superApp": {
      "@id": "yumc:superApp",
      "@type": "@id"
    },
    "superBrain": {
      "@id": "yumc:superBrain",
      "@type": "@id"
    },
    "membershipCount": {
      "@id": "yumc:membershipCount"
    },
    "loyaltyPoints": {
      "@id": "yumc:loyaltyPoints"
    },
    "digitalSalesPercentage": {
      "@id": "yumc:digitalSalesPercentage"
    },
    "aiOrderingAssistant": {
      "@id": "yumc:aiOrderingAssistant",
      "@type": "@id"
    },
    "restaurantCount": {
      "@id": "yumc:restaurantCount"
    },
    "brandName": {
      "@id": "schema:brand"
    },
    "menuItemName": {
      "@id": "schema:name"
    },
    "menuItemDescription": {
      "@id": "schema:description"
    },
    "menuItemPrice": {
      "@id": "schema:price"
    },
    "calories": {
      "@id": "schema:calories"
    },
    "restaurantAddress": {
      "@id": "schema:address",
      "@type": "schema:PostalAddress"
    },
    "restaurantHours": {
      "@id": "schema:openingHoursSpecification"
    },
    "orderStatus": {
      "@id": "schema:orderStatus"
    },
    "estimatedDeliveryTime": {
      "@id": "schema:expectedArrivalFrom"
    },
    "city": {
      "@id": "schema:addressLocality"
    },
    "province": {
      "@id": "schema:addressRegion"
    },
    "latitude": {
      "@id": "schema:latitude"
    },
    "longitude": {
      "@id": "schema:longitude"
    }
  }
}