FoodEstablishment and Restaurant
FoodEstablishment is "a food-related business," with nine subtypes: Bakery, BarOrPub, Brewery, CafeOrCoffeeShop, Distillery, FastFoodRestaurant, IceCreamShop, Restaurant, Winery.[1] Unlike many LocalBusiness subtypes it defines its own properties, including servesCuisine, hasMenu and acceptsReservations.[1] Google's LocalBusiness documentation uses a Restaurant in its main example and documents servesCuisine and menu.[2]
Place in the hierarchy
Schema.org places FoodEstablishment at Thing > Organization > LocalBusiness > FoodEstablishment.[1] Its direct subtypes are Bakery, BarOrPub, Brewery, CafeOrCoffeeShop, Distillery, FastFoodRestaurant, IceCreamShop, Restaurant, Winery.[1] Restaurant ("a restaurant") has no subtypes and no properties of its own.[3]
Properties that carry entity meaning
| Property | Expected values | Schema.org definition (quoted) |
|---|---|---|
| servesCuisine | Text | "The cuisine of the restaurant."[4] |
| hasMenu | Menu, Text, URL | "Either the actual menu as a structured representation, as text, or a URL of the menu."[5] |
| menu (superseded by hasMenu) | Menu, Text, URL | "Either the actual menu as a structured representation, as text, or a URL of the menu."[6] |
| acceptsReservations | Boolean, Text, URL | "Indicates whether a FoodEstablishment accepts reservations. Values can be Boolean, an URL at which reservations can be made or (for backwards compatibility) the strings Yes or No."[7] |
| starRating | Rating | "An official rating for a lodging business or food establishment, e.g. from national associations or standards bodies. Use the author property to indicate the rating organization, e.g. as an Organization with name such as (e.g."[8] |
| priceRange | Text | "The price range of the business, for example $$$."[9] |
menu is superseded by hasMenu in the schema.org vocabulary, although Google's LocalBusiness documentation still lists menu ("for food establishments, the fully-qualified URL of the menu").[6][2] starRating is for "an official rating," for example "from national associations or standards bodies," not customer reviews.[8]
Beyond the required name and address, the properties that identify the business as one specific entity are url (its official site), sameAs (well-known pages that identify it, such as its Wikidata entry or official profiles), the identifier properties, and @id for linking it across the site's own markup.[10][11][12][13] See sameAs and identifiers and Entity graphs on business websites.
What Google documents
Google's LocalBusiness documentation applies to every subtype on this page. It requires name and address, recommends geo, openingHoursSpecification, priceRange, telephone and url among others, and says to "use the most specific LocalBusiness sub-type possible."[2] It recommends following the Organization fields as well, "since LocalBusiness is a subtype of Organization."[2] Where a business fits several types, Google says to "specify them as an array (additionalType isn't supported)."[2] Reviews of a business published on that business's own site are not eligible for star review snippets: "If the entity that's being reviewed controls the reviews about itself, their pages that use LocalBusiness or any other type of Organization structured data are ineligible for star review feature."[14] Google's Restaurant example includes servesCuisine, priceRange and menu, and its documentation says priceRange "must be shorter than 100 characters."[2] The restaurant carousel "is currently limited to a small set of restaurant providers."[2]
Menus as entities
hasMenu accepts a URL, text or a structured Menu.[5] A Menu can contain MenuSection and MenuItem nodes, and a MenuItem can carry offers with a price.[15][16] For most restaurants a URL to the menu page is the simple, documented form; a structured menu is worth the effort only if it is kept identical to the visible menu.[2][17]
Subtype definitions
| Type | Schema.org definition (quoted) |
|---|---|
| Bakery | "A bakery."[18] |
| BarOrPub | "A bar or pub."[19] |
| Brewery | "Brewery."[20] |
| CafeOrCoffeeShop | "A cafe or coffee shop."[21] |
| Distillery | "A distillery."[22] |
| FastFoodRestaurant | "A fast-food restaurant."[23] |
| IceCreamShop | "An ice cream shop."[24] |
| Restaurant | "A restaurant."[3] |
| Winery | "A winery."[25] |
Common mistakes
- Using menu in new markup without hasMenu; schema.org marks menu superseded.[6]
- Customer ratings in starRating. It is for official ratings.[8]
- Self-hosted reviews for stars, which Google says are ineligible.[14]
- Cuisine lists that do not match the menu.[17]
- Using Restaurant for a bar or cafe when BarOrPub or CafeOrCoffeeShop fits; Google asks for the most specific subtype.[2]
Example
A fictional steakhouse.
{
"@context": "https://schema.org",
"@type": "Restaurant",
"@id": "https://www.example-steak.com/#organization",
"name": "Example Steakhouse",
"url": "https://www.example-steak.com/",
"telephone": "+1-555-0140",
"address": { "@type": "PostalAddress", "streetAddress": "600 Example Rd", "addressLocality": "Exampleville", "addressRegion": "CA", "postalCode": "90000", "addressCountry": "US" },
"servesCuisine": "Steakhouse",
"priceRange": "$$",
"hasMenu": "https://www.example-steak.com/menu",
"acceptsReservations": "https://www.example-steak.com/reservations"
}
Common questions
Should I use menu or hasMenu?
hasMenu; menu is superseded in schema.org, though Google still lists menu.[6][2]
What goes in servesCuisine?
The cuisine of the restaurant, as text.[4]
Is starRating for reviews?
No. It is for official ratings.[8]
Related topics
- LocalBusiness
- Review and AggregateRating
- Address, hours and service areas
- Product, Offer and MerchantReturnPolicy
References
- ^ "FoodEstablishment (type)". Schema.org.
- ^ "Local business (LocalBusiness) structured data". Google Search Central.
- ^ "Restaurant (type)". Schema.org.
- ^ "servesCuisine (property)". Schema.org.
- ^ "hasMenu (property)". Schema.org.
- ^ "menu (property)". Schema.org.
- ^ "acceptsReservations (property)". Schema.org.
- ^ "starRating (property)". Schema.org.
- ^ "priceRange (property)". Schema.org.
- ^ "url (property)". Schema.org.
- ^ "sameAs (property)". Schema.org.
- ^ "identifier (property)". Schema.org.
- ^ "JSON-LD 1.1, section 3.3 Node Identifiers". World Wide Web Consortium (W3C).
- ^ "Review snippet (Review, AggregateRating) structured data". Google Search Central.
- ^ "Menu (type)". Schema.org.
- ^ "MenuItem (type)". Schema.org.
- ^ "General structured data guidelines". Google Search Central.
- ^ "Bakery (type)". Schema.org.
- ^ "BarOrPub (type)". Schema.org.
- ^ "Brewery (type)". Schema.org.
- ^ "CafeOrCoffeeShop (type)". Schema.org.
- ^ "Distillery (type)". Schema.org.
- ^ "FastFoodRestaurant (type)". Schema.org.
- ^ "IceCreamShop (type)". Schema.org.
- ^ "Winery (type)". Schema.org.