Schema
Food Establishment Schema
On this page
Schema.org FoodEstablishment
Type: defineFoodEstablishment(input?: FoodEstablishment)
Describes a food-related business.
Useful Links
Required properties
- name
string
The name of the business. - address
AddressInput- PostalAddress
Physical postal address of the business.
Recommended Properties
- acceptsReservations
string | boolean
Indicates whether a FoodEstablishment accepts reservations. - hasMenu
string
URL of the menu. - openingHoursSpecification
OpeningHoursInput[]- OpeningHoursSpecification
The specification for when the business is open. - servesCuisine
string
The type of cuisine the restaurant serves.
Minimal Example
defineFoodEstablishment({
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:
FoodEstablishment - @id:
${canonicalHost}#identity - url:
${canonicalHost} - currenciesAccepted:
${options.defaultCurrency}See global options
Sub-Types
BakeryBarOrPubBreweryDentistCafeOrCoffeeShopDistilleryFastFoodRestaurantIceCreamShopRestaurantWinery
Resolves
See Global Resolves for full context.
logowill be resolved from a string into an ImageObject and added toimage@typeresolve:Restaurant->['Organization', 'LocalBusiness', 'FoodEstablishment', 'Restaurant']starRatingwill be resolved as a Rating
Types
type ValidFoodEstablishmentSubTypes = 'Bakery'
| 'BarOrPub'
| 'Brewery'
| 'Dentist'
| 'CafeOrCoffeeShop'
| 'Distillery'
| 'FastFoodRestaurant'
| 'IceCreamShop'
| 'Restaurant'
| 'Winery'
export interface FoodEstablishmentSimple extends Omit<LocalBusiness, '@type'> {
'@type'?: ['Organization', 'LocalBusiness', 'FoodEstablishment'] | ['Organization', 'LocalBusiness', 'FoodEstablishment', ValidFoodEstablishmentSubTypes] | ValidFoodEstablishmentSubTypes
/**
* Indicates whether a FoodEstablishment accepts reservations.
*/
'acceptsReservations'?: string | boolean
/**
* URL of the menu.
*/
'hasMenu'?: string
/**
* Methods of payment accepted.
*/
'paymentAccepted'?: string
/**
* The cuisine of the restaurant.
*/
'servesCuisine'?: string
/**
* An official rating for a lodging business or food establishment
*/
'starRating'?: NodeRelations<Rating>
}
Related Schemas
- LocalBusiness - Parent type
- Organization - Parent organization
- Event - Restaurant events
Did this page help you?
Event Schema
Use defineEvent() to add Event structured data to your pages. Enable rich results for concerts, conferences, and meetups with dates, venues, and ticket info.
HowTo Schema
Use defineHowTo() to add HowTo structured data. Enable step-by-step rich snippets with images and time estimates in Google search results.