Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Created March 22, 2024 18:39
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 patrickcoombe/607d9e7d0fa9cd5dc60bc5230bc1e2fe to your computer and use it in GitHub Desktop.
Save patrickcoombe/607d9e7d0fa9cd5dc60bc5230bc1e2fe to your computer and use it in GitHub Desktop.
Restaurant and Menu Example 2024 JSON-LD
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "Restaurant",
"url": "http://www.pronto-ny.com",
"name": "Restaurant Pronto",
"image": "http://www.pronto-ny.com/pronto-image.jpg",
"description": "Best pizza in New York, guaranteed!",
"servesCuisine": [
"Italian"
],
"hasMenu": {
"@type": "Menu",
"name": "Dine-In Menu",
"description": "Menu for in-restaurant dining only.",
"hasMenuSection": [{
"@type": "MenuSection",
"name": "Dinner",
"description": "Dinner dishes",
"image": "https://pronto-ny.com/dinner_dishes.jpg",
"offers": {
"@type": "Offer",
"availabilityEnds": "T8:21:00",
"availabilityStarts": "T8:21:00"
},
"hasMenuSection": [{
"@type": "MenuSection",
"name": "Starters",
"description": "Appetizers",
"image": "https://pronto-ny.com/starters.jpg",
"offers": {
"@type": "Offer",
"availabilityEnds": "T8:21:00",
"availabilityStarts": "T8:21:00"
},
"hasMenuItem": {
"@type": "MenuItem",
"name": "Chips",
"description": "Small serving of potato chips.",
"offers": {
"@type": "Offer",
"price": "5.49",
"priceCurrency": "USD"
},
"suitableForDiet": "http://schema.org/GlutenFreeDiet"
}
},
{
"@type": "MenuSection",
"name": "Soups & Salads",
"description": "A few choices of soup and salads",
"image": "https://pronto-ny.com/soup_and_salads.jpg",
"offers": {
"@type": "Offer",
"availabilityEnds": "T8:21:00",
"availabilityStarts": "T8:21:00"
},
"hasMenuItem": {
"@type": "MenuItem",
"name": "Tomato Basil Soup",
"description": "Creamy tomato soup seasoned with fresh basil and topped with sourdough croutons.",
"offers": {
"@type": "Offer",
"price": "4.49",
"priceCurrency": "USD"
}
}
}
]
}]
}
} <
/script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment