SEO

Schema markupStructured data a law firm actually needs

Structured data will not rescue a weak site, but it helps search engines read a good one correctly. Most law firms need only a handful of types, done carefully.

By the Array Law editorsUpdated Nov 10, 20268 min read
Schema markup illustration
JSON-LD
format Google recommends
2023
FAQ rich results narrowed
4-5
schema types most firms need

Key takeaways

  • Use JSON-LD, the format Google recommends, and keep markup consistent with what the page shows.
  • Describe the firm with LegalService or LocalBusiness, and each lawyer with Person.
  • FAQ rich results are now limited to a small set of sites, and self-serving review stars are not shown.
  • Validate with the Rich Results Test and watch Search Console reports after launch.

What structured data does, and what it does not

Structured data is a block of code that labels the facts on a page in a format machines can read. Instead of guessing that "(253) 555-0100" is your phone number, a search engine can read a field that says so. Most sites use the vocabulary from schema.org.

Done well, it can make your pages eligible for certain enhanced results, such as breadcrumbs in the search listing or richer article display. It also helps search engines, and the AI features built on top of them, connect your firm, your lawyers and your offices as related entities.

It is not a ranking shortcut. Google has said for years that structured data is not a general ranking factor, and eligibility for a rich result never guarantees one. Think of it as accurate labeling for content that already deserves to rank. If your practice area pages are thin, markup will not fix them.

Google recommends JSON-LD, a script block that sits in the page head or body and does not change what users see. It is easier to maintain than microdata woven into the HTML, and it can be generated from one template for every page of a type. The rule that matters most is simple: everything you mark up should be visible on the page, and true.

There is also a cost to getting it wrong. Markup that describes content users cannot see, or that inflates reviews, can lead to a manual action that removes rich results across the site.

Describe the firm: Organization and LegalService

Start with the entity behind the site. Schema.org offers LegalService, a subtype of LocalBusiness, for businesses that provide legal services. It also lists Attorney, but schema.org itself notes that this type is deprecated in favor of LegalService. Use LegalService for the firm or each office.

A sensible setup for most firms:

  • On the home page: an Organization (or LegalService) block with the firm's legal name, logo, main URL, main phone and links to official profiles in a sameAs list.
  • On each office or location page: a LegalService block with that office's address, phone, geo coordinates, opening hours and a link back to the parent firm.
  • Consistency: the name, address and phone must match the visible page and your Google Business Profile exactly.

Google documents the properties it reads in its local business structured data guide. Note that your map pack presence depends far more on the Business Profile itself than on site markup. Our Business Profile checklist covers that side.

Give each entity a stable @id, such as your home URL plus "#firm". Other blocks can then reference the firm by that id instead of repeating every field.

Describe the people: Person markup on bios

Attorney bio pages are a natural home for Person markup. It ties a lawyer's name to the firm, their role and their public profiles, which supports the experience and expertise signals that matter on legal topics.

Useful properties include:

  • name and jobTitle, as shown on the page.
  • worksFor, pointing to the firm's @id.
  • image, the same headshot used on the bio.
  • alumniOf for law school and college.
  • memberOf for bar associations or professional groups you can document.
  • knowsAbout for practice areas, kept short and honest.
  • sameAs for the state bar profile, LinkedIn and other official pages.

Keep the markup in step with the visible bio. If the page lists three bar admissions, the markup should not list five. If an attorney changes title, update both at once. Search engines compare the two, and so do careful readers who check the state bar directory.

Do not mark up claims you cannot show. If your state limits the use of "specialist", that limit applies to markup as much as to visible text. Our post on attorney bio pages covers what the page itself should say.

On blog posts, reference the same Person as the author using their @id. That way every article an attorney writes points back to one consistent profile.

Pages, posts and breadcrumbs

Beyond the firm and its people, three more types cover most remaining pages.

BreadcrumbList

If your site shows breadcrumbs, mark them up. Google can display the path in search results on desktop, and it clarifies how practice pages and sub-pages relate. The markup must match the breadcrumb trail users see.

Article or BlogPosting

Blog posts and guides can use Article or BlogPosting with headline, author, datePublished, dateModified and image. Keep dateModified honest. Changing it without real edits does not help and can erode trust.

WebPage and WebSite

A WebSite block on the home page with your site name helps Google show the right name in results. Some firms also add WebPage blocks with an about property pointing to the relevant service. That is optional.

Location pages

Firms with more than one office should give each staffed office its own page and its own LegalService block. Each block carries that office's address and phone, plus a parentOrganization or branchOf style reference back to the firm. Do not create location markup for addresses where nobody works. That mirrors Google's own rules for Business Profiles and avoids sending mixed signals.

Video is worth a mention. If you host attorney or FAQ videos on your own pages, VideoObject markup with a thumbnail, upload date and description can make them eligible for video features in search.

FAQ, reviews and other markup to handle with care

Some markup that was popular a few years ago now does little, and some can backfire.

  • FAQPage. In August 2023 Google limited FAQ rich results to well-known, authoritative government and health websites. Law firm sites will generally not get the expanded FAQ display. The markup is harmless if the FAQ is visible on the page, but do not expect a visual change.
  • HowTo. Google stopped showing HowTo rich results in 2023. There is little reason to add it.
  • Review and AggregateRating. Google does not show review stars for a business's reviews of itself, known as self-serving reviews, on LocalBusiness or Organization markup. Marking up your own testimonials will not produce stars, and inflated ratings risk a manual action.
  • Service. Fine for describing a practice area, but it does not trigger a rich result on its own.

Reviews also carry ethics rules. ABA Model Rule 7.1 bars misleading communications, and many states have specific rules on testimonials. Our guide to local SEO and reviews covers how to earn reviews on third-party platforms instead.

A working example for a single office

Here is the shape of the markup for a small firm with one office, described in plain terms rather than code:

  1. The home page carries one LegalService block with @id "https://example.com/#firm". It holds the name, logo, URL, phone, full postal address, geo coordinates, opening hours, areaServed and sameAs links.
  2. Each attorney bio carries a Person block with its own @id and a worksFor reference to "#firm".
  3. Each blog post carries a BlogPosting block whose author points to the attorney's Person @id and whose publisher points to "#firm".
  4. Every page with breadcrumbs carries a BreadcrumbList block.

Fields worth filling on the LegalService block include priceRange only if you can state it honestly, areaServed as a list of the cities or counties you actually serve, and openingHoursSpecification that matches your contact page. Leave out anything you would have to guess.

This connected structure, sometimes called an entity graph, avoids the common mistake of repeating slightly different firm details on every page. One firm, defined once, referenced everywhere.

A few details that often go wrong in reviews of law firm sites:

  • Opening hours in markup that differ from the hours on the contact page.
  • A logo URL that points to an image that no longer exists.
  • An old office address left in a footer template after a move.
  • Practice areas listed in knowsAbout that the firm no longer handles.

If your site runs on WordPress, an SEO plugin may already output some of this. Check its output before adding your own blocks, or you may end up with two conflicting descriptions of the firm.

Validate, monitor and maintain

Markup breaks quietly. A theme update, a new plugin or a moved office can leave stale or invalid data in place for months.

  • Before launch: test key templates in Google's Rich Results Test, which shows which rich results a page is eligible for and flags errors. Use the Schema Markup Validator at schema.org for a broader syntax check.
  • After launch: watch the enhancement reports in Google Search Console. They list errors and warnings across all pages of a type.
  • When facts change: update markup at the same time as the visible page. A new phone number, hours change or departing attorney should trigger a check.

Expect some noise. Search Console sometimes reports warnings for optional properties, and not every warning needs action. Fix errors first, since they make a page ineligible. Then fix warnings where the missing field is easy to supply and true, such as an image or a price range. Ignore suggestions that would require you to invent data.

Keep a short record of which templates output which types. When a developer or plugin changes, that record saves a long hunt.

Structured data is one part of technical health. Speed, mobile layout and clean code matter just as much. Our law firm website design guide covers how those pieces fit together.

Questions, answered

Which schema type should a law firm use?

LegalService is the most fitting type for a firm or office. It is a subtype of LocalBusiness, so it accepts address, phone, hours and geo data. Schema.org marks the older Attorney type as deprecated in favor of LegalService.

Will schema markup improve our rankings?

Not directly. Google says structured data is not a general ranking factor. It helps search engines understand your content and can make pages eligible for rich results, which may improve how listings look, but it cannot replace strong content.

Can we get review stars for our firm in Google results?

Not from markup on your own site. Google does not show star ratings for self-serving reviews on LocalBusiness or Organization markup. Reviews on your Google Business Profile still appear in local results and Maps.

Is FAQ schema still worth adding?

It rarely changes how a law firm listing looks, because Google limited FAQ rich results to authoritative government and health sites in 2023. If the FAQ is visible and useful on the page, the markup does no harm.

How do we check if our markup works?

Run important pages through Google's Rich Results Test and the Schema Markup Validator. After launch, review the enhancement reports in Search Console regularly, and recheck templates after theme or plugin updates.

Ready when you are

One page, one fix, one week at a time. Start with the playbook that matches your next problem.

Read the playbook