1. Home
  2. Blog
  3. Local business schema markup example: a JSON-LD …

Google Maps

Local business schema markup example: a JSON-LD block you can copy and edit

Schema markup tells search engines the basics of your business in a format they can read. Here is one full example for a small business, what each property does and how to test it before you publish.

By DizaynPublished Updated 8 min read

In this article
  1. What is local business schema markup?
  2. What does a local business schema markup example look like?
  3. Which properties are required and which are recommended?
  4. Which LocalBusiness type should you use?
  5. Should schema match your website and Google Business Profile?
  6. How do you add local business schema to your site?
  7. What mistakes should you avoid with local business schema?
  8. Does local business schema help AI search visibility?
  9. Quick answers about local business schema markup

What is local business schema markup?

Local business schema markup is a block of structured data, usually JSON-LD, that describes your business to search engines: name, address, phone, hours and more. Google’s documentation lists name and address as the two required properties and says to include as many properties as possible.

The markup does not change how your page looks. It sits in the code next to your visible text and repeats the same facts in a labeled form that search engines and other tools can read.

Source: Google Search Central, LocalBusiness structured data (consulted November 2026).

What does a local business schema markup example look like?

Below is a complete example for a service business, written in JSON-LD. Every value is a placeholder, so replace each one with your real details. Use the most specific subtype that fits you instead of the generic LocalBusiness type, and keep the values identical to what your site and Google Business Profile show.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Sample Service Co.",
  "url": "https://www.example.com/",
  "telephone": "+1-210-555-0100",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "Your City",
    "addressRegion": "TX",
    "postalCode": "78000",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 29.12345,
    "longitude": -98.12345
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "08:00",
      "closes": "17:00"
    }
  ],
  "sameAs": [
    "https://www.instagram.com/your-profile/"
  ]
}
</script>

The type, name and address are the core. The rest are the properties Google recommends, plus sameAs, an optional list of links to your other official profiles. Delete any line you cannot keep true, and keep the commas and brackets valid.

Which properties are required and which are recommended?

Google requires only two properties for local business markup: name and address, given as a PostalAddress. It also recommends geo, openingHoursSpecification, priceRange, telephone and url. Add every recommended property that is true for your business, and leave out anything you cannot keep accurate.

PropertyStatusWhat to enter
nameRequiredYour business name, written the same way as on your sign and your Business Profile
addressRequiredA PostalAddress with streetAddress, addressLocality, addressRegion, postalCode and addressCountry
geoRecommendedLatitude and longitude, each with at least 5 decimal places
openingHoursSpecificationRecommendeddayOfWeek, opens and closes, plus optional validFrom and validThrough for seasonal closures
telephoneRecommendedPhone number with country and area code
urlRecommendedA working link to your site
priceRangeRecommendedShort text, under 100 characters
departmentRecommendedA nested LocalBusiness, for a department inside your business

Google’s own example uses openingHoursSpecification rather than the shorter openingHours, so this post does the same. For a seasonal closure, add validFrom and validThrough to the hours entry.

Source: Google Search Central, LocalBusiness structured data (consulted November 2026).

Which LocalBusiness type should you use?

Use the most specific LocalBusiness subtype that describes your business, such as Restaurant, DaySpa or HealthClub, which are the examples Google gives. You can list more than one type as an array. Do not use additionalType, because Google says it is not supported. If no subtype fits, use LocalBusiness.

Your subtype should agree with your primary category on Google Business Profile. Our guide to Business Profile categories explains how to pick it.

Source: Google Search Central, LocalBusiness structured data (consulted November 2026).

Should schema match your website and Google Business Profile?

Yes. Treat it as a best practice: the name, address, phone and hours in your markup should match what visitors see on the page and what your Google Business Profile shows. A mismatch makes it harder to tell which details are real. This is general advice, not a rule from Google’s LocalBusiness guide.

Check the same facts everywhere else too. Our NAP and citations guide shows how to find and fix listings that disagree.

How do you add local business schema to your site?

Write the JSON-LD with your real details, add it to the page it describes, then test it before and after publishing. Start with your home page and any page dedicated to a location. Google recommends validating with the Rich Results Test, then checking the live page with URL Inspection.

  1. Pick the most specific subtype for your business.
  2. Copy the example above and replace every placeholder with the exact details shown on your site and Business Profile.
  3. Add geo with at least 5 decimal places, hours, telephone with country code, and url.
  4. Paste the block into the home page and into each page about one location.
  5. Run the page through the Rich Results Test and fix critical errors.
  6. Publish, inspect the live URL in Search Console, and submit your sitemap.

We include Schema.org structured data in the sites we build, so it ships with your web design service. If you also need the service and location pages the markup describes, our local SEO service covers them.

Source: Google Search Central, LocalBusiness structured data (consulted November 2026).

What mistakes should you avoid with local business schema?

The biggest mistakes are marking up details that are not true, adding review markup to your own site, and leaving the markup out of date. Google recommends aggregateRating and review only for sites that collect reviews about other local businesses. Self-published review markup is risky, and violating the guidelines can lead to a manual action.

  • Hours in the markup that differ from your page or your Business Profile.
  • Seasonal closures left out. Use validFrom and validThrough on the hours entry.
  • Coordinates with fewer than 5 decimal places.
  • A phone number without country and area code.
  • A priceRange of 100 characters or more.
  • Markup for services you do not offer.

Source: Google Search Central, LocalBusiness structured data (consulted November 2026).

Does local business schema help AI search visibility?

Schema gives machines a labeled copy of your basic facts, directly in your page code. It does not guarantee a ranking or a citation in ChatGPT, Perplexity or AI Overviews, and nobody can promise that. Treat it as one part of a complete, consistent online presence.

Run the AI visibility checker to see how assistants describe you today, and read how to get recommended by ChatGPT for the wider steps beyond markup.

Quick answers about local business schema markup

Most questions about local business schema come down to format, placement and upkeep. The short answers below cover each one. None of them promises a ranking or a citation, because search engines and AI tools decide what to show, and the markup only gives them accurate facts to read.

Do I have to use JSON-LD? Google’s LocalBusiness guide shows its example in JSON-LD, so this post uses that format.

Which pages get the markup? The home page and any page about a single location, as long as the page is about that business.

When do I update it? Whenever your hours, phone or address change, update the markup, your page and your Business Profile together.

Is schema the same as my Business Profile? No. Your Business Profile is your listing on Google. Schema lives in your own site’s code.

Want to know what Google and AI tools can read about your business today? Run the AI visibility checker, or tell us about your site on the contact page.

Dizayn · Web design, SEO and AI search studio. We build websites, SEO and AI search for U.S. businesses and publish dated, sourced results for every client. About us.

Ready to start?

Start your site today for $180

Pay the first of 3 payments, answer a 5-minute questionnaire and see your homepage designed with your brand in 7 days. If you don't like the preview, we refund 100% of that first payment.

Sites cost $540 or $1,200 in total, paid in 3 parts. See what each one includes.

Free website analysis · normally $750

Get your website analyzed. Free, instead of $750.

Send your URL. Within 2 business days you get a written report: how Google, Maps and AI assistants see your site, how you compare with your top two local competitors, and the five fixes we’d make first. Yours to keep, whether you hire us or not.

Written report in 2 business days. Yours to keep.

  • Google score out of 110: technical SEO, Maps and structured datanormally $300
  • Side-by-side with your top 2 local competitorsnormally $150
  • AI check: do ChatGPT, Gemini and Perplexity name you?normally $150
  • Speed test on a real phonenormally $75
  • Why visitors leave without asking for a quotenormally $75
  • Your 5 fixes, ranked by impactincluded
  • Total value$750Free

Monthly plans: If your quote requests don't go up in 90 days, the next month is free.

A real person replies within 1 business day · no credit card · no sales call unless you ask · text us · or WhatsApp us

Book a callGet free analysis