Skip to content
Content

Content

Add business schema to your site

ResearchedWhat this sticker meansIntermediateSmall business

Last updated:

Quick answer

Google documents LocalBusiness structured data. name and address are required, and hours and other details are recommended. Test it with the Rich Results Test. Whether AI assistants use it: Not stated in sources.

Free PDF

Get this setup as a PDF

Confirm your email and we'll open a print-ready copy of this setup you can save as a PDF. You also get the free starter pack and one setup a week. Unsubscribe anytime.

Already a subscriber? Unlock it on this device

At a glance

All outcome figures are estimates from cited sources, not independent verification by us.

What it is allowed to do
Drafts for you

Writes drafts (emails, posts, plans, replies). You review and send. Nothing goes out without you.

Reviewed Oct 31, 2026

Time saved (estimate)
About 30 minutes.
Difficulty
Intermediate
Tools needed
ChatGPT, Claude
Typical cost
Google's Rich Results Test is free to use per its help page. Prices for hosting or plugins: Not stated in sources.

Basis (estimate): Estimate only: based on the steps above, not timed.

What does this setup do?

Write LocalBusiness JSON-LD from your real name, address and hours, add it to your site, and test it with Google's Rich Results Test.

Who is it for?

Owners of a local business website with a physical address and set hours. Use only details that are true and shown on your site. Skip it if you cannot edit your page's code or ask your site manager.

How do you set it up?

Tools

  • ChatGPT or Claude to draft the code
  • Your business name, address, phone number and opening hours
  • Google's Rich Results Test
  • Someone who can paste code into your site

Steps

  1. Write down your real details exactly as they appear on your site: business name, full address, phone, hours.
  2. Ask the assistant to draft JSON-LD with the prompt below. Google's page lists name and address as required for LocalBusiness and hours as recommended.
  3. Compare the draft with Google's example on its LocalBusiness page. Check every value against your own details.
  4. Test the code before it goes live. Google says the Rich Results Test can check a code snippet, and supports JSON-LD, RDFa and Microdata.
  5. Remove any comments from the JSON-LD before you publish. Google's help says the test ignores them but they can cause errors on a live page.
  6. Add the code to your page, run the test on the live URL, and fix errors first and warnings second.
  7. Google also recommends submitting a sitemap so it learns about changes. AI assistants using this markup: Not stated in sources.

Example output

Illustrative. Your results will differ.

  • Script block with @type, name, address and openingHoursSpecification
  • Field list: name from business name, address from the details given
  • Test result: 1 valid item detected

Where to paste this prompt

ChatGPT → Project instructions, or ChatGPT Tasks for scheduled reminders (once a day on Free)

Copy-paste prompt

Adapt bracketed fields to your situation.

Write LocalBusiness JSON-LD for my website. Use only the details below. Leave out any field I do not give you.

Business name: [NAME]
Business type: [for example: Plumber, Dentist, Restaurant]
Street: [STREET]
City: [CITY]
State or region: [STATE]
Postal code: [ZIP]
Country: [COUNTRY]
Phone: [PHONE]
Website: [URL]
Hours: [DAYS AND TIMES]

Rules:
- Output one JSON-LD script block and nothing else.
- Do not add reviews, ratings, prices, awards or geo coordinates unless I give them.
- No comments inside the code.
- After the code, list each field and the detail it came from.

Newsletter

Get the free starter pack

Free starter pack with five beginner copy-paste prompts after you confirm, plus one researched setup in your inbox each week. Unsubscribe anytime.

What usually goes wrong?

Where agents tend to stall on this job. More patterns in Where AI gets stuck.

  • Adding review or rating fields the page does not show. Leave them out.
  • Hours that differ from the page text or your listings. Make them match.
  • Pasting code that never got tested. Run the Rich Results Test first.

Which chat tools work with this prompt?

Paste the prompt into any of these assistants (free or paid tiers).

  • ChatGPT
  • Claude

Common questions

Which fields does Google require?
Google's LocalBusiness page lists address and name as required. It lists hours and several other properties as recommended.
Will this help AI assistants find my business?
Not stated in sources. Google's page is about Google Search results.
How do I test the code?
Google's Rich Results Test accepts a URL or a pasted code snippet and reports valid items, warnings and errors.

What tips make it smoother?

  • Google says LocalBusiness is a subtype of Organization and suggests following the Organization fields too.
  • Fix errors first. Google says fixing warnings can help quality but is not required.
  • Update the code when your hours or address change.

Where do the claims come from?

Summaries use public sources linked below, not independent verification. How setups are picked.

  • Read Google’s write-up (developers.google.com)

    Google: LocalBusiness structured data: required name and address, recommended properties, JSON-LD example, test with the Rich Results Test, sitemap (read 2026-10-31 through a page fetch tool, not a direct browser open)

  • Read Google’s write-up (support.google.com)

    Google: Rich Results Test: test a URL or code snippet, JSON-LD, RDFa and Microdata supported, remove comments from JSON-LD (read 2026-10-31 through a page fetch tool, not a direct browser open)

Related setups

  • Make your website readable by AI

    Check which AI crawlers your site allows, add an llms.txt file, and make sure your key pages read as plain text, then re-check with the free AI-ready check.

  • Optimize your Google Business Profile to show up locally

    Work through a one-time optimization pass on your free Google listing so it is complete, accurate, and review-active, with the AI drafting the description and review replies.

  • Build a lead-gen site with an AI bot

    Use an AI coding or copy assistant to draft a simple landing page and contact form for a local service business, then you approve hosting spend, publish, and wire leads to email or a sheet.

Best AI setups for small business (2026) →

Ready for the next one?

Next up: a Content setup on the Small business path.

Make your website readable by AI

Check which AI crawlers your site allows, add an llms.txt file, and make sure your key pages read as plain text, then re-check with the free AI-ready check.

About 45 minutes for a small site.