Lawyer Schema Generator — LegalService JSON-LD

Build LegalService schema for your law firm. Add practice areas, attorney credentials, bar admissions, and consultation availability.

🏪Local Business Schema

Fields marked with * are required for valid schema markup.

JSON-LD Output

<span class=400">"text-gray-500">&lt;script type=400">"application/ld+json"&gt;</span>
{
  400">"@context": 400">"https://schema.org",
  400">"@type": 400">"LegalService"
}
<span class=400">"text-gray-500">&lt;/script&gt;</span>

Copy this code and paste it into the <head> section of your HTML page.

LegalService-Specific Properties

PropertyTypeExample
knowsAboutstring[]["Personal Injury", "Estate Planning"]
employeeAttorney[] / Person[]Each attorney with credentials
availableServiceService[]"Free Consultation", "Case Evaluation"
areaServedPlace / AdministrativeArea"Colorado", "Denver Metro"
hasCredentialEducationalOccupationalCredential[]Bar admissions, certifications

Copy-Paste Ready Example

{
  "@context": "https://schema.org",
  "@type": "LegalService",
  "name": "Anderson & Wright LLP",
  "url": "https://aw-law.com",
  "telephone": "+1-555-345-6789",
  "priceRange": "$$$",
  "description": "Personal injury and workers compensation law firm serving the Denver metro. Free consultation.",
  "knowsAbout": [
    "Personal Injury",
    "Workers Compensation",
    "Wrongful Death",
    "Car Accidents"
  ],
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "789 Pine Street, Suite 400",
    "addressLocality": "Denver",
    "addressRegion": "CO",
    "postalCode": "80203",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 39.7392,
    "longitude": -104.9903
  },
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
    "opens": "08:30",
    "closes": "18:00"
  },
  "employee": [
    {
      "@type": "Attorney",
      "name": "Michael Anderson, J.D.",
      "jobTitle": "Senior Partner",
      "hasCredential": [
        "Colorado State Bar Admission (1998)",
        "U.S. District Court, District of Colorado"
      ]
    }
  ]
}

Where to Put This Schema

WordPress (most common for law firms)

Yoast SEO Local, Rank Math (Pro), and Schema Pro all have dedicated LegalService schema modules. For custom code, use wp_head action in functions.php or a Custom HTML widget in your header.

Wix

Settings → SEO → Advanced → paste script tag in homepage head. Also paste on each practice-area page with that area's specific knowsAbout array.

Squarespace

Settings → Advanced → Code Injection → Header. Paste full script. Update per-page via the page-level Code Injection if your plan supports it.

Bar-association-mandated sites

Many state bars provide hosted directories. Schema on YOUR site doesn't affect those directories, but it does drive your site's own ranking — which often outperforms bar directory listings for local queries.

Bar Advertising Rules & Schema

Some state bars restrict testimonials, ratings, or claims of expertise. Before using aggregateRating or expertise-claim properties, check your state bar's advertising rules (Rules of Professional Conduct, Rule 7.1-7.5 in most states). Common restrictions:

  • Testimonials may require a disclaimer
  • "Specialist" claims may require formal certification
  • Misleading rating displays can trigger bar discipline

The schema itself doesn't violate rules — but if you display ratings or specialist claims based on the schema, you need to comply with your bar's advertising guidelines.

LegalService Schema Best Practices

  • Always use LegalService, not LocalBusiness — Google understands legal practice better with specific @type.
  • List each practice area in knowsAbout — drives matching for "lawyer for [issue]" queries.
  • Add each attorney as an Attorney/Person nested object with hasCredential listing bar admissions.
  • Use areaServed for the geographic radius — county, metro area, or state-wide.
  • For multi-office firms, separate schema per location page.
  • Match priceRange to your fee model — $$$$ for white-shoe firms, $$ for contingency injury firms.
  • Include consultation availability in description and availableService.
  • Don't claim specialties without formal certification under your bar's rules.

Frequently Asked Questions

Should I use LegalService or Attorney schema?

LegalService is the LocalBusiness subtype for law firms. Attorney is a subtype of Person used for individual lawyers within a firm. Use LegalService for the firm's page; nest Attorney objects under employee or member for each lawyer.

How do I show practice areas?

Use the knowsAbout array property with each practice area as a string: ['Personal Injury', 'Workers Compensation', 'Estate Planning']. Also create dedicated practice area pages with their own LegalService schemas focused on that area.

Should I include bar admission information?

Yes — add for each attorney via the Person object's hasCredential property, listing state bar admissions and any specialty certifications. Major trust signal for legal SEO and helps Google verify practitioner authority.

How do I mark up free consultation availability?

Add via the description text and as a service in availableService. Free consultation is one of the highest-intent queries in legal search — make sure it's visible and structured.

Should reviews appear in legal schema?

Use aggregateRating only with genuine first-party reviews on your site, compliant with your state bar's advertising rules. Many states restrict testimonials — check your bar association guidelines before implementing review schema.

Will LegalService schema help my Avvo ranking?

No direct effect on Avvo (it has its own rating system). But your website's LegalService schema improves Google visibility, which complements Avvo as a separate channel. Many lawyers find Google local-pack drives more leads than Avvo.

What's the difference between LegalService and LegalAidService?

LegalAidService is specifically for free or low-cost legal aid organizations (nonprofits). LegalService is for fee-based attorneys. Use LegalAidService only if you operate as a recognized legal aid clinic.

Can solo practitioners use this schema?

Yes — solos use LegalService as the firm (even if it's just you) and add a single Person object under employee or member with your credentials. Don't use Attorney as the top-level @type; that's reserved for individual person markup within a firm context.

Related Industry Schemas

Try our AI tools