LocalBusiness schema is a short block of JSON-LD code that states your business name, address, phone number, opening hours, location and prices in a format machines read without guessing. Google says structured data is not required for AI Overviews or AI Mode and that there is no special schema for AI, so it will not get you recommended on its own. Its value is accuracy: it helps the search index that Google's AI features and Gemini draw on hold the right facts about you, and it takes about half an hour to add.
Key takeaways
- No AI platform documents a "schema for ChatGPT". Google explicitly says none is needed for its AI features.
- Add LocalBusiness markup anyway, because it states your details precisely and Google's AI features read Google's index.
- Use the most specific subtype (Plumber, Dentist, Restaurant), and make every value match what visitors can see on the page.
- Never put your own reviews or ratings in the markup.
- Test with Google's Rich Results Test and the Schema Markup Validator, then re-test whenever your hours or prices change.
Does schema markup help AI visibility?
Only indirectly, and only where the assistant reads a search index that uses it.
Google is the one platform that has published a position. Its page on AI features says there are "no additional requirements to appear in AI Overviews or AI Mode", and "there's also no special schema.org structured data that you need to add" (Google Search Central, 2026). Its AI optimisation guide repeats that "structured data isn't required for generative AI search", while adding that it is "a good idea to continue using it as part of your overall SEO strategy" (Google Search Central, 2026).
Why bother, then? Because Google's AI Overviews, AI Mode and the Gemini app answer from Google's search index (see how AI assistants choose businesses), and structured data is one way that index learns exactly which phone number, address and hours are yours. Google lists "making sure your structured data matches the visible text on the page" among its best practices for AI features (Google Search Central, 2026). When a customer asks "is there a dentist in Bristol open on Saturdays?" (an illustrative example), the answer is only as good as the facts Google holds.
OpenAI, Perplexity and Anthropic do not document any use of schema.org markup in their search features. Their crawlers read your pages as text, so plain-English facts on the page matter more to them than markup. Treat schema as a tidy-up of what you already say, not a separate channel.
What goes into a LocalBusiness block?
Google requires two properties and recommends several more; include every one you can honestly fill in.
From Google's LocalBusiness documentation (Google Search Central, 2026):
| Property | Status | Notes from Google |
|---|---|---|
name | Required | The name of the business, as it appears on the page |
address | Required | A PostalAddress; "include as many properties as possible" |
telephone | Recommended | Primary customer contact, with country and area code |
url | Recommended | "The URL must be a working link" |
geo | Recommended | Latitude and longitude; "the precision must be at least 5 decimal places" |
openingHoursSpecification | Recommended | Days plus opens and closes in hh:mm:ss; validFrom and validThrough for seasonal changes |
priceRange | Recommended | "Must be shorter than 100 characters", or Google won't show it |
menu | Recommended | Food businesses only: full URL of the menu |
aggregateRating, review | Recommended, with a catch | "Only recommended for sites that capture reviews about other local businesses" |
Two properties in our example are not on Google's list: areaServed (the towns you cover) and sameAs (links to your profiles elsewhere). Both are valid LocalBusiness properties (schema.org, 2026); Google does not promise to use them, but they describe a service-area business more completely.
A copy-and-paste JSON-LD example for a UK business
The block below describes a made-up Bristol dental practice; every value, including the coordinates, is invented and must be replaced with your own. To fill in your own details in a form instead, use our free LocalBusiness schema generator.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Harbourside Dental Practice",
"url": "https://www.harbourside-dental.example/",
"telephone": "+44 117 496 0123",
"image": "https://www.harbourside-dental.example/images/practice.jpg",
"priceRange": "££",
"address": {
"@type": "PostalAddress",
"streetAddress": "12 Example Quay",
"addressLocality": "Bristol",
"addressRegion": "Bristol",
"postalCode": "BS1 1AA",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.45039,
"longitude": -2.59703
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "08:30:00",
"closes": "17:30:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "09:00:00",
"closes": "13:00:00"
}
],
"areaServed": ["Bristol", "Bath", "Clevedon", "Portishead"],
"sameAs": [
"https://www.facebook.com/harboursidedental",
"https://www.instagram.com/harboursidedental"
]
}
</script>
Notes on the example:
- Phone number.
0117 496 0123is in the Bristol range Ofcom reserves for TV and radio drama, so it belongs to nobody (Ofcom, 2026). Write yours in international form: drop the leading 0 and add+44. addressCountry: "GB". Use the two-letter country code. "UK" is not an ISO code; Great Britain's is GB.- Coordinates. Find yours by right-clicking your premises in Google Maps; keep at least five decimal places, as Google asks.
- Opening hours. List each distinct pattern separately. If you are closed on Sunday, leave it out. Seasonal hours get
validFromandvalidThroughdates in YYYY-MM-DD form. sameAs. Only link profiles you control and keep current. A dead Twitter account is worse than none.- No ratings. Deliberately missing: see the mistakes section.
- Format. JSON-LD is the format Google recommends and calls "the easiest solution for website owners to implement and maintain at scale"; it can sit in either the
<head>or the<body>of the page (Google Search Central, 2026).
Which LocalBusiness subtype should I use?
Pick the most specific type schema.org offers for your trade; Google's instruction is to "use the most specific LocalBusiness sub-type possible" (Google Search Central, 2026).
Schema.org arranges subtypes in families. These are the ones UK small businesses most often need, taken from the schema.org type pages listed in the sources:
| Your business | @type to use | Parent family |
|---|---|---|
| Plumber, heating engineer | Plumber | HomeAndConstructionBusiness |
| Electrician | Electrician | HomeAndConstructionBusiness |
| Roofer | RoofingContractor | HomeAndConstructionBusiness |
| Builder | GeneralContractor | HomeAndConstructionBusiness |
| Locksmith, decorator, removals | Locksmith, HousePainter, MovingCompany | HomeAndConstructionBusiness |
| Dentist | Dentist | MedicalBusiness |
| Physiotherapist, optician, pharmacy | Physiotherapy, Optician, Pharmacy | MedicalBusiness |
| Hairdresser, beauty salon, nail bar | HairSalon, BeautySalon, NailSalon | HealthAndBeautyBusiness |
| Gym | HealthClub | HealthAndBeautyBusiness |
| Restaurant, café, bakery, pub | Restaurant, CafeOrCoffeeShop, Bakery, BarOrPub | FoodEstablishment |
| Solicitor | LegalService (or Attorney) | LegalService |
| Accountant | AccountingService | FinancialService |
| Estate agent | RealEstateAgent | LocalBusiness |
| Garage, body shop, car wash | AutoRepair, AutoBodyShop, AutoWash | AutomotiveBusiness |
| Florist, clothes shop, bike shop, pet shop | Florist, ClothingStore, BikeStore, PetStore | Store |
| Any other shop | Store | LocalBusiness |
| Childminder, nursery | ChildCare | LocalBusiness |
| Dry cleaner | DryCleaningOrLaundry | LocalBusiness |
Sources: schema.org HomeAndConstructionBusiness, MedicalBusiness, HealthAndBeautyBusiness, FoodEstablishment, LegalService, AccountingService, AutomotiveBusiness and Store, all accessed 10 November 2026.
Two points of judgement:
- If nothing fits, go up a level. A window cleaner can use
HomeAndConstructionBusiness; a gift shop can useStore; anything else can use plainLocalBusiness. A correct general type beats a wrong specific one. - Avoid
ProfessionalService. Schema.org says it was deprecated "due to confusion with Service" and points to more specific types instead, withLegalServiceas the more inclusive supertype ofAttorneyfor law firms (schema.org, 2026).
Where do I paste the code on Wix, Squarespace, Shopify and WordPress?
Put one block on the page that describes your business, usually the home page or contact page; Google says it "may make more sense to put it on a page that contains information about your business" (Google Search Central, 2026).
- Wix. In the editor open Pages & Menu, click the More Actions icon beside the page, choose SEO basics, open the Advanced SEO tab, click Structured Data Markup, then +Add New Markup, paste the JSON (without the
<script>tags) and click Apply. Wix accepts JSON-LD only, under 7,000 characters, up to five markups per page, and its help page warns that "Wix Customer Care cannot help you with any changes to your markup" (Wix Help Center, 2026). - Squarespace. Open the Code Injection panel, paste the full
<script>block into the Header field and save; code there "is injected into the<head>tag on every page", so use it only if the business details apply site-wide. For one page, hover over it in the Pages panel, click the gear icon, then Advanced, and paste into the page header code box. Squarespace says code injection "is available in the Core, Plus, Advanced, and some legacy billing plans" (Squarespace Help Center, 2026). - Shopify. From the admin go to Online Store, click the menu icon next to your theme and choose Edit code, then paste the
<script>block into your theme's layout file before the closing</head>. Shopify advises editing theme code only when an app or the theme editor can't do the job, and warns that incompatible edits may be removed when a theme is updated (Shopify Help Center, 2026). Shopify's own product markup is separate; see AI shopping agents and your product pages. - WordPress with Yoast. The free Yoast SEO plugin adds Organization schema automatically as JSON-LD; LocalBusiness is listed as a Premium feature in Yoast's comparison table (Yoast, 2026). Yoast Local SEO, included in Premium at £118.80 a year ex VAT at the time of writing (Yoast, 2026), extends the Organization into a LocalBusiness with address, opening hours, geo coordinates, areas served and price range (Yoast developer documentation, 2026).
- WordPress with Rank Math. Its Local SEO module has fields for business type, address (with a two-letter country code), opening hours, phone number, price range and latitude/longitude, and adds the metadata to your site once configured. Rank Math says to use the module only for a local business website, and asks that you already have a verified Google Business Profile (Rank Math, 2026).
- Any other platform. Paste the
<script>block into the page's HTML or the theme header; Google accepts JSON-LD in the head or body (Google Search Central, 2026).
If a plugin generates the block, do not also paste one by hand.
How do I test it?
Run two free checks, then read the page as a customer would.
- Google's Rich Results Test at search.google.com/test/rich-results accepts a public URL or pasted code and shows "which rich results can be generated by the structured data it contains" (Google Search Console, 2026). Google's advice is to "fix any critical errors"; non-critical warnings are worth fixing but don't block eligibility (Google Search Central, 2026).
- The Schema Markup Validator at validator.schema.org checks the markup against schema.org itself and "identifies syntax mistakes in the markup". It is the successor to Google's old Structured Data Testing Tool and checks validity rather than Google eligibility (schema.org, 2026).
- Compare with the page. Check that the name, address, phone, hours and price range in the markup appear in the visible text, character for character. Test the published URL, not only pasted code, because some platforms only output markup once the page is live.
- Re-test after changes to hours, prices or phone number, and after any theme or plugin update.
What mistakes should I avoid?
Most LocalBusiness problems come from markup that says something the page doesn't.
- Details that don't match the page. Google's guidelines say "your structured data must be a true representation of the page content" and "don't mark up content that is not visible to readers of the page" (Google Search Central, 2026). If the markup says 08:00 and the contact page says 09:00, you have told the index two things. Fix the page text first, then the markup.
- Your own reviews in the markup. Google says "don't mark up irrelevant or misleading content, such as fake reviews" (Google Search Central, 2026), and its review snippet guidelines say pages using LocalBusiness markup "are ineligible for star review feature" when "the entity that's being reviewed controls the reviews about itself" (Google Search Central, 2026). Leave
aggregateRatingout and earn reviews on Google instead; see Google Business Profile and reviews for AI. - Several conflicting blocks. A theme block, a plugin block and a pasted block on the same page, each with different hours, is common. View the page source, search for
application/ld+json, and keep one. - Keyword-stuffed names.
nameis your trading name, not "Best Emergency Plumber Bristol 24/7". Google warns that structured data must not "deceive or mislead users" (Google Search Central, 2026). - Markup instead of content. The crawlers behind ChatGPT, Perplexity and Claude read your text. If your prices and areas exist only in JSON, they don't exist for those assistants. The AI visibility checklist covers the plain-text side.
How SearchCrow helps
SearchCrow's free website check reads your site the way AI crawlers do and flags structured data that is missing, alongside the robots.txt and plain-text checks. On a plan, the Key facts you enter in Settings (hours, prices, areas) are compared against what ChatGPT, Perplexity and the others actually say about you, so a wrong opening time shows up as a "fix facts" action rather than a lost customer. The markup in this guide works just the same without it.
FAQ
Does schema markup help my business appear in ChatGPT or Google AI answers? Indirectly. Google says structured data is not required for AI Overviews or AI Mode and there is no special schema.org markup to add. What it does is state your details in a form search engines read reliably, so the index that Google's AI features and Gemini draw on holds the right name, address, hours and prices. OpenAI, Perplexity and Anthropic do not document any use of schema.
Which LocalBusiness subtype should I use? The most specific one that fits, which is Google's own advice. Schema.org lists subtypes such as Plumber, Electrician, Dentist, Restaurant, HairSalon, Florist and AccountingService. If none fits, use the parent type (for example HomeAndConstructionBusiness, Store or MedicalBusiness) or plain LocalBusiness. Avoid ProfessionalService, which schema.org has deprecated.
Where do I paste JSON-LD on Wix, Squarespace, Shopify or WordPress? Wix: the page's SEO basics, Advanced SEO tab, Structured Data Markup. Squarespace: Code Injection (header) or a page's Advanced settings, on plans that allow code injection. Shopify: Online Store, Edit code, in your theme's layout file. WordPress: Yoast Local SEO or Rank Math's Local SEO module generate it from a settings form, or paste the script into your theme header.
How do I test LocalBusiness structured data? Use two free tools. Google's Rich Results Test (search.google.com/test/rich-results) takes a URL or pasted code and reports which rich results the page is eligible for and any errors. The Schema Markup Validator (validator.schema.org) checks the markup against schema.org and flags syntax mistakes. Fix critical errors, then check that every value matches what visitors can see on the page.
Can I add my own reviews or star ratings to LocalBusiness markup? No. Google says aggregateRating and review on LocalBusiness are only recommended for sites that capture reviews about other local businesses, and that pages where the reviewed entity controls the reviews are ineligible for star features. Marking up fake or self-sourced reviews breaks Google's guidelines and can lead to a manual action. Collect reviews on Google and other platforms instead.
Sources
- Google Search Central, Local business (LocalBusiness) structured data
- Google Search Central, General structured data guidelines
- Google Search Central, Introduction to structured data markup in Google Search
- Google Search Central, Review snippet structured data
- Google Search Central, AI features and your website
- Google Search Central, Optimizing for generative AI features on Google Search
- schema.org, LocalBusiness, HomeAndConstructionBusiness, HealthAndBeautyBusiness, MedicalBusiness, FoodEstablishment, Store, LegalService, AutomotiveBusiness, AccountingService, ProfessionalService
- schema.org, Schema Markup Validator
- Google Search Console, Rich Results Test
- Wix Help Center, Adding Structured Data Markup to Your Site's Pages
- Squarespace Help Center, Customize parts of your site with code injection
- Shopify Help Center, Editing theme code
- Yoast, Structured data - Yoast SEO Features
- Yoast developer documentation, Yoast Local SEO for WordPress: Schema output
- Yoast, Local SEO Plugin for WordPress
- Rank Math, Using Rank Math's Local SEO Module
- Ofcom, Numbers for drama