Food Establishment
The Food Establishment schema is used for the item types shown in bold below in the microdata type hierarchy:
- Thing
-
- Place
- Organization
-
- Local Business
-
- FoodEstablishment
- http://schema.org/FoodEstablishment
- Bakery
- http://schema.org/Bakery
- Bar or Pub
- http://schema.org/BarOrPub
- Brewery
- http://schema.org/Brewery
- Cafe or Coffee Shop
- http://schema.org/CafeOrCoffeeShop
- Fast Food Restaurant
- http://schema.org/FastFoodRestaurant
- Ice Cream Shop
- http://schema.org/IceCreamShop
- Restaurant
- http://schema.org/Restaurant
- Winery
- http://schema.org/Winery
Properties
| Property | Type | Description |
|---|---|---|
| Properties from Thing | ||
| name | text | required the name of the establishment |
| description | text | a short description of the establishment |
| url | URL | URL of a web page (itemtype="http://schema.org/WebPage") about (itemprop="about") the establishment |
| image | URL | URL of a picture of the establihsment |
| Properties from Place and Organization | ||
| address | Postal Address | |
| aggregateRating | Aggregate Rating | |
| events | Event | |
| faxNumber | text | |
| interactionCount | text | |
| reviews | Review | |
| telephone | text | |
| Properties from Place | ||
| containedIn | Place | |
| geo | Geographic Coordinates or Geographic Shape | |
| maps | URL | |
| photos | Photograph or Image Object | |
| Properties from Organization | ||
| contactPoints | Contact Point | |
| text | ||
| employees | Person | |
| founders | Person | |
| foundingDate | Date | |
| location | Place or Postal Address | |
| members | Person or Organization | |
| Properties from Local Business | ||
| branchOf | Organization | |
| currenciesAccepted | text | |
| openingHours | Duration | |
| paymentAccepted | text | |
| priceRange | text | |
| Properties from Food Establishment | ||
| acceptsReservations | text or URL | |
| menu | text or URL | |
| servesCuisine | text | |
Template
<div itemscope="itemscope" itemtype="http://schema.org/<#SchemaName#>"> <span itemprop="name"><#Establishment Name#></span> <span itemprop="description"><#Description of the establishment#></span> <a href="<#http://www.ExampleOnly.com/path/file-name.html#>"><#http://www.ExampleOnly.com/path/file-name.html#></a> <img src="<#http://www.ExampleOnly.com/images/image-name.png#>" alt=""/> </div>
Examples
Microdata for Food Establishment with a Restaurant and a Bar
<div itemscope="itemscope" itemtype="http://schema.org/FoodEstablishment">
<div id="this-place">
<b itemprop="name">This Place</b>
<div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">1234 Progress Ave,</span>
<span itemprop="addressLocality">Sunnyvale</span>,
<span itemprop="addressRegion">CA</span> <span itemprop="postalCode">94086</span>
</div>
Hours:
<ul>
<li itemprop="openingHours" content="Mo-Sa 9:30-23:30">Mon-Sat 9:30 am - 11:30 pm Pacific Time</li>
<li itemprop="openingHours" content="Su 10:30-19:30">Sun 10:30 am - 7:30 pm Pacific Time</li>
</ul>
<a itemprop="url" href="http://www.ThisPlace.com/">http://www.ThisPlace.com/</a><br/>
Features:
<ul>
<li itemprop="contactPoints" itemscope="itemscope" itemtype="http://schema.org/BarOrPub">
<b itemprop="name">Bar 21</b>
in <b itemprop="containedIn" itemscope="itemscope" itemtype="http://schema.org/FoodEstablishment" itemref="this-place">This Place</b><br/>
Phone: <span itemprop="telephone">1-800-554-3210 ext. 21</span><br/>
<a itemprop="url" href="http://www.Bar21.com/">http://www.Bar21.com/</a>
</li>
<li itemprop="contactPoints" itemscope="itemscope" itemtype="http://schema.org/Restaurant">
<b itemprop="name">This Place Restaurant</b>
in <b itemprop="containedIn" itemscope="itemscope" itemtype="http://schema.org/FoodEstablishment" itemref="this-place">This Place</b><br/>
<div itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">5</span> stars - based on <span itemprop="reviewCount">25</span> reviews
</div>
<ul class="inline">Types of cuisine:
<li itemprop="servesCuisine">American</li>, <li itemprop="servesCuisine">Italian</li>
</ul>
Price Range: <span itemprop="priceRange">$10 - $20</span><br/>
Takes Reservations: Yes<br/>
Phone: <span itemprop="telephone">1-800-554-3210 ext. 22</span><br/>
</li>
</ul>
</div>
</div>
You can use the Rich Snippets Testing Tool to see the results when this structured data markup gets parsed.
This Place
Features:
1234 Progress Ave,
Sunnyvale,
CA 94086
Hours:
- Mon-Sat 9:30 am - 11:30 pm Pacific Time
- Sun 10:30 am - 7:30 pm Pacific Time
Features:
-
Bar 21
in This Place
Phone: 1-800-554-3210 ext. 21
http://www.Bar21.com/ -
This Place Restaurant
in This Place
5 stars - based on 25 reviews- Types of cuisine:
- American ,
- Italian
Takes Reservations: Yes
Phone: 1-800-554-3210 ext. 22