Law firm / attorney schema generator
Law firms usually pick LegalService (the firm) or Attorney (an individual lawyer's practice). Both are LocalBusiness subtypes, so Google's local business requirements apply.
All Google-required properties present. That makes the page eligible, not guaranteed. Google's docs
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LegalService",
"name": "Harper & Quinn Law (example)",
"url": "https://harperquinn.example",
"telephone": "+1-312-555-0164",
"priceRange": "Free consultation",
"address": {
"@type": "PostalAddress",
"streetAddress": "55 E Monroe St, Suite 1800",
"addressLocality": "Chicago",
"addressRegion": "IL",
"postalCode": "60603",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 41.8806,
"longitude": -87.6253
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "08:30",
"closes": "17:30"
}
]
}
</script>Properties that matter for law firms
| Property | Why |
|---|---|
areaServed | schema.org property for the cities or states you take cases in. |
knowsAbout | Practice areas such as "personal injury" (schema.org; informational). |
priceRange | Recommended by Google; "Free consultation" style text is allowed. |
sameAs | Bar association and directory profiles that confirm the entity. |
The generator covers Google's documented properties; add the extra schema.org ones above by hand if they apply. Sources: Google local business docs, schema.org/Attorney.
Tips
- Use LegalService for the firm and Person markup (on the profile page) for individual lawyers.
- Avoid self-serving review stars; client reviews on your own site aren't eligible.
- If you have several offices, give each its own location page.
The example business in the form is fictional. Replace every value with your own before publishing, and test the live page with the schema validator.
Law firm / attorney schema questions
What schema type should law firms use?
Attorney is the most specific schema.org type here. It inherits from LocalBusiness, so Google's local business rules apply: name and address are required, and phone, url, geo, opening hours and price range are recommended.
Will Attorney markup get my business into the map pack?
No. Local pack rankings depend on Google Business Profile, relevance, distance and prominence. Markup confirms your details from your own site; it is not a ranking switch.
Where do I put the code?
On the page for that location, usually the contact or location page, in a <script type="application/ld+json"> block. One block per location page.