Local Business Schema
/local-schemaGenerate LocalBusiness JSON-LD schema markup with all recommended properties. Includes opening hours, service areas, accepted payments, and department details.
Get this skill
Install all free SEO skills with one command:
curl -fsSL https://raw.githubusercontent.com/ccforseo/seo-skills/main/install.sh | bashOr install this skill manually:
$ git clone https://github.com/ccforseo/seo-skills.git
$ cp -r seo-skills/local-schema ~/.claude/skills/local-schemaWhat it does
The Local Business Schema skill generates comprehensive LocalBusiness JSON-LD structured data for your website. It includes all recommended properties: business name, address, phone, opening hours, geo-coordinates, service area, accepted payment methods, price range, and department details for multi-department businesses. The output follows Google's guidelines for local business rich results.
Key features
- Generates LocalBusiness schema with all recommended properties
- Supports sub-types (Restaurant, MedicalBusiness, LegalService, etc.)
- Includes opening hours with special hours and holiday exceptions
- Adds service area markup for service-area businesses
- Generates department schema for multi-department locations
How to use Local Business Schema
Run the command
Type /local-schema with your business details: name, address, phone, category, and hours. The skill generates the complete JSON-LD markup.
Review the output
The generated schema includes all required and recommended properties. Review for accuracy, especially hours, service area boundaries, and category sub-type.
Deploy to your site
Add the JSON-LD to your location pages. For multi-location businesses, generate separate schema for each location with unique details.
When to use it
Adding local schema to a new business website
Updating schema after changing business hours or services
Generating per-location schema for multi-location businesses
Adding service area schema for businesses without a storefront
Frequently asked questions
Which LocalBusiness sub-type should I use?
Use the most specific sub-type that matches your business: Restaurant, MedicalBusiness, LegalService, AutomotiveBusiness, etc. Google provides richer features for specific sub-types. The skill recommends the best sub-type based on your business category.
Do I need separate schema for each business location?
Yes. Each physical location should have its own LocalBusiness schema with unique address, phone, and hours. The skill generates individual schema blocks for each location you specify.
How does local schema affect Google Maps and local pack results?
Local schema helps Google verify and enhance your business information. Accurate schema with opening hours, geo-coordinates, and service areas reinforces your GBP data and can improve how your business appears in Maps and local search results.
Should service-area businesses use LocalBusiness schema?
Yes. Service-area businesses should use LocalBusiness schema with the areaServed property instead of a physical address. The skill generates the correct markup with GeoCircle or GeoShape to define your service area boundaries.
Related skills
Schema Generator
/schema-genGenerate valid JSON-LD structured data for any page type. Supports Article, Product, FAQ, LocalBusiness, HowTo, and 20+ other schema types.
Local SEOGBP Audit
/gbp-auditAudit your Google Business Profile for completeness, accuracy, and optimization. Checks categories, attributes, photos, posts, and Q&A for local ranking factors.
Local SEONAP Consistency Checker
/nap-checkCheck Name, Address, Phone consistency across your Google Business Profile, website, and major directories. Inconsistent NAP data confuses search engines and hurts local rankings.
Technical SEOStructured Data Validator
/sd-validateValidate JSON-LD structured data on any page against schema.org specs and Google's rich result requirements. Catches errors before they cost you rich snippets.
Get all 50 skills
The SEO Command Center includes every skill in this library plus Python data fetchers, CLAUDE.md configs, and report templates. One-time purchase.