Español Request my free review

Free tool · Structured data

Law firm schema generator: JSON-LD for your firm, offices and lawyers

The law firm schema generator turns the firm, offices and lawyers you type into LegalService JSON-LD: one node per office, lawyers linked to the firm, hours. Never a self-serving rating.

Free · No sign-up · Runs in your browser, nothing is sent anywhere

Your firm

Offices

Office 1
Office 1
Office 2
Office 2
Office 3
Office 3

Lawyers

Lawyer 1
Lawyer 1
Lawyer 2
Lawyer 2
Lawyer 3
Lawyer 3
Lawyer 4
Lawyer 4
Questions and answers (FAQ): no Google rich result since May 7, 2026
FAQ

The rules it follows

  • The firm and each office are LegalService nodes with their own @id; each office points to the firm with parentOrganization.
  • Put the firm’s markup on your home page or on one page about the firm. Google recommends the home page or a single page that describes the organization, such as the about page. (source: Google Search Central: Organization structured data) Google says you don’t need to include it on every page of your site. (source: Google Search Central: Organization structured data) Google says this markup can help it disambiguate your organization in search results. (source: Google Search Central: Organization structured data) It tells search engines which firm you are; it promises no ranking.
  • Case results and recovery totals stay in the page text, with any disclaimer your state’s rules require: this generator has no field for them. schema.org has an award property, “an award won by or for this item”; Google’s Organization guide does not name it, so what Google does with it is unknown. (source: Schema.org: award (property))
  • Only what you type goes in: the firm’s logo, photo and contact point, and each office’s hours, coordinates and map page.
  • An office needs a real street address. The same address twice is refused.
  • Each lawyer is a Person who works for the firm. A license is marked only with both the licensing body and the bar number.
  • No rating or review markup on your own firm or offices: Google shows review markup for a local business only on sites that capture reviews about other local businesses. (source: Google Search Central: review snippet structured data (supported types))
  • FAQ markup goes in its own block, only for questions the page shows. FAQ markup has had no Google rich result since May 7, 2026. (source: Google Search Central: latest updates to the documentation)
  • sameAs keeps only authoritative profiles.

Then check the live page with the law firm website check. You can also review homepage disclosures and crawler rules in the AI visibility & ad-rule grader.

What markup does and does not do

Markup is not a lever for AI answers: it is hygiene. Google says structured data isn’t required for generative AI search. (source: Google Search Central: Optimizing your website for generative AI features)

An Ahrefs study published May 11, 2026 followed 1,885 pages that added JSON-LD schema between August 2025 and March 2026, matched against 4,000 control pages. Every one already had 100 or more AI Overview citations in February 2025, so the study covered only pages that were already cited. Its finding: adding schema produced no major uplift in citations on any platform. (source: Ahrefs (SEO software vendor), We Tracked 1,885 Pages Adding Schema. AI Citations Barely Moved., May 11, 2026)

Two 2026 preprints asked what gets a page cited in AI answers by comparing pages of the same website. Chen and Koudas (University of Toronto, 12,038 pages on 1,120 websites) found that FAQ blocks, structured data, summary boxes and page speed appear effective only across websites. (source: Chen and Koudas (University of Toronto), What Drives AI Citations? Content, Retrieval and Model Knowledge in Generative Engine Optimization (GEO), arXiv 2610.15033v1, October 10, 2026, preprint)

Moore and Dunne (Discovered Labs) found that structured-data markup, FAQ blocks, Core Web Vitals and page speed are largely confounded with domain authority. (source: Moore and Dunne (Discovered Labs), What Drives Citations in Production Large Language Models? An Observational Multi-Method Study of Two Million AI Citations Across Ten Thousand Web Pages, arXiv 2609.35077v1, September 28, 2026, preprint, not peer reviewed)

So every fact in the markup also goes on the page, in the same words. Google says don’t mark up content that is not visible to readers of the page. (source: Google Search Central: general structured data guidelines)

A phone, address or fee left in old markup can contradict the page, and the website check flags it. Markup does not create a knowledge panel either: Google says knowledge panels are automatically generated. (source: Google Knowledge Panel Help: About knowledge panels)

How the markup is built, step by step

  1. The firm becomes one LegalService node with its own @id, made from your home page address, so every other node can point at it. LegalService is the schema.org type for a business that provides legal services.
  2. Each office becomes its own LegalService with its street address, phone and opening hours, and points at the firm with parentOrganization. An office without a full US street address is refused, and so is the same address typed twice, because the local business markup Google reads describes one physical place: Google’s local business page.
  3. Each lawyer becomes a Person who works for the firm, never an Attorney node, because schema.org files Attorney under LocalBusiness, a kind of business, as its Attorney page shows. The license goes in only with both the licensing body and the bar number; one without the other is refused.
  4. No rating and no review is ever built for the firm or an office: Google shows review markup for a local business only on sites that capture reviews about other local businesses. (source: Google Search Central: review snippet structured data (supported types))
  5. sameAs keeps only profiles on a fixed list: state bar and court sites, Wikidata, Wikipedia, the firm’s map listing and the main social and professional networks; anything else is dropped and listed in the notes, so a paid directory listing does not stand in for the firm.
  6. The FAQ block is built apart from the firm, and only when you tick that the questions are shown on the page, because the markup has to match what a visitor can read there.
  7. The result: either the list of fields to fix, or the blocks to copy with one line on what they hold and where to check them next.

A worked example

A made-up injury firm types its name, home page and phone, one office with its street address and weekday hours, and one partner by name and title. For sameAs it gives its page on a professional network and a listing on a lawyer directory.

The generator keeps the professional-network page and drops the directory listing, marks the partner as a Person who works for the firm, and turns the weekday hours into an opening-hours block on the office. Had the partner come with a licensing body but no bar number, the markup would have been refused until both were given or both left out. The notes say what was left out, and the last card says what was built and what to do next.

  • No rating or review markup is included: about your own firm on your own site it is self-serving.
  • Left out of sameAs: https://www.examplelawyerdirectory.com/example-injury-law. sameAs takes only profiles on a fixed list of authoritative sites: government (.gov) sites such as state courts and bars, the state bar sites that are not on .gov, Wikidata, Wikipedia, LinkedIn, Google Maps and the main social networks.

What this means, and what to do next

Built: one firm node, one office node and one lawyer node. Once it is on your page, check that the published source parses.

Paste the page into the website check

The block it returns

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "LegalService",
      "@id": "https://www.examplefirm.com/#firm",
      "name": "Example Injury Law",
      "url": "https://www.examplefirm.com/",
      "telephone": "+1-210-555-0100",
      "contactPoint": {
        "@type": "ContactPoint",
        "telephone": "+1-210-555-0100",
        "contactType": "customer service"
      },
      "sameAs": [
        "https://www.linkedin.com/company/example-injury-law"
      ],
      "areaServed": [
        {
          "@type": "Place",
          "name": "San Antonio"
        },
        {
          "@type": "Place",
          "name": "Bexar County"
        }
      ],
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "100 Example Street",
        "addressLocality": "San Antonio",
        "addressRegion": "TX",
        "postalCode": "78205",
        "addressCountry": "US"
      },
      "department": [
        {
          "@id": "https://www.examplefirm.com/#office-1"
        }
      ]
    },
    {
      "@type": "LegalService",
      "@id": "https://www.examplefirm.com/#office-1",
      "name": "Downtown office",
      "parentOrganization": {
        "@id": "https://www.examplefirm.com/#firm"
      },
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "100 Example Street",
        "addressLocality": "San Antonio",
        "addressRegion": "TX",
        "postalCode": "78205",
        "addressCountry": "US"
      },
      "telephone": "+1-210-555-0100",
      "openingHoursSpecification": [
        {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday"
          ],
          "opens": "08:00",
          "closes": "18:00"
        }
      ]
    },
    {
      "@type": "Person",
      "@id": "https://www.examplefirm.com/#lawyer-1",
      "name": "A. Example",
      "worksFor": {
        "@id": "https://www.examplefirm.com/#firm"
      },
      "jobTitle": "Partner"
    }
  ]
}
</script>

How was this built?

What it covers

JSON-LD for a law firm’s own site: the firm as a LegalService with its own @id; each office as a LegalService with its street address, phone, coordinates, map link and opening hours, linked to the firm with parentOrganization; each lawyer as a Person who works for the firm, with the licensing body and bar number when you give both; areas served as places; sameAs links to authoritative profiles only; and, in a separate block, an FAQPage for questions that are shown on the page.

Method

The browser builds the markup from what you typed, with fixed rules. An office needs a full US street address; the same address twice is refused. It never builds a rating or review for the firm or its offices: Google shows review markup for a local business only on sites that capture reviews about other local businesses. (source: Google Search Central: review snippet structured data (supported types)) sameAs keeps only state bar and court sites, Wikidata, Wikipedia, LinkedIn, Google Maps and the main social profiles. Nothing you type is sent or stored. AI agents can build the same markup with the tool build_law_firm_schema on our MCP server (/mcp).

Limits

It writes markup; it cannot check that what you typed is true. Mark up only offices that exist, lawyers who work there, and credentials they hold. It never marks up ratings or reviews of your own firm. Test the result in a structured-data validator before you publish it. It does not promise rich results, rankings or AI citations.

Related

Questions people ask

Why does it never add a star rating?

Because the markup goes on your own site, and Google shows review markup for a local business only on sites that capture reviews about other local businesses. (source: Google Search Central: review snippet structured data (supported types)) Before you show reviews on your site at all, read your state’s lawyer advertising rules.

Why one node per office?

Each office has its own address, phone and hours. A separate LegalService for each, linked to the firm, keeps those facts apart instead of mixing several addresses on one node.

Should I use the Attorney type for lawyers?

Schema.org defines Attorney as a kind of business, not a person. The generator marks each lawyer as a Person who works for the firm.

Where do I put the code?

Paste each block into a script tag of type application/ld+json in the page head, the firm block on every page or on the home page, and the FAQ block only on the page that shows those questions. A site we build carries the markup from its templates. On WordPress, a plugin that inserts code into the page header does the same job without editing the theme. When an address, phone or lawyer changes, build the block again and replace the old one.

Is what I type sent to Probative Growth?

No. The markup is built in this browser tab and nothing is uploaded or stored.

Sources

  1. Schema.org: LegalService Accessed November 2, 2026
  2. Schema.org: Attorney (a LocalBusiness type) Accessed November 2, 2026
  3. Schema.org: Person Accessed November 2, 2026
  4. Schema.org: OpeningHoursSpecification Accessed November 2, 2026
  5. Schema.org: hasMap Accessed November 4, 2026
  6. Google Search Central: local business structured data Accessed November 2, 2026
  7. Google Search Central: review snippet guidelines Accessed November 2, 2026
  8. Schema Markup Validator Accessed November 2, 2026

Free

Get your free review.

Send us your firm’s website. Probative Growth records a 90-second video of what clients see when they look you up, and emails it with a one-page summary within 2 business days. No logins, no call needed.

Not sure where to start? Answer 7 questions Ready to talk? Talk to us Or see what AI says about your firm

Your free review: It covers your Google listing, website, phone and ads, from public information.

Step 2 of 2. Where should we send the video for your site?

We use this to send your video and to reply to you.

We use what you send to reply to you and to send a few short follow-up emails (unsubscribe any time). Never sold. By sending this form you agree to our privacy policy.

See every price

How we checked this page

Sources
8 sources listed on this page, 2 of them official (government, courts, state bars or the platform’s own published policy), each with the date we read it.
Checked by
our data desk, with a second person checking every number against its source (who does what).
Last checked
What it covers
The open data and rules named on this page. It shows what they say; it never says an ad passes or fails, and it is not legal advice.
Found a mistake?
Email hello@probativegrowth.com. Every fix goes in our corrections log.