Get Started

Legal Schema for AI Search — Structuring Attorney Authority for AI 2026

Yuliya Halavachova 2026-05-19 15 min read Intermediate to Advanced

How AI Search Engines Read Schema in 2026

Modern AI search engines (Google AI Overviews, AI Mode, ChatGPT Search, Perplexity) use JSON-LD structured data as a verifiable fact layer that supplements natural language. A 2026 analysis of 1,885 pages found that schema markup helps AI systems extract accurate claims, especially when combined with entity-based strategies (e.g., sameAs links to Wikidata). As of March 2026, Schema.org includes 823 types and 1,529 properties, with recent additions such as ConferenceEvent and the displayLocation property.

The LegalService type (replacement for deprecated Attorney) tells AI search engines that a page represents a law firm or individual practice, along with practice areas, credentials, and service radius. YMYL legal content demands the highest credibility signals — schema is your first line of structured authority.

JSON-LD Example

Below is a complete LegalService schema for a personal injury law firm including credentials, area served, and staff:

{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "@id": "https://www.wrightinjurylaw.com/#firm",
  "name": "Wright & Associates Injury Law",
  "description": "Denver personal injury attorneys specializing in auto accidents and slip and falls.",
  "image": "https://www.wrightinjurylaw.com/logo.png",
  "telephone": "+1-303-555-1234",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Legal Street, Suite 200",
    "addressLocality": "Denver",
    "addressRegion": "CO",
    "postalCode": "80202",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 39.7392,
    "longitude": -104.9903
  },
  "openingHours": ["Mo-Fr 08:30-17:00"],
  "priceRange": "Contingency fee basis",
  "knowsAbout": ["Personal Injury", "Car Accidents", "Wrongful Death", "Slip and Fall"],
  "hasCredential": {
    "@type": "EducationalOccupationalCredential",
    "credentialCategory": "Bar Admission",
    "recognizedBy": "Colorado Supreme Court"
  },
  "sameAs": [
    "https://www.linkedin.com/company/wrightlaw",
    "https://www.justia.com/lawyers/denver/colorado"
  ],
  "employee": [
    {"@type": "Person", "name": "Sarah Wright", "jobTitle": "Managing Partner"}
  ],
  "areaServed": {
    "@type": "GeoCircle",
    "geoMidpoint": {
      "@type": "GeoCoordinates",
      "latitude": 39.7392,
      "longitude": -104.9903
    },
    "geoRadius": "50 mi"
  }
}

AI Visibility Tips

  • Use knowsAbout to list practice areas. AI legal engines treat this as category evidence.
  • Include hasCredential with bar admission and law school details. Credentials are crucial for AI trust.
  • Add areaServed with GeoCircle for local search / AI "near me" queries.
  • Use LegalService for the firm and Person schema for each lawyer.
  • Link to authoritative legal directories (Justia, Avvo) via sameAs.

Common Mistakes

Legal schema errors that reduce your AI citability and YMYL trust:

  • Using Attorney type — it is deprecated; use LegalService and Person instead.
  • Missing priceRange or paymentAccepted — AI needs to know "contingency fee" or "hourly rate."
  • Not matching schema to page content — do not claim expertise in a practice area if the page doesn't mention it.

Frequently Asked Questions

What's the correct schema for a solo practitioner?

Combine LegalService (firm) and Person (attorney) with sameAs linking both to the same professional profile.

Does AI check bar record consistency?

Yes, it cross-references hasCredential with state bar directories. Inconsistency leads to lower citation rates.

Is LegalService schema associated with higher CTR?

One study found legal schema was associated with a 35% CTR advantage for personal injury firms in AI-augmented search results.

Yuliya Halavachova

Founder & Principal Data Scientist at UltraScout AI

Yuliya Halavachova is Founder & Principal Data Scientist at UltraScout AI, with 16+ years of experience in AI, machine learning, and search optimisation. She specialises in schema markup, structured data, and technical SEO for AI platforms, helping businesses maximise their visibility in generative search.

Expertise: Schema Markup, Structured Data, JSON-LD, Technical SEO for AI, Entity Authority

Related Guides

Ready to implement Legal schema?

Get expert help from Yuliya Halavachova and the UltraScout AI team.

Check Your AI Visibility Free Get Schema Implementation Help