All Resources
13 min read

Schema Markup for AI Visibility: Build a Real Entity Graph

Why one LocalBusiness block is not enough, how @id references turn nodes into a graph, a complete template, and the five mistakes that waste the work.

Why schema is the foundation of AI visibility

JSON-LD structured data is the fastest, most direct way to tell AI crawlers what your business is. Instead of forcing a model to infer your name, services and location from prose, you hand it explicit facts in a format it reads directly. Schema changes can be re-indexed within days, which makes this the quickest win in any AEO program.

Why a graph, not one block

The most common mistake is adding a single standalone block — usually a bare LocalBusiness — and stopping there. That tells a crawler a name and a phone number and nothing about how the pieces relate. A graph fixes this. Every node gets a stable @id, and the nodes reference each other by that id: the business declares its founder, the person declares who they work for, the service declares its provider, the website declares its publisher. Because every reference resolves in both directions, a crawler can start at any node and reach any other, ending up with one coherent entity instead of a pile of disconnected claims. This matters more for AI answers than for traditional search. A model weighing whether to recommend you needs to know that the guide it just read about is the same person who owns the business it is evaluating — and only the graph tells it that.

The core nodes every local business needs

Start with four. LocalBusiness covers who you are, how to reach you, and where you serve. Person names the accountable human behind the business. Service describes each thing you sell. WebSite identifies the site itself. Then layer on FAQPage for the questions customers actually ask, and a type such as TouristTrip where you sell an experience rather than a product. Together these give a model a complete, unambiguous picture — and, more importantly, one it can verify.

The @id convention that makes it a graph

Give every node a stable absolute @id built from your own domain plus a fragment. Use the same value every time that entity appears, on every page: https://yourbusiness.com/#business https://yourbusiness.com/#founder https://yourbusiness.com/#website The @id is the join key. If your homepage calls the business "#business" and your contact page calls it "#organization", a crawler sees two different businesses and you have split your own entity in half. Pick the fragments once, write them down, and never vary them.

Complete graph template — service business, no storefront

Every value below is a placeholder. Replace them with verified facts only. { "@context": "https://schema.org", "@graph": [ { "@type": "LocalBusiness", "@id": "https://yourbusiness.com/#business", "name": "Your Business Name", "url": "https://yourbusiness.com/", "telephone": "+1-702-555-0100", "email": "hello@yourbusiness.com", "description": "One sentence: what you do, and who for.", "areaServed": [ { "@type": "City", "name": "Las Vegas" }, { "@type": "AdministrativeArea", "name": "Nevada" } ], "founder": { "@id": "https://yourbusiness.com/#founder" }, "sameAs": [ "https://www.instagram.com/yourbusiness", "https://www.facebook.com/yourbusiness" ] }, { "@type": "Person", "@id": "https://yourbusiness.com/#founder", "name": "Owner Name", "jobTitle": "Owner", "worksFor": { "@id": "https://yourbusiness.com/#business" }, "url": "https://yourbusiness.com/about/", "knowsAbout": ["Your specialism", "Your second specialism"], "sameAs": [ "https://www.linkedin.com/in/owner-profile", "https://an-independent-directory.com/your-listing" ] }, { "@type": "Service", "@id": "https://yourbusiness.com/#your-service", "name": "Your Service Name", "url": "https://yourbusiness.com/your-service/", "provider": { "@id": "https://yourbusiness.com/#business" }, "areaServed": { "@type": "City", "name": "Las Vegas" } }, { "@type": "WebSite", "@id": "https://yourbusiness.com/#website", "url": "https://yourbusiness.com/", "name": "Your Business Name", "publisher": { "@id": "https://yourbusiness.com/#business" } } ] }

No storefront? Use areaServed, never a fake address

If you visit customers rather than serving them at a premises, you are a service-area business and you should not publish a street address. Google is explicit: if you do not serve customers at your business address, remove the address. An invented location is the fastest way to get structured data distrusted, because the address will not match any map, directory or filing that a model can cross-check. The geographic signal you actually need is areaServed — list the city, the region, and any destinations or neighbourhoods you genuinely cover. Accept the trade-off honestly: without an address you will not earn Google's LocalBusiness rich result card, and for a service-area business that is the correct outcome.

Reviews and ratings: the rule that gets you ignored

A rating without a review count is not quotable and will be ignored. If you add aggregateRating, then ratingValue and reviewCount must both be present and both must be true. Never estimate a count, and never round a 4.7 up to 5.0 — the first thing a checking model does is compare your structured rating against the figure on the third-party page it can actually read, and a mismatch invalidates the whole signal. Before you add the block, make sure your visible copy states the same numbers, because a page claiming "5.0" in one place and "4.5/5" in another contradicts itself and a model will trust neither. If you have no reviews yet, add nothing. An absent rating costs you less than a wrong one.

How to implement it

Place one <script type="application/ld+json"> block in the <head> of every page, containing the same graph. Repeat the full graph site-wide rather than varying it per page, so a crawler landing on any URL receives the complete entity instead of a fragment. The quickest route is a template include: paste the block into your site header or a reusable snippet so it renders everywhere. On WordPress, an SEO plugin can hold it, but check the rendered HTML afterwards rather than trusting the plugin preview, because some themes strip or duplicate the block. Google Tag Manager can inject it as a no-code option, though a server-side include is more reliable. If a developer is doing the work, ask them to confirm two things: that the JSON parses, and that the @id values match across pages. Those two checks catch most real-world failures.

Testing before you publish

Run the page through Google's Rich Results Test and the Schema Markup Validator. They answer different questions. The Rich Results Test tells you whether Google can use the markup for a rich result; the Schema Markup Validator tells you whether the JSON is structurally valid and whether your @id references resolve. You want both. Then open the page and view source — not the developer console, which can show markup injected after a crawler would have read it. Confirm the block is present in the raw HTML, confirm it contains no placeholder text, and confirm the phone number, business name and URLs match what is visible on the page.

The five mistakes that waste the work

First, one orphaned block with no @id — nothing can reference it, so it adds nothing. Second, an address that is not a real business location. Third, a rating with no count, or a count nobody can verify. Fourth, inconsistent @id values across pages, which silently splits one business into several entities. Fifth, placeholder text left in production: a template shipped with "Your Business Name" still in it is worse than no schema at all, because it is a claim that is demonstrably false. Every one of these is common, and every one is caught by the testing step above.

What schema cannot do

Schema describes facts; it does not create them. It cannot make a business rank, cannot generate reviews, and cannot persuade a model to recommend something with no independent evidence behind it. What it does is remove ambiguity, so that when a model has already decided your business is relevant, it can state your name, services and service area accurately instead of guessing. That is why schema is the foundation of the other four areas rather than a substitute for them: content answers the question, citations supply the proof, and schema makes both of them machine-readable.

Don't want to DIY?

Schema audits, fixes and full implementation are included in every Click Elevate plan — from the Starter plan's audit and fixes to the Authority plan's full schema overhaul with ongoing monitoring. Every block is generated from your verified business facts and tested before it goes live.

This guide resolves these report findings

  • JSON-LD present
  • Organization / LocalBusiness schema
  • Service schema coverage
  • FAQ schema

Run the free AEO score to see which of these apply to your site.

Did this guide answer your question?

Free Instant Analysis

See how visible your business is to AI

Get your free 0–100 AEO score across ChatGPT, Perplexity, Gemini, Claude, and Google AI Overviews.