Openmenu Context
JSON-LD context defining the semantic vocabulary for Openmenu from OpenMenu.
30 Classes
7 Properties
3 Namespaces
Namespaces
om:
https://www.openmenu.com/openmenu-format/#
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
Classes
Restaurant
Menu
MenuSection
MenuItem
restaurant_name
brief_description
full_description
phone
address_1
city_town
state_province
postal_code
country
cuisine_type_primary
cuisine_type_secondary
menu_name
menu_description
group_name
group_description
menu_item_name
menu_item_description
menu_item_price
menu_item_calories
menu_item_heat_index
vegetarian
vegan
kosher
halal
gluten_free
menu_item_allergy_information_allergens
Properties
| Property |
Type |
Container |
| website_url |
reference |
|
| latitude |
decimal |
|
| longitude |
decimal |
|
| menus |
reference |
|
| menu_groups |
reference |
|
| menu_items |
reference |
|
| suitableForDiet |
reference |
|
JSON-LD Document
{
"@context": {
"@version": 1.1,
"om": "https://www.openmenu.com/openmenu-format/#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"Restaurant": "schema:Restaurant",
"Menu": "schema:Menu",
"MenuSection": "schema:MenuSection",
"MenuItem": "schema:MenuItem",
"restaurant_name": "schema:name",
"brief_description": "schema:description",
"full_description": "schema:disambiguatingDescription",
"website_url": { "@id": "schema:url", "@type": "@id" },
"phone": "schema:telephone",
"address_1": "schema:streetAddress",
"city_town": "schema:addressLocality",
"state_province": "schema:addressRegion",
"postal_code": "schema:postalCode",
"country": "schema:addressCountry",
"latitude": { "@id": "schema:latitude", "@type": "xsd:decimal" },
"longitude": { "@id": "schema:longitude", "@type": "xsd:decimal" },
"cuisine_type_primary": "schema:servesCuisine",
"cuisine_type_secondary": "schema:servesCuisine",
"menus": { "@id": "schema:hasMenu", "@type": "@id" },
"menu_name": "schema:name",
"menu_description": "schema:description",
"menu_groups": { "@id": "schema:hasMenuSection", "@type": "@id" },
"group_name": "schema:name",
"group_description": "schema:description",
"menu_items": { "@id": "schema:hasMenuItem", "@type": "@id" },
"menu_item_name": "schema:name",
"menu_item_description": "schema:description",
"menu_item_price": "schema:price",
"menu_item_calories": "schema:calories",
"menu_item_heat_index": "om:heatIndex",
"vegetarian": "om:vegetarian",
"vegan": "om:vegan",
"kosher": "om:kosher",
"halal": "om:halal",
"gluten_free": "om:glutenFree",
"menu_item_allergy_information_allergens": "om:allergens",
"suitableForDiet": { "@id": "schema:suitableForDiet", "@type": "@id" }
}
}