Restaurant Reservation

Use this type to declare a reservation for one or more guests at a restaurant or other food establishment.

A restaurant reservation in Inbox
A restaurant reservation in Inbox

Use cases

The following use cases show common examples of how the FoodEstablishmentReservation schema is used. Use these examples to ensure that your markup is properly structured.

Basic restaurant reservation

This is an example of the minimal amount of markup that will qualify your email as a FoodEstablishmentReservation.

Json-Ld


<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FoodEstablishmentReservation",
  "reservationNumber": "OT12345",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "John Smith"
  },
  "reservationFor": {
    "@type": "FoodEstablishment",
    "name": "Wagamama",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "1 Tavistock Street",
      "addressLocality": "London",
      "addressRegion": "Greater London",
      "postalCode": "WC2E 7PG",
      "addressCountry": "United Kingdom"
    }
  },
  "startTime": "2027-04-10T08:00:00+00:00",
  "partySize": "2"
}
</script>

Microdata


<div itemscope itemtype="http://schema.org/FoodEstablishmentReservation">
  <meta itemprop="reservationNumber" content="OT12345"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Smith"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/FoodEstablishment">
    <meta itemprop="name" content="Wagamama"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1 Tavistock Street"/>
      <meta itemprop="addressLocality" content="London"/>
      <meta itemprop="addressRegion" content="Greater London"/>
      <meta itemprop="postalCode" content="WC2E 7PG"/>
      <meta itemprop="addressCountry" content="United Kingdom"/>
    </div>
  </div>
  <meta itemprop="startTime" content="2027-04-10T08:00:00+00:00"/>
  <meta itemprop="partySize" content="2"/>
</div>

Update reservation

You may update a reservation simply by sending the updated reservation and setting modifiedTime to the time of the update.

The reservationNumber of the updated reservation must match the one in the original reservation. If your reservation system issues new confirmation numbers for updates, you must first cancel the reservation with the original confirmation number. Then, create a new reservation using the new confirmation number and updated information.

JSON-LD


<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FoodEstablishmentReservation",
  "reservationNumber": "OT12345",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "John Smith"
  },
  "reservationFor": {
    "@type": "FoodEstablishment",
    "name": "Wagamama",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "1 Tavistock Street",
      "addressLocality": "London",
      "addressRegion": "Greater London",
      "postalCode": "WC2E 7PG",
      "addressCountry": "United Kingdom"
    },
    "telephone": "+44 20 7836 3330"
  },
  "partySize": "2",
  "startTime": "2027-04-10T10:00:00+00:00",
  "modifiedTime": "2027-03-01T08:00:00+00:00",
  "modifyReservationUrl": "http://dining.com/modifyreservation.html"
}
</script>

Microdata


<div itemscope itemtype="http://schema.org/FoodEstablishmentReservation">
  <meta itemprop="reservationNumber" content="OT12345"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Smith"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/FoodEstablishment">
    <meta itemprop="name" content="Wagamama"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1 Tavistock Street"/>
      <meta itemprop="addressLocality" content="London"/>
      <meta itemprop="addressRegion" content="Greater London"/>
      <meta itemprop="postalCode" content="WC2E 7PG"/>
      <meta itemprop="addressCountry" content="United Kingdom"/>
    </div>
    <meta itemprop="telephone" content="+44 20 7836 3330"/>
  </div>
  <meta itemprop="partySize" content="2"/>
  <meta itemprop="startTime" content="2027-04-10T10:00:00+00:00"/>
  <meta itemprop="modifiedTime" content="2027-03-01T08:00:00+00:00"/>
  <link itemprop="modifyReservationUrl" href="http://dining.com/modifyreservation.html"/>
</div>

Cancel a reservation

You may cancel the reservation by setting reservationStatus to http://schema.org/Cancelled and set modifiedTime to the time of the cancellation.

JSON-LD


<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FoodEstablishmentReservation",
  "reservationNumber": "OT12345",
  "reservationStatus": "http://schema.org/Cancelled",
  "underName": {
    "@type": "Person",
    "name": "John Smith"
  },
  "reservationFor": {
    "@type": "FoodEstablishment",
    "name": "Wagamama",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "1 Tavistock Street",
      "addressLocality": "London",
      "addressRegion": "Greater London",
      "postalCode": "WC2E 7PG",
      "addressCountry": "United Kingdom"
    },
    "telephone": "+44 20 7836 3330"
  },
  "startTime": "2027-04-10T08:00:00+00:00",
  "partySize": "2",
  "modifiedTime": "2027-03-01T08:30:00+00:00",
  "modifyReservationUrl": "http://dining.com/modifyreservation.html"
}
</script>

Microdata


<div itemscope itemtype="http://schema.org/FoodEstablishmentReservation">
  <meta itemprop="reservationNumber" content="OT12345"/>
  <link itemprop="reservationStatus" href="http://schema.org/Cancelled"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Smith"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/FoodEstablishment">
    <meta itemprop="name" content="Wagamama"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1 Tavistock Street"/>
      <meta itemprop="addressLocality" content="London"/>
      <meta itemprop="addressRegion" content="Greater London"/>
      <meta itemprop="postalCode" content="WC2E 7PG"/>
      <meta itemprop="addressCountry" content="United Kingdom"/>
    </div>
    <meta itemprop="telephone" content="+44 20 7836 3330"/>
  </div>
  <meta itemprop="startTime" content="2027-04-10T08:00:00+00:00"/>
  <meta itemprop="partySize" content="2"/>
  <meta itemprop="modifiedTime" content="2027-05-01T08:30:00+00:00"/>
  <link itemprop="modifyReservationUrl" href="http://dining.com/modifyreservation.html"/>

Test your markup

You can validate your markup using the Email Markup Tester Tool. Paste in your markup code and click the Validate button to scan the content and receive a report on any errors present.

Specification

Review the details of your email to see if any of these addional properties apply to your reservation. By marking up these additional properties you allow Google to display a much richer desciption of the reservation to the user.

FoodEstablishmentReservation

Type name: FoodEstablishmentReservation

Extends Reservation

Name Type Description
bookingAgent Organization or Person Booking agent or agency. Also accepts a string (e.g. "").
bookingAgent.name Text Name of the agent/service.
bookingAgent.url URL Website of the agent/service.
bookingTime DateTime Date the reservation was made.
cancelReservationUrl URL Web page where reservation can be cancelled.
confirmReservationUrl URL Web page where reservation can be confirmed.
modifiedTime DateTime (recommended for Confirmation Cards/Search Answers) Time the reservation was last modified.
modifyReservationUrl URL (recommended for Confirmation Cards/Search Answers) Web page where reservation can be modified.
partySize
(Required)
Number Number of people in the party.
price Text Total price of the FoodEstablishmentReservation.
priceCurrency Text The currency (in 3-letter ISO 4217 format) of the FoodEstablishmentReservation's price.''
programMembership ProgramMembership Any membership in a frequent flyer, hotel loyalty program, etc. being applied to the reservation.
programMembership.memberNumber Text The identifier of the membership.
programMembership.program Text The name of the program.
reservationFor
(Required)
FoodEstablishment The food establishment the reservation is for.
reservationFor.address
(Required)
PostalAddress Address of the restaurant.
reservationFor.address.addressCountry
(Required)
Country or Text Country of restaurant.
reservationFor.address.addressLocality
(Required)
Text Locality (e.g. city) of restaurant.
reservationFor.address.addressRegion
(Required)
Text Region (e.g. State) of restaurant.
reservationFor.address.postalCode
(Required)
Text Postal code of restaurant.
reservationFor.address.streetAddress
(Required)
Text Street address of restaurant.
reservationFor.image URL Image of the restaurant.
reservationFor.name
(Required)
Text Name of the restaurant.
reservationFor.telephone Text Telephone number of the FoodEstablishment.
reservationFor.url URL Restaurant's website.
reservationNumber
(Required)
Text The number or id of the reservation.
reservationStatus
(Required)
ReservationStatus Current status of the reservation.
startTime
(Required)
DateTime Reservation date and time.
underName
(Required)
Organization or Person The person the table is for.
underName.email Text Email address.
underName.name
(Required)
Text Name of the Person.
url URL Web page where reservation can be viewed.

Skicka feedback om ...

Behöver du hjälp? Besök vår supportsida.