Schema Markup Explained: What It Is, How to Add It and Whether It Helps AI Search




Schema markup is a small block of code that labels the key facts on a web page, such as your business name, a product's price or an article's author, in a format search engines read without guessing. It does not change what visitors see. It helps Google understand the page, and it can make the page eligible for richer search listings, such as product prices and star ratings.
This guide covers what schema markup is, a real example you can copy, the types that matter for NZ businesses, how to add and check it, and what it does and does not do for AI search. If you would rather have it set up and maintained for you, it is part of our technical SEO service.
Schema markup is code written with the schema.org vocabulary, a shared set of labels for describing things on the web: organisations, local businesses, products, articles, events, people and hundreds more. Schema.org is backed by Google, Microsoft, Yahoo and Yandex, which sit on its steering group, and is developed as an open community project.
A search engine reading your page sees text, numbers and links, and has to work out what they mean. Schema markup says it plainly: this is a business called X, this is its phone number, this page is an article by Y.
Google describes structured data as "a standardized format for providing information about a page and classifying the page content." It uses that information to understand the page and, where the page qualifies, to show enhanced results.
The two terms are used almost interchangeably, but there is a small difference:
Organization, name and telephone.When an SEO says "add schema" or "add structured data", they usually mean the same job: adding schema.org markup to your pages.
Here is Organization markup for a made-up NZ business. It goes in the code of the home page, inside a script tag, and visitors never see it:
<script type="application/ld+json">{ "@context": "https://schema.org", "@type": "Organization", "name": "Example Joinery Ltd", "url": "https://www.examplejoinery.co.nz", "logo": "https://www.examplejoinery.co.nz/images/logo.png", "telephone": "+64 9 000 0000", "sameAs": [ "https://www.facebook.com/examplejoinery", "https://www.linkedin.com/company/examplejoinery" ]}</script>Line by line:
This format is called JSON-LD. Google supports three formats (JSON-LD, Microdata and RDFa) and recommends JSON-LD, because it sits in one block rather than being woven through your page's HTML. That makes it the easiest to add, check and update.
Schema.org lists hundreds of types, but most business websites only need a handful. Google's own search gallery lists the types it uses for search features, and these are the ones worth starting with.
Every business site should describe the business itself. Google says Organization markup helps it tell your business apart from others with similar names, and the logo property can influence which logo appears in results and in your knowledge panel. Google recommends putting it on the home page or one page that describes your organisation. It does not need to go on every page.
If customers visit you or you serve a set area, use LocalBusiness instead, or a more specific type such as Plumber or Dentist. Google lists name and address as required, and opening hours, phone number, URL and geo coordinates as recommended. Keep the details identical to your Google Business Profile. Our guide to local SEO in Auckland covers why matching details everywhere matters.
For blog posts and guides, Article markup tells Google the headline, author, image and the dates the page was published and last changed. Google says it can help show better titles, images and dates in results. It has no required properties, so add the ones that apply. If you show a "last updated" date on the page, the dateModified value should match it.
For online stores, Product markup is the one that most often shows in results. Google says it lets shoppers see price, availability, review ratings, shipping information and more right in search results. Google splits it in two:
If you run Shopify, check what your theme already outputs before adding more, because duplicate or conflicting product markup is a common problem. Our Shopify SEO guide for NZ stores covers the rest of the store set-up.
Breadcrumb markup shows where a page sits in your site, such as Home, Services, Kitchens. Google says it uses it to categorise the page in search results. It is quick to add and suits any site with more than one level of pages.
FAQPage markup is still valid schema.org code, but Google no longer shows FAQ rich results. Google's documentation says the feature stopped appearing in Google Search from 7 May 2026, after being limited since 2023 to well-known government and health sites. We cover what that means in the section on whether schema is still relevant.
There are three common routes. Which one suits you depends on your platform and how many pages need it.
A sensible order: Organization or LocalBusiness first, then Product if you sell online, then Article, then Breadcrumb. Whichever route you use, write the markup to describe what is on the page, not what you wish was there.
You can check in a few minutes with free tools:
application/ld+json. If nothing comes up, the page has no JSON-LD markup, although it may still use another format.Test after every site change. A theme update, a new plugin or a template edit can quietly remove or duplicate markup.
Not directly. Schema markup helps Google understand your pages and makes them eligible for rich results. It is not a shortcut to a higher position.
What it can do is make a listing more useful. A product result showing price and stock, or a business result with the right logo and details, gives searchers more reason to pick it. Google says adding structured data "can enable search results that are more engaging to users."
Two limits to know:
Google's answer is clear. Its guide to AI features says: "Structured data isn't required for generative AI search, and there's no special schema.org markup you need to add." The same guide says it is still "a good idea to continue using it as part of your overall SEO strategy."
In other words, there is no special AI schema that gets you into Google's AI Overviews or AI Mode. Google also says you do not need new machine-readable files or AI text files to appear in its AI features. The same pages that rank well in normal results are the ones its AI features draw on. Our guide to getting cited in Google AI Overviews covers what does help.
Where schema earns its place in AI search is consistency. AI tools build their picture of your business from your website, your Google Business Profile, directories and other sites that mention you. Clean Organization or LocalBusiness markup states your name, website, phone number and official profiles in one unambiguous place. When those facts match everywhere else, there is less room for an AI tool to get them wrong or confuse you with a similar business.
Other AI assistants, such as ChatGPT and Perplexity, search the web and cite pages too. Treat schema as one part of being easy to understand, alongside clear pages that answer questions in the first sentence or two, and reviews and mentions on trusted sites. Our posts on AEO vs SEO and how to get recommended by ChatGPT go further. If you want the whole picture handled, see our AI SEO service.
Yes, but for different reasons than a few years ago.
Google has been trimming the rich results it shows. FAQ rich results, once a popular way to take up more space on the results page, stopped showing for all sites from 7 May 2026. Google has also retired several smaller features over the past two years. If your main reason for adding schema was to win extra space with FAQ dropdowns, that reason has gone.
What still holds:
The practical shift is from chasing visual extras to getting the core facts about your business, products and content stated clearly and kept accurate.
Most problems we see fall into a few groups:
Google can apply a manual action for spammy or misleading markup. Google says this removes the page's eligibility for rich results rather than affecting how it ranks, but it is still worth avoiding.
Schema markup is code added to a web page that labels its key facts, such as a business name, a product price or an article's author, using the shared schema.org vocabulary. Visitors do not see it. Search engines read it to understand the page, and Google uses it to decide whether the page is eligible for richer search listings.
A common example is Organization markup on a home page. It is a short JSON-LD block inside a script tag that states the business name, website, logo, phone number and official social profiles. Product markup on a product page, stating the price and whether it is in stock, is another. Both are shown or described earlier in this guide.
Paste a page address into Google's Rich Results Test, which shows the structured data Google can read and any errors. For a check against all schema.org types, use the Schema Markup Validator. You can also view the page source and search for "application/ld+json". Google Search Console reports on markup across your whole site.
Not directly. Google uses structured data to understand pages and decide whether they can show rich results, such as product prices. It does not promise those results, and markup will not lift a weak page up the rankings. Its value is a clearer, more useful listing and fewer mistakes in how your business is described.
No. Google says structured data is not required for its generative AI features and there is no special markup to add. It still recommends structured data as part of normal SEO. Clean business markup helps keep your facts consistent, which supports how AI tools describe you, but clear, useful pages matter far more.
Google stopped showing FAQ rich results from 7 May 2026, so FAQPage markup no longer earns extra space in results. The markup itself is still valid and does no harm if it matches the questions and answers visible on the page. If time is short, spend it on Organization, Product or Article markup first.
Want schema, site structure and speed handled as one job? See how our technical SEO service works, or request a free strategy.