Home
cd ../playbooks
Developer ToolsIntermediate

GEO Schema: Structured Data for AI Citation

Audit and generate schema.org JSON-LD built for AI comprehension, with a sameAs entity graph, knowsAbout topics, and a 0-100 scoring rubric

10 minutes
By Zubair TrabzadaSource
#geo#schema#json-ld#structured-data#seo

ChatGPT and Perplexity decide whether to cite you based on whether they can tell what your business actually is. Rich results are a side effect. This playbook treats JSON-LD as the entity graph AI models read to verify and trust a source.

Who it's for: GEO consultants, technical SEOs, SaaS marketing engineers, agency owners running client audits, publishers optimizing author E-E-A-T, developers shipping schema on Next.js and WordPress sites

Example

"Audit the structured data on stripe.com and generate what's missing" → A schema score out of 100, a table of every detected JSON-LD block with validation errors, a sameAs audit across Wikipedia, Wikidata, LinkedIn, and Crunchbase, plus ready-to-paste Organization and WebSite blocks

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add geo-schema
# GEO Schema & Structured Data

Audit, validate, and generate schema.org JSON-LD markup optimized for AI discoverability. Structured data is the primary machine-readable signal that tells AI systems what an entity IS, what it does, and how it connects to other entities.

Schema markup has traditionally been about earning Google rich results. Its role in GEO is different: structured data is how AI models understand and trust your entity. A complete entity graph in structured data increases citation probability across AI search platforms.

## How to Use This

1. Fetch the target page HTML
2. Detect all existing structured data (JSON-LD, Microdata, RDFa)
3. Validate detected schemas against Schema.org specifications
4. Identify missing recommended schemas based on business type

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Turns Claude into a structured data auditor that scores a page for AI discoverability rather than Google rich results. It detects every JSON-LD, Microdata, and RDFa block on a page, validates each against Schema.org, flags what a business of that type should have but doesn't, and generates paste-ready markup for the gaps.

The angle is GEO, not rich snippets. Schema is how AI models identify what an entity IS and how it connects to other entities across the web. The sameAs property gets treated as the highest-value field in the whole spec because it links your on-site entity to Wikipedia, Wikidata, LinkedIn, and Crunchbase, which is the graph AI platforms use to verify and cite a source. Two properties most rich-results guides skip get first-class treatment here: knowsAbout (topics the entity is expert in) and speakable (which passages an AI assistant should read aloud or quote).

This is one skill from Zubair Trabzada's geo-seo-claude toolkit, packaged as a standalone CLAUDE.md.


Quick Start

Step 1: Create a Project Folder

mkdir -p ~/Projects/GeoSchema

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Projects/GeoSchema/

Step 3: Start Working

cd ~/Projects/GeoSchema
claude

Ask "audit the structured data on https://example.com" and Claude works through detection, validation, the sameAs audit, and generation.


The sameAs Entity Graph

The template ranks 14 platforms in priority order, because AI systems weight them differently:

  1. Wikipedia — highest authority entity link
  2. Wikidata — machine-readable entity identifier
  3. LinkedIn, YouTube, Twitter/X, Facebook
  4. Crunchbase and GitHub for tech companies
  5. Google Scholar and ORCID for researchers
  6. App Store listings, BBB, vertical directories

The audit checks each URL resolves, verifies your Organization or Person schema lists all of them, and cross-checks that name, description, and founding date match across platforms. Inconsistent facts across profiles weaken the entity signal.


Schema Types Covered

Type When it applies GEO-specific properties to add
Organization Every business site sameAs, knowsAbout, foundingDate, contactPoint
LocalBusiness Physical locations geo, openingHoursSpecification, hasMap
Article + Person Publishers Author sameAs, jobTitle, alumniOf, dateModified
Product E-commerce aggregateRating, review, gtin/mpn
SoftwareApplication SaaS featureList, softwareVersion, releaseNotes
WebSite + SearchAction Homepage potentialAction with a search URL template
Person Personal brands, About pages knowsAbout, worksFor, award
FAQPage Any page with Q&A mainEntity array of Question schemas

Scoring Rubric

Claude scores the site 0-100 across twelve criteria. The heaviest weights:

  • Organization/Person schema present and complete — 15 points
  • sameAs links, 3 points each up to 5 platforms — 15 points
  • Server-rendered rather than JS-injected — 10 points
  • Valid JSON and valid Schema.org types — 10 points
  • Article schema with full author details — 10 points

Smaller allocations cover WebSite + SearchAction, BreadcrumbList, speakable, knowsAbout, JSON-LD format over Microdata, and absence of deprecated schemas.


Deprecated Schemas It Flags

Schema Status What to do
HowTo Rich results deprecated Aug 2023 Keep for AI parsing, stop promising rich results
FAQPage Restricted to govt/health Aug 2023 Keep for AI question-answer extraction
SpecialAnnouncement Deprecated 2023 Remove if still present
CourseInfo Replaced 2024 Migrate to updated Course properties
VideoObject contentUrl Behavior changed 2024 Point at the video file, not the page URL

Generation Rules

When Claude writes new markup it follows a fixed set of constraints:

  • Use the @graph pattern so multiple schemas share one JSON-LD block
  • Every URL absolute, never relative
  • @id properties on each schema for cross-referencing
  • ISO 8601 for all dates
  • speakable on Article schemas, with CSS selectors pointing at summary and takeaway sections
  • JSON-LD placed in <head>, never injected via JavaScript

Tips

  • Fetch raw HTML, not converted markdown. Markdown converters strip <head>, which is where the JSON-LD lives, so a naive fetch reports zero schema on a site that has plenty. curl -sL <url> works.
  • Server-render your JSON-LD. Google's December 2025 guidance says JavaScript-injected structured data may face delayed processing, and the rubric docks 5-10 points for it.
  • knowsAbout with three or more specific topics is cheap to add and one of the clearer expertise signals available to an AI model.
  • Migrate off Microdata and RDFa. Both parse worse for AI crawlers than JSON-LD, and the template flags exclusive use of either as a high-priority fix.

Limitations

  • The audit reads one page at a time. Site-wide coverage means pointing Claude at each template type: homepage, article, product, location page.
  • Valid schema is a claim, not proof. Marking up an award you didn't win still validates. AI platforms cross-check against the sameAs graph, which is why URL consistency matters more than field count.
  • Deprecation dates in the reference table are current as of the source skill. Verify against Google's structured data docs before acting on a flag.
  • Scores measure markup completeness. They don't predict citation rate on their own, since content quality and brand mentions carry more weight in the full GEO model.

$Related Playbooks

Developer Tools

GEO Technical SEO Audit: 8 Categories, 100 Points

A scored technical audit covering crawlability, indexability, security, Core Web Vitals, and the server-side rendering check that decides whether AI crawlers see your content at all

15 minutes
Advanced
Developer Tools

GEO Toolkit Updater

Pull the latest geo-seo-claude skills, agents, scripts, and schema templates from upstream, with a diff summary before anything is overwritten

5 minutes
Beginner
Developer Tools

Full-Output Enforcement: No Placeholders, No Stubs

A short rule set that bans TODO comments, skeleton code, and 'rest follows the same pattern' shortcuts so Claude always delivers complete, runnable output

2 minutes
Beginner
Developer Tools

Git Conflict Resolution Framework

A plan-first framework for resolving Git merge conflicts by combining both branches' intent instead of blindly picking a side — categorized resolution patterns for imports, tests, generated files, configs, code logic, and struct definitions, with a mandatory approval step before any file is touched.

5 minutes
Intermediate
Developer Tools

Idea-to-Design Brainstorming Gate

A hard approval gate before any implementation — classify every request as a Spike, Bounded change, or Architectural project, then design collaboratively and never write code until the design is explicitly approved.

5 minutes
Intermediate
Developer Tools

Git Commit & PR Automation

Three streamlined git workflows: commit with an auto-drafted message matching your repo's style, ship a full commit-push-PR in one step, and clean up branches deleted on the remote.

5 minutes
Beginner
Developer Tools

Hookify Guardrails

Create custom Claude Code guardrails with lightweight markdown rule files instead of hand-editing hooks.json — pattern matching, no restart required, rules live-load on the next tool call.

5 minutes
Beginner
Developer Tools

GPT Taste Skill: Strict Anti-Slop UI Rules

A stricter, more deterministic anti-slop frontend ruleset with GSAP motion patterns, despite the GPT-oriented name it works as a standard CLAUDE.md in Claude Code

5 minutes
Intermediate
Developer Tools

GitHub Contributor

A phase-based playbook for shipping pull requests maintainers actually merge — discovery, CONTRIBUTING compliance, PR-size checks, minimal diffs, and post-submission interaction.

20 minutes
Intermediate
Developer Tools

GitHub Operations

Comprehensive GitHub operations using the gh CLI and REST/GraphQL APIs — PRs, issues, repositories, workflows, and bulk operations across public and Enterprise GitHub.

10 minutes
Intermediate
Developer Tools

i18n Expert

Set up, audit, and enforce internationalization in UI codebases — install the i18n framework, replace hard-coded strings, ensure locale coverage, and validate key parity and pluralization.

20 minutes
Intermediate
Developer Tools

Improve: Audit Your Codebase and Write the Plans

Turns Claude into a read-only senior advisor that audits a repo, ranks findings by leverage, and writes self-contained implementation plans to disk for cheaper models to execute

10 minutes
Intermediate

Browse all Developer Tools playbooks →