In short
Schema markup is a short block of code on a page that states the facts about your business in a format search engines read without guessing: the name, the kind of business, the address, the hours, the phone number. A business with a location or a service area should have it, and for most that is under 40 lines. It does not guarantee a ranking or a special listing, and it only works when every line matches what the page visibly says.
By 
The schema markup a business with one location needs fits in one short block: the sample below is 38 lines long. The whole thing is on this page, a little further down, with a note on every part of it. Google requires two things in it: a name and an address. Everything else is optional, and every line repeats a fact that is already on the page for visitors.
So here is the verdict before the code. Schema markup is a label, not a lever. It tells a search engine who you are so it does not have to guess. It does not move you up the results by itself, and some of what is still sold around it stopped working years ago. If your business has a location or a service area, you should have it, and it should be right. Your platform or a plugin may already have added a basic block, and checking is free: the steps are under Test yours.
Last checked: . Every quote from Google, Schema.org and the website platforms below was read at its source on this date.
What it is, and where it sits
Schema markup is a shared vocabulary for describing a web page to a machine. The vocabulary lives at Schema.org, which was founded by Google, Microsoft, Yahoo and Yandex and reported that, as of 2024, "over 45 million web domains" use it. Google calls the result structured data: "a standardized format for providing information about a page and classifying the page content" (Google: Introduction to structured data).
On the page it is a block of text inside a script tag. A visitor never sees it. The format is called JSON-LD, and Google recommends "a format that's easiest for you to implement and maintain (in most cases, that's JSON-LD)". The older formats wrap the visible text in extra attributes. They still work, and I would not use them for anything new.
One rule governs all of it, and Google states it in one sentence: "Your structured data must be a true representation of the page content" (Google: General structured data guidelines). Every line of the label points at something a visitor can read.
Two cards side by side. The left card is a web page showing a business name, its opening hours and its phone number. The right card is the label a machine reads, with the lines name, hours and telephone, each joined by an arrow to the matching fact on the page. A fourth line on the label, a rating of 5, points at an empty space on the page marked "no rating on the page" and is crossed out.
The code, line by line
This is a complete, valid example for a childcare center. The business is invented: the name, street, phone number and web address are samples, and the phone number uses the 555 range kept for made-up numbers. Read it once top to bottom. It is closer to a filled-in form than to programming.
JSON-LD A sample local business. Not a real one.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ChildCare",
"@id": "https://www.example.com/#business",
"name": "Sample Street Childcare",
"url": "https://www.example.com/",
"telephone": "+15205550100",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 Sample Street",
"addressLocality": "Tucson",
"addressRegion": "AZ",
"postalCode": "85701",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 32.22174,
"longitude": -110.92648
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday", "Tuesday", "Wednesday",
"Thursday", "Friday"
],
"opens": "07:00",
"closes": "18:00"
}
],
"sameAs": [
"https://www.facebook.com/example",
"https://www.instagram.com/example"
]
}
</script>
- a Line 1. The wrapper. It tells the browser "this is data, do not show it". The closing tag is on the last line.
- b Line 3. Says which vocabulary the words below come from. Always this exact line.
- c Line 4. The kind of business. Google asks for the most specific type that fits, so a childcare center is ChildCare, not the generic LocalBusiness.
- d Line 5. A permanent name tag for this business, so other pages of the site can refer to it without repeating everything. It is an address used as an ID, and nobody visits it.
- e Line 6. Required. The name exactly as it appears on the page, on the sign and on the Google Business Profile.
- f Lines 7 to 8. Recommended. Google asks for a working link to this location's own page, and a phone number with the country code and area code. That is why the number starts with +1.
- g Lines 9 to 16. Required. The physical address, split into parts so nothing has to be guessed. Each part matches the footer of the page.
- h Lines 17 to 21. Recommended. The spot on the map. Google asks for at least five decimal places.
- i Lines 22 to 32. Recommended. Opening hours in 24-hour time. A business with different weekend hours adds a second block. This is the part that goes stale first.
- j Lines 33 to 36. Optional. The business's official profiles on other sites, so they are tied to the same business.
What Google requires, and what it only recommends
Google's page for local businesses lists exactly two required fields. The name: "The name of the business." And the address: "The physical location of the business." The recommended list on the same page is short too: phone, link, map coordinates, opening hours, a price range, a menu for places that serve food, and departments for a business that has them.
On the type, the page says: "Use the most specific LocalBusiness sub-type possible; for example, Restaurant, DaySpa, HealthClub, and so on." Schema.org lists the sub-types, and there are more than most people expect: ChildCare, EmploymentAgency, MedicalBusiness, DaySpa and Dentist are all there.
You do not earn anything by filling in every field you can find. Google's introduction says "it is more important to supply fewer but complete and accurate recommended properties" than to supply all of them badly. I would rather ship ten true lines than forty hopeful ones.
Which type fits which business
The example above is one type on a long list. A handful covers nearly every small business. The last column is limited to what Google's own list of supported features and its page for each type say today.
| Type | Fits | What Google does with it |
|---|---|---|
| LocalBusiness, or a sub-type | Any business people visit, or a branch of one | Business details in the knowledge panel: hours, directions and more |
| Organization | The company behind the site, on the home page | Logo, name, address and contact details in knowledge panels |
| Product | A shop selling things on its own pages | Price, availability and review ratings in results |
| Article or BlogPosting | Blog posts and news | Better title text, images and dates for the post |
| BreadcrumbList | Any site with sections and sub-pages | The page's place in the site, shown on desktop |
| Service | A page about one service | Nothing visible. Not on Google's list |
| FAQPage | A page of questions and answers | Nothing visible since May 7, 2026 |
Two notes on reading that table. "Nothing visible" does not mean wrong or harmful. Service and FAQPage are real Schema.org types, and they still describe the page to any system that reads them. They just do not change how your result looks in Google.
And Organization and LocalBusiness are not a choice between two. A business with one location can use its LocalBusiness sub-type for both jobs. Google's Organization page says a local business should give its details "using the most specific subtype(s) of LocalBusiness", and that the organization block belongs on the home page: "You don't need to include it on every page of your site." A business with several locations has one Organization and one LocalBusiness per location, each on that location's own page. More on those pages in what a location page needs to be found.
Four things it will not do
It will not guarantee anything
Google's guidelines mark this one as important: "Google 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." Markup makes a page eligible for a feature. Google decides, search by search, whether to show it.
It will not get your questions a dropdown in Google
This one went in two steps, and plenty of guides have not caught up with either. On August 8, 2023, Google announced that FAQ rich results "will only be shown for well-known, authoritative government and health websites". Then, in an entry dated May 8, 2026, Google's documentation updates said of the FAQ rich result: "This feature will no longer appear in Google Search starting May 7, 2026." In June 2026 Google removed the documentation page itself. Its old address now forwards to the removal entry on that same updates page.
What is still fine, and worth saying plainly: a section of real questions and answers on your page is as useful to a visitor as it ever was, so keep it. If your site already has FAQPage markup, you do not have to strip it out. Google's 2023 post said "there's no need to proactively remove it", because unused structured data "does not cause problems for Search, but also has no visible effects in Google Search". Peanut Media's own home page carries FAQPage markup as of November 2026. What I would not do is pay anyone to add it as a search feature.
It will not put stars under your own business
Google's review snippet page is exact about this: "If the entity that's being reviewed controls the reviews about itself, their pages that use LocalBusiness or any other type of Organization structured data are ineligible for star review feature." It covers reviews placed in the markup directly and reviews shown "through an embedded third-party widget". The rule has been in place since September 16, 2019. Since July 24, 2026, the same page also says: "Don't include fake or undisclosed incentivized reviews on your page or in your structured data markup."
Read that rule narrowly, because it is narrow. Showing real reviews on your own page, with the reviewer's name and the rating they gave, is fine and is good for visitors. Quoting your Google reviews with a link back to them is fine. What does not work is the star markup on your own site, aimed at stars in the search results. The stars you see next to a business in Google Maps are Google's own reviews, on its Business Profile, which is a separate thing from your website. Reviews of a product you sell are a different case, and Google can show those.
It will not get you into AI answers by itself
Google says so twice. On its AI features page: "There's also no special schema.org structured data that you need to add." And in its guide to generative AI search: "Structured data isn't required for generative AI search". The same guide still calls it "a good idea to continue using it", and Microsoft describes schema as code that "helps search engines and AI systems understand your content" (Microsoft: content for AI search answers). Both are true. It helps you be understood, and it is not a switch. More in how AI tools decide which business to recommend.
How it gets onto a site, and what goes wrong with each
There are four ways the block ends up on a page. None is wrong. Each fails in its own way.
| How | Good at | What goes wrong |
|---|---|---|
| The website platform adds it | Nothing to set up | You get what the platform decided, from whatever is in your settings |
| A plugin adds it | Many types, kept current by its maker | Defaults nobody filled in; two plugins describing the same business twice |
| Pasted in by hand | Full control of every line | Nobody updates it when the hours or the phone number change |
| Built into the page templates | Reads the same fields the page shows, so the two cannot drift | Needs a developer once, at build time |
The platform. Squarespace states that it "automatically generates structured data", including a Local business block, using "schemas, which you can't edit or remove" (Squarespace help). So the fix for a wrong block there is in your business information settings, not in code. Wix builds its Local Business markup from your Business Info and adds a limit worth knowing: "Wix creates Local Business markup for your primary location only. If you have multiple business locations, we don't create markups for each additional location" (Wix help).
A plugin. On WordPress this is the usual route. Yoast, one of the common ones, says it "adds this data automatically using JSON-LD" (Yoast). Automatic is the strength and the trap. One common problem on a site I take over is markup a plugin switched on by default: it passes every test, and it describes a generic organization with no type, no hours and sometimes the wrong phone number.
By hand. Fine for one page that rarely changes. The example above would work pasted into a page today. It fails on the day the hours change and nobody remembers the block exists.
In the templates. This is how I build it. On the sites I build at Peanut Media, the hours a visitor reads and the hours in the markup come out of the same field in the editor, so changing one changes both. It is the only one of the four where the "true representation" rule keeps itself. A site that is staying as it is can get the same result with one written source for the hours and one person who owns every update.
On paying someone to add schema

Owners forward me quotes for a "schema package" and ask if they should say yes. Most of them are not rebuilding their site this year. They just want it done properly.

My first answer is that it should have come with the build. Describing the business correctly is part of making the site, not an extra.

That does not help the owner whose site is five years old and came with nothing. For her, an hour or two of someone's time is a fair thing to pay for.

Agreed. Setting it up is a one-time job, so a one-time price fits. A monthly fee is fair when it buys something every month: someone who updates the markup when your hours, services or locations change, as part of looking after the site. Either way, ask for three things in writing: which pages get which type, the test result for each page before and after, and who changes the markup when your hours change.
Seven common mistakes
Each of these is easy to make and easy to find. The quotes are from Google's general guidelines unless another source is named.
- The label says what the page does not. Services or awards that appear in the markup and nowhere a visitor can read. Google: "Don't mark up content that is not visible to readers of the page." The fix is usually to add the fact to the page, not to delete the line.
- The wrong type. A childcare center marked as a generic Organization, or a practice marked as a Store because the plugin offered it first. Google's local business page asks for "the most specific LocalBusiness sub-type possible".
- Old hours. The page was updated and the markup was not, or the other way round. Google: "Provide up-to-date information."
- A location that closed. The page was unpublished and its block lives on in a site-wide footer, or still sits on the home page. Google: "Put the structured data on the page that it describes". When a location goes, its markup goes with it.
- Stars for yourself. A rating in your own LocalBusiness block. Google will not show stars for it, as covered above, and its guidelines warn against marking up "irrelevant or misleading content, such as fake reviews". Keep the real reviews on the page. Take the rating out of the markup.
- The sample data is still there. A copied example with "example.com" or someone else's phone number left in. It will pass the tests. Google lists this among the reasons a result never shows: "The structured data is incorrect in a way that the Rich Results Test was not able to catch."
- Hidden from Google. The page is blocked, so nothing on it is read. Google: "Don't block your structured data pages to Googlebot using robots.txt, noindex, or any other access control methods."
Test yours: two tools, run on our own site
Two free tools read the markup on any page. They answer different questions, so use both.
The Schema Markup Validator: what is on the page?
- Open the Schema Markup Validator and paste the address of your home page.
- Press Run test. The left side shows the page's code. The right side lists every item it found, each with a count of errors and warnings.
- Click an item to open it. You get a plain two-column list: the field on the left, its value on the right.
- Read every value against the page. Type, name, phone, address, hours.
- Repeat for one service page and one location page.
Here is that test on the home page of Peanut Media's new site, run on November 21, 2026, before the site launched. The result has no LocalBusiness block: Peanut Media has no public office, so that type does not fit us.
A screenshot of the Schema Markup Validator after testing the pre-launch copy of the Peanut Media home page. The left half shows the page code. The right half reads: Detected, 0 errors, 0 warnings, 2 items. The two items listed are WebPage and FAQPage, each with 0 errors and 0 warnings.
A screenshot of the same tool with the WebPage item opened. It shows a two-column list: type WebPage, the page address, the page name, its description, the language, the date it was last changed, and the start of the website it belongs to.
The Rich Results Test: what can Google use?
Google's Rich Results Test works the same way: paste an address, press Test URL, open each detected item. It reports on the types Google has a search feature for, so expect a shorter list than the validator gave you. Errors here matter. Warnings are usually optional fields you left out.
There is no screenshot of this one, for a reason that is worth knowing. On the day of the test, our new site was still closed to search engines on purpose, ahead of its launch, and Google's help page for the tool says a page blocked that way "cannot be tested with this tool". If you are checking a site that is not public yet, switch the tool from URL to Code and paste the block in. The help page describes that route: "choose Code instead of URL for the test, then paste the code to be tested".
What a good result looks like
- No errors in either tool.
- The business type is specific, not a generic default.
- The name matches your sign, your site and your Google Business Profile, letter for letter.
- Hours, phone number and address match what the page shows today.
- Each location page describes that location only.
- Nothing in the list is missing from the visible page.
After a change, give it time. Google's local business page says "it may take several days after publishing a page for Google to find and crawl it". The tools show the new markup at once. Search results follow later, if they change at all.

