レストランの予約

このタイプは、レストランなどの飲食店で 1 人以上のゲストの予約を宣言するために使用します。

ユースケース

次のユースケースは、FoodEstablishmentReservation スキーマの一般的な使用例を示しています。これらの例を参考にして、マークアップが正しく構造化されていることを確認してください。

基本的なレストランの予約

これは、メールを 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>

マークアップをテスト

メール マークアップ テストツールを使用して、マークアップを検証できます。マークアップ コードを貼り付け、[検証] ボタンをクリックしてコンテンツをスキャンし、エラーに関するレポートを受け取ります。

仕様

メールの詳細を確認して、これらの追加プロパティが予約に適用されているかどうかを確認します。これらの追加プロパティをマークアップすることで、Google は予約に関するより詳細な説明をユーザーに表示できるようになります。

FoodEstablishmentReservation

型名: FoodEstablishmentReservation

Reservation を拡張します

名前 説明
bookingAgent Organization または Person 予約エージェントまたは代理店。文字列(「」など)も指定できます。
bookingAgent.name テキスト エージェント/サービスの名前。
bookingAgent.url URL エージェント/サービスのウェブサイト。
bookingTime DateTime 予約が行われた日付。
cancelReservationUrl URL 予約をキャンセルできるウェブページ。
confirmReservationUrl URL 予約を確認できるウェブページ。
modifiedTime DateTime (確認カード/検索回答におすすめ)予約が最後に変更された時刻。
modifyReservationUrl URL (確認カード/検索回答におすすめ)予約を変更できるウェブページ。
partySize
(必須)
数値 パーティーの人数。
price テキスト FoodEstablishmentReservation の合計料金。
priceCurrency テキスト FoodEstablishmentReservation の価格の通貨(3 文字の ISO 4217 形式)。
programMembership ProgramMembership 予約に適用されるマイレージ プログラムやホテル ポイント プログラムなどのメンバーシップ。
programMembership.memberNumber テキスト メンバーシップの識別子。
programMembership.program テキスト プログラムの名前。
reservationFor
(必須)
FoodEstablishment 予約対象の飲食店。
reservationFor.address
(必須)
PostalAddress レストランの住所。
reservationFor.address.addressCountry
(必須)
Country または Text レストランの国。
reservationFor.address.addressLocality
(必須)
テキスト レストランの地域(都市など)。
reservationFor.address.addressRegion
(必須)
テキスト レストランの地域(例: 州)。
reservationFor.address.postalCode
(必須)
テキスト レストランの郵便番号。
reservationFor.address.streetAddress
(必須)
テキスト レストランの番地。
reservationFor.image URL レストランの画像。
reservationFor.name
(必須)
テキスト レストランの名前。
reservationFor.telephone テキスト FoodEstablishment の電話番号。
reservationFor.url URL レストランのウェブサイト。
reservationNumber
(必須)
テキスト 予約の番号または ID。
reservationStatus
(必須)
ReservationStatus 予約の現在のステータス。
startTime
(必須)
DateTime 予約日時。
underName
(必須)
Organization または Person テーブルの対象者。
underName.email テキスト メールアドレス。
underName.name
(必須)
テキスト 人物の名前。
url URL 予約を表示できるウェブページ。