Guide
What is schema markup, and what does it still do?
Schema markup is code on a web page that labels its facts for search engines: this is a business, this is its address, these are its opening hours. It can make a page eligible for some of Google's rich results, and it makes your details easier for machines to read. It isn't a shortcut into AI answers. This guide shows what it looks like for a local business, what 50 Perth business websites carry, and what it still does in Google.
Written byShaneHead of Delivery and Technology
Reviewed byJosh MackayHead of Growth and Client Relationships
- Published
- Updated
- Last reviewed
Key takeaways
- Schema markup labels the facts on a page, such as your business name, address and hours, using the schema.org vocabulary. Google recommends the JSON-LD format.
- It can make a page eligible for some rich results, such as local business details and review snippets. Google stopped showing FAQ rich results from 7 May 2026.
- Google says structured data isn't required for its AI search features, and one Ahrefs study found adding schema produced no major uplift in AI citations.
- Of 50 Perth business websites in Google map packs, 46 carried some structured data, but only 28 had a LocalBusiness type as a top-level item in their JSON-LD.
What schema markup is
Schema markup is a set of labels added to a page's code so search engines can read its facts without guessing. The labels come from schema.org, a shared vocabulary of types, such as LocalBusiness, Product or Event, and properties, such as name, address or opening hours. Schema.org describes itself as "a collaborative, community activity", and its founding companies were Google, Microsoft, Yahoo and Yandex.
Google calls it structured data. Its introduction to structured data says "Google uses structured data that it finds on the web to understand the content of the page". There are three formats: JSON-LD, microdata and RDFa. Google recommends JSON-LD "if your site's setup allows it", and calls it the easiest for website owners to set up and maintain. Structured data is one part of on-page SEO, alongside titles, headings, alt text and links.
How schema markup works
Most sites add schema markup as a block of JSON-LD in the page's HTML. Visitors don't see it. Search engine crawlers read it along with the page, and use it to understand what the page is about. If your site runs on a content management system, Google's local business documentation notes "It may be easier to use a plugin" than to write the code by hand.
The markup has to match what people see. Google's general structured data guidelines say "Don't mark up content that is not visible to readers of the page". Then check it. Google's testing guide recommends starting with its free Rich Results Test, which shows the Google rich results a page can get, and the Schema Markup Validator for any schema.org markup.
A schema markup example for a local business
Here's what JSON-LD markup looks like for a made-up Perth electrician with premises customers can visit, such as a showroom or trade counter. It follows Google's local business guidance, cut down to the properties a small business like that would use. The table under it explains each line.
{
"@context": "https://schema.org",
"@type": "Electrician",
"name": "Example Electrical Perth",
"url": "https://electrical.example/",
"telephone": "+61 8 5550 1234",
"address": {
"@type": "PostalAddress",
"streetAddress": "1 Example Lane",
"addressLocality": "Osborne Park",
"addressRegion": "WA",
"postalCode": "6017",
"addressCountry": "AU"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "07:00:00",
"closes": "17:00:00"
}
]
}| Line | What it says | Google's guidance |
|---|---|---|
| @context | The labels come from the schema.org vocabulary. | Google's own examples start with the same line. |
| @type | The business is an Electrician, one of the LocalBusiness sub-types. | "Use the most specific LocalBusiness sub-type possible". |
| name | The business name, the same as on its Business Profile. | Required. |
| url | The page for this business. | Recommended. "The URL must be a working link." |
| telephone | The main phone number, with +61 for Australia and 8 for WA. | Recommended. "Be sure to include the country code and area code". |
| address | The premises customers visit: street, suburb, state, postcode and country, the same as on its Business Profile. | Required: "The physical location of the business." |
| openingHoursSpecification | Open 7 am to 5 pm, Monday to Friday. | Recommended. Opening and closing times use the hh:mm:ss format. |
Source: Local Business (LocalBusiness) Structured Data, Google Search Central.
Three things are left out on purpose:
- geo, the map coordinates. Google recommends it and says "The precision must be at least 5 decimal places". If you add it, use the coordinates of the premises customers visit; we left it out because this business is made up.
- aggregateRating and review. Google says rating markup "is only recommended for sites that capture reviews about other local businesses", and its review snippet rules make a business that controls the reviews about itself ineligible for review stars.
- Anything a visitor can't see on the page, because Google's guidelines say not to mark it up.
The phone number is from ACMA's range for creative works, and the .example domain is reserved, so neither reaches a real business. If customers visit your premises, swap in your own details and keep them the same as your Business Profile. If you work from home and hide your address on your profile, don't publish it in your markup either: Google's local business markup needs a physical location, so it suits a business with premises customers visit. Our local SEO guide covers addresses for businesses without a shopfront.
What Perth business websites use
To see what local businesses actually carry, we read the page each map pack listing linked to on 19 Perth customer searches: 53 websites, of which 50 loaded. We counted what was in the HTML each server sent.
| What the served HTML contains | Websites (of 50) |
|---|---|
| Any structured data we detected (JSON-LD, microdata or RDFa) | 46 |
| JSON-LD | 45 |
| Microdata (alone or alongside JSON-LD) | 15 |
| Microdata or RDFa without JSON-LD | 1 |
| A top-level LocalBusiness type in the JSON-LD, such as Electrician, Dentist or RoofingContractor | 28 |
| A top-level Organization type in the JSON-LD, but no LocalBusiness type | 11 |
| FAQPage in the JSON-LD | 9 |
| Rating or review in the JSON-LD (AggregateRating or Review, for any item) | 8 |
| None of the three formats detected | 4 |
Most of these sites already carry some markup, 46 of 50, but only 28 have a LocalBusiness type as a top-level item in their JSON-LD, the type Google's local business documentation is about. 9 still carry FAQPage markup, which Google no longer shows as a rich result. And 8 carry rating or review markup in their JSON-LD. Our check didn't establish what was being rated, or whether Google would show stars for it.
How we counted
2 sites had a JSON-LD block our parser couldn't read, and we counted them as having JSON-LD. We read types from JSON-LD only: for microdata and RDFa we recorded only whether they were there, and we found no RDFa. "Top-level" means a root item or a member of an @graph list: where the type sits in the markup, not proof of what the page is about. We record counts only and don't name the businesses.
What schema still does in Google
Google uses structured data in two ways: to understand pages, and to show rich results, the search listings with extra detail such as review stars, product prices or event dates. Its list of supported features includes local business, product, event, breadcrumb and review snippet, among others. Each has its own documentation and required properties.
The list has shrunk. Google added a deprecation notice to its FAQ rich result in 2026, saying the feature "will no longer appear in Google Search starting May 7, 2026", and its documentation updates later record that "The FAQ rich result feature is no longer shown in Google Search results". How-to rich results went earlier: Google removed that documentation "as this rich result is no longer shown in search results".
Even for the features that remain, nothing is automatic. Google's guidelines say it "does not guarantee that your structured data will show up in search results, even if your page is marked up correctly according to the Rich Results Test". Correct markup makes a page eligible; Google decides what to show.
Does schema markup help with AI answers?
Not in any special way, according to Google. Its guide to optimising for its generative AI features says "Structured data isn't required for generative AI search, and there's no special schema.org markup you need to add". It still recommends structured data as part of your SEO, because "it helps with being eligible for rich results on Google Search".
One vendor study tested it directly. Ahrefs tracked 1,885 pages that added JSON-LD schema between August 2025 and March 2026, compared them with 4,000 matched pages, and reported in May 2026 that "Adding schema produced no major uplift in citations on any platform". Citations in AI Mode and ChatGPT changed by amounts it could not tell apart from zero, and AI Overview citations fell slightly faster than on the comparison pages. Most pages in the study were already cited hundreds of times a day, so it says less about a small site starting out. It is one study, but it agrees with what Google says.
So use schema markup for what it does: clear facts and rich result eligibility. For Google's AI features, Google says the work is the same as SEO; our guide to AEO covers it, and our guide to Google AI Overviews explains how those answers choose their sources.
Mistakes to avoid
Most schema problems on small business sites come from one of these. The two free tools above catch errors in the code itself, but not the rest: you check those by comparing your markup with your page and your Business Profile.
- Marking up things visitors can't see. Google's guidelines say markup must describe what is on the page.
- Review stars on reviews of your own business. Google says a business that controls the reviews about itself is ineligible for review stars when it uses LocalBusiness or Organization markup.
- Details that disagree with your Business Profile. If your markup, website and profile give different hours or phone numbers, customers and search engines can't tell which is right.
- Copying an example without changing it. Every value in the example above is made up, and yours must be your real details.
- Expecting a rich result. Correct markup makes a page eligible, and Google decides whether to show one.
Structured data is one step in a wider list. Our guide to how to rank on Google puts it in order with the rest, and our SEO service can check and fix it for you.
Sources
- Introduction to structured data markup in Google Search, Google Search Central. Checked 3 December 2026.
- General structured data guidelines, Google Search Central. Checked 4 December 2026.
- Test your structured data, Google Search Central. Checked 4 December 2026.
- Local Business (LocalBusiness) Structured Data, Google Search Central. Checked 3 December 2026.
- Review Snippet (Review, AggregateRating) Structured Data, Google Search Central. Checked 3 December 2026.
- Structured data markup that Google Search supports, Google Search Central. Checked 4 December 2026.
- Latest documentation updates, Google Search Central. Checked 4 December 2026.
- Changes to HowTo and FAQ rich results, Google Search Central Blog. Checked 4 December 2026.
- Google’s Guide to Optimizing for Generative AI Features on Google Search, Google Search Central. Checked 3 December 2026.
- We Tracked 1,885 Pages Adding Schema. AI Citations Barely Moved., Ahrefs. Checked 3 December 2026.
- About Schema.org, Schema.org. Checked 4 December 2026.
- Phone numbers for use in TV shows, films and creative works, Australian Communications and Media Authority (ACMA). Checked 4 December 2026.