LocalBusiness Schema: What Service Businesses Should Mark Up
Most LocalBusiness schema examples assume a coffee shop: one address, a storefront, a menu and opening hours on the door. That's fine if you run a coffee shop. But a plumber who drives to customers' homes doesn't look like that. Neither does a cleaning company run from a home office, a law firm with three branches, or an HVAC contractor covering half a county. Copy a café template onto these…
LocalBusiness Schema provides structured data for businesses to enhance search engine visibility. This is particularly important for service businesses that do not have a fixed location, such as plumbers or HVAC contractors. Marking up a service business with the appropriate schema can make it eligible for local business rich results, appearing in knowledge panels or carousels on Google.
To accurately represent a service business, the most specific type of LocalBusiness should be chosen from the long list provided by Schema.org. For example, a plumber would use the "Plumber" type, while a cleaning company might use "CleaningBusiness". If a business fits into multiple categories, they can list several types as an array.
There are two required properties for service businesses: "name" and "address". The "name" property should match the business name on signage and Google Business Profile. The "address" property requires a "PostalAddress" with specific properties like street address, locality, region, postal code, and country.
Recommended properties for service businesses include "telephone" with the main number, "url" for the business webpage, "geo" for latitude and longitude coordinates, "openingHoursSpecification" for service times, and "priceRange" for cost indications. Optional additions can include "image" and "logo" for visual branding, "sameAs" for linking to social media profiles, and "@id" for a stable reference to the business.
A complete example for a fictional plumber with a storefront would include the "@context", "@type", "@id", "name", "url", "telephone", "image", "logo", "priceRange", "address", "geo", and "openingHoursSpecification" properties. Each property should match the business's actual information and adhere to Google's documentation for accurate representation.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.