The Black Cat journal

The Complete Guide to JSON-LD Schema for Law Firms

How law firms can use JSON-LD schema for SEO and AI search, including LegalService, attorney Person, FAQ, and Article markup with examples.

The Complete Guide to JSON-LD Schema for Law Firms

In today's digital landscape, making your content understandable to AI systems and search engines is crucial for visibility and engagement. JSON-LD (JavaScript Object Notation for Linked Data) schema markup provides explicit signals about your content's meaning and purpose, helping AI systems better understand context and relationships.

For law firms, schema is one of the clearest ways to tell Google exactly who you are: the firm's name, office locations, practice areas, and the attorneys behind them. That clarity supports local rankings, rich results, and how AI search tools describe your firm. This guide covers the core schema types, then shows how to apply them on a law firm website, including LegalService and attorney markup.

What is JSON-LD Schema?

JSON-LD schema is a method of structured data markup that uses a standardized vocabulary to describe content on web pages. Unlike other markup formats, JSON-LD is embedded as a script tag in your HTML, making it clean and separate from your visible content.

Why JSON-LD Schema Matters for AI and SEO

Search engines like Google use schema markup to better understand your content, which can lead to rich snippets, enhanced search results, and improved rankings.

AI System Optimization

Modern AI systems, including voice assistants and chatbots, rely on structured data to provide accurate responses and recommendations.

E-E-A-T Signals

Schema markup helps establish Experience, Expertise, Authoritativeness, and Trustworthiness (E-E-A-T) signals that search engines value.

Essential Schema Types for Modern Websites

1. FAQPage Schema

Perfect for question-based content, FAQ pages, and support documentation.

{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long do I have to file a personal injury claim?",
"acceptedAnswer": {
  "@type": "Answer",
  "text": "Deadlines vary by state and type of claim. Contact our office for a free consultation about your specific situation."
  }
}]}

Use Cases:

  • Practice-area FAQ sections
  • Customer support pages
  • Knowledge base articles
  • Help documentation

2. HowTo Schema

Ideal for instructional content, tutorials, and step-by-step guides.

{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "How to Implement JSON-LD Schema",
"description": "A complete guide to implementing structured data markup",
"step": [
{
"@type": "HowToStep",
"name": "Choose Schema Type",
"text": "Select the appropriate schema type for your content"
},
{
"@type": "HowToStep",
"name": "Add JSON-LD Script",
"text": "Insert the JSON-LD script tag in your HTML head section"
}]}

Use Cases:

  • Tutorial articles
  • Recipe instructions
  • DIY guides
  • Technical documentation

3. Article Schema with Author Credentials

Boosts E-E-A-T signals by establishing author expertise and content authority.

{
"@context": "https://schema.org",
"@type": "Article",
"headline": "The Complete Guide to JSON-LD Schema",
"author": {
"@type": "Person",
"name": "Jane Smith",
"jobTitle": "Senior SEO Specialist",
"worksFor": {
"@type": "Organization",
"name": "TechCorp"
},
"url": "https://example.com/author/jane-smith"
},
"datePublished": "2024-01-15",
"dateModified": "2024-01-15"
}

Use Cases:

  • Blog posts
  • News articles
  • Research papers
  • Expert opinions

4. Product Schema

Essential for e-commerce and product-focused content.

{
"@context": "https://schema.org",
"@type": "Product",
"name": "Professional SEO Tool",
"description": "Advanced SEO analysis and optimization platform",
"brand": {
"@type": "Brand",
"name": "SEOPro"
},
"offers": {
"@type": "Offer",
"price": "99.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
}}

Use Cases:

  • Product pages
  • E-commerce listings
  • Software tools
  • Digital products

5. Service Schema

Perfect for service-based businesses and offerings.

{
"@context": "https://schema.org",
"@type": "Service",
"name": "SEO Consulting",
"description": "Professional SEO strategy and implementation services",
"provider": {
"@type": "Organization",
"name": "Digital Marketing Agency"
},
"areaServed": "United States"
}

Use Cases:

  • Professional services
  • Consulting offerings
  • Digital services
  • Local businesses

6. Speakable Schema

Optimizes content for voice search and audio responses.

{
"@context": "https://schema.org",
"@type": "Article",
"speakable": {
"@type": "SpeakableSpecification",
"cssSelector": [".headline", ".summary"]
}}

Use Cases:

  • Voice search optimization
  • Podcast content
  • Audio-friendly articles
  • Smart speaker responses

Implementation Best Practices

1. Choose the Right Schema Type

  • Match schema types to your content purpose
  • Use multiple schemas when appropriate
  • Avoid over-optimization with unnecessary markup

2. Maintain Data Accuracy

  • Ensure schema data matches visible content
  • Keep information up-to-date
  • Validate markup using Google's Rich Results Test

3. Focus on User Value

  • Implement schemas that enhance user experience
  • Prioritize content that benefits from rich snippets
  • Consider voice search optimization

4. Test and Monitor

  • Use Google Search Console to monitor rich results
  • Test markup with structured data testing tools
  • Monitor search performance improvements

Advanced Implementation Tips

Combining Multiple Schemas

You can use multiple schema types on a single page:

<script type="application/ld+json">
  [
    {
      "@context": "https://schema.org",
      "@type": "Article",
      "headline": "Complete SEO Guide"
    },
    {
      "@context": "https://schema.org",
      "@type": "FAQPage",
      "mainEntity": [...]
    }
  ]
</script>

Dynamic Schema Generation

For content management systems, generate schema dynamically based on content type and metadata.

Local Business Optimization

Combine service schema with local business markup for location-based services. For a law firm, that means LegalService markup for each office, covered in the next section.

Common Mistakes to Avoid

  1. Mismatched Data: Schema data that doesn't match visible content
  2. Over-Optimization: Adding unnecessary or irrelevant schema types
  3. Incomplete Information: Missing required properties for schema types
  4. Invalid JSON: Syntax errors that prevent parsing
  5. Outdated Information: Schema data that's no longer accurate

Measuring Success

Key Metrics to Track

  • Rich snippet appearances in search results
  • Click-through rates from search
  • Voice search traffic
  • Featured snippet captures
  • Overall organic visibility

Tools for Monitoring

  • Google Search Console
  • Rich Results Test
  • Structured Data Testing Tool
  • Third-party SEO platforms

Future of Schema Markup

As AI systems become more sophisticated, structured data will play an increasingly important role in:

  • Content understanding and categorization
  • Personalized search results
  • Voice and visual search optimization
  • AI-powered content recommendations

Schema Markup for Law Firm Websites

Law firms have schema types built specifically for them. Used together, they describe the firm, its offices, its attorneys, and its content in a way search engines and AI systems can read directly.

LegalService for the Firm and Each Office

LegalService is a schema.org subtype of LocalBusiness meant for law firms and other legal providers. Add it to your homepage and to each office's location page, with details that match your Google Business Profile exactly.

{
"@context": "https://schema.org",
"@type": "LegalService",
"name": "Smith & Rivera Law",
"url": "https://example.com",
"telephone": "+1-407-555-0100",
"address": {
  "@type": "PostalAddress",
  "streetAddress": "100 Main Street, Suite 200",
  "addressLocality": "Orlando",
  "addressRegion": "FL",
  "postalCode": "32801",
  "addressCountry": "US"
},
"areaServed": "Orange County, Florida",
"knowsAbout": ["Personal Injury", "Car Accidents", "Wrongful Death"],
"openingHours": "Mo-Fr 08:30-17:30"
}

Attorney and Person Markup for Lawyers

Schema.org also includes an Attorney type, but schema.org itself notes that LegalService is more inclusive, so most firms use LegalService for the firm. For individual lawyers, use Person markup on each attorney bio page, with jobTitle, worksFor, and sameAs links to profiles such as your state bar listing or legal directory profiles. This strengthens the expertise signals that matter so much for legal content.

{
"@context": "https://schema.org",
"@type": "Person",
"name": "Maria Rivera",
"jobTitle": "Personal Injury Attorney",
"worksFor": {
  "@type": "LegalService",
  "name": "Smith & Rivera Law"
},
"url": "https://example.com/attorneys/maria-rivera"
}

Other Schema Types That Fit a Law Firm

  • Article with an attorney author on blog posts, so each guide is tied to a named, credentialed lawyer
  • FAQPage on practice-area pages that answer common client questions, written in line with your state's advertising rules
  • BreadcrumbList to show how practice-area and case-type pages fit together
  • Service for individual practice areas, such as DUI defense or estate planning, with the firm as the provider

Only mark up what's actually visible on the page, and don't add review or rating markup for your own firm on your own site. Google doesn't show self-serving review stars for local businesses, and review content can also raise bar advertising questions. Validate everything with Google's Rich Results Test before publishing.

Schema works best as part of a well-built site. Our law firm website design and law firm SEO services include structured data from the start, and our generative engine optimization for law firms work builds on it to help firms appear in AI-generated answers. For the broader technical picture, see our guide to technical SEO and our article on how AI Overviews change legal search.

The Bottom Line

Implementing JSON-LD schema markup is no longer optional for websites serious about search visibility and AI optimization. By providing explicit signals about your content's meaning and context, you help both search engines and AI systems deliver better experiences to users.

Start with the schema types most relevant to your content, ensure accuracy and completeness, and monitor performance to refine your implementation. The investment in structured data markup will pay dividends in improved search visibility, enhanced user experience, and future-proofed content optimization.

Remember: the goal isn't just to implement schema markup, but to implement it thoughtfully in ways that genuinely help users and search systems understand your content better. If you'd like help adding schema to your firm's site, contact us.

More articles

Want this done for your firm?

Reading is a start. We'll audit your website for free and show you exactly what's costing you cases.

Free Website Audit

See What's Costing Your Firm Cases Online

A free, no-obligation website audit and the exact plan to fix it, in 30 seconds.

No credit card required
Results in 24-48 hours

By submitting, you agree to receive your audit results and occasional marketing emails. Unsubscribe anytime.