Guide
LocalBusiness schema: a template for clearer AI answers
LocalBusiness structured data is a small block of JSON-LD on your homepage that states your business name, address, phone, hours, website and service area in a format machines read reliably. It helps search engines and AI tools get your facts right. It does not, on its own, guarantee that any assistant will recommend you — Google says no special AI markup is required.
Wrong phone and address answers are quoted in the report
The template
Replace every value, choose the most specific type for your business (for example Dentist, Plumber or HVACBusiness instead of LocalBusiness), and place it in your homepage’s HTML.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Your Business Name",
"url": "https://yourdomain.com",
"telephone": "+1-905-555-0142",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Oshawa",
"addressRegion": "ON",
"postalCode": "L1H 0A0",
"addressCountry": "CA"
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "08:00",
"closes": "17:00"
}],
"areaServed": ["Oshawa", "Whitby", "Courtice"],
"sameAs": ["https://www.facebook.com/yourbusiness"]
}
</script>Which schema type should I use?
Schema.org has specific subtypes of LocalBusiness. Use the most specific one that is true; if none fits, use LocalBusiness itself.
| Business | Schema type |
|---|---|
| Dental clinic | Dentist |
| Plumber | Plumber |
| Electrician | Electrician |
| Heating and cooling | HVACBusiness |
| Roofer, general contractor | RoofingContractor, GeneralContractor |
| Physiotherapy clinic | MedicalClinic (or Physiotherapy where appropriate) |
| Hair salon | HairSalon |
| Restaurant | Restaurant |
| Law firm | LegalService |
| Accountant | AccountingService |
Rules that matter more than the markup
- The schema must match what is visible on the page and on your Google Business Profile — same name, address and phone.
- Use one canonical phone number; avoid tracking numbers in schema.
- Only describe facts that are true today; update hours when they change.
- Validate with Google’s Rich Results Test or the Schema Markup Validator after publishing.
What schema can and cannot do
Google documents LocalBusiness markup as a way to describe business details; it does not promise a ranking or appearance. There is no public evidence that other assistants reward it directly. Its value is accuracy: when a machine reads your page, it gets your facts unambiguously, which supports the consistency AI assistants rely on.
Frequently asked questions
Where do I put the schema?
On your homepage, inside the HTML. Most website builders and SEO plugins have a field for structured data or custom code in the page head.
Should I add Review or AggregateRating markup?
Only for genuine reviews displayed on your own page, following Google’s review snippet guidelines. Never mark up ratings you don’t show or can’t verify.
See what AI says about your business
$39 CAD per business, per report, plus applicable tax. Enter your business details, complete payment, then receive your report after it’s prepared.
Find out what AI gets wrong about youLast updated . We use each assistant’s business-facing connection (API). Answers can differ from its app. A report records the answers collected on the assessment date; future answers may change.