---
title: "What is schema markup? Structured data explained for local businesses — DigitalMaas"
description: "Schema markup in plain English: what structured data is, how it can earn rich results, how to add LocalBusiness markup, and how to test it with Google’s tools."
url: https://www.digitalmaas.com/blog/what-is-schema-markup-and-structured-data/
---

- [Home](https://www.digitalmaas.com/)
- [Blog](https://www.digitalmaas.com/blog/)
- What is schema markup and structured data?

[Local SEO and rankings](https://www.digitalmaas.com/blog/topic/localseo/)

# What is schema markup and structured data?

Schema markup in plain English: what structured data is, how it can earn rich results, how to add LocalBusiness markup, and how to test it with Google’s tools.

Scott Francis · Updated 2026-11-17 · 4 minutes read

*Updated 17 November 2026. We first wrote this in 2018. Google has since retired the Structured Data Testing Tool we used then, so this version uses Google's current tools, and adds what local businesses should mark up and why it matters for AI answers.*

If you work on a website, you've probably heard the terms "schema markup", "structured data" and "rich snippets". They sound technical, but the idea is simple.

## What is schema markup?

Schema markup is a set of labels you add to your web page's code. The labels tell search engines exactly what each piece of information is.

People can usually tell what's on a page at a glance. Search engines have to work it out. Picture a page with three phone numbers on it. Which one is the main number for the business? A person can guess. A search engine might not.

Schema markup removes the guesswork. You label one number as the business phone number. You label the address, the business name, the opening hours, the author of an article, and so on. The labels are hidden from visitors but visible to search engines.

The labels come from a shared vocabulary at [schema.org](https://schema.org/), which Google, Microsoft and other search engines support. The markup itself is called **structured data**.

## What structured data can do

Structured data helps Google understand your page. It can also make your page eligible for **rich results**: search results with extra detail, such as star ratings, prices, event dates, recipe steps or FAQs.

Rich results take up more space on the page and give searchers more reasons to click. Google decides when to show them, so markup makes you eligible, not guaranteed.

Google's [introduction to structured data](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data) explains how it works and lists the types Google supports.

## Structured data for local businesses

If you have a physical location, the most useful type is **LocalBusiness**, or a more specific type such as Restaurant, Dentist or Store. It describes your:

- business name
- address
- phone number
- opening hours
- website and logo
- location on the map

Google's [local business structured data guide](https://developers.google.com/search/docs/appearance/structured-data/local-business) lists the properties it reads.

Your website markup should match your Google Business Profile exactly: same name, same address, same phone number. Consistent details everywhere make it easier for Google to trust them.

If you have many locations, give each one its own page on your website, with its own LocalBusiness markup.

## Why it matters for AI answers

AI assistants and AI answers in search read web pages to find facts about businesses. Clear, labelled information is easier for them to pick up correctly than details buried in a paragraph or an image.

Structured data won't get you into AI answers on its own. But accurate, consistent details on your site, your profiles and your markup all point the same way. Our guide to [getting recommended by AI assistants](https://www.digitalmaas.com/blog/get-recommended-by-ai-assistants/) covers the rest.

## How to add schema markup

Google recommends **JSON-LD**: a block of code in your page that sits apart from the text your visitors read. Your web developer can add it to your page templates, and many website platforms and plugins add basic markup for you.

A few rules:

- **Only mark up what's on the page.** Don't label content visitors can't see.
- **Keep it accurate.** If your hours change, your markup should change too.
- **Use the most specific type that fits.** A café is better described as a CafeOrCoffeeShop than as a general LocalBusiness.

## How to test your markup

Google's old Structured Data Testing Tool has been retired. Use these instead:

- **[Rich Results Test](https://search.google.com/test/rich-results):** shows which Google rich results your page is eligible for, and any errors.
- **[Schema Markup Validator](https://validator.schema.org/):** checks any schema.org markup, including types Google doesn't show as rich results.

After your pages are live, Google Search Console reports on the structured data it finds across your site. Our guide to [installing Google Analytics and Search Console](https://www.digitalmaas.com/blog/install-google-analytics-search-console/) shows how to set it up.

## Checking your site

Structured data is one part of a healthy site. [Search Intelligence](https://www.digitalmaas.com/search-intelligence/) runs a technical audit and checks whether AI engines can read your site, then gives you the fixes in order of impact, written as tasks.

**How you rank against nearby rivals, and the fixes to pass them.**

[Get my report](https://grow.digitalmaas.com/free-local-marketing-report)

## In this guide

1. [What is schema markup?](#what-is-schema-markup)
2. [What structured data can do](#what-structured-data-can-do)
3. [Structured data for local businesses](#structured-data-for-local-businesses)
4. [Why it matters for AI answers](#why-it-matters-for-ai-answers)
5. [How to add schema markup](#how-to-add-schema-markup)
6. [How to test your markup](#how-to-test-your-markup)
7. [Checking your site](#checking-your-site)

## More in Local SEO and rankings

- [Local SEO: a plain-English guide for Australian businesses](https://www.digitalmaas.com/blog/local-seo-guide/)
- [How to boost local search and grow organic traffic for a multi-location business](https://www.digitalmaas.com/blog/how-to-boost-local-search-grow-organic-traffic-for-your-multi-location-business/)
- [Visual search and local SEO: how Google Lens finds your business](https://www.digitalmaas.com/blog/visual-search-local-seo/)

[All guides in this topic ›](https://www.digitalmaas.com/blog/topic/localseo/)

## Do this in DigitalMaas

Is each of our locations showing up correctly where customers look, and what should we fix first?

[Local Intelligence ›](https://www.digitalmaas.com/local-intelligence/)

## Common questions

### Does schema markup improve rankings?

Not on its own. Structured data helps Google understand your page and can make it eligible for rich results, which can earn more clicks. It doesn’t guarantee them.

### Which format should I use?

Google recommends JSON-LD: a block of code in the page that sits apart from the text your visitors read.

### How do I test my markup?

Use Google’s Rich Results Test to see which rich results a page can show, and the Schema Markup Validator to check any schema.org markup.
