LocalBusiness
LocalBusiness is the schema.org type for "a particular physical business or branch of an organization," with examples such as "a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley."[1] Schema.org reports it in use on between 1 and 10 million domains.[1] Google uses local business markup for "business details displayed in the Google knowledge panel, including open hours, ratings, directions, and actions to book appointments or order items."[2] This page covers the markup only, not business listings or profiles.
Hierarchy and subtypes
LocalBusiness has two parents: it appears under both Organization and Place in the schema.org hierarchy.[1][3] Its direct subtypes include AnimalShelter, AutomotiveBusiness, ChildCare, Dentist, DryCleaningOrLaundry, EmergencyService, EntertainmentBusiness, FinancialService, FoodEstablishment, GovernmentOffice, HealthAndBeautyBusiness, HomeAndConstructionBusiness, LegalService, LodgingBusiness, MedicalBusiness, ProfessionalService and RealEstateAgent, among others.[1]
Some examples of the chain from Thing down:[4][5][6]
| Type | Path in schema.org | Schema.org usage |
|---|---|---|
| Dentist | Thing > Place > LocalBusiness > MedicalBusiness > Dentist[4] | 10K-100K domains[4] |
| Plumber | Thing > Place > LocalBusiness > HomeAndConstructionBusiness > Plumber[5] | 10K-100K domains[5] |
| Restaurant | Thing > Place > LocalBusiness > FoodEstablishment > Restaurant[6] | 100K-1M domains[6] |
HomeAndConstructionBusiness has the subtypes Electrician, GeneralContractor, HVACBusiness, HousePainter, Locksmith, MovingCompany, Plumber and RoofingContractor.[7] MedicalBusiness covers "different businesses run by health professionals," with subtypes such as Dentist, Dermatology, MedicalClinic, Optician, Pharmacy, Physician and Physiotherapy.[8] Leaf types such as Dentist, Plumber and Restaurant define no properties of their own; they inherit everything from their parents.[4][5][6]
Choosing a type
Google says to "use the most specific LocalBusiness sub-type possible," for example Restaurant, DaySpa or HealthClub.[9] If a business fits several types, Google says to specify them as an array, such as Electrician, Plumber and Locksmith, and notes that additionalType is not supported for this.[9] Because LocalBusiness is a subtype of Organization, Google recommends following the Organization fields as well.[9]
Google's local business properties
Google requires two properties and recommends others:[9]
| Property | Status | Google's notes |
|---|---|---|
| name | Required | The name of the business[9] |
| address | Required | A PostalAddress; include as many properties as possible[9] |
| geo | Recommended | GeoCoordinates; latitude and longitude need at least 5 decimal places[9] |
| openingHoursSpecification | Recommended | One object or an array; opens and closes in hh:mm:ss format[9] |
| telephone | Recommended | The primary contact number, with country and area code[9] |
| url | Recommended | The fully-qualified URL of the specific location; must be a working link[9] |
| priceRange | Recommended | e.g. "$10-15" or "$$$"; must be under 100 characters[9] |
| department | Recommended | A nested LocalBusiness for a single department[9] |
| menu, servesCuisine | Recommended | For food establishments[9] |
| aggregateRating, review | Recommended | Only for sites that capture reviews about other local businesses[9] |
For departments, Google asks for the store name together with the department name, for example "gMart" and "gMart Pharmacy," unless the department is separately branded.[9] See Address, hours and service areas for address, geo and hours details and Review and AggregateRating for the review rules.
Properties defined on LocalBusiness
Schema.org defines only a few properties on LocalBusiness itself: currenciesAccepted, floorLevel, openingHours, paymentAccepted and priceRange.[1] Its openingHours property takes text such as a weekly time range, with days written as two-letter codes (Mo, Tu, We, Th, Fr, Sa, Su) and times in 24:00 format.[1] The rest come from Organization and Place, including address, geo, hasMap and areaServed.[1] Schema.org describes priceRange as "the price range of the business, for example $$$" and paymentAccepted with examples such as "Cash, Credit Card, Cryptocurrency."[1]
Entity linking properties
Because LocalBusiness is also a Place, it takes place properties as well as organization properties. The ones below connect a business to its location, its services and its other branches. Google's LocalBusiness documentation says additionalType isn't supported and asks for an array of types instead; see additionalType.[9] Pages on specific branches of the hierarchy: MedicalBusiness, LegalService, HomeAndConstructionBusiness, FoodEstablishment, AutomotiveBusiness and FinancialService and ProfessionalService. Places and service areas are covered in places and service areas, and services in Service.
| Property | Expected values | Schema.org definition (quoted) |
|---|---|---|
| containedInPlace | Place | "The basic containment relation between a place and one that contains it."[10] |
| geo | GeoCoordinates, GeoShape | "The geo coordinates of the place."[11] |
| areaServed | AdministrativeArea, GeoShape, Place, Text | "The geographic area where a service or offered item is provided."[12] |
| hasOfferCatalog | OfferCatalog | "Indicates an OfferCatalog listing for this Organization, Person, or Service."[13] |
| makesOffer | Offer | "A pointer to products or services offered by the organization or person."[14] |
| department | Organization | "A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours)."[15] |
| branchOf (superseded by parentOrganization) | Organization | "The larger organization that this local business is a branch of, if any."[16] |
Example
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Plumber",
"name": "Example Plumbing Co.",
"url": "https://www.example.com/exampletown",
"telephone": "+1-555-0100",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "100 Example Street",
"addressLocality": "Exampletown",
"addressRegion": "CA",
"postalCode": "00000",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 32.71570,
"longitude": -117.16110
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"],
"opens": "08:00:00",
"closes": "17:00:00"
}]
}
</script>
The business, address and coordinates are fictional.
Common questions
What are Google's required LocalBusiness properties?
name and address.[9]
Can a business have more than one type?
Yes. Google says to give the types as an array; additionalType is not supported for this.[9]
Can a business mark up its own star rating?
Google says aggregateRating and review are recommended only for sites that capture reviews about other local businesses.[9]
Related topics
- Organization
- Address, hours and service areas
- Review and AggregateRating
- Places, areaServed and containedInPlace
- Service
- MedicalBusiness, Dentist and Physician
References
- ^ "LocalBusiness (type)". Schema.org.
- ^ "Structured data markup that Google Search supports (search gallery)". Google Search Central.
- ^ "Organization (type)". Schema.org.
- ^ "Dentist (type)". Schema.org.
- ^ "Plumber (type)". Schema.org.
- ^ "Restaurant (type)". Schema.org.
- ^ "HomeAndConstructionBusiness (type)". Schema.org.
- ^ "MedicalBusiness (type)". Schema.org.
- ^ "Local business (LocalBusiness) structured data". Google Search Central.
- ^ "containedInPlace (property)". Schema.org.
- ^ "geo (property)". Schema.org.
- ^ "areaServed (property)". Schema.org.
- ^ "hasOfferCatalog (property)". Schema.org.
- ^ "makesOffer (property)". Schema.org.
- ^ "department (property)". Schema.org.
- ^ "branchOf (property)". Schema.org.