The homepage is the identity anchor for any café or coffee shop website. It tells AI systems who you are, what you serve, where you are located, and when you are open. This blueprint provides the complete JSON-LD graph your homepage needs so AI can classify, cite, and recommend your shop with confidence.
The homepage is where AI systems look first to understand your coffee shop. It must declare your identity, location, hours, and what you serve. Without this structured data, AI may know your café exists but lack the details needed to recommend it when someone asks for coffee nearby.
CafeOrCoffeeShop node declares your name, cuisine type, phone number, price range, and social profiles. This is the canonical record AI uses to identify your business.PostalAddress and GeoCoordinates let AI systems answer "coffee shops near me" queries and plot your location on maps.openingHoursSpecification array tells AI exactly when you are open, which is critical for morning coffee queries and time-aware recommendations.Each field in the template below serves a specific role in how AI systems discover, classify, and recommend your business.
Researched and tested by Minnesota AI
nameurltelephoneaddressgeoopeningHoursSpecificationpriceRangesameAsimageservesCuisineconditional@idCopy this prompt and paste it into Claude, ChatGPT, Cursor, or any AI coding tool. It will ask for your business details and generate ready-to-use JSON-LD schema for your page.
You are implementing AIFDS-compliant JSON-LD structured data for a Cafe or Coffee Shop Homepage page. AIFDS (AI-Friendly Data Structure) is a schema framework built on research into which structured data fields AI systems actually read, parse, and use when deciding whether to cite a page. Documentation at aifds.org. Before generating any code, ask me for the following information in a single numbered list. Do not generate schema until I have answered every required field. REQUIRED — do not proceed without these: 1. Cafe name 2. City 3. Domain 4. Faq answer 5. Faq question 6. Handle 7. Hero image 8. Homepage title 9. Latitude 10. Logo 11. Longitude 12. Maps cid 13. Page 14. Phone number 15. Price range 16. State 17. Street address 18. Weekday close 19. Weekday open 20. Weekend close 21. Weekend open 22. Yelp id 23. Zip OPTIONAL — ask for these but proceed if I skip them: 1. servesCuisine Once I provide the information, output a complete JSON-LD script block ready to paste into the <head> of my HTML page. Output requirements: - Valid JSON-LD wrapped in <script type="application/ld+json"> tags - schema.org vocabulary only - Every AIFDS-required field for this industry and page type included - Include this data attribute on the script tag: data-aifds="aifds.org Cafe or Coffee Shop Homepage" - No placeholder text — omit missing optional fields rather than fill with examples - After the code block, list any optional fields skipped that would strengthen AI citation
Generated schema follows the AIFDS framework. Fields were selected based on research into AI crawler behavior. View the research at minnesota.ai
Copy the template below and replace every YOUR_* value with your own data. This block belongs in a <script type="application/ld+json"> tag in the <head> of your homepage.
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "CafeOrCoffeeShop",
"@id": "https://YOUR_DOMAIN.com/#cafe",
"name": "YOUR_CAFE_NAME",
"url": "https://YOUR_DOMAIN.com",
"logo": "https://YOUR_DOMAIN.com/YOUR_LOGO.png",
"image": "https://YOUR_DOMAIN.com/YOUR_HERO_IMAGE.jpg",
"servesCuisine": "Coffee",
"telephone": "YOUR_PHONE_NUMBER",
"priceRange": "YOUR_PRICE_RANGE",
"address": {
"@type": "PostalAddress",
"streetAddress": "YOUR_STREET_ADDRESS",
"addressLocality": "YOUR_CITY",
"addressRegion": "YOUR_STATE",
"postalCode": "YOUR_ZIP",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "YOUR_LATITUDE",
"longitude": "YOUR_LONGITUDE"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "YOUR_WEEKDAY_OPEN",
"closes": "YOUR_WEEKDAY_CLOSE"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Saturday", "Sunday"],
"opens": "YOUR_WEEKEND_OPEN",
"closes": "YOUR_WEEKEND_CLOSE"
}
],
"sameAs": [
"https://www.instagram.com/YOUR_HANDLE",
"https://www.facebook.com/YOUR_PAGE",
"https://www.yelp.com/biz/YOUR_YELP_ID",
"https://www.google.com/maps?cid=YOUR_MAPS_CID"
]
},
{
"@type": "WebSite",
"@id": "https://YOUR_DOMAIN.com/#website",
"name": "YOUR_CAFE_NAME",
"url": "https://YOUR_DOMAIN.com"
},
{
"@type": "WebPage",
"@id": "https://YOUR_DOMAIN.com/#webpage",
"url": "https://YOUR_DOMAIN.com/",
"name": "YOUR_HOMEPAGE_TITLE",
"isPartOf": {
"@id": "https://YOUR_DOMAIN.com/#website"
},
"about": {
"@id": "https://YOUR_DOMAIN.com/#cafe"
}
},
{
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "YOUR_FAQ_QUESTION_1",
"acceptedAnswer": {
"@type": "Answer",
"text": "YOUR_FAQ_ANSWER_1"
}
},
{
"@type": "Question",
"name": "YOUR_FAQ_QUESTION_2",
"acceptedAnswer": {
"@type": "Answer",
"text": "YOUR_FAQ_ANSWER_2"
}
},
{
"@type": "Question",
"name": "YOUR_FAQ_QUESTION_3",
"acceptedAnswer": {
"@type": "Answer",
"text": "YOUR_FAQ_ANSWER_3"
}
}
]
}
]
}
CafeOrCoffeeShop is a specific subtype of FoodEstablishment in Schema.org. If your business primarily serves coffee and light food, this type is more precise than Restaurant. AI systems use type specificity to match queries — someone searching for "coffee near me" will get better results from a CafeOrCoffeeShop node.
Use "Coffee" as the primary value. If you also serve food, you can use an array: ["Coffee", "Bakery", "Breakfast"]. This helps AI understand the full scope of what you serve beyond just coffee.
Yes. Coffee shops often open earlier than other food businesses. AI systems use your opening hours to answer queries like "coffee shops open at 6am." If your hours are missing, AI cannot confirm you are open when someone needs you most.