Schema markup is the closest thing to a direct line of communication between your website and AI systems.
While everything else about AI visibility involves inference — AI making educated guesses about what your business does — schema markup lets you explicitly state the facts in a structured, machine-readable format.
Businesses with comprehensive schema implementation appear more accurately and more consistently in AI recommendations. This guide shows you exactly how to implement it.
What Is Schema Markup and Why AI Loves It
Schema markup (also called structured data) is code you add to your website that explicitly labels your content. Instead of AI inferring "this business appears to be a dentist in Chicago," schema tells it directly: "This is a Dentist located at [exact address] in Chicago with these specific services."
Schema uses the vocabulary from Schema.org — a collaborative project by Google, Microsoft, Yahoo, and other major organizations specifically designed to make web content machine-readable.
AI platforms that use web retrieval (Perplexity, ChatGPT with Browsing, Gemini) specifically look for schema markup because it's:
- More reliable than free-text interpretation
- Standardized across millions of websites
- Explicitly intended to describe content for machines
The Most Important Schema Types for Local Businesses
1. LocalBusiness (and Its Subtypes)
The foundation of local business schema. For most businesses, you'll use a specific subtype:
Dentist— dental practicesPhysician— medical doctorsHVACBusiness— heating and cooling companiesPlumber— plumbing contractorsElectrician— electrical contractorsLegalService— law firmsAccountingService— CPAs and accountantsVeterinaryCare— vet practicesOptician— optical practicesBakery— bakeriesBarOrPub— barsCafeOrCoffeeShop— cafesFastFoodRestaurantorRestaurant— food serviceBeautySalon— hair and beauty salonsAutoRepair— auto service businessesGymOrHealthClub— fitness businessesRealEstateAgent— real estate
Using the most specific subtype rather than generic LocalBusiness gives AI more precise classification data.
2. Basic LocalBusiness Schema Template
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Smith Plumbing Services",
"url": "https://smithplumbing.com",
"logo": "https://smithplumbing.com/logo.png",
"image": "https://smithplumbing.com/storefront.jpg",
"description": "Licensed and bonded plumbing contractor serving Denver metro since 2008. Specializing in emergency plumbing, water heater installation, and whole-house repiping.",
"telephone": "+1-303-555-5555",
"email": "info@smithplumbing.com",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "1234 Main Street",
"addressLocality": "Denver",
"addressRegion": "CO",
"postalCode": "80203",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 39.7392,
"longitude": -104.9903
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "07:00",
"closes": "18:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Saturday"],
"opens": "08:00",
"closes": "14:00"
}
],
"areaServed": [
{
"@type": "City",
"name": "Denver"
},
{
"@type": "City",
"name": "Aurora"
},
{
"@type": "City",
"name": "Lakewood"
}
],
"sameAs": [
"https://www.facebook.com/smithplumbing",
"https://www.yelp.com/biz/smith-plumbing-denver",
"https://maps.google.com/?cid=YOUR_CID"
]
}
3. Service Schema
For each major service you offer, add a Service entity:
{
"@context": "https://schema.org",
"@type": "Service",
"serviceType": "Emergency Plumbing Repair",
"provider": {
"@type": "Plumber",
"name": "Smith Plumbing Services"
},
"areaServed": {
"@type": "City",
"name": "Denver"
},
"description": "24/7 emergency plumbing repair with typical 1-2 hour response time throughout the Denver metro area. No extra charge for nights or weekends.",
"offers": {
"@type": "Offer",
"availability": "https://schema.org/InStock",
"priceSpecification": {
"@type": "PriceSpecification",
"description": "Diagnostic fee starting at $89, waived with repair"
}
}
}
4. FAQPage Schema
This is one of the highest-value schema types for AI citation — and most businesses don't have it.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How quickly can you respond to a plumbing emergency?",
"acceptedAnswer": {
"@type": "Answer",
"text": "We typically respond to plumbing emergencies in the Denver metro area within 1-2 hours, 24 hours a day, 7 days a week."
}
},
{
"@type": "Question",
"name": "Are your plumbers licensed and insured?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. All Smith Plumbing technicians hold Colorado state plumbing licenses, and our company carries $2M in general liability insurance and workers' compensation coverage."
}
}
]
}
5. Review and AggregateRating Schema
AI platforms factor in visible ratings. Use AggregateRating on your homepage:
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Smith Plumbing Services",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.9",
"reviewCount": "284",
"bestRating": "5",
"worstRating": "1"
}
}
Important: Only display rating schema that accurately reflects your actual verified reviews. AI can cross-reference these claims against GBP and Yelp data.
6. BreadcrumbList Schema
Help AI understand your site structure:
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://smithplumbing.com"
},
{
"@type": "ListItem",
"position": 2,
"name": "Services",
"item": "https://smithplumbing.com/services"
},
{
"@type": "ListItem",
"position": 3,
"name": "Emergency Plumbing",
"item": "https://smithplumbing.com/services/emergency-plumbing"
}
]
}
How to Implement Schema Markup
Option 1: JSON-LD in HTML (Recommended)
Add JSON-LD schema in a <script> tag in the <head> section of your HTML:
<head>
<!-- other head content -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Smith Plumbing Services",
...
}
</script>
</head>
JSON-LD is recommended by Google and is the easiest to implement and maintain — it's separate from your HTML content.
Option 2: WordPress Plugin
If you use WordPress, several plugins handle schema markup:
- RankMath — comprehensive schema types, free tier available
- Yoast SEO — includes basic local schema
- Schema Pro — dedicated schema plugin
These plugins generate the JSON-LD automatically based on your business information.
Option 3: Website Builder Built-in Schema
Many website builders now handle basic schema automatically:
- Squarespace: includes basic local business schema
- Wix: includes basic schema; Local SEO app adds more
- Shopify: handles product schema; apps add local schema
However, automatically generated schema is often incomplete. Manually add the schema elements your platform doesn't cover.
Validating Your Schema
After implementing schema, validate it:
Google's Rich Results Test: search.google.com/test/rich-results — paste your URL and see exactly what schema Google reads from your page.
Schema.org Validator: validator.schema.org — validates schema against official spec.
Google Search Console: Under "Enhancements," shows structured data errors across your entire site.
Fix any errors before expecting AI to use the data — incorrect schema can actually harm your AI visibility by sending conflicting signals.
Schema Markup Priority List
If you're starting from scratch, implement in this order:
- LocalBusiness (specific type) with full address, phone, hours, description — on your homepage
- FAQPage schema on your main service pages
- Service schema for your top 3-5 service types
- AggregateRating if you have verified reviews to display
- BreadcrumbList across your site structure
This sequence gives you the highest AI visibility impact per hour of implementation effort.
Maintaining Schema Over Time
Schema requires ongoing maintenance:
- Update hours when they change (including seasonal/holiday)
- Update prices or price ranges annually
- Add new services as you add them to your business
- Update review counts periodically
- Add new FAQ entries as customer questions evolve
Set a quarterly calendar reminder to audit your schema and check for accuracy and completeness.
The businesses with the most accurate, comprehensive schema markup are the ones AI recommends most confidently. Schema is a technical investment that pays off in AI recommendation frequency for years.