Web Design Studios

Schema Markup for Local Business: How One Electrician Fixed His Google Facts

Schema markup for local business explained: key LocalBusiness properties, a simple JSON-LD example, Rich Results Test checks and common mistakes.

Schema markup for local business illustration showing a LocalBusiness JSON-LD code panel for an electrician next to a search result with the correct phone, address and hours

Quick answer: Schema markup for local business is a short block of code, usually JSON-LD, that tells search engines your business name, type, address, phone, hours and location in a format they can read without guessing. Google requires a name and address for LocalBusiness markup and recommends hours, phone, URL and coordinates. It does not guarantee rankings, but it keeps your facts clear and consistent.

Kurt Lindahl found out his website was lying about him on a Tuesday in March, from a homeowner standing in a dark garage in Grand Junction, Colorado.

The man had a tripped breaker that would not reset and a freezer full of elk meat. He had searched for an electrician near him, found Lindahl Electric, and called the number Google showed. It rang at a disconnected line.

He only reached Kurt because his neighbor had a magnet on her fridge.

Kurt had moved his shop across town the year before and switched to a new business number. He had updated his Google Business Profile. But his own website still showed the old number on two pages, his hours lived inside a picture of his van, and the address in his footer was the old one. Search engines were reading a mix of old and new facts and picking whichever they trusted more.

Kurt had fixed his Google profile, but his own website was still handing out a dead phone number.

That evening Kurt sat down with his nephew Jory, who builds websites, and asked a question a lot of trades owners ask. How does Google even know what my business is?

What is schema markup for local business?

Schema markup is a shared vocabulary, maintained at schema.org, that lets you describe things on a page in a way machines understand. For a shop, office or service company, the relevant schema local business type is called LocalBusiness, and it has more specific versions like Electrician, Plumber, Dentist or Restaurant.

A visitor sees your address in the footer. A search engine sees a string of text and has to work out what it means. Local schema markup removes the guesswork by saying, in a structured way, this is the business name, this is the street address, these are the opening hours.

Google explains in its LocalBusiness structured data documentation that this markup can tell Google about details like your hours, departments and more, which it may use in search results and knowledge panels.

Why local SEO schema matters, and what it will not do

Jory was straight with Kurt. Local SEO schema is not a ranking button. Google's own structured data guidelines say plainly that Google does not guarantee your structured data will show up in search results.

What it does well:

  • It states your core facts in one clean, consistent place on your site.
  • It helps search engines and AI tools match your website to your Google Business Profile and other listings.
  • It makes your business type, service area and hours unambiguous.
  • It is cheap to add and easy to keep updated once it is set up properly.

For local results, your Google Business Profile still does the heavy lifting. Schema markup for local SEO is the part that makes your own website agree with it.

The money math: what wrong facts cost a small shop

Kurt and Jory worked out what the mixed up information might have cost him. Here is the example math. Use your own numbers.

  • Kurt's average service call was worth about $650.
  • He guessed that about 3 callers a month hit the old number or showed up at the old address and gave up.
  • 3 lost jobs Γ— $650 = $1,950 a month
  • Over a year, that is about $23,400 in work that went to someone else

That is example math, not a statistic. Fixing it took an afternoon of cleanup and a few dozen lines of code. Even one saved job a month would cover the work many times over.

Not sure what search engines are reading on your site? πŸ‘‰ Check My Site's Schema Markup β†’

Which LocalBusiness schema properties matter most

Google keeps the list short. According to its documentation, these are the two required properties:

  • name: the name of the business, exactly as customers see it.
  • address: the physical location, written as a PostalAddress with street, city, state, postal code and country.

And these are the recommended ones that matter for most small businesses:

  • telephone: your main business number, ideally with the country code.
  • url: the page for this specific location.
  • geo: latitude and longitude. Google says these need at least 5 decimal places.
  • openingHoursSpecification: the days and times you are open, including seasonal hours if you have them.
  • priceRange: a short price indicator, which Google says must be under 100 characters.
  • department: for businesses with separate parts, like a car dealer with a service center.
  • menu and servesCuisine: for restaurants and cafes.

Schema.org also offers useful extras that Google does not list as recommended but that are valid, like sameAs for links to your social profiles, logo, image and areaServed for the towns you cover.

Pick the most specific business type

Google asks you to use the most specific LocalBusiness type that fits. Kurt is an Electrician, not just a LocalBusiness. A taqueria is a Restaurant. A nail salon is a NailSalon. You can browse the full list of types on schema.org, and if your business fits two, Google allows listing both.

A local business schema markup example, line by line

Here is a simplified version of the JSON-LD Jory added to Kurt's contact page, with the details changed. Each line is one piece of the block, in order. On a real site, the whole block sits inside a <script type="application/ld+json"> tag.

  1. "@context": "https://schema.org",
  2. "@type": "Electrician",
  3. "name": "Lindahl Electric",
  4. "url": "https://www.example.com/",
  5. "telephone": "+19705550142",
  6. "priceRange": "$$",
  7. "address": { "@type": "PostalAddress", "streetAddress": "418 Main Street", "addressLocality": "Grand Junction", "addressRegion": "CO", "postalCode": "81501", "addressCountry": "US" },
  8. "geo": { "@type": "GeoCoordinates", "latitude": 39.06390, "longitude": -108.55060 },
  9. "openingHoursSpecification": [{ "@type": "OpeningHoursSpecification", "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"], "opens": "07:00", "closes": "17:00" }],
  10. "sameAs": ["https://www.facebook.com/example"]

Wrap those lines in one pair of curly braces and you have a complete, valid local business schema markup example. Notice that nothing in it is invented. Every fact also appears on the page in plain text, and that matters more than any single property.

Local business schema markup example broken into steps: name and type, address, phone, geo coordinates, opening hours, then testing in Google's Rich Results Test, with example money math

How to add local schema markup to your website

Google supports three formats: JSON-LD, Microdata and RDFa. Its introduction to structured data says all three are fine when they are valid, and recommends JSON-LD in most cases because it is the easiest to add and maintain. That is what we use.

On a single location business

Add one block to your homepage or contact page. That page should show the same name, address, phone and hours in normal text.

On a business with several locations

Give each location its own page with its own block. Do not cram three addresses into one block on the homepage.

On WordPress and other builders

Many SEO plugins add basic local schema. That is fine, but check what they output. A common problem is two plugins each adding their own version with different hours. One clean block beats three conflicting ones.

If schema is new to you and your site also has speed, crawl or indexing problems, it is worth doing a full technical SEO audit at the same time.

How to test it with Google's Rich Results Test

Once the markup is live, test it. Jory used Google's Rich Results Test, which Google describes as an easy way to validate structured data.

  1. Open the Rich Results Test and paste the URL of the page with your markup. You can also paste the code itself before it goes live.
  2. Run the test and look for the local business result in the list of detected items.
  3. Fix anything marked as an error first. Errors mean Google cannot use the markup.
  4. Then look at warnings. These are usually missing recommended properties, like hours or phone.
  5. After you publish, use the URL Inspection tool in Search Console to see how Google sees the live page.

Kurt's first test came back with no errors and one warning: no opening hours. Jory had left them out because the hours only existed inside the picture of Kurt's van. He moved the hours into real text on the page, added them to the markup, and the second test came back clean.

Want your local schema set up and tested for you? πŸ‘‰ Fix My Local Schema β†’

Common local schema SEO mistakes

These are the problems we see most often when we look at small business sites:

  • Markup that does not match the page. Google's guidelines say structured data must be a true representation of the page content. Hours or prices that only exist in the code are a problem.
  • Old facts left behind. Moving or changing numbers and updating only your Google profile, like Kurt did, leaves your site disagreeing with itself.
  • Self serving review stars. Google's review snippet guidelines say LocalBusiness pages are not eligible for star ratings when the business controls the reviews about itself, for example through its own widget.
  • The wrong business type. Plain LocalBusiness when a more specific type like Dentist or Plumber exists.
  • Vague coordinates. Latitude and longitude with fewer than 5 decimal places.
  • Hours that never change. Holiday or seasonal hours updated on your profile but not in your markup.
  • Too much at once. Several plugins and themes each adding their own block with different details.

Google also notes that structured data problems can lead to a manual action, so spammy or misleading markup is worse than none.

Schema markup for local SEO works best with your Google Business Profile

Think of it as three places that must agree: your Google Business Profile, your website text and your schema markup. When all three show the same name, address, phone and hours, search engines and AI assistants have an easy time trusting you.

That last part matters more each year. Tools like ChatGPT and Google's AI answers pull business facts from many sources. Clean, consistent facts make it more likely they get yours right. Our guide to generative engine optimization explains how that works.

For Kurt, the order of work was simple. Update the profile, clean up every page that showed old details, add the markup, test it. His broader local SEO work, like service area pages and reviews, built on top of that clean base.

Is your Google profile saying something different from your website? πŸ‘‰ Clean Up My Google Profile β†’

Schema Markup for Local Business FAQs

What is local business schema markup?

It is structured data, usually in JSON-LD, that describes your business name, type, address, phone, hours and location in a format search engines can read reliably. It uses the LocalBusiness type from schema.org or a more specific version.

Does local schema help SEO?

It helps search engines understand and trust your business details, which supports local SEO. Google does not guarantee that structured data will change how you appear, and it is not a substitute for a strong Google Business Profile.

What properties are required for LocalBusiness schema?

Google requires name and address. It recommends telephone, url, geo, openingHoursSpecification and priceRange, plus department, menu and servesCuisine where they apply.

How do I test my local schema markup?

Paste your page URL or code into Google's Rich Results Test, fix any errors, review the warnings, then check the live page with the URL Inspection tool in Search Console.

Can I add review stars to my own LocalBusiness schema?

Not for reviews you control about your own business. Google says those pages are not eligible for star review snippets. Focus on collecting real reviews on your Google Business Profile instead.

Get your local schema right the first time

A month after the cleanup, Kurt got a call at 6:50 on a Saturday morning from a woman whose kitchen outlets had gone dead. She had found him through a search on her phone, and the number on the screen was the right one. It is a small thing, a correct phone number, until it is the only thing standing between you and the job.

At Web Design Studios, we add, test and maintain schema markup for local businesses as part of our technical SEO work, and we make sure your website, your Google profile and your markup all tell the same story.

Want your business facts clean everywhere customers search? πŸ‘‰ Book a Free SEO Call β†’

You can also explore our technical SEO, SEO and Google Business Profile services, or explore all our services.

Kurt Lindahl, Jory and Lindahl Electric are a composite based on the conversations we have with small business owners every week.

Let’s build something.

Tell us a little about your project.