LegalService schema tells Google and AI assistants exactly what your firm does, where it operates and how clients can reach it. This guide explains what to add, shows copy-ready JSON-LD, and lists the mistakes that stop structured data from working.
What Is LegalService Schema?
Schema markup is a shared vocabulary that describes the meaning of a page in a machine-readable way. LegalService is the type designed for law firms, legal practices and attorneys offering legal services.
It sits alongside the older LocalBusiness type and is more precise. Used well, it can power rich results, clarify your practice areas and strengthen the entity that search engines and AI assistants associate with your firm.
Why It Matters for Search and AI Answers
Structured data does not guarantee rankings, and Google is explicit that it is not required for generative AI search. It is, however, a reliable way to remove ambiguity about who you are and what you do.
When a client asks an assistant for a family lawyer in a particular city, the assistant draws on structured, unambiguous signals. Clear LegalService markup makes your firm easier to describe accurately.
Required and Recommended Properties
At minimum, a LegalService block needs a name and a URL. Everything else improves the result.
- name and url are the minimum
- address with full PostalAddress details
- telephone in international format
- areaServed listing the cities or regions you cover
- priceRange and openingHoursSpecification
- sameAs links to your Google Business Profile and social profiles
areaServed matters more for law firms than for most businesses. A firm that serves three cities should say so explicitly rather than relying on an address alone.
Copy-Ready JSON-LD
Place this block inside a script tag with type application/ld+json, ideally on your homepage and your contact page. Replace the placeholder values with your own.
A valid block uses double quotes around every key and value, commas between items and no trailing comma before the closing brace. The most common breakages are literal line breaks inside a string value and a trailing comma after the last property.
If you already publish an Organization or LocalBusiness block, keep one authoritative copy rather than repeating the firm in several conflicting blocks.
LegalService vs Attorney
Use LegalService for the firm itself: the practice as a whole, with its address and service area. Use Attorney or Person for individual lawyers and their profiles.
Linking the two pays off. An Attorney can declare worksFor the LegalService, and the LegalService can list employees, which builds a clean entity graph rather than a set of disconnected pages.
Adding FAQPage and BreadcrumbList
Two more types stack well on legal pages. FAQPage markup on a page with genuine questions can surface in results and is quoted readily by AI assistants. BreadcrumbList keeps your URL structure clear in results.
The rule for FAQPage is honesty: the questions and answers in the markup must be visible on the page. Markup that describes content a visitor cannot see risks a manual action.
Common Mistakes That Block Rich Results
- Literal newlines or tabs inside string values, which make the block unparseable
- A trailing comma before a closing brace
- Placeholder phone numbers or addresses copied from a template
- Repeating the firm in several conflicting blocks
- Marking up content that is not visible on the page
Validate after every change. If a block does not parse, search engines drop it silently and the page reads as having no schema at all.
Validating Your Markup
Run your page through a schema checker or a rich results test. The goal is simple: every block parses, the top-level type is the one you intended, and the values match what a visitor sees.
Then confirm the page still returns 200 and that your canonical is unchanged. Schema edits should never touch indexing signals.
Frequently asked questions
Does LegalService schema improve rankings?
Not directly. It does not raise rankings by itself, but it reduces ambiguity about your firm, can enable rich results and makes your practice easier for search engines and AI assistants to describe accurately.
Can I use LocalBusiness instead of LegalService?
You can, and many firms do. LegalService is more specific and is preferable for a law practice. If you use LocalBusiness, keep a single consistent block rather than mixing several conflicting types.
Where should LegalService schema go?
Place it on your homepage and contact page, and reference it from individual attorney pages. One authoritative block per firm is better than repeating it everywhere.