Schema

LocalBusiness schema

Add LocalBusiness JSON-LD with name, address, phone, hours and geo data for businesses with a physical location. Use for shops, restaurants, clinics, offices and service-area businesses.

local-business-schema/SKILL.md

Facts to use

  • Google's local business markup requires name and address. Recommended include: telephone, url, openingHoursSpecification, geo, priceRange, menu, servesCuisine and department. Use aggregateRating and review only if the site collects reviews of other local businesses.
  • Use the most specific subtype that fits, for example Restaurant, Dentist or LegalService.
  • 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

  1. Collect per location: exact business name, street address, city, region, postal code, country, phone in international format, hours, coordinates, URL.
  2. Write the block with the right subtype.
  3. Put it on the location page in the raw HTML.
  4. Compare with the Google Business Profile, Bing Places and Apple Business Connect listing. Fix any difference.
  5. 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
See all 30 skills