Free auditStart free
GuideStructured data · Local SEO

LegalService schema

LegalService is a schema.org LocalBusiness subtype for law firms. See what Google requires, what it does not document, and how to mark up offices and attorneys.

4 min
read
5
sources
Oct 22, 2026
updated
Scaplet Editorial Team
author
In one line

LegalService is the schema.org type for a business that provides legally-oriented services, advice and representation, such as a law firm. It is a LocalBusiness subtype with no properties of its own. Google has no separate LegalService feature: it applies its local business guide, which requires name and address.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

What LegalService is, and what Google does with it

Schema.org defines a LegalService as "a business that provides legally-oriented services, advice and representation, e.g. law firms." It sits under LocalBusiness, which itself inherits from both Organization and Place. That means a law firm page can use contact, address, hours and identity properties, and the type adds none of its own. Schema.org lists two more specific children: Attorney and Notary.

Attorney is marked deprecated on schema.org, which recommends LegalService as more inclusive and less ambiguous. If a template of yours still outputs Attorney, switch it to LegalService. For a single lawyer who is the practice, LegalService still describes the business; the lawyer as a human being is a Person (see Person schema).

Google has no rich result named after LegalService. Its structured data gallery lists Local business, Organization, Article and Profile page, among others, but nothing for legal services. A LegalService item is read through the LocalBusiness guide, which can feed business details in the knowledge panel and Maps. Google also says it does not guarantee structured data will show up in search results, even when the markup is correct. Treat LegalService as a precise label for the entity, not as a ranking lever.

03Check it

A LegalService example

Every value above is a placeholder. Swap in the exact details shown on the page. Google's rule is blunt: "Don't mark up content that is not visible to readers of the page." If the office page shows no phone number, leave telephone out of the markup too.

Law firm office page
{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "@id": "https://example.com/offices/denver/#office",
  "name": "Example Law Group, Denver",
  "url": "https://example.com/offices/denver/",
  "telephone": "+1-303-555-0100",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "100 Example Street, Suite 400",
    "addressLocality": "Denver",
    "addressRegion": "CO",
    "postalCode": "80202",
    "addressCountry": "US"
  },
  "openingHoursSpecification": [{
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
    "opens": "09:00:00",
    "closes": "17:00:00"
  }]
}
04Choose the entity to describe

Offices, solo practitioners and online-only firms

Setup

One office

Markup
One LegalService on the office page
Watch out for
Put the firm name in name, not a keyword string.
Setup

Several offices

Markup
One LegalService per office, each with its own @id, URL and address
Watch out for
Do not copy the head office address onto every branch.
Setup

Solo lawyer

Markup
LegalService for the practice, Person for the lawyer
Watch out for
Do not mark the same page as both business and person without linking them.
Setup

No client-facing office

Markup
Organization, not a local business
Watch out for
A virtual or mailing address is not a place clients visit.
Setup

Several practice areas

Markup
One LegalService; an array in @type only if types truly differ
Watch out for
Google says to use an array in @type, not additionalType.

Google's local business guide says to use the most specific LocalBusiness subtype possible. For legal work LegalService is that subtype, unless the page is for a notary, where Notary is the more specific schema.org type. For the firm's company-level identity, add an Organization record and link the offices to it.

05How it works

Check it in two minutes

  1. 01

    Run the office URL through the Rich Results Test

    Confirm it detects a local business with the expected name and a full postal address.

  2. 02

    Compare to the page

    Match name, address, phone and hours against what a visitor sees on the page.

  3. 03

    Validate vocabulary separately

    Use the Schema Markup Validator for properties Google does not test, such as hasCredential.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01Is there a rich result for LegalService schema?

No. Google does not list LegalService as its own feature. It reads the markup under its local business guide, which requires name and address, and it does not guarantee that structured data will appear in results.

02Should I use Attorney or LegalService?

Use LegalService. Schema.org marks Attorney as deprecated and recommends LegalService as more inclusive and less ambiguous.

03Does LegalService have its own properties?

No. Schema.org lists none that are specific to LegalService. It inherits from LocalBusiness, Organization and Place, including address, telephone, openingHoursSpecification and priceRange.

04Can a law firm without a public office use LegalService?

Google's local business guide defines address as the physical location of the business. If clients cannot visit, an Organization record is the more honest fit.

Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • schema.org
  • google.com
  1. 01LegalService typeschema.org · checked 2026-10-25
  2. 02Attorney typeschema.org · checked 2026-10-25
  3. 03Local business structured datadevelopers.google.com · checked 2026-10-25
  4. 04Structured data markup that Google Search supportsdevelopers.google.com · checked 2026-10-25
  5. 05General structured data guidelinesdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane