Skip to content

Local business schema example

Google requires name and address for LocalBusiness markup and recommends url, telephone, geo, opening hours, price range and images. Use the most specific subtype that is true (Dentist, Bakery, Plumber) so the type itself says what you do. Stars for reviews you publish about yourself are not shown.

JSON-LD · passes this validator with 0 errors
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "@id": "https://example.com/#bakery",
  "name": "Rye & Roll",
  "image": [
    "https://example.com/img/shopfront.jpg"
  ],
  "url": "https://example.com",
  "telephone": "+44 161 496 0000",
  "priceRange": "££",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "14 Tib Street",
    "addressLocality": "Manchester",
    "postalCode": "M4 1SH",
    "addressCountry": "GB"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 53.4839,
    "longitude": -2.2342
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "07:30",
      "closes": "16:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "08:00",
      "closes": "14:00"
    }
  ],
  "sameAs": [
    "https://www.instagram.com/example"
  ]
}
</script>

What Google checks

Local business docs

Required: nameaddress

Recommended: urltelephonegeoopeningHoursSpecificationpriceRangeimage

Taken from Google Search Central's documentation for this type. Meeting the requirements makes a page eligible; Google decides whether to show a rich result.

Mistakes the validator catches on LocalBusiness

aggregateRating on your own business
Valid schema.org, but Google doesn't show stars for self-serving reviews of a LocalBusiness or Organization.
Opening hours as free text
Prefer openingHoursSpecification with 24-hour opens/closes times over "Mon–Fri 9–5".
geo with fewer than 5 decimals
Google's docs ask for at least five decimal places of precision.
Several branches in one block
Give each location its own page and its own LocalBusiness entity.

Paste your own version into the schema markup validator or test a live URL.

Questions

What properties are required for LocalBusiness?

Google requires name and address. url, telephone, geo, openingHoursSpecification, priceRange and image are recommended.

Does LocalBusiness markup affect Google Maps?

Your Business Profile drives Maps. Markup helps Google understand your site, but it doesn't replace or override the profile.

Which type should a law firm use?

LegalService or Attorney, both LocalBusiness subtypes.

Other examples

ArticleProductFAQPageRecipeEventOrganizationBreadcrumbListVideoObjectJobPostingReview