Created
March 19, 2024 19:57
-
-
Save patrickcoombe/3b975549aecc68a9113119e71b238375 to your computer and use it in GitHub Desktop.
JSON-LD local business
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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" | |
| ], | |
| "name": "Dave's Steak House", | |
| "address": { | |
| "@type": "PostalAddress", | |
| "streetAddress": "148 W 51st St", | |
| "addressLocality": "New York", | |
| "addressRegion": "NY", | |
| "postalCode": "10019", | |
| "addressCountry": "US" | |
| }, | |
| "review": { | |
| "@type": "Review", | |
| "reviewRating": { | |
| "@type": "Rating", | |
| "ratingValue": "4", | |
| "bestRating": "5" | |
| }, | |
| "author": { | |
| "@type": "Person", | |
| "name": "Lillian Ruiz" | |
| } | |
| }, | |
| "geo": { | |
| "@type": "GeoCoordinates", | |
| "latitude": 40.761293, | |
| "longitude": -73.982294 | |
| }, | |
| "url": "https://www.example.com/restaurant-locations/manhattan", | |
| "telephone": "+12122459600", | |
| "servesCuisine": "American", | |
| "priceRange": "$$$", | |
| "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": "https://www.example.com/menu" | |
| } | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment