LocalBusiness schema for AI search: a copy-paste template

Updated 24 November 2026

Why it matters: AI assistants often get local details wrong. In Insites' October 2026 benchmark of 7,907 local businesses (vendor data), 94% had a wrong name, website or phone number in at least one assistant's answer. Schema is the machine-readable "business card" on your own site that states those facts plainly.

The template

Use the most specific type you can (Plumber, HVACBusiness, RoofingContractor, Electrician, Dentist, LegalService), replace the capitalised placeholders and paste it into your site header.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Plumber",
  "name": "BUSINESS NAME",
  "url": "https://yourdomain.com/",
  "telephone": "+1-512-555-0100",
  "image": "https://yourdomain.com/logo.png",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "STREET",
    "addressLocality": "CITY",
    "addressRegion": "STATE",
    "postalCode": "ZIP",
    "addressCountry": "US"
  },
  "areaServed": ["CITY 1", "CITY 2", "CITY 3"],
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
    "opens": "08:00", "closes": "17:00"
  }],
  "sameAs": [
    "https://www.google.com/maps?cid=YOUR_CID",
    "https://www.yelp.com/biz/YOUR-PAGE",
    "https://www.bbb.org/YOUR-PAGE",
    "https://www.facebook.com/YOUR-PAGE"
  ]
}
</script>

Five mistakes we see most

  1. Schema with no name or phone. A LocalBusiness block that only has an address and opening hours (common with page-builder themes).
  2. A different phone number in schema, header and Google profile. Pick one main number and use it everywhere.
  3. Broken tap-to-call links, such as tel: links with extra digits.
  4. No sameAs links to your Google, Yelp and BBB profiles, which are the directories assistants cite most.
  5. Broken JSON (a missing comma), which makes the whole block unreadable. Check it at validator.schema.org.

Our free check finds all five on your homepage and pre-fills this template with what it finds.

Check your own site in 20 seconds

Free, no signup: crawler access, business schema, phone consistency and FAQ content, with copy-paste fixes.

Run the free check