All guides

Guide · 5 min read

LocalBusiness Schema: Structured Data That Makes AI Trust Your Business

By Gregory Baranes · Updated

Structured data is the difference between an AI engine reading your website and an AI engine trusting it. LocalBusiness schema turns your key facts — who you are, where you are, what you do, when you're open — into a format machines can verify instantly.

Why structured data matters for AI answers

When an AI engine retrieves your website while composing an answer, it has seconds to decide whether you're a credible recommendation. Marked-up facts (address, phone, hours, service area) can be verified and cross-checked against directories; prose has to be interpreted. Verifiable businesses are safer to recommend, and engines behave accordingly.

Google's AI Overviews and Perplexity, which retrieve live pages, benefit most directly. But consistent structured facts also flow into the datasets future models train on — today's markup is next year's model memory.

What to include, minimum viable markup

A solid LocalBusiness JSON-LD block includes:

  • @type — the most specific type that fits (Plumber, Dentist, Restaurant, RealEstateAgent…), not just LocalBusiness
  • name, url, telephone — exactly matching your Google Business Profile
  • address (PostalAddress) and geo coordinates
  • openingHoursSpecification
  • areaServed — the cities and neighborhoods you cover
  • description mentioning your core services

Copy-paste example

Adapt this JSON-LD and place it in a <script type="application/ld+json"> tag on your homepage: {"@context":"https://schema.org","@type":"Plumber","name":"Smith Plumbing Co.","url":"https://smithplumbing.com","telephone":"+1-512-555-0100","address":{"@type":"PostalAddress","streetAddress":"100 Main St","addressLocality":"Austin","addressRegion":"TX","postalCode":"78701","addressCountry":"US"},"geo":{"@type":"GeoCoordinates","latitude":30.2672,"longitude":-97.7431},"openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday"],"opens":"08:00","closes":"18:00"}],"areaServed":"Austin, TX"}

Validate it with Google's Rich Results Test, then keep it in sync whenever your hours or services change.

Does it actually move your AI visibility?

Structured data describes your business facts in a machine-readable format. Our published benchmark records business names returned by models; it does not measure those businesses’ schema markup or establish that adding markup increases recommendations.

Measure the effect yourself: run a free GetInTheAnswer scan before and a few weeks after adding markup, and watch your mention rate.

About the author

Gregory Baranes founded GetInTheAnswer to measure how AI engines recommend local businesses. He runs the GetInTheAnswer benchmark — real customer questions asked to ChatGPT, Claude, Gemini and Perplexity across US cities — and writes about what the answers mean for local SEO.

Gregory Baranes, Founder, GetInTheAnswer

Is your business visible in AI answers?

Find out in minutes: We ask ChatGPT, Claude and Perplexity the questions your customers ask, and score your visibility against your competitors. Free, no credit card.

See a sample report

Want a quick answer first? Ask ChatGPT about your business or check whether your site is citation-worthy.

Keep reading