How to Add Local Schema to Your Website with Claude

A healthcare clinic needs complete LocalBusiness JSON-LD schema for their website. They’ve never added schema before and don’t know what properties matter or how to implement it.

Why Local Schema Matters for Rankings and AI Visibility

Schema markup tells search engines exactly what your business is, where it’s located, and what services you offer. This matters for:

Rich results: Businesses with complete schema can appear with enhanced search features — star ratings, hours, phone numbers displayed directly in results.

AI visibility: ChatGPT, Perplexity, and Google’s AI systems read schema to understand businesses. Complete schema improves your chances of appearing in AI-generated answers.

Local pack signals: While not a direct ranking factor, schema reinforces the signals Google uses to match your business to local searches.

The Prompt

"Generate complete LocalBusiness JSON-LD schema for [Business Name],
a family medicine clinic at [Address], phone [Phone], website [URL].
Hours: Mon-Fri 8am-5pm, Sat 9am-1pm.
Include all properties that affect local rankings and AI visibility.
Also generate FAQPage schema for these 3 questions:
[Q1], [Q2], [Q3]"

The Complete JSON-LD Output

The local-schema skill generates complete, valid schema:

{
  "@context": "https://schema.org",
  "@type": "Physician",
  "name": "Valley Family Medicine",
  "image": "https://example.com/images/clinic-exterior.jpg",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "4521 E McDowell Rd",
    "addressLocality": "Phoenix",
    "addressRegion": "AZ",
    "postalCode": "85008",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "33.4656",
    "longitude": "-111.9876"
  },
  "telephone": "+1-602-555-0123",
  "url": "https://valleyfamilymedicine.com",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "08:00",
      "closes": "17:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "09:00",
      "closes": "13:00"
    }
  ],
  "sameAs": [
    "https://www.google.com/maps/place/?q=place_id:ChIJ...",
    "https://www.yelp.com/biz/valley-family-medicine-phoenix",
    "https://www.healthgrades.com/physician/dr-smith"
  ],
  "priceRange": "$$",
  "paymentAccepted": "Cash, Credit Card, Insurance",
  "medicalSpecialty": "Family Medicine",
  "availableService": [
    {
      "@type": "MedicalProcedure",
      "name": "Annual Physical Exam"
    },
    {
      "@type": "MedicalProcedure",
      "name": "Vaccinations"
    },
    {
      "@type": "MedicalProcedure",
      "name": "Chronic Disease Management"
    }
  ],
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "127"
  }
}

The High-Value Properties Most Sites Miss

Beyond the basics, these properties improve visibility:

sameAs

Links your schema to your profiles on other platforms:

"sameAs": [
  "https://www.google.com/maps/place/...",
  "https://www.yelp.com/biz/...",
  "https://www.facebook.com/...",
  "https://www.linkedin.com/company/..."
]

This creates entity connections across the web — Google understands these are all the same business.

geo with coordinates

Many sites include address but skip coordinates:

"geo": {
  "@type": "GeoCoordinates",
  "latitude": "33.4656",
  "longitude": "-111.9876"
}

Explicit coordinates remove any ambiguity about your location.

areaServed

For service area businesses or any business serving multiple areas:

"areaServed": [
  {
    "@type": "City",
    "name": "Phoenix"
  },
  {
    "@type": "City",
    "name": "Scottsdale"
  },
  {
    "@type": "City",
    "name": "Tempe"
  }
]

Signals your service geography explicitly.

availableService

List your services with proper typing:

"availableService": [
  {
    "@type": "Service",
    "name": "Emergency Plumbing",
    "description": "24/7 emergency plumbing repairs"
  }
]

For medical businesses, use MedicalProcedure. For professional services, use ProfessionalService.

FAQPage Schema for Zero-Click Capture

FAQ schema can win featured snippets and answer boxes:

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you accept new patients?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, Valley Family Medicine is currently accepting new patients. Call 602-555-0123 to schedule your first appointment."
      }
    },
    {
      "@type": "Question",
      "name": "What insurance plans do you accept?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "We accept most major insurance plans including Aetna, Blue Cross Blue Shield, Cigna, and United Healthcare. Contact our office to verify your specific plan."
      }
    },
    {
      "@type": "Question",
      "name": "Do you offer same-day appointments?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, we reserve appointments each day for urgent medical needs. Call our office before noon for the best availability for same-day visits."
      }
    }
  ]
}

FAQ schema gives you a chance to appear in:

  • Featured snippets for question queries
  • “People also ask” boxes
  • Voice search results
  • AI-generated summaries

How to Add Schema to Your Website

Option 1: Directly in HTML

Add the JSON-LD in a script tag in your page’s head or body:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Physician",
  ...
}
</script>

Option 2: Via CMS plugin

WordPress: Yoast SEO, Rank Math, or Schema Pro plugins Shopify: Built-in schema or schema apps Squarespace: Limited built-in, may need code injection

Option 3: Google Tag Manager

Deploy schema via GTM custom HTML tags. Useful for sites where you can’t edit the codebase directly.

Location pages

Each location page should have its own schema with that location’s specific information — address, phone, hours for that location.

Validating the Schema

Before publishing, validate:

Google Rich Results Test: search.google.com/test/rich-results

  • Paste your URL or code
  • Check for errors and warnings
  • Preview how rich results might appear

Schema Markup Validator: validator.schema.org

  • More detailed validation
  • Checks all schema.org compliance

Common errors:

  • Missing required properties
  • Invalid URL formats
  • Incorrect date/time formatting
  • Mismatched types (using wrong schema type for your business)

Fix any errors before publishing. Warnings are less critical but worth addressing.

Industry-Specific Schema Types

Choose the right @type for your business:

Medical: Physician, Dentist, Hospital, MedicalClinic Legal: Attorney, LegalService Home Services: Plumber, Electrician, HVACBusiness, Locksmith Food: Restaurant, Bakery, BarOrPub, CafeOrCoffeeShop Professional Services: AccountingService, InsuranceAgency, RealEstateAgent Retail: Store, HomeGoodsStore, HardwareStore

Using the specific type (Plumber vs. generic LocalBusiness) gives search engines better understanding of your business.

The Complete Workflow

  1. Run the local-schema prompt with your business details
  2. Claude generates LocalBusiness + FAQPage schema
  3. Validate using Google Rich Results Test
  4. Fix any errors
  5. Add to your website via code or plugin
  6. Verify in Google Search Console (Enhancements section)
  7. Monitor for issues

Complete schema implementation takes 30 minutes including validation. The visibility benefits compound over time as search engines and AI systems better understand your business.