Skip to content

How to add structured data to a law firm site for AI citations

By The Pickedby team, AI visibility for law firms · Updated November 24, 2026

Short answer

To make a law firm identifiable, mark up the practice with LegalService and each attorney with Person, linked to each other, because AI answers name people and firms rather than pages.

Much structured-data advice for law firms starts with the organisation and stops there. That order is backwards for AI answers, because an answer names a person or a firm, not a URL. The markup worth writing first is the markup that resolves who the practitioner is.

What structured data is, in general, is covered in the structured data definition. This page covers which types a law firm uses and how to check them.

What has to be true before markup helps?

Two things have to be true before markup changes anything. The page has to be reachable by the AI answer-engine crawlers, and the facts you are about to mark up have to be correct on the visible page.

Markup describes a page an engine has already fetched. A blocked crawler never reads the schema, which you can check with the free AI-crawler check. Markup that contradicts the visible page is worse than none, because it gives an engine two versions of one fact.

Keep the expectation in proportion for Google. Its guidance on AI features in Search says there is no special schema.org markup a site needs to add to appear in AI Overviews, and it asks that any structured data match the visible text. Markup is housekeeping that makes facts unambiguous, not an entry ticket.

Which schema types does a law firm use?

Five types carry the weight for a law firm, and they divide by what each one resolves.

  • LegalService states what the practice is and where it operates, on the firm’s own pages. On schema.org it is a kind of LocalBusiness, and Google’s local business guidance asks for the most specific subtype available, with name and address required.
  • Person carries the human facts about each attorney: name, jobTitle, worksFor pointing at the firm, alumniOf, hasCredential, knowsAbout for practice areas, and sameAs.
  • FAQPage marks a set of questions and answers as questions and answers, on pages built around client questions.
  • Article identifies an explanatory page and carries its author and dates, on guides and legal explainers.
  • DefinedTerm marks a definition as a definition, on glossary entries and pages that define a legal concept.

The first two answer the question an engine is resolving about a firm, which is who this is and whether they practise where the question was asked. The last three describe the shape of a page, which helps an engine decide what kind of passage it is quoting.

Is Attorney still the right type for a lawyer?

No. schema.org marks Attorney as deprecated and points to LegalService as more inclusive and less ambiguous. It never described a person either: Attorney sits under LocalBusiness, so it was always a type for a business rather than for the individual lawyer.

A firm with older markup can migrate in two moves. Replace Attorney with LegalService on the firm and office pages, and describe each lawyer with Person, linked to the firm through worksFor. An illustrative bio page for a fictional attorney at the equally fictional Smith Injury Law would carry something like this:

{
  "@context": "https://schema.org",
  "@type": "Person",
  "name": "Alex R. Rivera",
  "jobTitle": "Partner",
  "worksFor": { "@type": "LegalService", "name": "Smith Injury Law" },
  "knowsAbout": ["Truck accidents", "Premises liability"],
  "sameAs": ["https://state-bar.example/attorney/000000",
             "https://directory.example/alex-r-rivera"]
}

The name is the bar’s spelling, the sameAs links go to the bar listing and the directory profiles, and every value appears on the visible bio.

The sameAs property links your records together, and it does the work most firms skip. It points from your own markup at the other places the same entity appears, including the state bar listing, the firm’s directory profiles and its social accounts.

That linkage is what turns four separate records into one entity. Without it an engine holds an attorney bio on your site, a Justia profile and an Avvo profile as three unlinked things, and a fact that appears in only one of the three carries less weight.

How do you mark up the practitioner?

Follow these steps in order, because each one constrains the next.

  1. Name the attorney exactly as the state bar lists them. Use the bar’s spelling rather than the marketing page’s styling.
  2. State the jurisdiction each attorney is admitted in. Admission is what makes a recommendation appropriate to the question.
  3. Attach the credential with hasCredential, the property intended for qualifications, rather than burying it in free text.
  4. Link the person to the firm with worksFor, so the two records resolve as one entity instead of two.
  5. Add sameAs pointing at the bar listing and the directory profiles. Include every profile you control.
  6. Point each attorney’s markup at a single canonical bio page. The same person described at three URLs resolves as three weaker records.

The name chosen in step 1 becomes the string every other record has to match. Keeping those records in agreement across directories is a separate job, covered in entity consistency.

Which type belongs on which page?

Match the type to what the page is, because a mismatched type describes the page incorrectly.

  • Attorney bio pages carry Person with worksFor, hasCredential and sameAs.
  • Practice area pages carry LegalService with the area and the places served.
  • Office or location pages carry LegalService with the address and hours for that office.
  • Client question pages carry FAQPage where the page genuinely presents questions and answers.
  • Guides and explainers carry Article with a named author and a review date.
  • Glossary entries carry DefinedTerm for the term the page defines.

How do you verify the markup?

Check four things after publishing, in this order.

  1. Validate the syntax with a schema testing tool, which reports errors and unrecognised properties.
  2. Read the rendered page beside the markup and confirm every marked-up fact appears in the visible content.
  3. Search the bar directory for each attorney and confirm the name and admissions match what you published.
  4. Follow every sameAs URL and confirm each one resolves and describes the same person or firm.

The third check is the one that gets skipped and the one that matters. Markup contradicting a public record gives an engine a reason to trust a different source.

Does schema make a law firm page more likely to be quoted?

It depends on the type, and for the legal types we found no clear difference. In Pickedby research on Google AI Overviews for US personal-injury searches in June 2026, pages with legal schema were quoted at about the same rate as similar pages without it (33.0% against 31.9%). FAQ schema showed the same pattern (13.2% against 11.3%). Article schema showed a difference (67.8% against 61.8%).

Read those figures narrowly. They cover one engine, one country, one practice group and one month, and they are comparisons rather than proof of cause: pages that carry article markup can differ in other ways too. What they do not support is treating LegalService or FAQPage markup as the reason a page gets quoted.

What will structured data not fix?

Structured data does not make a thin page citable. It helps an engine understand a page it has already fetched and judged relevant, so a page that does not answer the question gains nothing from being better labelled.

The properties that make a page quotable in the first place are covered in what makes content citable. Pickedby reports which pages the engines actually cite for your tracked questions, which is how a firm tells whether markup work landed on a page that was already competitive.

Stated limit: No AI answer engine documents how it weighs structured data, and Google says AI Overviews need no special markup, so treat markup as making your facts unambiguous rather than as a ranking lever. Our schema figures come from Google AI Overviews alone, for US personal-injury searches in one month. We report the pages that get cited, not the reason an engine chose one.

Keep reading

Be the firm AI skips picks.

Every day, AI names only a few lawyers near you. Find out if you’re one of them, and what to change if you’re not.

14-day trial, $49$24.50 during Black Friday, credited to your first invoice if you subscribe before it ends. It never turns into a plan on its own.

Or get a free AI visibility report for your firm