Back to blog

Technical SEO

What Is Schema in SEO? A Plain-English Guide (With Data From 694 Local Business Websites)

What schema markup is, how it works, a JSON-LD example, which types a local business should use, and what we found on 694 local business homepages.

DK 15 min read
Laptop showing website code on a desk next to notebooks
On this page

Schema in SEO is a small block of code that tells search engines what the information on a page means. Without it, Google sees text such as "Open 8 to 6" and a phone number and has to guess what they belong to. With schema, the page states it plainly: this is a plumbing company, this is its address, this is its phone number, these are its opening hours. The vocabulary comes from schema.org, and most sites add it as a JSON-LD script in the page's HTML.

Schema does not push a page up the rankings by itself. What it does is help Google understand your page and make the page eligible for rich results, the search listings that show extra details such as breadcrumbs, prices, event dates or star ratings. For a local business, it is one of the clearest ways to tie your website to your business name, address and phone number.

To see how local businesses actually use it, we checked the homepages of 694 US local service businesses in 11 industries. 83% had some kind of schema, but only about half described themselves as a local business at all. This guide explains what schema is and how it works, then shares what we found and shows how to add it the right way.

Key takeaways:

  • Schema markup is structured data written with the schema.org vocabulary. Google supports JSON-LD, Microdata and RDFa, and recommends JSON-LD in most cases because it is the easiest to add and maintain.
  • It is not a ranking shortcut. Google says structured data can make your pages eligible for rich results, but it "does not guarantee" they will appear.
  • In our check of 694 local business homepages, 83% had some schema but only 52% had LocalBusiness markup, the type that tells Google you are a local business.
  • 24% had only the generic markup an SEO plugin adds by default (WebSite, WebPage, Organization) and nothing about the business type, address or hours.
  • Only 28% of all homepages had LocalBusiness markup with a name, address, phone number and opening hours together.
  • Common mistakes included broken JSON, made-up schema types, FAQ markup that Google no longer shows at all, and self-written star ratings that Google ignores for review stars.

What is schema markup?

Schema markup, also called structured data, is code that labels the facts on a web page in a format machines can read. People read a page and understand from context that "123 Main St" is an address. A search engine can usually work that out too, but schema removes the guesswork.

The labels come from schema.org, a shared vocabulary run as a collaboration between Google, Microsoft, Yahoo and Yandex. It defines hundreds of types, such as LocalBusiness, Plumber, Article, Product and Event, and the properties each type can have, such as name, address, telephone and openingHoursSpecification.

The words "schema", "schema markup" and "structured data" are used almost interchangeably in SEO. Strictly speaking, structured data is the general idea, and schema.org is the vocabulary almost everyone uses to write it.

How does schema work?

You add schema to the HTML of a page. Visitors never see it. When Google crawls the page, it reads the markup alongside the visible content and uses it to understand what the page is about and who it belongs to. If the page qualifies for a rich result, Google can then show extra details in search.

There are three formats. All three use the same schema.org vocabulary. They differ only in how the code is written:

FormatHow it is addedWho uses it
JSON-LDA separate <script> block in the page, apart from the visible HTMLRecommended by Google in most cases. Used by Rank Math, Yoast, Wix and most modern tools
MicrodataAttributes such as itemtype and itemprop added to the visible HTML tagsOlder themes and site builders
RDFaAttributes such as vocab and property added to HTML tagsRare on small business sites

Google's own guide says it recommends the format that is "easiest for you to implement and maintain (in most cases, that's JSON-LD)". Our data matched that: of the 577 homepages with schema, 561 used JSON-LD and only 16 used Microdata alone.

What does schema code look like?

Here is a simple JSON-LD example for a made-up plumbing company. It would sit in the HTML of the homepage or contact page:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "name": "Example Plumbing Co.",
  "url": "https://www.exampleplumbing.com/",
  "telephone": "+1-555-010-0199",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "Nashville",
    "addressRegion": "TN",
    "postalCode": "37201",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
    "opens": "08:00",
    "closes": "18:00"
  }],
  "sameAs": ["https://www.facebook.com/exampleplumbing"]
}
</script>

Each line is a label and a value. "@type": "Plumber" tells Google what kind of business this is. Plumber is a more specific version of LocalBusiness, and Google's local business guide says to "use the most specific LocalBusiness sub-type possible". The rest are facts that should match what is written on the page and on your Google Business Profile word for word.

What is schema used for?

Different types of pages use different schema types. These are the ones that come up most often:

Schema typeUsed onWhat it can do in Google today
LocalBusiness (and subtypes such as Plumber, HVACBusiness, Electrician)Homepage, contact or location pagesGives Google your business details: name, address, phone and hours
OrganizationHomepage or about pageHelps Google understand your brand: logo, social profiles, contact details
WebSiteHomepageTells Google your site name
BreadcrumbListInner pagesCan show the page's position in your site as breadcrumbs in search results
Article / BlogPostingBlog postsHelps Google read the headline, author, dates and images
Product and OfferProduct pagesCan show price, availability and reviews
EventEvent pagesCan show dates and locations in event results
FAQPageFAQ sectionsNothing since May 7, 2026, when Google stopped showing FAQ rich results
Review / AggregateRatingReview pagesStar ratings in results, but not for reviews a business publishes about itself

The last two rows matter for small businesses. Google limited FAQ rich results to well-known government and health websites in August 2023, then stopped showing them for all sites on May 7, 2026. And since September 2019, Google no longer shows review stars for "self-serving" reviews. These are reviews about a business, written or collected by that business, and placed on its own LocalBusiness or Organization markup. A plumber who adds a 4.9-star rating to their own homepage schema won't get stars in search for it.

Does schema help SEO?

Yes, but not the way many people expect. Google doesn't describe schema as a ranking boost. It says structured data helps it understand the page and can make the page eligible for rich results. Its general guidelines also say plainly: "Google does not guarantee that your structured data will show up in search results."

So the value of schema comes in three ways:

  • Clarity. Google doesn't have to guess what kind of business you are, where you are, or how to contact you. The facts on your site are stated in a form a machine can read.
  • Eligibility. Breadcrumbs, product details, event dates and other rich results need structured data. A richer listing can take up more space and earn more clicks than a plain blue link.
  • Consistency. For a local business, matching your schema to your Google Business Profile and your listings is part of the same goal behind every local SEO checklist: one business, described the same way everywhere.

AI search tools also read your pages, and clear, consistent facts make your business easier to describe correctly. There's no public proof that schema by itself gets you cited in AI answers, so treat it as good housekeeping rather than a trick. Our guide to AI SEO covers what matters more there.

What we found on 694 local business websites

Between October and November 2026, we put together lists of US local service businesses while researching outreach for our own agency. The lists covered 11 industries: HVAC, plumbers, roofers, electricians, auto repair, movers, family lawyers, med spas, remodelers, cleaning companies and landscapers. On 27 November 2026, we fetched each business's homepage and read every block of structured data on it.

That gave us 792 websites. 98 could not be checked because they timed out, refused automated visits or no longer loaded, which left 694 homepages. One caveat: these are mostly small, independent businesses, not national chains, and we only checked the homepage. Some businesses keep their LocalBusiness markup on a contact or location page instead, so the real share with any local markup is likely a bit higher than our numbers.

What structured data local business homepages hadLocalBusiness markup (364 sites)52%Schema, but no LocalBusiness (213)31%No structured data at all (117)17%
Source: RankVigor check of 694 US local business homepages in 11 industries, 27 Nov 2026. LocalBusiness includes subtypes such as Plumber or Electrician.

Half the sites never told Google they are a local business

83% of the homepages, 577 of 694, had some structured data. That sounds good until you look at what kind. Only 364 sites, or 52%, had LocalBusiness markup or one of its subtypes. Another 117 sites, or 17%, had no structured data at all.

That leaves 213 sites, or 31%, with schema that never says "local business". For most of them, the markup came from a website builder or SEO plugin with default settings.

Plugin defaults are not enough

167 homepages, or 24% of the sample, carried only generic types: WebSite, WebPage, Organization, ImageObject and BreadcrumbList. That is what Yoast, Rank Math and most site builders output if nobody fills in the local business settings. It tells Google the site exists and what it is called, and not much more. It says nothing about the business type, address, service area or hours.

If you use WordPress with an SEO plugin, this is the most likely gap on your own site. The plugin is installed, so it feels done, but the local details were never filled in.

Local markup was often incomplete

Among the 362 sites with LocalBusiness markup in JSON-LD, the business name was almost always there. But the fields that make local markup useful dropped off quickly:

Fields included in LocalBusiness markupname96%address90%telephone84%opening hours64%areaServed47%sameAs (social profiles)45%priceRange40%geo (coordinates)39%
Source: RankVigor check of 694 US local business homepages in 11 industries, 27 Nov 2026. Base: 362 homepages with LocalBusiness JSON-LD. Green = required by Google.
  • Opening hours were missing on 36% of sites with local markup, even though hours are one of the most practical facts a customer needs.
  • The phone number was missing on 16%.
  • Only 196 sites had a name, address, phone number and hours together. That is 54% of sites with local markup, and just 28% of all 694 homepages.
  • 41% used the generic LocalBusiness type instead of a specific subtype such as Plumber or Electrician, even though Google asks for the most specific type possible.

Google lists name and address as the only required LocalBusiness properties. Telephone, url, geo, openingHoursSpecification and priceRange are recommended. Required means the markup is technically valid without the rest. It doesn't mean the rest is unimportant.

Mistakes we found

Some sites didn't just leave things out. Their markup was wrong:

MistakeHomepagesWhy it matters
FAQPage markup on the homepage82 (12%)Google stopped showing FAQ rich results on May 7, 2026, so it no longer adds a rich result
A star rating (AggregateRating) in the site's own markup53 (8%)Google doesn't show review stars for self-serving reviews on LocalBusiness or Organization markup
JSON-LD blocks with broken code13 (2%)A missing comma or bracket makes the whole block unreadable, so Google ignores it
Schema types that don't exist11 (2%)Names such as HouseCleaningService, CleaningService, LandscapingBusiness and AutoDetailing aren't schema.org types, so they don't tell Google what the business is

The made-up types show up most in industries that have no specific schema.org type of their own. Cleaning companies and landscapers don't get a ready-made subtype the way plumbers and electricians do. Some tools seem to invent one. The safe choice is the plain LocalBusiness type with a clear name and description.

Industry made only a small difference

Share of homepages with LocalBusiness markupAuto repair (56)62%Electricians (77)57%Med spas (56)57%Landscapers (61)57%Remodelers (58)55%Plumbers (89)54%Movers (59)53%Cleaning (58)47%HVAC (86)45%Roofers (40)45%Family lawyers (54)43%
Source: RankVigor check of 694 US local business homepages in 11 industries, 27 Nov 2026. Number of homepages checked in brackets. Green = 55% or more.

Auto repair shops were the most likely to have local markup at 62%. Family lawyers (43%), HVAC companies (45%) and roofers (45%) were the least likely. No industry got past two-thirds, so in every niche we checked, a business can still stand out just by getting the basics right.

Which schema type should a local business use?

Pick the most specific type that exists on schema.org. Don't invent one. For the industries in our sample:

BusinessSchema type to use
PlumberPlumber
HVAC companyHVACBusiness
ElectricianElectrician
RooferRoofingContractor
Remodeler or general contractorGeneralContractor
Moving companyMovingCompany
Auto repair shopAutoRepair
Law firmLegalService (schema.org added it as a broader type than Attorney)
Day spa or med spaDaySpa, or MedicalBusiness if treatments are run by a licensed medical provider
Cleaning company, landscaperLocalBusiness (there is no more specific type)

Avoid ProfessionalService. Schema.org says that type "was deprecated due to confusion with Service", and 7 sites in our sample still used it.

How to add schema to your website

You don't need to write code by hand on most platforms. The steps depend on how your site is built:

  1. WordPress with Rank Math or Yoast: open the plugin's settings and set the site to represent a local business or organization. Then fill in the business type, address, phone, hours and logo. Rank Math has a Local SEO section for this. Yoast's full local business markup needs its Local SEO add-on.
  2. Wix, Squarespace and similar builders: fill in the business information section in the site settings completely. These builders turn those details into markup for you.
  3. Any other site: write a JSON-LD block like the example above and paste it into the page's HTML, usually in the header of the homepage or contact page. Many themes have a box for header code.
  4. Several locations: give each location its own page with its own LocalBusiness markup, matching that location's Google Business Profile.

Whichever route you take, use the exact business name, address and phone number shown on the page and on your Google Business Profile. Google's guidelines say: "Don't mark up content that is not visible to readers of the page."

How to test your schema

Run these checks after you add or change any markup:

  • Rich Results Test: Google's own tool. It shows which rich results your page can get and lists errors in the markup Google supports.
  • Schema Markup Validator: from schema.org. It checks all schema.org markup on the page, including types Google doesn't use for rich results, such as LocalBusiness on a homepage.
  • Google Search Console: the URL Inspection tool asks Google to recrawl a changed page. The Enhancements reports show errors in supported rich results across your site.

A quick manual check also works. Open your homepage, view the page source, and search for "application/ld+json". If nothing comes up, the page has no JSON-LD.

Schema mistakes to avoid

  • Marking up things visitors can't see, such as hours or a phone number that appear only in the code.
  • Adding your own star rating to LocalBusiness or Organization markup in the hope of getting stars in search. Google won't show them. The better path is getting more real reviews on your Google Business Profile, which our guide on how to get Google reviews covers.
  • Using made-up or deprecated types such as CleaningService or ProfessionalService.
  • Leaving a plugin on defaults and assuming the local details are there.
  • Letting details go stale. If you move or change your hours, update the schema at the same time as your Google Business Profile.
  • Breaking the JSON while editing by hand. Test after every change.

Frequently asked questions

Is schema a ranking factor?

Google doesn't describe schema as a direct ranking factor. It says structured data helps it understand your page and can make the page eligible for rich results. A rich result can earn more clicks, and clear business details help Google connect your site to your business, but adding schema alone won't move a page up.

Is schema the same as structured data?

In everyday SEO talk, yes. Structured data is the general idea of labelling page content for machines, and schema.org is the vocabulary almost everyone uses to write it. So "schema markup" usually means structured data written with schema.org types.

Should I use JSON-LD or Microdata?

Use JSON-LD unless your platform only supports something else. Google supports all three formats, but it recommends JSON-LD in most cases because it sits apart from your visible HTML and is easier to add and maintain. In our sample, 561 of the 577 sites with schema used JSON-LD.

Do I need schema if I already have a Google Business Profile?

Your Google Business Profile is the most important listing for local search, and schema doesn't replace it. Schema does a different job: it describes your business on your own website, so Google can match your site to your profile. Use the same name, address, phone number and hours on both.

Can schema get me star ratings in Google?

Not for your own business. Since 2019, Google doesn't show review stars for self-serving reviews in LocalBusiness or Organization markup. Product pages and sites that review other businesses can still be eligible. For a local business, the stars that matter are the ones on your Google Business Profile.

How long does it take Google to see new schema?

Google reads your schema the next time it crawls the page. For an important page, you can speed this up by asking Google to recrawl it with the URL Inspection tool in Search Console. Even then, rich results aren't guaranteed. Google decides when to show them.

The bottom line

Schema is one of the easiest technical fixes a local business can make. It costs nothing on most platforms, it only needs to be set up once, and in our data about half of local businesses still don't have it. Get the basics right: the correct business type, your real name, address, phone and hours, and nothing your visitors can't see. Then test it.

If you'd like someone to check your site's schema and the rest of your technical SEO, request a free audit and we'll tell you what's missing.

  • #local seo
  • #schema markup
  • #structured data
  • #technical seo
Share

Written by

Founder of RankVigor. 10+ years in digital marketing and freelance SEO on Upwork. Sets strategy and oversees client success.

More articles by Dayaram

Want a second pair of eyes?

Get a free SEO audit and find out exactly where your business stands on Google.

Keep reading