XooCode(){

LegalService

LegalService is a direct LocalBusiness subtype for law firms, legal counsels, mediation services, and legal clinics. It is the parent of Attorney and Notary. It adds no properties of its own.

For specific individual lawyers, use Attorney (under Organization) or a Person with jobTitle "Attorney". For a firm as an institution, use LegalService.

Full example of schema.org/LegalService json-ld markup

The markup is verified as valid with Rich Results Test from Google.

Highlight legend:Required by GoogleRecommendedOptional
schema.org/LegalService
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "name": "Dunmore Legal Group",
  "description": "Multi-practice law firm in Dunmore specialising in real estate, family law, and small business counsel.",
  "address": { "@type": "PostalAddress", "streetAddress": "200 Main St, Suite 5", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" },
  "telephone": "+1-570-555-1101",
  "openingHours": "Mo-Fr 09:00-17:30",
  "priceRange": "$$$",
  "areaServed": { "@type": "State", "name": "Pennsylvania" },
  "url": "https://xoocode.com/shops/dunmore-legal-group"
}
</script>

Minimal valid version

The smallest markup that still produces a valid LegalService entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/LegalService (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "name": "Dunmore Legal Group",
  "address": { "@type": "PostalAddress", "streetAddress": "200 Main St", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" }
}
</script>

Google rich results this unlocks

Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.

Common LegalService mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    Using LegalService for a solo attorney

    Wrong
    LegalService for an individual lawyer
    Right
    Attorney for individual practitioners; LegalService for firms

    The two subtypes serve different discovery flows; solo practitioner searches benefit from Attorney.

About the example data

"Dunmore Legal Group", a fictional multi-practice law firm.

Comments

Loading comments...

Leave a comment