Schema
Local Business Schema
On this page
Schema.org LocalBusiness
Type: defineLocalBusiness(input?: LocalBusiness)
Describes a business which allows public visitation. Typically used to represent the business 'behind' the website, or on a page about a specific business.
Useful Links
- LocalBusiness - Schema.org
- Local Business Schema Markup - Google Search Central
- LocalBusiness - Yoast
- Choose an Identity - Local Business
Required properties
- name
string
The name of the business. - address
AddressInput- PostalAddress
Physical postal address of the business.
Recommended Properties
- openingHoursSpecification
OpeningHoursInput[]- OpeningHoursSpecification
The specification for when the business is open. - paymentAccepted
string
The methods of payment accepted by the business.
Minimal Example
defineLocalBusiness({
name: 'test',
logo: '/logo.png',
address: {
addressCountry: 'Australia',
postalCode: '2000',
streetAddress: '123 st',
},
openingHoursSpecification: [
{
dayOfWeek: 'Saturday',
opens: '09:30',
closes: '13:30',
},
{
dayOfWeek: ['Monday', 'Tuesday'],
opens: '10:30',
closes: '15:30',
},
]
})
Defaults
- @type:
['Organization', 'LocalBusiness'] - @id:
${canonicalHost}#identity - url:
${canonicalHost} - currenciesAccepted:
${options.defaultCurrency}See global options
Sub-Types
AnimalShelterArchiveOrganizationAutomotiveBusinessChildCareDentistDryCleaningOrLaundryEmergencyServiceEmploymentAgencyEntertainmentBusinessFinancialServiceFoodEstablishmentGovernmentOfficeHealthAndBeautyBusinessHomeAndConstructionBusinessInternetCafeLegalServiceLibraryLodgingBusinessMedicalBusinessProfessionalServiceRadioStationRealEstateAgentRecyclingCenterSelfStorageShoppingCenterSportsActivityLocationStoreTelevisionStationTouristInformationCenterTravelAgency
Resolves
See Global Resolves for full context.
logowill be resolved from a string into an ImageObject and added toimage@typeresolve:Dentist->['Organization', 'LocalBusiness', 'Dentist']
Types
type ValidLocalBusinessSubTypes = 'AnimalShelter'
| 'ArchiveOrganization'
| 'AutomotiveBusiness'
| 'ChildCare'
| 'Dentist'
| 'DryCleaningOrLaundry'
| 'EmergencyService'
| 'EmploymentAgency'
| 'EntertainmentBusiness'
| 'FinancialService'
| 'FoodEstablishment'
| 'GovernmentOffice'
| 'HealthAndBeautyBusiness'
| 'HomeAndConstructionBusiness'
| 'InternetCafe'
| 'LegalService'
| 'Library'
| 'LodgingBusiness'
| 'MedicalBusiness'
| 'ProfessionalService'
| 'RadioStation'
| 'RealEstateAgent'
| 'RecyclingCenter'
| 'SelfStorage'
| 'ShoppingCenter'
| 'SportsActivityLocation'
| 'Store'
| 'TelevisionStation'
| 'TouristInformationCenter'
| 'TravelAgency'
export interface LocalBusinessSimple extends Organization {
'@type'?: ['Organization', 'LocalBusiness'] | ['Organization', 'LocalBusiness', ValidLocalBusinessSubTypes] | ValidLocalBusinessSubTypes
/**
* The primary public telephone number of the business.
*/
'telephone'?: string
/**
* The primary public email address of the business.
*/
'email'?: string
/**
* The primary public fax number of the business.
*/
'faxNumber'?: string
/**
* The price range of the business, represented by a string of dollar symbols (e.g., $, $$, or $$$ ).
*/
'priceRange'?: string
/**
* An array of GeoShape, Place or string definitions.
*/
'areaServed'?: unknown
/**
* A GeoCoordinates object.
*/
'geo'?: unknown
/**
* The VAT ID of the business.
*/
'vatID'?: string
/**
* The tax ID of the business.
*/
'taxID'?: string
/**
* The currency accepted.
*/
'currenciesAccepted'?: string
/**
* The methods of payment accepted by the business.
*/
'paymentAccepted'?: string
/**
* The operating hours of the business.
*/
'openingHoursSpecification'?: NodeRelations<OpeningHoursSpecification>
}
Related Schemas
- Organization - Parent organization
- Event - Business events
- Product - Products/services offered
Did this page help you?
Job Posting Schema
Use defineJobPosting() to add JobPosting structured data. Display job listings with salary, location, and apply buttons in Google Jobs search.
Movie Schema
Use defineMovie() to add Movie structured data. Enable rich results with ratings, cast, director, and release date in Google search.