Insight

Schema Markup for Law Firms: A Practical Guide to AI-Ready Structured Data

A plain-language guide to choosing, adding and testing the structured data that describes your firm, its offices and its lawyers.

Close-up of a hand typing on a keyboard with a futuristic digital interface displaying GEO, AI searc
Bryan Driscoll
ES

Written by Bryan Driscoll | Reviewed by Everett Sizemore

Published: November 24, 2026

Your firm's website already lists your offices, phone numbers, attorneys and practice areas. Schema markup for law firms restates these facts as structured data that search engines and software can easily digest. If you manage your firm's site, you have likely heard this matters for AI search. So, which schema types should your law firm use to boost AI visibility?

Summary prepared by
  • Want AI tools and search engines to read your firm accurately? Structured data turns office, attorney and service details into machine-readable facts.
  • Use LegalService for each location, Person for attorney bios, Organization for firm details and Article for editorial content.
  • Save time and reduce errors by matching schema to visible site content, validating it before and after launch and updating it when details change.
  • Learn why accurate schema supports discoverability but does not ensure rankings, rich results or AI mentions and why FAQ rich results ended May 7, 2026.

What Is Schema Markup and Why Does It Matter for Law Firms?

Schema markup, a form of structured data, is standardized code added to your website that clearly labels key facts so search engines can read them directly. Most structured data relies on Schema.org, a universal vocabulary for describing entities, such as businesses, people and services.

Google generally recommends JSON-LD (JavaScript Object Notation for Linked Data) when supported by your website, as it is the easiest format to set up and maintain. It operates quietly behind the scenes as a block of code invisible to regular site visitors.

For law firms, structured data explicitly identifies details like your firm's name, office locations, phone numbers and legal services. Implementing effective schema markup for law firms ensures search engines and AI tools do not have to guess what your content means.

Google uses structured data to better understand your web pages, which can unlock rich results, the enhanced listings shown in search results. While clean, machine-readable data improves visibility across AI-assisted search tools, schema markup alone does not guarantee higher rankings, rich results, AI citations or direct recommendations.

Which Schema Types Should Law Firms Use?

If you are wondering what schema should my law firm use for better AI visibility, four primary categories cover most needs, with each serving a specific page type on your site.

LegalService and LocalBusiness Schema

LegalService is a specific type of LocalBusiness that provides legal services. Key properties include your firm's name, address, phone number, website URL, business hours (openingHoursSpecification) and service area (areaServed). Google's local business guidelines require at least a name and address.

Each location should be described separately, so every office needs its own LegalService block with matching address, phone, hours and a dedicated page. Note that Schema.org has deprecated the Attorney type in favor of LegalService, which provides a clearer and broader classification.

Organization and Person Schema

Organization markup provides core details like your firm's official name, logo and main contact information. Per Google's guidelines, place this on your homepage or About page. LegalService also works here since it is a subtype of Organization.

Use Person markup on individual attorney bio pages to highlight their full name, employer (worksFor), credentials (hasCredential) and professional associations (memberOf). The sameAs property links to external profiles for that attorney or firm (such as a state bar profile), so ensure all external details align with your website.

For example, if a firm operates as Example Law Group, every office block and worksFor entry must use that exact name. Similarly, every Person block should reflect the exact title on their bio page. Avoid listing certifications or awards in schema that are not explicitly mentioned in the page text.

Article and FAQPage Schema

Article markup identifies blog posts or articles as editorial content, specifying the author along with publication and modification dates.

FAQPage remains a valid Schema.org type for genuine question-and-answer content. However, keep in mind that Google discontinued FAQ rich results on May 7, 2026, so adding it will not generate search snippet enhancements.

Review and AggregateRating Schema

Review markup highlights individual reviews, while AggregateRating summarizes average ratings. While LegalService supports both, Google specifies that self-hosted reviews using LocalBusiness or Organization markup are ineligible for review star snippets, even when pulled through third-party widgets.

How to Add Schema Markup to Your Law Firm's Website

Adding structured data for law firms is straightforward. You can follow these steps directly or share them with your web developer:

  1. Map out target pages: Plan Organization or LegalService markup for the homepage, LegalService for each office page, Person for attorney bios and Article for blog posts.
  2. Gather accurate details: Collect office locations, phone numbers, operating hours, service areas and attorney credentials exactly as displayed on your site.
  3. Generate JSON-LD markup: Write the code directly, use a content management system (CMS) plugin or rely on your technical team. Alternatively, most AI platforms do a decent job of writing schema markup in JSON-LD format. Just be sure to validate it before and after adding the code to your site.
  4. Deploy the code: Add the schema snippet to the HTML of your pages or configure your CMS plugin to inject it automatically.
  5. Test the live implementation: Validate published pages using testing tools to verify that schema is present, accurate and free of plugin conflicts.

For example, a LegalService schema block for the Columbus office of Example Law Group should define:

  • Context and type: Set @context to Schema.org and @type to LegalService.
  • Firm name: Match the name property exactly to the visible page text.
  • Location URL: Point the url property to the specific office location page rather than the main homepage.
  • Contact info: Include the local telephone number in standard format.
  • Street address: Break the address property into street, city, state, postal code and country.
  • Hours of operation: Specify openingHoursSpecification details (e.g., Monday–Friday, 8:30 a.m. to 5:30 p.m.).
  • Service area: Set areaServed to reflect your geographic focus (e.g., the state of Ohio).
  • External profiles: Use sameAs to link to verified profiles across directory sites.

Here is what that looks like when the code is generated:

<script type="application/ld+json">

{

"@context": "https://schema.org",

"@type": "LegalService",

"name": "Example Law Group",

"url": "https://www.examplelawgroup.com/locations/columbus",

"telephone": "+1-614-555-0100",

"address": {

"@type": "PostalAddress",

"streetAddress": "123 Main Street, Suite 400",

"addressLocality": "Columbus",

"addressRegion": "OH",

"postalCode": "43215",

"addressCountry": "US"

},

"openingHoursSpecification": [

{

"@type": "OpeningHoursSpecification",

"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],

"opens": "08:30",

"closes": "17:30"

}

],

"areaServed": {

"@type": "State",

"name": "Ohio"

},

"sameAs": [

"https://www.google.com/maps/place/example-law-group-columbus",

"https://www.yelp.com/biz/example-law-group-columbus",

"https://www.avvo.com/attorneys/example-law-group",

"https://www.linkedin.com/company/example-law-group"

]

}

</script>

How to Test and Validate Your Schema Markup

Google's Rich Results Test inspects URLs or code snippets to flag errors for supported Google features. Meanwhile, the Schema Markup Validator checks syntax and vocabulary across all Schema.org properties, including non-feature fields like areaServed.

Test your schema snippet during development, then validate the live URL after deployment. Note that Google Search Console reports rich results for specific supported types only, excluding LocalBusiness, Organization and Article. Passing validation confirms your markup can be parsed correctly, though it does not guarantee rich result displays.

Schema Markup Tips for Law Firms

Most structured data issues surface when validating a live URL in the Schema Markup Validator, which extracts detected markup for comparison against page content.

Replace deprecated tags like Attorney with LegalService. Ensure addresses, phone numbers and hours match site copy exactly. For multi-office practices, assign distinct schema blocks to each location page. Avoid using star-rating markup on client testimonials and audit plugins to prevent duplicate schema generation.

Setting up schema markup for law firms requires ongoing maintenance. Re-evaluate schema whenever your firm opens a new office, updates branding, changes contact information or onboards/offboards attorneys, as structured data requires manual updates.

Re-evaluate schema whenever your firm opens a new office, updates branding, changes contact information or onboard/offboards attorneys, as structured data requires manual updates.

Does Schema Markup Improve Visibility in ChatGPT and Other AI Platforms?

Structured data makes facts easier to parse for platforms that process Schema.org. While Google clearly details its use of structured data, AI platforms like ChatGPT, Perplexity and Microsoft Copilot do not publish identical guidelines. You do not need specialized legal schema for ChatGPT. OpenAI notes that any accessible web page can appear in ChatGPT search, prioritizing crawler accessibility over schema usage. Schema implementation alone does not guarantee AI mentions or recommendations. However, maintaining accurate markup is low-cost and supports search discoverability. Think of schema as one foundational piece of generative engine optimization (GEO), alongside clear site information, crawlable architecture and authoritative third-party references.

Frequently Asked Questions

What schema markup should a law firm use?

Implement LegalService schema for your main practice and individual office pages, then use Person schema for each attorney bio.

Is LegalService schema better than LocalBusiness schema?

Yes. LegalService is a more specific subtype of LocalBusiness, and search engines recommend applying the most specific classification available.

Can I add schema markup without coding experience?

Yes. Most modern web platforms offer SEO plugins that generate schema markup automatically from form entries.

How do I know if my law firm's schema markup is working?

Test live pages using the Schema Markup Validator to verify code structure, and use Google Search Console's URL Inspection tool to confirm search engines can crawl the page.

Keep Your Best Lawyers Profile Up to Date

Best Lawyers profiles incorporate structured data highlighting lawyer recognitions and practice history. Because search systems cross-reference details across directories, maintain consistent updates across your Best Lawyers profile, website and external listings to ensure details stay accurate.

Headline Image: Adobe Stock/InfiniteFlow
Learn More About:

Artificial Intelligence

Lawyers in Columbus, Ohio

Related Articles

AI Marketing for Lawyers: The Complete Guide


by Everett Sizemore

Digital marketing dashboards and analytics charts displayed on a laptop screen

Turning AI Search Into Leads: Tracking Referral Traffic From ChatGPT and Other AI Platforms


by Bryan Driscoll

A Practical Guide for Law Firms to Measure ChatGPT Referrals and AI-Generated Leads in GA4

Robotic hand shining a flashlight beam onto an arrow in front of a lawyer holding a briefcase

Optimizing Your Law Firm for Google AI Overviews


by Bryan Driscoll and Everett Sizemore

Why a well-ranked firm can be missing from Google's AI-generated summaries, how to check the usual causes and what to fix first.

Laptop screen displaying an AI search interface

Why Every Tech Trade Secret War Ends Up in the Same San Francisco Courtroom


by Justin Joffe

Is the Northern District of California becoming the de facto referee in Silicon Valley’s talent wars?

Apple’s trade secrets lawsuit against OpenAI is testing how the Northern District of California poli

Why Is Finding a Lawyer So Hard?


by Bryan Driscoll

Online tools and AI chat can hand you a lawyer's name within seconds, and knowing whether to rely on that name is still the harder part.

A lone figure stands in a bright spotlight, surrounded by towering, shadowy silhouettes in a dark, b

How AI Assistants Decide Which Lawyers to Trust and Recommend


by Bryan Driscoll

A practical guide to making attorney expertise, credentials and recognition clear and verifiable across the web.

Robotic hand pointing toward professionals standing inside illuminated blue glass columns.

Can You Sue AI for Aiding a Mass Shooting? Florida Is About to Find Out


by Justin Joffe

Florida’s suit against OpenAI over the FSU shooting tests whether Section 230 can shield an AI that writes its own words

Florida’s lawsuit against OpenAI over the FSU shooting tests whether Section 230 protects AI compani

GEO for Law Firms: What It Is and How to Optimize for AI Search


by Bryan Driscoll and Everett Sizemore

A seven-step audit for law firms that covers the terms, the pages, the outside profiles and what you can actually measure.

Hands typing on a laptop with glowing GEO and AI search graphics

$79 Billion and Counting: Inside the Record-Breaking Year That's Rewriting Corporate Litigation Risk


by Bryan Driscoll

Here's why the numbers keep climbing and how legal departments should respond.

$79B in Class Action Settlements: What It Means for Risk

The $50 Billion Question


by Bryan Driscoll

How AI is quietly upending corporate discovery and privilege.

Can Employee ChatGPT Use Waive Attorney-Client Privilege?

Legal Search Still Needs Human Judgment


by Bryan Driscoll

A system can organize legal information quickly. Deciding which lawyers and sources are credible is still work that people have to do.

Hand using a stylus on digital screens displaying lawyer profile data and verification checkmarks.

The Credibility Problem in AI Legal Search


by Bryan Driscoll

A fluent answer can make a lawyer recommendation look settled. Credibility depends on what supports it, not on how well it reads.

Blue digital wireframe of binoculars

How to Find a Lawyer in 2026 Without Getting Overwhelmed


by Bryan Driscoll

There is no single right way to start, so begin from where your search already is and run every name you find through the same short list.

Magnifying glass focusing on a single yellow human figure among gray human cutouts.

AI Legal Search Is Moving From Keywords to Intent


by Bryan Driscoll

People can now describe a legal problem in ordinary words. The harder work is reading what they need and turning it into a pathway.

A digital search bar icon surrounded by colorful magnifying glasses on a light blue background.

Why Third-Party Validation Matters More in AI Search


by Bryan Driscoll

Much of what AI-assisted tools read about your practice sits on pages you did not write. Here is what makes an outside source credible.

A person interacting with a laptop and selecting a digital profile icon hovering over a global map.

How to Optimize Your Best Lawyers Profile for AI Search


by Everett Sizemore

Learn how a complete, well-structured Best Lawyers profile can strengthen your visibility and accuracy across AI search platforms.

A laptop screen displaying the Best Lawyers profile dashboard showing customizable sections.

Trending Articles

What AI Visibility Means for Lawyers


by Bryan Driscoll and Josh Rupall

AI tools increasingly interpret lawyers public information. Clear, consistent and credible sources help ensure they describe legal expertise accurately.

AI dashboard visualizing a lawyer's online profile, reputation, and practice information across mult

The Best Lawyers in Canada 2027: Recognizing the Nation's Top Legal Talent


by Jamilla Tabbara

Honoring established leaders and rising practitioners across Canada's legal profession.

3D model of Canada textured with the Canadian flag.

2027 Best Lawyers Awards: Honoring Excellence in the Legal Profession


by Jamilla Tabbara

Recognizing the outstanding attorneys leading top practice areas nationwide.

United States with American flag representing The Best Lawyers in America 2027 awards

2027 Best Lawyers Awards in Brazil, Mexico, Portugal and Spain


by Jamilla Tabbara

Explore key findings from the awards, including recognition figures and emerging legal talent.

3D country maps of Brazil, Mexico, Portugal and Spain with national flags

Announcing the 2027 Best Lawyers Awards: Austria, Germany and Switzerland


by Jamilla Tabbara

Celebrating the legal professionals throughout Central Europe.

Graphic displaying three-dimensional map cutouts of Austria, Germany and Switzerland.

The Best Lawyers in France 2027: Peer-Reviewed Excellence


by Jamilla Tabbara

Seventeen editions of peer trust, a growing profession and a dynamic legal market.

3D Map of France with National Flag Graphic

Who Can Override a Power of Attorney?


by Bryan Driscoll

A power of attorney carries real legal authority, but it isn't absolute. Here's who can step in to revoke, restrict or set it aside.

Close-up of a power of attorney document, symbolizing legal authority, revocation rights, guardiansh

Inside the 2027 Best Lawyers Awards in Chile, Colombia and Puerto Rico


by Jamilla Tabbara

A closer look at the research process, methodology and key statistics behind the 2027 editions.

3D map cutouts of Chile, Colombia, and Puerto Rico

How to Get an Eviction Off Your Record


by Bryan Driscoll

Whether an eviction can be removed, sealed or corrected depends on your state, your case and where the record appears.

A printed eviction notice attached to a decorative metal security gate, representing housing instabi

How Peer Review Works: Best Lawyers Methodology Explained


by Jamilla Tabbara

Understanding the independent, data-driven framework that defines professional legal standing.

A glowing professional icon surrounded by incoming arrows, symbolizing data collection and feedback.

Google Is Losing Major Antitrust Cases. Is This the End of Big Tech’s Winning Streak?


by Justin Smulison

Legal experts say the remedies and appeals, not the liability findings, will determine if Google's losses reshape the tech industry.

Google Antitrust Losses: What They Mean for Big Tech

How to Optimize Your Best Lawyers Profile for AI Search


by Everett Sizemore

Learn how a complete, well-structured Best Lawyers profile can strengthen your visibility and accuracy across AI search platforms.

A laptop screen displaying the Best Lawyers profile dashboard showing customizable sections.

What Is a Hostile Work Environment?


by Bryan Driscoll

Not every difficult job is a hostile work environment in the eyes of the law. Here's how to tell the difference and what to do next.

Blurred image of a distressed employee in an office, surrounded by motion-blurred coworkers, conveyi

Can You Sue Someone for Emotional Distress?


by Bryan Driscoll

Emotional distress can sometimes support a lawsuit, but whether you have a valid claim depends on the facts, the law and your ability to prove real harm.

Abstract black-and-white face with multiple screaming mouths, representing emotional distress, anxie

GEO for Law Firms: What It Is and How to Optimize for AI Search


by Bryan Driscoll and Everett Sizemore

A seven-step audit for law firms that covers the terms, the pages, the outside profiles and what you can actually measure.

Hands typing on a laptop with glowing GEO and AI search graphics

What Is the Downside of Filing for Bankruptcy?


by Bryan Driscoll

A balanced look at the credit, financial and emotional costs of bankruptcy and when filing still makes sense.

A close-up photograph of a weathered, empty red leather wallet lying abandoned.
Tap to expand

Welcome to Smithy AI the Best Lawyers Assistant

I can help you find attorneys, compare firms, explore practice areas, and surface rankings curated from the Best Lawyers methodology.

Not legal advice This assistant provides general information only. For guidance on your specific situation, please consult a licensed attorney.
Learn about Best Lawyers Research Process
Suggested prompts
Chat limit reached
You've reached the message limit for this chat. To keep exploring, browse Best Lawyers directly or come back later to start a fresh conversation.
Browse Best Lawyers