Person coding on computer with sticky notes.

What Is Schema Markup? How Structured Data Helps SEO and AI Search

Schema markup is code you add to a web page that tells search engines exactly what the page is about, in a vocabulary they all understand. Google calls it structured data: “a standardized format for providing information about a page and classifying the page content.” It can make your pages eligible for rich results, like breadcrumbs or review stars, and it helps search engines and AI tools understand your business. It doesn’t guarantee either.

This guide explains how schema works, what it can and can’t do, which types matter for local businesses, how it relates to AI search, and how to add and test it.

How Schema Markup Works

A person reading your page knows that “(555) 555-0100” is your phone number and “Mon to Fri, 8 to 5” is your hours. A machine has to guess. Schema removes the guess by labeling each fact.

Two pieces make it work:

  • The vocabulary: schema.org. Schema.org is a shared set of types and properties, started by Google, Microsoft, Yahoo and Yandex. It defines things like LocalBusiness, telephone and openingHours so every search engine reads them the same way.
  • The format: JSON-LD. Google recommends JSON-LD where your setup allows it. It’s a block of script that sits in the page and doesn’t change what visitors see. Google also accepts Microdata and RDFa.

A minimal example for a fictional business looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "@id": "https://www.exampleplumbing.com/#business",
  "name": "Example Plumbing Co",
  "url": "https://www.exampleplumbing.com/",
  "telephone": "+1-555-555-0100"
}
</script>

What Schema Markup Can Do

  • Make pages eligible for rich results. Breadcrumb trails, article details, product info and review stars all depend on structured data. Eligible is the key word. Google’s structured data policies say it does not guarantee your markup will show in results, even when it’s correct.
  • Help machines understand your business. Google says Organization markup can help it disambiguate your organization from others with similar names. That’s the core of entity SEO.
  • Connect your facts. An @id and a sameAs list tie your website, profiles and pages to one business.

What it won’t do is rescue thin content. Schema describes a page. It doesn’t make the page better.

Schema Types That Matter for Local Businesses

There are hundreds of schema.org types. A local service business usually needs a handful.

Organization and LocalBusiness

Use the most specific LocalBusiness subtype that fits, such as Plumber, Dentist or HVACBusiness. Google requires name and address and recommends url, telephone, geo and openingHoursSpecification. Add sameAs links to your official profiles. Put this on your homepage or contact page, and on each location page if you have more than one. Keep it identical to your NAP details everywhere else.

Service

Service markup describes what you do on each service page: the service name, the business providing it and the area served. Google doesn’t show a rich result for it, but it adds clarity about what each page offers.

FAQPage

In August 2023, Google announced that FAQ rich results would only be shown for well-known, authoritative government and health websites. Most businesses won’t get the dropdowns anymore. Google also said there’s no need to remove existing FAQ markup. It still describes the questions on the page, so it’s fine to keep when it matches visible content.

Article

Article markup on blog posts states the headline, author, publisher and dates. It helps Google show the right title, image and date for your posts.

BreadcrumbList

Breadcrumb markup shows where a page sits in your site, like Home > Services > Water Heater Repair. Google can show that trail in results in place of a raw URL.

Review and AggregateRating

This is where many businesses get it wrong. Google’s review snippet guidelines say that if a business controls the reviews about itself, its pages using LocalBusiness or Organization markup are ineligible for star ratings. That includes reviews pulled in through an embedded widget. Testimonials on your own site won’t earn stars for your business. Focus on reviews on your Google Business Profile instead.

Schema Markup and AI Search

Google is direct about this. Its guide to AI features and your website says there’s no special schema.org structured data you need to add to appear in AI Overviews or AI Mode. The same guide lists “making sure your structured data matches the visible text on the page” as a best practice.

So schema isn’t a shortcut into AI answers. It’s useful because it makes your facts unambiguous, and AI tools draw on the same web as search engines. The bigger wins for AI visibility are covered in our guides to AI search optimization for local businesses, ranking in Google AI Mode and answer engine optimization.

How to Add Schema Markup

  • Use a plugin. On WordPress, SEO plugins such as Yoast SEO and Rank Math output Organization, Article and BreadcrumbList markup automatically. Set your business type, name, logo and profiles in the settings.
  • Write JSON-LD by hand. For LocalBusiness or Service details a plugin doesn’t cover, write a JSON-LD script and add it to the page, using a custom HTML block or your theme’s header.
  • Use one source. Two plugins plus a hand-coded block can output conflicting markup for the same business. Pick one and turn the others off.

How to Test Schema Markup

  • Google’s Rich Results Test shows which rich results a page is eligible for and flags errors and warnings. Google recommends it during development.
  • Schema Markup Validator checks any schema.org markup, including types Google doesn’t use for rich results.
  • Google Search Console reports structured data issues across your whole site once pages are crawled.

Common Schema Mistakes

  • Marking up content visitors can’t see. Google’s policies say not to. Every fact in your markup should be on the page.
  • Self-serving review stars. Adding AggregateRating to your own LocalBusiness markup won’t earn stars and breaks the guidelines.
  • Facts that don’t match. A phone number in schema that differs from your Business Profile creates the confusion schema is supposed to fix.
  • Generic types. Using LocalBusiness when Electrician exists throws away useful detail.
  • Duplicate or conflicting markup from several plugins on the same page.
  • Set and forget. When your hours, address or services change, update the markup too.

Frequently Asked Questions

Does schema markup improve rankings?

Not directly. Google uses structured data to understand a page and to decide whether it’s eligible for rich results. Rich results can make a listing stand out, but Google doesn’t guarantee them, and markup alone won’t move a weak page up.

What is the best schema type for a local business?

The most specific LocalBusiness subtype that fits, such as Plumber, Dentist or Attorney, with your name, address, phone, website, hours and sameAs profile links. Add Service, BreadcrumbList and Article markup on the pages where they apply.

Do I need schema to show up in Google’s AI Overviews?

No. Google says no special schema is needed for AI Overviews or AI Mode. Your page needs to be indexed and eligible to show a snippet. Any structured data you do use should match the visible text on the page.

Can I add schema without a developer?

Yes. SEO plugins such as Yoast SEO and Rank Math add basic schema for you on WordPress, and most let you set your business type. For custom markup, you can paste a JSON-LD script into the page and test it with Google’s Rich Results Test.

Get Help With Schema and AI Search

Local Blitz has worked on local SEO since 2009, from offices in San Diego (Encinitas) and Indianapolis. We set up and audit schema as part of our AI search optimization work, month-to-month. Book a free strategy call and we’ll check what your markup says about your business and what it’s missing.

Is AI recommending your business?

We will ask ChatGPT, Gemini and Google AI about your business and show you what they say. It is free.

Get My Free AI Check

Want More Customers From Search?

Book a free strategy call, or call San Diego (858) 225-6877 or Indianapolis (317) 672-1156.