This guide covers JSON-LD schema markup for law firm websites: LegalService, attorney details through Person schema, FAQPage and Organization types. The code is there to adapt. It also shows how to link the schemas into one graph, so Google and AI search tools recognise your entities.

Key takeaways

  • LegalService extends LocalBusiness with practice-area details through hasOfferCatalog. This makes it the core schema type for law firm homepages and location pages.
  • Attorney bios should use Person schema, not a nonexistent Attorney type. Link attorneys to the firm through worksFor.
  • FAQPage schema still helps AI search systems read your content. This holds true even though Google restricted FAQ rich results to certain site types in 2023.
  • Matching @id values across every schema block let Google treat your organization, attorneys, services, and articles as one connected entity.
  • Check every JSON-LD block with Google's Rich Results Test and the schema.org validator, both before and after launch.

Updated 5 November 2026: sources added, experience claims checked against our project record, summary added.

Schema Markup for Law Firms: Complete JSON-LD Guide (2026)

Why Schema Markup Matters for Law Firms in 2026

Schema markup won't lift your rankings by itself, and it isn't a ranking factor in the usual sense. It does three things that add up over time:

  1. Rich results in search pages. FAQ dropdowns, star ratings, and business details take up more space in search results. Google's structured data documentation notes that pages with eligible rich results often get better click-through rates.

  2. AI search citations. Google's AI Overviews, Bing Copilot, Perplexity, and ChatGPT search all read structured data to understand entities. If you want your firm named when someone asks "best personal injury lawyer in Austin," schema helps these tools learn who you are, what you do, and where you're based.

  3. Knowledge panel eligibility. Google's Knowledge Graph draws heavily on structured data. A well-marked-up law firm with steady sameAs links has a much better shot at a branded knowledge panel.

Legal keywords are among the most expensive in paid search, especially for busy practice areas. Any gain in organic visibility justifies the engineering time.

JSON-LD vs Microdata: Pick the Right Format

Short answer: use JSON-LD. Always.

Google recommends JSON-LD over other formats. It is easier to maintain, keeps your HTML clean and goes in <script> tags. Microdata, by contrast, needs attributes inside your HTML elements, which gets messy fast. The problem is worse with a headless CMS such as Sanity, Contentful or Storyblok, where content and layout are separate.

Feature JSON-LD Microdata RDFa
Google recommended ✅ Yes ⚠️ Supported ⚠️ Supported
Separate from HTML ✅ Yes ❌ No ❌ No
Easy to maintain ✅ Yes ❌ Messy ❌ Messy
Works with headless CMS ✅ Perfect fit ⚠️ Possible ⚠️ Possible
AI search compatibility ✅ Excellent ✅ Good ✅ Good
Dynamic injection ✅ Trivial ❌ Requires DOM changes ❌ Requires DOM changes

JSON-LD fits easily if you build with Next.js or Astro. We've used this pattern on live projects such as the SleepDr migration to Next.js and Payload CMS and the bdManagedIT rebuild on Astro and Sanity. Build it as a JavaScript object, then place it in a <script type="application/ld+json"> tag in the <head>.

LegalService Schema: The Foundation

LegalService is the schema.org type made for law firms and legal practices. It's a subtype of LocalBusiness, so it inherits all the local business fields (address, phone, hours), plus you can add legal-specific details.

Here's a ready-to-use example:

{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "@id": "https://www.smithlawfirm.com/#organization",
  "name": "Smith & Associates Law Firm",
  "alternateName": "Smith Law",
  "url": "https://www.smithlawfirm.com",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.smithlawfirm.com/images/logo.png",
    "width": 600,
    "height": 200
  },
  "image": "https://www.smithlawfirm.com/images/office-exterior.jpg",
  "description": "Smith & Associates provides personal injury, family law, and estate planning legal services in Austin, Texas.",
  "telephone": "+1-512-555-0199",
  "email": "contact@smithlawfirm.com",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "456 Congress Avenue, Suite 300",
    "addressLocality": "Austin",
    "addressRegion": "TX",
    "postalCode": "78701",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 30.2672,
    "longitude": -97.7431
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "08:00",
      "closes": "18:00"
    }
  ],
  "priceRange": "$$",
  "areaServed": {
    "@type": "City",
    "name": "Austin",
    "sameAs": "https://en.wikipedia.org/wiki/Austin,_Texas"
  },
  "hasOfferCatalog": {
    "@type": "OfferCatalog",
    "name": "Legal Services",
    "itemListElement": [
      {
        "@type": "Offer",
        "itemOffered": {
          "@type": "Service",
          "name": "Personal Injury Representation",
          "description": "Legal representation for car accidents, slip and fall, and workplace injuries."
        }
      },
      {
        "@type": "Offer",
        "itemOffered": {
          "@type": "Service",
          "name": "Family Law",
          "description": "Divorce, child custody, and prenuptial agreement services."
        }
      }
    ]
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "127",
    "bestRating": "5"
  },
  "sameAs": [
    "https://www.facebook.com/SmithLawAustin",
    "https://www.linkedin.com/company/smith-law-austin",
    "https://www.avvo.com/attorneys/smith-associates.html"
  ]
}

Key Properties You Shouldn't Skip

  • @id: This is key for linking schemas together. Think of it as a unique ID that other schema blocks can point to.
  • geo: Google uses this for local pack results. Don't skip it.
  • areaServed: If you serve many cities or counties, list them all. Use GeoCircle for radius-based service areas.
  • hasOfferCatalog: This is how you list your practice areas as services. Each practice area page should ideally have its own Service schema too.
  • sameAs: Add your Avvo, Justia, FindLaw, LinkedIn, Facebook, or any trusted profile. This helps Google link the pieces for your knowledge panel.
  • aggregateRating: Only add this if you pull from real first-party reviews. Google's rules are strict here. Don't fake ratings.

Schema Markup for Law Firms: Complete JSON-LD Guide (2026) - architecture

Attorney Schema with Person Markup

Each attorney at your firm should have a Person schema on their bio page. This is where E-E-A-T really counts. You're telling search engines about credentials, bar admissions, education, and expertise in plain terms.

{
  "@context": "https://schema.org",
  "@type": "Person",
  "@id": "https://www.smithlawfirm.com/attorneys/jane-smith/#person",
  "name": "Jane Smith",
  "jobTitle": "Managing Partner",
  "url": "https://www.smithlawfirm.com/attorneys/jane-smith",
  "image": "https://www.smithlawfirm.com/images/attorneys/jane-smith.jpg",
  "description": "Jane Smith is a personal injury attorney in Austin, TX with over 15 years of experience and a track record of $50M+ in settlements.",
  "telephone": "+1-512-555-0200",
  "email": "jane@smithlawfirm.com",
  "worksFor": {
    "@id": "https://www.smithlawfirm.com/#organization"
  },
  "alumniOf": [
    {
      "@type": "CollegeOrUniversity",
      "name": "University of Texas School of Law",
      "sameAs": "https://law.utexas.edu"
    }
  ],
  "hasCredential": [
    {
      "@type": "EducationalOccupationalCredential",
      "credentialCategory": "Bar Admission",
      "recognizedBy": {
        "@type": "Organization",
        "name": "State Bar of Texas"
      }
    }
  ],
  "knowsAbout": [
    "Personal Injury Law",
    "Car Accident Claims",
    "Wrongful Death",
    "Premises Liability"
  ],
  "sameAs": [
    "https://www.linkedin.com/in/janesmith-attorney",
    "https://www.avvo.com/attorneys/jane-smith.html",
    "https://www.martindale.com/jane-smith"
  ]
}

Why `worksFor` References Matter

The worksFor property above uses the @id from the LegalService schema. That connects the graph. Google learns that Jane Smith works at Smith & Associates, a legal service firm in Austin. The link strengthens both entities.

The hasCredential property is fairly new, and its importance grows each year. Bar admissions, board certifications and Super Lawyers badges all deserve markup. AI search tools read this kind of proof closely.

FAQPage Schema for Practice Areas

FAQ schema has a patchy history. Google cut back FAQ rich results in August 2023, leaving them mostly to government and health sites. It still matters in 2026, for two reasons:

  1. AI search parsing. LLMs actively read FAQ structured data when they build answers. Perplexity and Google AI Overviews both cite FAQ content.
  2. Bing and other engines. Bing still shows FAQ rich results more freely than Google.

For each practice area page, add a clear FAQ section with matching schema:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How much does a personal injury lawyer cost in Austin?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Most personal injury attorneys in Austin work on a contingency fee basis, meaning you pay nothing upfront. The standard contingency fee ranges from 33% to 40% of the settlement or verdict amount. If you don't win, you don't pay attorney fees."
      }
    },
    {
      "@type": "Question",
      "name": "What is the statute of limitations for personal injury in Texas?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "In Texas, you generally have two years from the date of the injury to file a personal injury lawsuit. There are exceptions for minors, government entities, and cases where the injury wasn't immediately discovered. Consulting an attorney promptly is critical to preserve your rights."
      }
    },
    {
      "@type": "Question",
      "name": "How long does a personal injury case take to settle?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Most personal injury cases in Texas settle within 6 to 18 months. Simpler cases like fender-benders with clear liability may resolve in a few months. Complex cases involving catastrophic injuries or disputed fault can take 2-3 years or longer if they go to trial."
      }
    }
  ]
}

Critical FAQPage Rules

  • The content must show on the page. Google's rules are clear: your FAQ markup must match what's visible on the page. Don't add FAQ schema for questions that live only in the JSON-LD.
  • Keep answers short. Two to three sentences per answer works best. For complex topics, link to a full page instead.
  • Use real questions. Pull from Google Search Console data, "People Also Ask" boxes, and real client calls. Don't invent questions no one asks.
  • Limit to 5-10 per page. More than that waters down relevance.

Organization Schema: Tying It All Together

If your firm has more than one office, add an Organization schema to your homepage as the parent entity. Give each location its own LegalService schema.

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.smithlawfirm.com/#organization",
  "name": "Smith & Associates Law Firm",
  "url": "https://www.smithlawfirm.com",
  "logo": "https://www.smithlawfirm.com/images/logo.png",
  "foundingDate": "2008",
  "founder": {
    "@id": "https://www.smithlawfirm.com/attorneys/jane-smith/#person"
  },
  "numberOfEmployees": {
    "@type": "QuantitativeValue",
    "value": 25
  },
  "subOrganization": [
    {
      "@type": "LegalService",
      "name": "Smith & Associates - Austin Office",
      "url": "https://www.smithlawfirm.com/locations/austin"
    },
    {
      "@type": "LegalService",
      "name": "Smith & Associates - San Antonio Office",
      "url": "https://www.smithlawfirm.com/locations/san-antonio"
    }
  ],
  "sameAs": [
    "https://www.facebook.com/SmithLawAustin",
    "https://www.linkedin.com/company/smith-law-austin",
    "https://twitter.com/SmithLawATX"
  ]
}

Building a Connected Schema Graph

Most law firm sites fail here. They have scattered fragments of schema (some LocalBusiness here, a Person there) with nothing tying them together. Google's structured data documentation refers to "entity reconciliation", which is how Google works out that separate pieces of data describe the same real-world things.

The @id property is your tool for this. Here's how the graph should link up:

Page Schema Type References
Homepage Organization + WebSite @id for the org
Location pages LegalService parentOrganization → org @id
Attorney bios Person worksFor → org @id
Practice area pages Service + FAQPage provider → org @id
Blog posts Article author → person @id, publisher → org @id
Contact page ContactPoint Nested in org or LegalService

Here's a quick example of how a practice area page links back:

{
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "Personal Injury Representation",
  "serviceType": "Personal Injury Law",
  "provider": {
    "@id": "https://www.smithlawfirm.com/#organization"
  },
  "areaServed": {
    "@type": "State",
    "name": "Texas"
  },
  "description": "Legal representation for car accidents, truck accidents, workplace injuries, and wrongful death claims throughout Texas.",
  "hasOfferCatalog": {
    "@type": "OfferCatalog",
    "name": "Personal Injury Services",
    "itemListElement": [
      {
        "@type": "Offer",
        "itemOffered": {
          "@type": "Service",
          "name": "Car Accident Claims"
        }
      },
      {
        "@type": "Offer",
        "itemOffered": {
          "@type": "Service",
          "name": "Truck Accident Claims"
        }
      }
    ]
  }
}

Where to Place JSON-LD in Your Templates

JSON-LD goes in a <script type="application/ld+json"> tag. You can place it in the <head> or just before the closing </body> tag. Google doesn't require a set position, though the <head> is often cleaner.

With a headless CMS and a framework such as Next.js or Astro, generate the schema from your CMS data. A simple Next.js example:

// components/LegalServiceSchema.tsx
export function LegalServiceSchema({ firm }) {
  const schema = {
    "@context": "https://schema.org",
    "@type": "LegalService",
    "@id": `${firm.url}/#organization`,
    "name": firm.name,
    "url": firm.url,
    "telephone": firm.phone,
    "address": {
      "@type": "PostalAddress",
      "streetAddress": firm.address.street,
      "addressLocality": firm.address.city,
      "addressRegion": firm.address.state,
      "postalCode": firm.address.zip,
      "addressCountry": "US"
    }
  };

  return (
    <script
      type="application/ld+json"
      dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}
    />
  );
}

This pattern suits content that lives in a headless CMS. The schema follows your data, so a changed phone number needs no manual schema update. We used this approach on the SleepDr migration to Next.js and Payload CMS and the bdManagedIT rebuild on Astro and Sanity. Our headless CMS development work offers the same setup.

Validation and Testing

Test everything before you push it live. These tools are worth using:

Tool URL What It Does
Google Rich Results Test search.google.com/test/rich-results Shows which rich results your page can get
Schema Markup Validator validator.schema.org Checks against the full schema.org spec (stricter than Google)
Google Search Console search.google.com/search-console Shows errors and warnings after launch
Merkle Schema Markup Generator technicalseo.com/tools/schema-markup-generator Good for building a first draft

A typical workflow:

  1. Write the JSON-LD by hand or build it from CMS data
  2. Check it with the schema.org validator first (catches structure issues)
  3. Test with Google's Rich Results Test (confirms Google can read it)
  4. Launch and watch Search Console's Enhancements report over the next few weeks
  5. Check if rich results actually show up in search using a site:yourdomain.com search

Common Mistakes That Kill Your Rich Results

Here are common mistakes that break rich results:

Hidden markup. You add FAQ schema, but the questions and answers don't appear on the page. Google is clear that structured data must match visible page content. Breaking that rule risks a manual penalty.

Fake or self-published reviews. Adding AggregateRating with reviews that live only on your own site, not pulled from Google Business Profile, Avvo, or another outside source, breaks Google's review snippet rules. Enforcement has only become stricter.

Duplicate schemas from plugins. You install Yoast or Rank Math, and it generates Organization schema automatically. Then you or your developer add custom JSON-LD too, and Google sees two conflicting Organization blocks. Pick one source of truth.

Missing @id references. Without @id properties, your schema blocks sit in isolation. Google can't link your attorneys to your firm, or your services to your locations. Always set @id and point to it with {"@id": "..."} in related schemas.

Stale data. Your office moved six months ago, but the schema still shows the old address. Or an attorney left the firm, but their Person schema is still live. Treat schema like code. It needs maintenance.

Using Attorney as a schema type. This trips people up a lot. Schema.org has no Attorney type. There's no @type: "Attorney". Use Person with a jobTitle of "Attorney" and link them to your LegalService through worksFor. Some plugins get this wrong.

FAQ

What schema types should every law firm website have?

At minimum, use LegalService (or Organization with LegalService subtypes) on your homepage, Person on each attorney bio page, and FAQPage on practice area pages. If you publish blog content, add Article schema with correct author links. A multi-location firm needs a separate LegalService block for each office, with location-specific details.

Does FAQPage schema still work for rich results in 2026?

Google cut FAQ rich results visibility a lot in August 2023, and now shows them mostly for government and health authority sites. FAQ schema remains useful for AI search tools such as Google AI Overviews, Bing Copilot and Perplexity, which read structured FAQ data when they build answers. It is worth adding.

Is there a schema type made just for attorneys?

No. Schema.org has no Attorney type. Use Person, with jobTitle set to "Attorney" or "Partner", hasCredential for bar admissions, and worksFor pointing to your firm's LegalService or Organization schema. Some SEO plugins use Attorney by mistake. Skip them or override the output.

How do I handle many practice areas in schema markup?

Each practice area page should have its own Service schema with a provider link back to your firm's @id. On your homepage or main services page, use hasOfferCatalog with an OfferCatalog that lists each service. The result is page-level signals plus a firm-wide overview.

Can schema markup help my law firm show up in Google's AI Overviews?

Yes. Google's AI Overviews and other AI search tools use structured data as a signal when they choose sources for generated answers. A well-linked schema graph, with LegalService, Person, FAQPage, and proper sameAs links, helps AI tools understand your firm's authority and location, as well as its focus areas. It is not the only factor. But it does matter more each year.

Should I use a schema plugin or write JSON-LD by hand?

It depends on your platform and comfort level. For WordPress, plugins like Rank Math or Schema Pro cover the basics. For law firms, though, the defaults rarely go far enough: you'll need to customise the output for LegalService, attorney credentials and practice area services. On a headless CMS with Next.js or Astro, building JSON-LD from your CMS data is the cleanest option. We used this approach on the SleepDr migration to Next.js and Payload CMS and offer it through our headless CMS development services.

How long until schema markup shows results?

Once valid structured data is live, Google usually processes it within a few weeks, though it can take longer. Search Console's Enhancements report shows it first. Rich results, if eligible, may take more weeks to appear. AI search citation gains are harder to track and may take a few months to notice.

What's the link between schema markup and E-E-A-T?

Schema markup is one of the most direct ways to show E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness) to search engines. Person schemas with hasCredential show expertise, while AggregateRating and Review schemas signal trust. sameAs links to trusted legal directories support authority. Google's quality rater guidelines don't name schema directly, but the data you add maps directly onto what quality raters check.