Local Business Schema

Local Business Schema is a type of schema markup that is used to provide search engines with information about a local business. It is a way to structure data on a website to make it easier for search engines to understand the information and to provide users with more informative search results.

Local Business Schema typically includes information such as the business’s name, address, phone number, hours of operation, and categories. It can also include additional information such as reviews, ratings, and photos.

Here is an example of Local Business Schema in HTML:

<div itemscope itemtype=”https://schema.org/LocalBusiness”>
<h1 itemprop=”name”>John’s Cafe</h1>
<div itemprop=”address”>
<span itemprop=”streetAddress”>123 Main St</span>
<span itemprop=”city”>Anytown</span>
<span itemprop=”state”>CA</span>
<span itemprop=”postalCode”>12345</span>
</div>
<div itemprop=”phone”>
<span itemprop=”telephone”>(555) 123-4567</span>
</div>
<div itemprop=”hours”>
<span itemprop=”openingHours”>Mon-Fri 8am-5pm</span>
<span itemprop=”closingHours”>Sat-Sun 9am-6pm</span>
</div>
<div itemprop=”categories”>
<span itemprop=”category”>Cafe</span>
<span itemprop=”category”>Restaurant</span>
</div>
<div itemprop=”reviews”>
<span itemprop=”review”>
<span itemprop=”rating”>4.5</span>
<span itemprop=”text”>Great food and service!</span>
</span>
<span itemprop=”review”>
<span itemprop=”rating”>4</span>
<span itemprop=”text”>Good coffee and pastries</span>
</span>
</div>
</div>

In this example, the Local Business Schema is applied to a div element that contains information about a local business. The itemprop attribute is used to specify the property of the schema, such as name, address, phone, hours, categories, and reviews.

By using Local Business Schema, search engines can easily understand the information about a local business and provide users with more informative search results, such as a map, address, phone number, and hours of operation. It also helps to improve the visibility of a local business in search results, making it more likely that users will find and visit the business.