Structured data for local businesses: how to write it and check it
Structured data (JSON-LD) is a block of description inside your page that is written for machines. It tells search engines and AI tools which business the page is about, where it is and when it's open. It doesn't change how the page looks, but it makes your information harder to misread.
Which type to use
Local businesses usually use LocalBusiness, or one of the more specific types under it, such as Dentist, Restaurant or AutoRepair. A specific type is better than the generic one, but only pick the one that genuinely fits your business.
A complete example
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Example Dental Clinic",
"url": "https://example.ca/",
"telephone": "+1-416-555-0100",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 Example St",
"addressLocality": "Toronto",
"addressRegion": "ON",
"postalCode": "M5V 0A1",
"addressCountry": "CA"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "18:00"
}
]
}
</script>
The address and phone number in the example are made up; replace them with your own real details. The information must match what is shown on the page.
Common mistakes
- Invalid JSON, such as a missing comma or an extra trailing comma. Blocks like this are simply ignored.
- Information that isn't on the page, such as opening hours or ratings that don't exist.
- Several conflicting sets of business details repeated on the same page.
- An address with only the street, and no city or country.
How to check
- Copy the page's HTML and find every
application/ld+jsonblock. - Confirm that each block is valid JSON.
- Confirm that the top-level
@typeis the type you want, and that the key fields (name, address, phone) are all present and match the page. - Double-check with Google's Rich Results Test or the schema.org validator.
CiteRev's free check counts the JSON-LD blocks and the invalid blocks on each page, and points out the invalid ones.
Related articles
The free check counts the structured data blocks on your pages and points out the invalid ones.
Apply for a free check