local-business-schema/SKILL.md
Facts to use
- Google's local business markup requires
nameandaddress. Recommended include:telephone,url,openingHoursSpecification,geo,priceRange,menu,servesCuisineanddepartment. UseaggregateRatingandreviewonly if the site collects reviews of other local businesses. - Use the most specific subtype that fits, for example
Restaurant,DentistorLegalService. - The name, address and phone must match the Google Business Profile and the page.
- Use one block per location, on that location's page.
Workflow
- Collect per location: exact business name, street address, city, region, postal code, country, phone in international format, hours, coordinates, URL.
- Write the block with the right subtype.
- Put it on the location page in the raw HTML.
- Compare with the Google Business Profile, Bing Places and Apple Business Connect listing. Fix any difference.
- Validate with the Rich Results Test.
Template
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Example Diner",
"url": "https://example.com/downtown",
"telephone": "+1-555-010-0000",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 Main St",
"addressLocality": "Dallas",
"addressRegion": "TX",
"postalCode": "75201",
"addressCountry": "US"
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "08:00", "closes": "20:00"
}]
}Checks
- Name, address and phone match every listing.
- Hours on the page match the markup.
Output
One block per location and a table of listing differences.
Sources
- Google: Local business (LocalBusiness) structured data. https://developers.google.com/search/docs/appearance/structured-data/local-business
- Schema.org: LocalBusiness. https://schema.org/LocalBusiness