Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active August 30, 2020 23:24
Show Gist options
  • Save patrickcoombe/c364c3fbf90f95fe5b5f to your computer and use it in GitHub Desktop.
Save patrickcoombe/c364c3fbf90f95fe5b5f to your computer and use it in GitHub Desktop.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Restaurant",
"image": [
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"@id": "http://davessteakhouse.example.com",
"name": "Pat's Crab Shack",
"address": {
"@type": "PostalAddress",
"streetAddress": "900 Linton Blvd",
"addressLocality": "Delray Beach",
"addressRegion": "FL",
"postalCode": "33444",
"addressCountry": "US"
},
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": "4",
"bestRating": "5"
},
"author": {
"@type": "Person",
"name": "Mike Jones"
}
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 40.761293,
"longitude": -73.982294
},
"url": "http://www.example.com/restaurant-locations/manhattan",
"telephone": "+12122459600",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday"
],
"opens": "11:30",
"closes": "22:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Wednesday",
"Thursday",
"Friday"
],
"opens": "11:30",
"closes": "23:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "16:00",
"closes": "23:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Sunday",
"opens": "16:00",
"closes": "22:00"
}
],
"menu": "http://www.example.com/menu",
"acceptsReservations": "True"
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment