LocalBusiness schema is a block of code on your website that tells Google your business name, address, hours and phone in a standard format. Google’s documentation lists two required properties, name and address, and several recommended ones, including telephone, url, geo, openingHoursSpecification and priceRange (Google Search Central).
Example for an Indian business
Replace every value with your own, matching your Google Business Profile exactly.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Smile Care Dental Clinic",
"address": {
"@type": "PostalAddress",
"streetAddress": "12, MG Road",
"addressLocality": "Pune",
"addressRegion": "Maharashtra",
"postalCode": "411001",
"addressCountry": "IN"
},
"telephone": "+91-20-00000000",
"url": "https://www.example.com/",
"geo": {
"@type": "GeoCoordinates",
"latitude": 18.5204,
"longitude": 73.8567
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],
"opens": "10:00",
"closes": "20:00"
}]
}
</script> The business in this example is fictional. Use the most specific schema.org type for your business, such as Dentist or Restaurant, or LocalBusiness if none fits.
Where to put it
Add the script to the home page for a single location, or to each location page for a business with branches. On WordPress, an SEO plugin or a header-code plugin can add it without editing theme files.
Test it
Run the page through Google’s Rich Results Test and fix any errors before publishing. Search Console reports structured data issues after Google crawls the page.
A note on ratings
Google recommends aggregateRating only for sites that collect reviews about other local businesses. Do not mark up your own Google reviews on your own business page.
Next step
Schema works alongside a complete profile; see the Google Maps ranking checklist. ATW SEO can add and test schema on your site.