Skip to content

Instantly share code, notes, and snippets.

@roypatira
Created July 10, 2019 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roypatira/9a070d179a250c4f5c608e7b63dd5c98 to your computer and use it in GitHub Desktop.
Save roypatira/9a070d179a250c4f5c608e7b63dd5c98 to your computer and use it in GitHub Desktop.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Roys Tavern",
"image": "https://example.com/photos/1x1/photo.jpg",
"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"
}
},
"url": "http://www.example.com",
"telephone": "+12122459600",
"servesCuisine" : "American",
"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