Skip to content
Get a free mockup
Menu

Schema markup for small businesses: what it is and how to add it, with a copy-paste example

Haider Ali· · 4 min read

Schema markup is a short block of code that states your business's name, address, phone number and profiles in a form machines read. Half the small-business homepages we checked had none. What it is, what Google asks for, a copy-paste example and how to test it.

Schema markup is a short block of code that states, in a format machines read without guessing, who a page belongs to: your business name, what kind of business it is, your address, phone number, opening hours and the profiles you own elsewhere. Visitors never see it. Search engines and AI systems use it to be sure they have the right business.

Half the small-business homepages in our check had none. Of 315 we could read, 158 had no structured data at all. Where there was some, it was usually the generic WebSite block that SEO plugins add on their own (129 homepages). Only 37 described a local business, the type that carries an address and opening hours.

What schema markup is

  • Schema.org is a shared vocabulary of types (LocalBusiness, Restaurant, Organization, Product) and properties (name, address, telephone), started in 2011 by Google, Microsoft and Yahoo, with Yandex joining soon after.
  • JSON-LD is the format Google recommends for writing it: a <script type="application/ld+json"> tag containing a small JSON object.
  • Structured data is the general name for this kind of markup.

What it does, and what it does not

Google says Organization markup helps it understand your organization's administrative details and tell it apart from others in search results (Organization structured data), and that local business details can feed the knowledge panel shown when people search for a business (Local business structured data).

It is not a ranking switch. Google is explicit that structured data makes a feature possible without guaranteeing it, and that no special schema.org markup is needed to appear in AI Overviews or AI Mode (AI features and your website). Microsoft is warmer: its Bing team wrote in October 2025 that schema helps both search engines and AI systems understand a page, and Bing's webmaster guidelines say accurate structured data may help Copilot ground its answers, with no guarantee of visibility. Either way, its value is in removing doubt: which of the three businesses called "Main Street Vintage" this is, where it is, and how to reach it.

Organization or LocalBusiness?

OrganizationLocalBusiness
Use it forAny company, including online-only onesA business with a place customers visit or a service area
Required by GoogleNothing; Google lists no required propertiesname and address
Recommendedname, url, logo, sameAs, telephone, email, address, description, and about 20 moretelephone, url, geo, openingHoursSpecification, priceRange, menu (food), review and aggregateRating
WhereYour homepage or about page, not every pageThe page for that location, usually the homepage

Google asks you to "use the most specific LocalBusiness sub-type possible": Restaurant, Dentist, Plumber, ClothingStore, FurnitureStore or IceSkatingRink rather than plain LocalBusiness. A sub-type is still a LocalBusiness, so it also counts as an Organization.

A copy-paste example

Here is a complete block for a shop. Change the values, keep the structure, and leave out any line you do not have:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "ClothingStore",
  "name": "Example Vintage",
  "url": "https://www.example.com/",
  "logo": "https://www.example.com/logo.png",
  "image": "https://www.example.com/storefront.jpg",
  "telephone": "+1-555-010-0199",
  "email": "hello@example.com",
  "priceRange": "$",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main Street",
    "addressLocality": "Springfield",
    "addressRegion": "IL",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
    "opens": "10:00",
    "closes": "18:00"
  }],
  "sameAs": [
    "https://www.facebook.com/your-page",
    "https://www.instagram.com/your-account"
  ]
}
</script>

Three properties do most of the work for being found: name and address say who and where, and sameAs links the site to your profiles elsewhere, so systems that already know your Facebook page or Google Business Profile can connect them to your site. Write the phone number with the country code.

Where to put it

  • Hand-built sites: paste the block into the <head> of your homepage, or anywhere in the page body.
  • WordPress: Yoast and Rank Math already output Organization (or Person) and WebSite markup from their settings, so fill those in first and avoid a second, conflicting Organization block. For LocalBusiness details, use the plugin's local settings or add the block with a header-and-footer code plugin.
  • Wix, Squarespace and Shopify: fill in the business information settings first; each adds some markup from them. Check what they produce before adding your own.

Test it

  • Schema Markup Validator (validator.schema.org) checks any schema.org markup for syntax mistakes and unknown properties. It is the successor of Google's old Structured Data Testing Tool.
  • Google's Rich Results Test shows which of Google's rich result types the page qualifies for, with errors and suggestions. It ignores types Google has no feature for.

Run both. Passing either means the markup is valid, not that any feature will appear.

Mistakes we see most

  • Details that do not match the page. The markup should describe what the page shows. An address, hours or phone number in the markup that differ from the visible ones confuse everything that reads both.
  • Two Organization blocks from a theme and a plugin, saying slightly different things.
  • Broken JSON. One missing comma and the whole block is ignored. In our check, 1 site had structured data that no parser could read.
  • The generic type when a specific one exists.
  • Hours that are never updated for holidays or seasons.

Questions

Does schema markup improve rankings?

Google does not describe it as a ranking factor. It helps Google understand the page and makes rich results possible, which can make your listing more useful to click.

Do I need schema to appear in ChatGPT or Google's AI Overviews?

Google says no special markup is needed for AI Overviews or AI Mode. Clear structured data still removes ambiguity about who you are for anything that reads it, and it costs ten minutes.

Is JSON-LD better than microdata?

Both work. JSON-LD is easier to write and maintain because it sits in one block instead of being spread through your HTML, and it is the format Google recommends.

Day 9 of 20. Check whether your page has structured data, and what type, with the free AI visibility checker. The study behind this series: what we found checking 400 small-business websites.

Want to know what AI crawlers see on your site? Our free AI visibility checker runs these checks against any page in about 10 seconds, no signup. If it finds something you'd rather hand over, our AI SEO service fixes it.

More from the blog

Get a free homepage mockup

Tell us about your business and we'll design a custom homepage concept within 48 hours — free, no strings attached.