URL: /rules/schema/local-business

---
title: "LocalBusiness Schema"
description: "Validates LocalBusiness schema for local SEO"
---

Validates LocalBusiness schema for local SEO

| | |
|---|---|
| **Rule ID** | `schema/local-business` |
| **Category** | [Structured Data](/rules/schema) |
| **Scope** | Per-page |
| **Severity** | warning |
| **Weight** | 6/10 |

## Solution

LocalBusiness schema helps your business appear in local search and Google Maps. Required: name, address (PostalAddress with streetAddress, addressLocality, postalCode). Include telephone, openingHours (use OpeningHoursSpecification for complex hours), geo coordinates, and priceRange. Match data with your Google Business Profile.

## Enable / Disable

### Disable this rule

```toml squirrel.toml
[rules]
disable = ["schema/local-business"]
```

### Disable all Structured Data rules

```toml squirrel.toml
[rules]
disable = ["schema/*"]
```

### Enable only this rule

```toml squirrel.toml
[rules]
enable = ["schema/local-business"]
disable = ["*"]
```
