LegalService and Attorney
Schema.org's LegalService is "a business that provides legally-oriented services, advice and representation, e.g. law firms," and "as a LocalBusiness it can be described as a provider of one or more Service(s)."[1] Its subtype Attorney still exists, but schema.org marks it deprecated: "This type is deprecated - LegalService is more inclusive and less ambiguous."[2] The other subtype is Notary.[3] Google has no legal-specific feature and treats these as LocalBusiness subtypes.[4]
Place in the hierarchy
Schema.org places LegalService at Thing > Organization > LocalBusiness > LegalService.[1] Its direct subtypes are Attorney, Notary.[1] LegalService defines no properties of its own; everything comes from LocalBusiness, Organization, Place and Thing.[1] The general ProfessionalService type, which once covered Attorney and Notary, "was deprecated due to confusion with Service."[5]
Attorney is deprecated
Because Attorney is deprecated, LegalService is the type to use for a firm. An individual lawyer is a Person, not a business type; the Person can have jobTitle "Attorney," worksFor the firm, and hasCredential for a bar admission that the page states.[2][6][7][8] This separates the firm entity from the people who practise there.
Properties that carry entity meaning
| Property | Expected values | Schema.org definition (quoted) |
|---|---|---|
| knowsAbout | Text, Thing, URL | "Of a Person, and less typically of an Organization, to indicate a topic that is known about - suggesting possible expertise but not implying it."[9] |
| areaServed | AdministrativeArea, GeoShape, Place, Text | "The geographic area where a service or offered item is provided."[10] |
| hasOfferCatalog | OfferCatalog | "Indicates an OfferCatalog listing for this Organization, Person, or Service."[11] |
| employee | Person | "Someone working for this organization."[12] |
| founder | Organization, Person | "A person or organization who founded this organization."[13] |
| memberOf | MemberProgramTier, Organization, ProgramMembership | "An Organization (or ProgramMembership) to which this Person or Organization belongs."[14] |
Practice areas are topics the firm knows about or services it offers. knowsAbout states topics ("suggesting possible expertise but not implying it"), and Service nodes with provider pointing to the firm describe the offered services, with serviceType naming each one.[9][15][16] areaServed can name the jurisdictions or cities served, as typed AdministrativeArea or City nodes.[10]
Beyond the required name and address, the properties that identify the business as one specific entity are url (its official site), sameAs (well-known pages that identify it, such as its Wikidata entry or official profiles), the identifier properties, and @id for linking it across the site's own markup.[17][18][19][20] See sameAs and identifiers and Entity graphs on business websites.
What Google documents
Google's LocalBusiness documentation applies to every subtype on this page. It requires name and address, recommends geo, openingHoursSpecification, priceRange, telephone and url among others, and says to "use the most specific LocalBusiness sub-type possible."[4] It recommends following the Organization fields as well, "since LocalBusiness is a subtype of Organization."[4] Where a business fits several types, Google says to "specify them as an array (additionalType isn't supported)."[4] Reviews of a business published on that business's own site are not eligible for star review snippets: "If the entity that's being reviewed controls the reviews about itself, their pages that use LocalBusiness or any other type of Organization structured data are ineligible for star review feature."[21] Google's general guidelines also prohibit markup that "misrepresent[s] your ownership, affiliation, or primary purpose," which matters for claims of awards, memberships and credentials.[22]
Common mistakes
- Using Attorney for a firm. It is deprecated in favor of LegalService.[2]
- Typing a lawyer as a LocalBusiness. A lawyer is a Person who works for the firm.[23]
- Unstated credentials or awards. Mark only what the page shows.[24]
- Practice areas as keyword lists. Use Service nodes or a few knowsAbout topics that match the page.[9][22]
- Self-hosted reviews marked for stars, which Google says are ineligible.[21]
Example
A fictional law firm with one attorney and one service.
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "LegalService",
"@id": "https://www.example-law.com/#organization",
"name": "Example Law Group",
"url": "https://www.example-law.com/",
"telephone": "+1-555-0120",
"address": { "@type": "PostalAddress", "streetAddress": "400 Example Plaza", "addressLocality": "Exampleville", "addressRegion": "CA", "postalCode": "90000", "addressCountry": "US" },
"areaServed": { "@type": "State", "name": "California" },
"knowsAbout": ["Criminal defense", "DUI defense"]
},
{
"@type": "Person",
"@id": "https://www.example-law.com/attorneys/alex-example#person",
"name": "Alex Example",
"jobTitle": "Attorney",
"worksFor": { "@id": "https://www.example-law.com/#organization" }
},
{
"@type": "Service",
"name": "DUI defense",
"serviceType": "DUI defense",
"provider": { "@id": "https://www.example-law.com/#organization" }
}
]
}
Common questions
Should I use Attorney or LegalService?
LegalService; schema.org deprecated Attorney.[2]
How do I mark up an individual lawyer?
As a Person with jobTitle and worksFor.[6][7]
Does Google have a legal rich result?
No; LocalBusiness documentation applies.[4]
Related topics
- LocalBusiness
- Service
- Organization and people relationships
- knowsAbout, knowsLanguage and expertise properties
References
- ^ "LegalService (type)". Schema.org.
- ^ "Attorney (type)". Schema.org.
- ^ "Notary (type)". Schema.org.
- ^ "Local business (LocalBusiness) structured data". Google Search Central.
- ^ "ProfessionalService (type)". Schema.org.
- ^ "jobTitle (property)". Schema.org.
- ^ "worksFor (property)". Schema.org.
- ^ "hasCredential (property)". Schema.org.
- ^ "knowsAbout (property)". Schema.org.
- ^ "areaServed (property)". Schema.org.
- ^ "hasOfferCatalog (property)". Schema.org.
- ^ "employee (property)". Schema.org.
- ^ "founder (property)". Schema.org.
- ^ "memberOf (property)". Schema.org.
- ^ "provider (property)". Schema.org.
- ^ "serviceType (property)". Schema.org.
- ^ "url (property)". Schema.org.
- ^ "sameAs (property)". Schema.org.
- ^ "identifier (property)". Schema.org.
- ^ "JSON-LD 1.1, section 3.3 Node Identifiers". World Wide Web Consortium (W3C).
- ^ "Review snippet (Review, AggregateRating) structured data". Google Search Central.
- ^ "General structured data guidelines". Google Search Central.
- ^ "Person (type)". Schema.org.
- ^ "Introduction to structured data markup in Google Search". Google Search Central.