Every grade lists its sample, method and date.
Grade your own site free
Sections
HomeRankingsGrade Your SiteGraded SitesGuidesHow We GradeMap ListingsBusiness WebsitesTradesReputationData VendorsPrivacy

Home > Guides > LocalBusiness Schema Example You Can Copy

LocalBusiness Schema Example You Can Copy

LocalBusiness schema is a small JSON-LD script in your page that states your business type, name, phone, address, hours and profiles. Copy the block below, swap in your real details, paste it into the head of your home page and test it.

The Full Example

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Your Business Name",
  "url": "https://www.yourbusiness.com/",
  "telephone": "+1-555-555-0142",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "1234 Main St",
    "addressLocality": "Your City",
    "addressRegion": "NV",
    "postalCode": "89101",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "08:00",
      "closes": "17:00"
    }
  ],
  "sameAs": [
    "https://www.facebook.com/yourbusiness",
    "https://www.yelp.com/biz/your-business-your-city"
  ]
}
</script>

Put it inside the head tag or right before the closing body tag. One block per page is enough for a single location.

Field by Field

FieldWhat Goes In ItSites We Graded That Had It
@typeYour most specific business type66%
nameName on your sign, nothing added66%
telephoneYour main number with country code43%
addressAll four parts plus country34%
urlYour home page63%
openingHoursSpecificationDays and hours in 24 hour time34%
sameAsYour real profile pages35%

Percents are from the 198 local sites on our Business Website Data Grades ranking, tested November 22, 2026.

The Five Mistakes, Worst First

1. Street Not On The Page

Only 29% of sites showed their schema street on the page. Print the same street in your footer.

2. Phone Not On The Page

Only 40% passed. Your schema phone should be one of the numbers in your call buttons.

3. Missing Address Parts

Our grader wants streetAddress, addressLocality, addressRegion and postalCode. A service area business that hides its street can still list city, state and ZIP for partial credit.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Locksmith",
  "name": "Your Business Name",
  "url": "https://www.yourbusiness.com/",
  "telephone": "+1-555-555-0142",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "Your City",
    "addressRegion": "NV",
    "postalCode": "89101",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "08:00",
      "closes": "17:00"
    }
  ],
  "sameAs": [
    "https://www.facebook.com/yourbusiness",
    "https://www.yelp.com/biz/your-business-your-city"
  ]
}
</script>

4. A Trailing Comma

JSON does not allow a comma after the last item. That one character breaks the block. Only 78% of sites had blocks that all parsed.

5. Schema For The Wrong Business

Themes and plugins ship with sample data. We still find template names and phone numbers live on real sites. Read your block line by line once.

Pick Your Type

TradeSchema Type
DentistDentist
PlumberPlumber
RooferRoofingContractor
LocksmithLocksmith
Auto repairAutoRepair
ElectricianElectrician
HVACHVACBusiness
Other home tradesHomeAndConstructionBusiness
Anything elseLocalBusiness

The full list lives on schema.org. Google's guide lists which fields it reads.

Test your schema with our grader. It runs the same 22 checks we used on every site in our rankings and shows which ones you missed.

Questions People Ask

Where do I put JSON-LD on my website?

In the head of the page or just before the closing body tag. Search engines read it in either place.

Do I need schema on every page?

Your business block belongs on the home page and the contact page at least. Many sites put it in a shared footer so every page carries it.

What if I do not have a storefront?

Leave out streetAddress and keep city, state and ZIP. Do not put a fake or virtual office address in schema.

Is JSON-LD better than microdata?

Google supports both, and recommends JSON-LD because it is easier to add and keep correct.

Related Guides

Sources

Grade your site free | All guides

What's New

November 22, 2026
First test run. 244 businesses checked against their own websites.

Coming next
Bing listings and data vendors on the same truth set.

Grade A Site
Where Our Sample Comes From

Las Vegas, Phoenix, Dallas and Atlanta.

Open in Google Maps


Home | Rankings | Grade Your Site | Graded Sites | Guides | How We Grade

Copyright 2026 DataGraded. Site by Clickflame.