When Google or ChatGPT analyze your law firm's website, they don't read it like a human. They parse code, look for machine-readable signals, and use this information to decide what your website describes, who is behind it, and whether it's a trustworthy source. Structured data—specifically, JSON-LD schema markup—is the language you use to tell these systems exactly that.
The principle sounds technical, but it's conceptually simple: You attach an additional code block to your regular website that explains in machine-readable terms: "This is a law firm specializing in employment law in Hamburg, this lawyer is the author of this article, these questions are answered on this page." Google and AI systems read this block – and can thus categorize your content much more precisely than without it. This article explains which schema types are relevant for law firms, what they look like in practice – with code examples – and how to implement them in WordPress. For strategic integration, read our article How ChatGPT and AI search lawyers recommend as well as our site SEO for lawyers.
What is the JSON-LD scheme – and why is it important?
JSON-LD stands for JavaScript Object Notation for Linked Data. It is a code format that describes structured information about a website in a standardized, machine-readable format. The Schema.org vocabulary – supported by Google, Microsoft, Yahoo, and Yandex – defines which terms are used.
For law firms, the JSON-LD scheme has three specific implications:
- Rich Results in Google: FAQ sections and reviews can be displayed directly in the search results – with a higher click-through rate than normal results.
- AI citability: ChatGPT, Perplexity, and Google AI Overviews can categorize your content more accurately and are more likely to include it in responses.
- EEAT strengthening: Person Schema makes your lawyers visible as identifiable experts – a direct signal for Google's quality rating.
The five relevant scheme types for law firms
Not every Schema.org vocabulary is relevant for law firms. The following overview shows the five types that have the greatest impact:
| Schema type | Where to use it | What it does | Required fields (minimum) |
| Legal Service | Homepage, Legal Area Pages | Does Google and AI inform you that you offer legal services and in which areas? | name, serviceType, areaServed, provider (with address) |
| FAQ Page | Each page with an FAQ section | Makes questions and answers for Rich Results and AI citations directly accessible. | mainEntity (Question + acceptedAnswer) |
| person | Author pages, About Us pages | Makes lawyers identifiable as proven experts in their field | name, jobTitle, worksFor, knowsAbout |
| Organization | Homepage, Imprint | Defines the law firm as a legal entity with contact details and location. | name, address, telephone, url |
| Article | Blog posts | Linking content with author, publication date, and editor for EEAT | headline, author, datePublished, dateModified, publisher |
Have schema markup implemented for your law firm
OMmatic correctly implements LegalService, FAQPage and Person Schema on your law firm website – and validates the implementation with the Google Rich Results Test.
Specific JSON-LD examples for law firms
LegalService Scheme – for legal field pages
This format tells Google that your law firm offers a specific legal service. It should be included on every practice area page and on the homepage:
{ "@context": "https://schema.org", "@type": "LegalService", "name": "Law Firm Mustermann - Employment Law", "serviceType": "Employment Law", "areaServed": { "@type": "City", "name": "Hamburg" }, "provider": { "@type": "LegalService", "name": "Law Firm Mustermann", "address": { "@type": "PostalAddress", "streetAddress": "Musterstraße 1", "postalCode": "20095", "addressLocality": "Hamburg" }, "telephone": "+49 40 12345678", "url": "https://www.kanzlei-mustermann.de" }}
FAQPage Schema – for all pages with an FAQ section
This schema makes your FAQ questions directly citable in Google Rich Results and AI answers. It belongs on every page with a Q&A section.
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What does an initial consultation on employment law cost?", "acceptedAnswer": { "@type": "Answer", "text": "An initial consultation on employment law usually costs between 90 and 190 euros, depending on the law firm and the scope of the consultation." } }, { "@type": "Question", "name": "How long does an unfair dismissal case take?", "acceptedAnswer": { "@type": "Answer", "text": "An unfair dismissal case at the labor court typically takes 3 to 6 months in the first instance." } } ]}
Person Schema – for author pages and About Us
This scheme makes your lawyers recognizable as identifiable experts – a key EEAT signal:
{ "@context": "https://schema.org", "@type": "Person", "name": "Dr. Anna Mustermann", "jobTitle": "Lawyer, Specialist Lawyer for Employment Law", "worksFor": { "@type": "LegalService", "name": "Law Firm Mustermann", "url": "https://www.kanzlei-mustermann.de" }, "knowsAbout": ["Employment Law", "Protection Against Unfair Dismissal", "Works Constitution Law"], "url": "https://www.kanzlei-mustermann.de/team/dr-anna-mustermann/"}
Can schema markup harm my website?
Only if it is implemented incorrectly or does not match the page content. A schema that doesn't accurately reflect the visible page content is considered spam by Google and can lead to manual action. An FAQ schema on a page without a visible FAQ section is a classic example of this. Validate every schema with the Google Rich Results Test before publishing it.
How long does it take for schema markup to appear in Google?
Typically 1-4 weeks after implementation. Google needs to recrawl the page and process the schema. You can speed up the process by manually submitting the URL in Google Search Console using the "Check URL → Request indexing" command. Rich results often appear faster than ranking effects because they don't require authority signals.
Implementation in WordPress
There are three ways to implement the JSON-LD schema in WordPress:
Option 1: SEO plugin (recommended for beginners)
Rank Math, All In One SEO and Yoast SEO can automatically generate LegalService, FAQPage and Article Schema.
Limitation: Plugins generate a generic schema. Personalized schemas for individual lawyers and specific legal practice pages typically require manual customization.
Option 2: Manual JSON-LD block
Insert the JSON-LD code directly into your page's header – either via a custom HTML block in Gutenberg or via the "Additional CSS/Script" field in your theme. This method offers complete control but requires technical understanding.
Option 3: Advanced Custom Fields (ACF)
For law firms with multiple practice area pages, ACF is the most scalable solution. A developer creates template fields (practice area, location, contact person) once, which are then automatically fed into the JSON-LD schema. Each new page populates the schema without requiring any additional coding.
Validation – this step is mandatory
Incorrect schema markup can negatively impact rankings. Validate every implemented schema using the Google Rich Results Test (search.google.com/test/rich-results). Additionally, check the Google Search Console – schema errors will appear there under Improvements and Experiences.
| Notice Rank Math, All In One SEO, and Yoast sometimes override each other. Use only one of the two plugins for schema markup. If both are active, check in the Rich Results Test which schema is actually being served. |
Frequently Asked Questions
Is schema markup a direct ranking factor?
Not directly – but indirectly very effective. Google has confirmed that schema is not a direct ranking factor. However: FAQPage schema makes your page eligible for rich results, which increases the click-through rate. Article schema strengthens EEAT signals. LegalService schema improves its appearance in the Knowledge Graph and in AI answers.
How much pattern is too much?
Only include a schema that matches the actual page content. Google emphasizes that the schema must reflect the visible page content. If a page doesn't have an FAQ section, it shouldn't use the FAQPage schema. Schemas that don't match the content are considered spam and can lead to manual action.
Does the schema also work for local searches?
Yes – areaServed and PostalAddress are particularly important for local visibility. LegalService schema with correctly filled areaServed (city or region) and PostalAddress directly impacts local search – both in Google Maps and in AI responses to location-based queries.
Do I need to write a separate template for each legal area page?
With the right setup, this can be automated. If you are using ACF or a Custom Post Type for legal areas, a developer can configure the JSON-LD template once to automatically insert the fields (legal area, location, contact person) of each page into the schema.
Which SEO plugin implements schema markup best?
Rank Math is the recommended option for law firms. Rank Math offers a dedicated module for local businesses and supports LegalService, FAQPage, and Article Schema via an input form. Yoast SEO is a good alternative, but it doesn't natively support LegalService. For Person Schema and more complex nested structures, manual JSON-LD conversion is always recommended in addition to the plugin.
Can schema markup harm my website?
Only if it is implemented incorrectly or does not match the page content. A schema that doesn't accurately reflect the visible page content is considered spam by Google and can lead to manual action. An FAQ schema on a page without a visible FAQ section is a classic example of this. Validate every schema with the Google Rich Results Test before publishing it.
How long does it take for schema markup to appear in Google?
Typically 1-4 weeks after implementation. Google needs to recrawl the page and process the schema. You can speed up the process by manually submitting the URL for indexing in Google Search Console. Rich results often appear faster than ranking effects because they don't require authority signals.
Conclusion
JSON-LD Schema Markup is one of the most technically manageable measures with the greatest lasting impact: rich results in Google, better ranking by AI systems, and stronger EEAT signals. With the right setup, implementation takes only a few hours – and the effect is permanent. Like all technical measures, Schema should be embedded in an overall strategy. SEO for lawyers.
Implement schema markup correctly
OMmatic implements all relevant schema types for your law firm, validates the implementation, and integrates them into your overall SEO strategy.