Organizations Local Business BarOrPub

Bar & Pub Homepage Blueprint

Your homepage is the entry point for AI systems. This blueprint tells them your cuisine, phone number, address, and hours so they can answer questions like "What bars are open near me?" or "Does this pub serve food?"

What this page needs

AI systems evaluate a bar or pub homepage for these signals:

Why these fields matter to AI

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

BarOrPub

name
Non-negotiable. AI cannot cite or recommend an unnamed entity.
url
AI needs a stable URL to route users and attribute recommendations.
telephone
AI won't recommend a local business it can't confirm is reachable. Phone is the primary trust signal for location-based queries.
address
AI uses address to confirm the business is real and located where it claims. Required for all near-me and city-specific queries.
geo
AI uses geo to place you on a map and answer proximity queries. Without coordinates AI relies on address parsing alone, which is less reliable.
openingHoursSpecification
AI filters local recommendations by current availability. Without hours AI cannot answer open-now queries or confirm the business is reachable.
priceRange
AI filters local recommendations by budget. One of the most common qualifiers in location-based queries.
sameAs
AI cross-references sameAs links to confirm the business exists outside its own domain. Google Business Profile is the strongest signal.
image
AI won't recommend a physical location it can't visually confirm exists. Image is a trust signal for brick-and-mortar businesses.
servesCuisineconditional
AI uses cuisine type to answer food-specific queries. Without it AI cannot match the restaurant to cuisine-based searches.Only required for Restaurant and FoodEstablishment subtypes. If your business is not a food service establishment this field is not applicable.

WebSite

@id
All other schema nodes reference this ID. Without it the graph is disconnected.

Use This Prompt to Implement Your Schema

Copy 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.

Implementation Prompt · Homepage
You are implementing AIFDS-compliant JSON-LD structured data for a Bar or Pub 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. Bar description
2. Bar name
3. City
4. Country
5. Cuisine type
6. Domain
7. Facebook
8. Faq answer
9. Faq question
10. Image
11. Instagram
12. Latitude
13. Longitude
14. Phone number
15. Price range
16. State
17. Street address
18. Weekday close
19. Weekday open
20. Weekend close
21. Weekend open
22. 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 Bar or Pub 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

Template — fill in your values

Copy the template below and replace every YOUR_* value with your own data.

JSON-LD · Homepage
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "BarOrPub",
      "@id": "https://YOUR_DOMAIN.com/#bar",
      "name": "YOUR_BAR_NAME",
      "description": "YOUR_BAR_DESCRIPTION",
      "url": "https://YOUR_DOMAIN.com/",
      "telephone": "YOUR_PHONE_NUMBER",
      "servesCuisine": ["YOUR_CUISINE_TYPE_1", "YOUR_CUISINE_TYPE_2"],
      "image": "https://YOUR_DOMAIN.com/YOUR_IMAGE.jpg",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "YOUR_STREET_ADDRESS",
        "addressLocality": "YOUR_CITY",
        "addressRegion": "YOUR_STATE",
        "postalCode": "YOUR_ZIP",
        "addressCountry": "YOUR_COUNTRY"
      },
      "geo": {
        "@type": "GeoCoordinates",
        "latitude": "YOUR_LATITUDE",
        "longitude": "YOUR_LONGITUDE"
      },
      "openingHoursSpecification": [
        {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday"],
          "opens": "YOUR_WEEKDAY_OPEN",
          "closes": "YOUR_WEEKDAY_CLOSE"
        },
        {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": ["Friday", "Saturday"],
          "opens": "YOUR_WEEKEND_OPEN",
          "closes": "YOUR_WEEKEND_CLOSE"
        }
      ],
      "priceRange": "YOUR_PRICE_RANGE",
      "sameAs": [
        "https://www.facebook.com/YOUR_FACEBOOK",
        "https://www.instagram.com/YOUR_INSTAGRAM"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://YOUR_DOMAIN.com/#website",
      "name": "YOUR_BAR_NAME",
      "url": "https://YOUR_DOMAIN.com"
    },
    {
      "@type": "WebPage",
      "@id": "https://YOUR_DOMAIN.com/",
      "isPartOf": {
        "@id": "https://YOUR_DOMAIN.com/#website"
      },
      "breadcrumb": {
        "@id": "https://YOUR_DOMAIN.com/#breadcrumb"
      }
    },
    {
      "@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"
          }
        }
      ]
    }
  ]
}

Frequently asked questions

Why use BarOrPub instead of Restaurant?

BarOrPub is a more specific Schema.org type that tells AI your business is primarily a drinking establishment. This helps AI systems distinguish between a bar that serves food and a restaurant that serves drinks.

Should I list every opening hour separately?

Group days that share the same hours into a single OpeningHoursSpecification entry. If Friday and Saturday have different hours than weekdays, create a separate entry for those days.

What should I put in servesCuisine for a bar?

Include both drink categories and food types you serve. For example, ["Craft Beer", "American Pub Food"] or ["Cocktails", "Wings"]. This helps AI match your bar to what people are actually searching for.

Test your structured data

Paste your URL and see exactly what AI systems can read from your site.

Open Validator →