Day 4, 30 minutes · beginner
Why it matters
This lesson teaches a site owner how to add schema.org structured data to a business page with an AI chat tool, and how to test it with Google's Rich Results Test and the Schema Markup Validator. Structured data is a small block of code on a page that states facts in a fixed format: this is a business, this is its name, this is its address, these are its opening hours. People do not see it. Search engines read it.
Writing that code by hand is fiddly, and one missing comma breaks it. An assistant writes it in seconds. The risk sits somewhere else: an assistant will happily add facts that are not on your page, and both Google and Bing say the code must match what a visitor can see.
At the end of this lesson your contact page carries tested structured data for your business, and you know how to test it again after every change. It is Part 4 of your Findability kit.
What is schema.org structured data?
A shared vocabulary for describing things on a web page, kept at schema.org and understood by the large search engines. Google's introduction to structured data says it gives Google explicit clues about the meaning of a page. Google recommends the format JSON-LD: a block of code between script tags.
Google lists the types it uses for special search results in its structured data gallery. For a business with an address, the type is LocalBusiness. Google's LocalBusiness page names two required properties, the name and the address, and recommends others such as telephone, url and opening hours.
Does structured data help me rank or get quoted by AI?
Nobody promises that, and this course does not either. Google's guide to generative AI features says structured data is not required for its AI answers and that no special markup exists for them, but that it stays a good idea because it makes a page eligible for rich results. Bing's Webmaster Guidelines say structured data may support clearer grounding (being used as a source for an AI answer) and does not guarantee visibility.
Two rules from those pages shape this lesson:
- Only what is visible. Google says: do not add structured data about information that is not visible to the user, even if it is accurate.
- No review stars for yourself. Google's LocalBusiness page recommends ratings only for sites that collect reviews about other businesses.
One more thing that older advice gets wrong: Google's documentation updates say the FAQ rich result is no longer shown in Google Search since May 2026. Do not add FAQ markup today in the hope of a bigger result.
The steps
- Copy your facts from the page. Open your contact page and copy the business name, address, phone number, site address and opening hours exactly as they are shown. If something is missing from the page, add it to the page first.
- Send the request. It asks for LocalBusiness code with only your facts, and for a list that shows which fact each property came from. Pick your tool below and follow the steps.
- Compare line by line. Name, street, postcode, phone, each opening time. Code and page must say the same thing.
- Test the code. Open the Rich Results Test. Google's help page explains that you choose Code instead of URL, paste the code and run the test, as often as you like. Then paste the same code into the Schema Markup Validator, the test tool on schema.org: choose Code snippet there and run the test.
- Fix errors with the assistant. Paste the error text back into the chat. Test again until both tools are clean.
- Put it on the page. Google notes that many site builders have a plugin or a settings page for structured data, so you may not have to touch the code of the page. Then test the live address of the page.
- Save Part 4. Keep the code, the date and the test results. Whenever your opening hours change, change the page and the code together.
What does LocalBusiness structured data look like?
A block of JSON-LD code between script tags. This is a made-up example, so you recognise the shape:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Klankhout Pianostemmer",
"address": {
"@type": "PostalAddress",
"streetAddress": "Voorbeeldstraat 12",
"addressLocality": "Lindeveen",
"postalCode": "8000 AA",
"addressCountry": "NL"
},
"telephone": "+31 38 555 01 23",
"url": "https://klankhoutpianostemmer.example/",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "17:00"
}
]
}
</script>
Jorien's example
Jorien copies the facts from her contact page. The first draft contains a line she never gave: "aggregateRating", 4.9 from 37 reviews. She has no reviews on her site at all. The request forbids ratings, and the assistant added it in a second version when she asked it to "make it more complete". She deletes the line and stops asking for complete.
The comparison finds a real mismatch too. The code says she opens at 09:00 on Saturday, as her page did. She has not worked Saturdays for two years. The page was wrong, so she fixes the page and then the code.
The Rich Results Test shows no errors and two notes about optional properties she has no facts for. She leaves them empty.
Common mistakes with structured data
- Marking up what is not on the page. If visitors cannot see it, leave it out of the code.
- Inventing ratings. Made-up review stars are the fastest way to lose trust, with people and with search engines.
- Testing once. A changed phone number or a new plugin can break the code. Test again after changes.
- Expecting a prize. Structured data makes your facts clear. It does not buy a higher place.
Today's actions
Ticks are not saved without an accountDo it in your tool
Claude
- Open Claude and start a new chat.
- Paste the request below into the chat box, fill in the [paste], and send it.
Write schema.org structured data in JSON-LD for the contact page of my business. Use the type LocalBusiness. Use a more specific subtype only if schema.org has one that fits my business exactly, and tell me which one you chose and why. Use only the facts under MY BUSINESS FACTS. Every fact must be on the page itself. Only the notation may change: the phone number with the country code, times as 09:00. Include: name, address (a PostalAddress with streetAddress, addressLocality, postalCode and addressCountry), telephone with the country code, url, and openingHoursSpecification with dayOfWeek, opens and closes. Add priceRange only if I gave one. Rules: no property that I gave no fact for. No review, no aggregateRating, no rating of any kind. No comments inside the JSON. Do not guess coordinates. Give me: 1. The code in one block, starting with <script type="application/ld+json"> and ending with </script>. 2. A list of every property with the fact from my page it came from. 3. Anything in my facts you could not place. MY BUSINESS FACTS (copied from the page, exactly as they are shown there): [paste] - Compare every value in the code with your page: name, street, postcode, phone number and each opening time. Change the code or the page until they are the same.
- Open the Rich Results Test at search.google.com/test/rich-results, choose Code instead of URL, paste the code and run the test. Paste any error back into the chat and ask for a fix.
- Open the Schema Markup Validator at validator.schema.org, choose Code snippet, paste the same code and choose Run test. The labels may show in your own language. Read the errors and warnings.
- Add the code to your contact page (many site builders have a plugin or settings page for it), then test the live address of the page in the Rich Results Test.
- Save the code, the date and both test results in your Findability kit under Part 4: Structured data.
Note: The free plan is enough for this task. It has limited usage every 5 hours and every week, which is plenty for one request and a few follow-up questions.
ChatGPT
- Go to chatgpt.com in your browser and start a new chat.
- Paste the request below into the message box, fill in the [paste], and send it.
Write schema.org structured data in JSON-LD for the contact page of my business. Use the type LocalBusiness. Use a more specific subtype only if schema.org has one that fits my business exactly, and tell me which one you chose and why. Use only the facts under MY BUSINESS FACTS. Every fact must be on the page itself. Only the notation may change: the phone number with the country code, times as 09:00. Include: name, address (a PostalAddress with streetAddress, addressLocality, postalCode and addressCountry), telephone with the country code, url, and openingHoursSpecification with dayOfWeek, opens and closes. Add priceRange only if I gave one. Rules: no property that I gave no fact for. No review, no aggregateRating, no rating of any kind. No comments inside the JSON. Do not guess coordinates. Give me: 1. The code in one block, starting with <script type="application/ld+json"> and ending with </script>. 2. A list of every property with the fact from my page it came from. 3. Anything in my facts you could not place. MY BUSINESS FACTS (copied from the page, exactly as they are shown there): [paste] - Compare every value in the code with your page: name, street, postcode, phone number and each opening time. Change the code or the page until they are the same.
- Open the Rich Results Test at search.google.com/test/rich-results, choose Code instead of URL, paste the code and run the test. Paste any error back into the chat and ask for a fix.
- Open the Schema Markup Validator at validator.schema.org, choose Code snippet, paste the same code and choose Run test. The labels may show in your own language. Read the errors and warnings.
- Add the code to your contact page (many site builders have a plugin or settings page for it), then test the live address of the page in the Rich Results Test.
- Save the code, the date and both test results in your Findability kit under Part 4: Structured data.
Note: The Free plan is enough: the pricing page lists unlimited text chats for it, subject to abuse guardrails. You only type and paste text in this lesson, so the upload limit does not matter.
Gemini
- Go to gemini.google.com on your computer and sign in with your Google account.
- Paste the request below into the text box at the bottom, fill in the [paste], and click Submit.
Write schema.org structured data in JSON-LD for the contact page of my business. Use the type LocalBusiness. Use a more specific subtype only if schema.org has one that fits my business exactly, and tell me which one you chose and why. Use only the facts under MY BUSINESS FACTS. Every fact must be on the page itself. Only the notation may change: the phone number with the country code, times as 09:00. Include: name, address (a PostalAddress with streetAddress, addressLocality, postalCode and addressCountry), telephone with the country code, url, and openingHoursSpecification with dayOfWeek, opens and closes. Add priceRange only if I gave one. Rules: no property that I gave no fact for. No review, no aggregateRating, no rating of any kind. No comments inside the JSON. Do not guess coordinates. Give me: 1. The code in one block, starting with <script type="application/ld+json"> and ending with </script>. 2. A list of every property with the fact from my page it came from. 3. Anything in my facts you could not place. MY BUSINESS FACTS (copied from the page, exactly as they are shown there): [paste] - Compare every value in the code with your page: name, street, postcode, phone number and each opening time. Change the code or the page until they are the same.
- Open the Rich Results Test at search.google.com/test/rich-results, choose Code instead of URL, paste the code and run the test. Paste any error back into the chat and ask for a fix.
- Open the Schema Markup Validator at validator.schema.org, choose Code snippet, paste the same code and choose Run test. The labels may show in your own language. Read the errors and warnings.
- Add the code to your contact page (many site builders have a plugin or settings page for it), then test the live address of the page in the Rich Results Test.
- Save the code, the date and both test results in your Findability kit under Part 4: Structured data.
Note: A personal Google account is enough. A work Google account needs a qualifying Workspace edition, and you must be 18 or over. To start fresh, click New chat at the top left.
Microsoft Copilot
- Open Copilot Chat and sign in with your account.
- Paste the request below into the Message Copilot box, fill in the [paste], and select Send.
Write schema.org structured data in JSON-LD for the contact page of my business. Use the type LocalBusiness. Use a more specific subtype only if schema.org has one that fits my business exactly, and tell me which one you chose and why. Use only the facts under MY BUSINESS FACTS. Every fact must be on the page itself. Only the notation may change: the phone number with the country code, times as 09:00. Include: name, address (a PostalAddress with streetAddress, addressLocality, postalCode and addressCountry), telephone with the country code, url, and openingHoursSpecification with dayOfWeek, opens and closes. Add priceRange only if I gave one. Rules: no property that I gave no fact for. No review, no aggregateRating, no rating of any kind. No comments inside the JSON. Do not guess coordinates. Give me: 1. The code in one block, starting with <script type="application/ld+json"> and ending with </script>. 2. A list of every property with the fact from my page it came from. 3. Anything in my facts you could not place. MY BUSINESS FACTS (copied from the page, exactly as they are shown there): [paste] - Compare every value in the code with your page: name, street, postcode, phone number and each opening time. Change the code or the page until they are the same.
- Open the Rich Results Test at search.google.com/test/rich-results, choose Code instead of URL, paste the code and run the test. Paste any error back into the chat and ask for a fix.
- Open the Schema Markup Validator at validator.schema.org, choose Code snippet, paste the same code and choose Run test. The labels may show in your own language. Read the errors and warnings.
- Add the code to your contact page (many site builders have a plugin or settings page for it), then test the live address of the page in the Rich Results Test.
- Save the code, the date and both test results in your Findability kit under Part 4: Structured data.
Note: Microsoft is not consistent here: the step on its help page says to sign in with a work or school account, while the same page says it applies to personal accounts, work or school accounts and free Copilot Chat. Your screen may look different from the help page.
Grok
- Go to grok.com in your browser, sign in and start a new chat.
- Paste the request below into the message input, fill in the [paste], and send it.
Write schema.org structured data in JSON-LD for the contact page of my business. Use the type LocalBusiness. Use a more specific subtype only if schema.org has one that fits my business exactly, and tell me which one you chose and why. Use only the facts under MY BUSINESS FACTS. Every fact must be on the page itself. Only the notation may change: the phone number with the country code, times as 09:00. Include: name, address (a PostalAddress with streetAddress, addressLocality, postalCode and addressCountry), telephone with the country code, url, and openingHoursSpecification with dayOfWeek, opens and closes. Add priceRange only if I gave one. Rules: no property that I gave no fact for. No review, no aggregateRating, no rating of any kind. No comments inside the JSON. Do not guess coordinates. Give me: 1. The code in one block, starting with <script type="application/ld+json"> and ending with </script>. 2. A list of every property with the fact from my page it came from. 3. Anything in my facts you could not place. MY BUSINESS FACTS (copied from the page, exactly as they are shown there): [paste] - Compare every value in the code with your page: name, street, postcode, phone number and each opening time. Change the code or the page until they are the same.
- Open the Rich Results Test at search.google.com/test/rich-results, choose Code instead of URL, paste the code and run the test. Paste any error back into the chat and ask for a fix.
- Open the Schema Markup Validator at validator.schema.org, choose Code snippet, paste the same code and choose Run test. The labels may show in your own language. Read the errors and warnings.
- Add the code to your contact page (many site builders have a plugin or settings page for it), then test the live address of the page in the Rich Results Test.
- Save the code, the date and both test results in your Findability kit under Part 4: Structured data.
Note: Grok is free to start, and paid plans raise your limits. The Grok docs read for this lesson do not say whether plans or limits differ in the EU.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up