Schema markup is structured data that tells search engines and AI systems exactly what your page is about: a business, a service, a set of answers, a rating. For service businesses it is one of the highest-return technical improvements available, because it is cheap, invisible to visitors, and increasingly used by both search engines and AI assistants. This guide covers the schema types a service business should use, with copy-paste JSON-LD examples, validation steps, and Django-specific automation.
We use these exact patterns on client sites, and the results are documented in our technical SEO checklist for Django and related case studies. Replace the placeholder values with your own real information, and never mark up content that is not visible on the page.
LocalBusiness
The foundation. Use the most specific subtype available, such as Plumber, Electrician, HVACBusiness, LegalService, or HomeAndConstructionBusiness. Required for eligibility: name and address. Recommended: telephone, url, opening hours, geo, priceRange, image, and areaServed.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Example Plumbing Co.",
"url": "https://www.example.com/",
"telephone": "+1-555-010-0199",
"priceRange": "$$",
"image": "https://www.example.com/images/van.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Austin",
"addressRegion": "TX",
"postalCode": "78701",
"addressCountry": "US"
},
"areaServed": ["Austin", "Round Rock", "Cedar Park"],
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "08:00", "closes": "18:00"
}]
}
</script>
Want expert help with this? Let's make it happen.
Get a Free ConsultationService
Describes one specific service. Use one block per service page and link it to the business through the provider property.
{
"@context": "https://schema.org",
"@type": "Service",
"name": "Water Heater Replacement",
"serviceType": "Water heater installation",
"provider": {"@type": "Plumber", "name": "Example Plumbing Co.", "url": "https://www.example.com/"},
"areaServed": {"@type": "City", "name": "Austin"},
"offers": {"@type": "Offer", "priceCurrency": "USD", "price": "1200", "description": "Typical starting price for a 40 gallon tank"}
}
FAQPage
Marks up question and answer pairs. Every pair must be visible on the page, and the answers should be genuinely helpful, not promotional.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "How long does a water heater replacement take?",
"acceptedAnswer": {"@type": "Answer", "text": "Most replacements take two to four hours."}
}]
}
AggregateRating and Review
Use AggregateRating to express your overall review score, but only when reviews are visible on the page and about the entity marked up. Google does not allow self-serving review markup on LocalBusiness pages in some contexts, so apply it where the guidelines permit, such as on Service or product-like pages, and keep the data truthful.
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "214"
}
BreadcrumbList
Represents your site hierarchy and often replaces the raw URL in results with a readable path.
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com/"},
{"@type": "ListItem", "position": 2, "name": "Services", "item": "https://www.example.com/services/"},
{"@type": "ListItem", "position": 3, "name": "Water Heater Replacement"}
]
}
HowTo for process pages
Use HowTo when a page lays out a real sequence, such as "how our remodeling process works". Each HowToStep needs a name and text. Google has scaled back HowTo rich results, but the markup still communicates structure clearly.
How the types work together on one page
A service page can legitimately contain several blocks: LocalBusiness (or an Organization reference), Service, FAQPage, and BreadcrumbList. Use the @id property to reference the same business entity across blocks instead of repeating it, for example giving the business an @id of the homepage URL plus #business. This builds a connected graph that machines can follow.
| Page type | Recommended schema |
|---|---|
| Homepage | LocalBusiness, WebSite, AggregateRating (if visible) |
| Service page | Service, FAQPage, BreadcrumbList |
| City or area page | LocalBusiness with areaServed, BreadcrumbList |
| Process page | HowTo, BreadcrumbList |
| Blog post | BlogPosting, FAQPage, BreadcrumbList |
Validation and common errors
- Test every template in Google's Rich Results Test and the Schema Markup Validator.
- Missing required fields such as address or name is the most common error.
- Mismatch with visible content, such as marking up FAQs that are not on the page, can trigger manual actions.
- Fake or inflated reviews violate guidelines and risk penalties.
- Invalid JSON from a stray comma or unescaped quote silently disables the block. Parse it in an automated test.
Django automation
On Django sites, build template tags or a small context helper that outputs JSON-LD from model fields: business details from site settings, services from your Service model, FAQs from your FAQ model. Use json.dumps rather than string formatting to avoid broken JSON, and escape the less-than character. This keeps schema synchronized with content automatically. For the AI-citation angle on the same data, see answer engine optimization and AI citations; for the local ranking context, see our local SEO guide. Our SEO and AI search optimization service includes a complete structured data build and validation.
Related reading: Technical SEO Checklist for Django Sites | Local SEO for Service Businesses: Complete Guide | Answer Engine Optimization and AI Citations
Would you rather have schema implemented and validated for you? Explore my SEO and AI search optimization service or get in touch for a free consultation.
Frequently Asked Questions
Which schema types should a service business use first?
Start with LocalBusiness (or a specific subtype) site-wide, then add Service on each service page, FAQPage where you have visible Q&A, and BreadcrumbList across the site. Add AggregateRating where reviews are displayed and guidelines allow it.
Can schema markup hurt my site?
Incorrect or deceptive markup can trigger manual actions that remove rich results. Valid markup that matches visible content carries essentially no risk.
Where do I put JSON-LD on my page?
In a script tag with type application/ld+json, typically in the head or at the end of the body. Search engines read it from either location.
Full-stack разработчик, специализирующийся на Django, ИИ-автоматизации и управлении Google Ads. Создаю production SaaS платформы и кастомные веб-приложения для бизнеса по всей территории США.