Guide · AI search & GEO

Schema JSON-LD for your local business

Schema markup is how you tell Google and AI assistants, with zero ambiguity, who you are, where you are and when you're open. Here's what to mark up, what to skip and how to validate it.

Storefront of a small retail shop with display windows and a dark door
Short answer

Schema JSON-LD is a block of code your visitors never see that describes your business using the schema.org vocabulary: business type, name, address, phone, hours, coordinates and service area. For a local business, Google only requires a name and address, but it recommends hours, phone, URL and geo coordinates. It won't guarantee a rich result or an AI citation, but it removes any doubt about your details.

Key points
  • Use JSON-LD: it's the format Google recommends, and it doesn't touch your page design.
  • Pick the most specific LocalBusiness subtype: Dentist, Restaurant, AutoRepair, Store…
  • Your details must match your website and Google Business Profile character for character.
  • Don't mark up reviews you publish about your own business: Google won't show them.
  • Always validate with Google's Rich Results Test and the schema.org validator.

What Schema is and why it matters even more with AI

Schema.org is a shared vocabulary, created and maintained by Google, Microsoft, Yahoo and Yandex, for describing things on the web: a business, a product, an event, a recipe. JSON-LD is the cleanest way to write it: a block of code inside a script tag that visitors don't see but search engines do.

Without Schema, Google has to infer from your text that "Mon–Sat 9 to 7" is a schedule or that the number in your footer is your main phone line. With Schema, you state it explicitly. Something similar happens with AI assistants: Bing has said publicly that structured markup helps its systems understand content, and for any system that blends sources, a structured, consistent data point is easier to confirm than one buried in a paragraph.

Keep the flip side in mind: Google also makes clear that there's no special Schema for appearing in AI Overviews. Schema helps machines understand you; it isn't a free pass.

Choose the right LocalBusiness type

LocalBusiness is the general type. The more specific you get, the better. Some useful subtypes for businesses in La Laguna:

Your businessschema.org typeExtra property worth adding
Restaurant, taquería, coffee shopRestaurant, CafeOrCoffeeShopservesCuisine, menu, acceptsReservations
Dental officeDentistmedicalSpecialty, availableService
Private clinic or hospitalMedicalClinic, HospitalmedicalSpecialty
Auto repair shopAutoRepairareaServed
Real estate agencyRealEstateAgentareaServed
Accounting or law firmAccountingService, LegalServiceareaServed, knowsAbout
Brick-and-mortar storeStore or subtypes like HardwareStoreopeningHoursSpecification, hasMap
Business that serves customers on-site with no storefrontLocalBusiness with areaServedareaServed by city or municipality

If your line of business doesn't have an exact subtype, use the closest one or plain LocalBusiness. What you shouldn't do is invent a type: the validator will flag it as an error.

The properties that actually matter

For local businesses, Google only requires name and address. Everything else is recommended, but in practice you should fill in almost all of it:

  • name: the business's real name, exactly as it appears on your sign and on Google Maps. No tacking on "the best in Torreón."
  • address (PostalAddress): street and number, neighborhood if applicable, addressLocality (Torreón), addressRegion (Coahuila), postalCode and addressCountry (MX).
  • telephone: in international format, with +52 and the area code.
  • url and image: your home page and a real photo of the location or your logo.
  • geo (GeoCoordinates): latitude and longitude taken from your Google Maps pin.
  • openingHoursSpecification: the days and opening and closing times in 24-hour format. If you close on holidays, you can specify special hours.
  • areaServed: the cities you genuinely serve (Torreón, Gómez Palacio, Lerdo, Matamoros).
  • sameAs: links to your official profiles: Facebook, Instagram, LinkedIn and any directories you're listed in.
  • priceRange: optional; usually expressed with symbols ($$) rather than amounts.

One detail few people get right: add an @id (for example, your URL followed by #business). That way, if other pages on your site mention the business, they all point to the same entity instead of creating duplicates.

Do you have multiple locations, like a taquería with branches in Torreón and Gómez Palacio? Create one page per location, each with its own LocalBusiness block (that branch's address, phone, hours and coordinates), and tie them together with the parentOrganization property pointing to the brand. Don't cram three addresses into one block: it confuses more than it helps.

A ready-to-adapt example

Here's a minimal block for a fictional dental clinic in Torreón. It goes inside a <script type="application/ld+json"> tag in the <head> or at the end of the <body>:

{ "@context": "https://schema.org",

"@type": "Dentist",

"@id": "https://example.com/#business",

"name": "Smile Laguna Dental Clinic",

"telephone": "+52 871 000 0000",

"url": "https://example.com/",

"address": { "@type": "PostalAddress", "streetAddress": "Calz. Colón 000", "addressLocality": "Torreón", "addressRegion": "Coahuila", "postalCode": "27000", "addressCountry": "MX" },

"geo": { "@type": "GeoCoordinates", "latitude": 25.54, "longitude": -103.41 },

"openingHoursSpecification": [{ "@type": "OpeningHoursSpecification", "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"], "opens": "09:00", "closes": "19:00" }],

"areaServed": ["Torreón", "Gómez Palacio", "Lerdo"] }

Notice two details: days of the week always use schema.org's English names, even on a Spanish-language site, and the quotation marks must be straight quotes, not the curly ones Word or Google Docs insert when you copy and paste.

Hand-written markup is easy to break: one extra comma and the whole block stops being read. That's why we built the free Schema generator: you fill out a form and copy code that's already validated.

Where to paste it, depending on your platform

Once you have the block, it needs to go in the right place. That depends on how your site is built:

  • WordPress: the most popular SEO plugins generate basic Organization Schema. First check what's already in your source code. If local details are missing, add your block with a header code-insertion plugin or through your child theme, and disable the plugin's duplicate markup for the same business.
  • Shopify: many themes already include product and organization markup. For the local business, you can add your block to the theme file that contains the <head>, or to a custom section on the contact page only.
  • Static or custom-built site: paste it directly into the HTML of the home page and the contact page. Ideally it's generated from the same data you display on screen, so the two never contradict each other.
  • Visual builders (Wix, Elementor and the like): use the custom header code field. Make sure the builder isn't turning it into visible text.

Put the main block on your home page and your contact page. There's no need to repeat it on every blog post.

Common mistakes we see on Torreón websites

  1. Different details everywhere. The Schema says "Blvd. Revolución 1500," Google Maps says "Blvd. Revolución #1500 Ote." and the footer lists a different phone number. Make it all consistent; our guide to directories and NAP citations walks you through it.
  2. Self-published reviews. Marking up reviews you paste onto your own site about your own business with aggregateRating won't earn you stars: since 2019, Google hasn't shown "self-serving" reviews for LocalBusiness and Organization. Reviews count where customers leave them, such as on your Business Profile.
  3. Marking up content that isn't on the page. If the Schema says you're open on Sundays and the page never mentions it, that's an inconsistency that can cost you rich-result eligibility.
  4. Stacked plugins. On WordPress it's common to have the SEO plugin, the theme and a reviews plugin all generating three different blocks for the same business. Keep just one, complete block.
  5. Expecting FAQ dropdowns. Since 2023, Google only shows FAQ rich results for well-known, authoritative government and health websites. FAQ markup doesn't hurt, but don't expect that format in your listing.

How to validate it in five minutes

Before and after you publish, run through this check:

  • Google's Rich Results Test (search.google.com/test/rich-results): tells you whether Google detects the markup and whether there are errors or warnings.
  • Schema.org validator (validator.schema.org): checks the full vocabulary, including properties Google doesn't use but other systems do.
  • Search Console: the enhancements section shows whether errors are appearing at scale across the site.
  • Preview: check how your title and description look with our Google preview tool; Schema doesn't change that, but it's worth polishing both at once.

For a broader review, the SEO + GEO audit detects whether your page has structured data and whether it's complete.

Beyond the business: other types that add up

Once your LocalBusiness markup is solid, other types help search engines and AI understand the rest of your site:

  • Organization on the home page, with logo and sameAs, if you have several locations.
  • Service on each service page, linked to your business through provider.
  • Product and Offer on online stores, with availability. The details are in our guide to must-have e-commerce features.
  • Article or BlogPosting on guides and blog posts, with author and last-updated date: freshness and accountability signals that also count toward E-E-A-T.
  • BreadcrumbList so the site's hierarchy is clear.

On the sites we build as part of our SEO for AI service, Schema is generated from the same data that powers the page, so it never falls out of sync.

FAQ

Questions about this topic

What is Schema JSON-LD in simple terms?
It's a block of code visitors don't see that describes the page using the schema.org vocabulary: what kind of business it is, its name, address, phone and hours. It helps Google and other systems understand that information without having to guess it from the text.
Will Schema get me into ChatGPT or AI Overviews?
Not directly. Google says there's no special markup for its AI features, and no assistant promises to cite sites that use Schema. What it does is remove ambiguity about your details, which helps make sure the information shown about you is correct.
Which properties are required for LocalBusiness?
For Google's local business results, only name and address are required. Google also recommends telephone, url, geo, openingHoursSpecification, image and priceRange, and it's worth adding areaServed and sameAs.
Can I add review stars to my Schema?
You can mark them up, but Google doesn't show review stars that a business publishes about itself under LocalBusiness or Organization. The reviews that count are the ones customers leave on independent platforms like your Google Business Profile.
How do I know if my Schema has errors?
Paste your URL into Google's Rich Results Test and into validator.schema.org. Both tools are free and flag syntax errors, missing properties and warnings.
Message us on WhatsApp