Đặt trước chuyến bay

Sử dụng loại này để khai báo yêu cầu đặt vé máy bay.

Trường hợp sử dụng

Các trường hợp sử dụng sau đây là những ví dụ phổ biến về cách sử dụng giản đồ FlightReservation. Sử dụng các ví dụ này để đảm bảo rằng mã đánh dấu của bạn có cấu trúc chính xác.

Xác nhận chuyến bay cơ bản

Nhúng đánh dấu sau vào email của bạn khi bạn gửi email xác nhận chuyến bay. Sau đây là ví dụ về chuyến bay một chiều:

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FlightReservation",
  "reservationNumber": "RXJ34P",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "Eva Green"
  },
  "reservationFor": {
    "@type": "Flight",
    "flightNumber": "110",
    "airline": {
      "@type": "Airline",
      "name": "United",
      "iataCode": "UA"
    },
    "departureAirport": {
      "@type": "Airport",
      "name": "San Francisco Airport",
      "iataCode": "SFO"
    },
    "departureTime": "2027-03-04T20:15:00-08:00",
    "arrivalAirport": {
      "@type": "Airport",
      "name": "John F. Kennedy International Airport",
      "iataCode": "JFK"
    },
    "arrivalTime": "2027-03-05T06:30:00-05:00"
  }
}
</script>

Vi dữ liệu

<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="110"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T20:15:00-08:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T06:30:00-05:00"/>
  </div>
</div>

Thẻ lên máy bay

Ngoài thông tin xác nhận chuyến bay, bạn có thể đánh dấu thông tin về thẻ lên máy bay.

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FlightReservation",
  "reservationNumber": "RXJ34P",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "Eva Green"
  },
  "reservationFor": {
    "@type": "Flight",
    "flightNumber": "110",
    "airline": {
      "@type": "Airline",
      "name": "United",
      "iataCode": "UA"
    },
    "departureAirport": {
      "@type": "Airport",
      "name": "San Francisco Airport",
      "iataCode": "SFO"
    },
    "departureTime": "2027-03-04T20:15:00-08:00",
    "arrivalAirport": {
      "@type": "Airport",
      "name": "John F. Kennedy International Airport",
      "iataCode": "JFK"
    },
    "arrivalTime": "2027-03-05T06:30:00-05:00"
  },
  "airplaneSeat": "9A",
  "airplaneSeatClass": {
    "@type": "AirplaneSeatClass",
    "name": "Business"
  },
  "ticketNumber": "ABC1234",
  "ticketToken": "qrCode:AB34",
  "checkinUrl": "http://united.com/onlinecheckin.html"
}
</script>

Vi dữ liệu

<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="110"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T20:15:00-08:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T06:30:00-05:00"/>
  </div>
  <meta itemprop="airplaneSeat" content="9A"/>
  <div itemprop="airplaneSeatClass" itemscope itemtype="http://schema.org/AirplaneSeatClass">
    <meta itemprop="name" content="Business"/>
  </div>
  <meta itemprop="ticketNumber" content="ABC1234"/>
  <meta itemprop="ticketToken" content="qrCode:AB34"/>
  <link itemprop="checkInUrl" href="http://united.com/onlinecheckin.html"/>
</div>

Nút xác nhận có mặt

Trong Gmail, bạn có thể thêm nút làm thủ tục vào thông báo xác nhận chuyến bay bằng cách thêm thuộc tính checkinUrl. Đồng thời, hãy cung cấp CheckInAction nếu liên kết trực tiếp với ứng dụng di động:

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FlightReservation",
  "reservationNumber": "RXJ34P",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "Eva Green"
  },
  "reservationFor": {
    "@type": "Flight",
    "flightNumber": "110",
    "airline": {
      "@type": "Airline",
      "name": "United",
      "iataCode": "UA"
    },
    "departureAirport": {
      "@type": "Airport",
      "name": "San Francisco Airport",
      "iataCode": "SFO"
    },
    "departureTime": "2027-03-04T20:15:00-08:00",
    "arrivalAirport": {
      "@type": "Airport",
      "name": "John F. Kennedy International Airport",
      "iataCode": "JFK"
    },
    "arrivalTime": "2027-03-05T06:30:00-05:00"
  },
  "checkinUrl": "http://united.com/onlinecheckin.html",
  "potentialAction": {
    "@type": "CheckInAction",
    "target": "http://united.com/onlinecheckin.html"
  }
}
</script>

Vi dữ liệu

<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="110"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T20:15:00-08:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T06:30:00-05:00"/>
  </div>
  <link itemprop="checkinUrl" href="http://united.com/onlinecheckin.html"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/CheckInAction">
    <link itemprop="target" href="http://united.com/onlinecheckin.html"/>
  </div>
</div>

Nhiều chặng bay

Để mô tả các chuyến bay có nhiều chặng bay, hãy sử dụng nhiều mục FlightReservation:

JSON-LD

<script type="application/ld+json">
[
  {
    "@context": "http://schema.org",
    "@type": "FlightReservation",
    "reservationNumber": "RXJ34P",
    "reservationStatus": "http://schema.org/Confirmed",
    "underName": {
      "@type": "Person",
      "name": "Eva Green"
    },
    "reservationFor": {
      "@type": "Flight",
      "flightNumber": "201",
      "airline": {
        "@type": "Airline",
        "name": "United",
        "iataCode": "UA"
      },
      "departureAirport": {
        "@type": "Airport",
        "name": "San Francisco Airport",
        "iataCode": "JFK"
      },
      "departureTime": "2027-03-04T11:00:00-05:00",
      "arrivalAirport": {
        "@type": "Airport",
        "name": "John F. Kennedy International Airport",
        "iataCode": "ORD"
      },
      "arrivalTime": "2027-03-05T13:25:00-06:00"
    },
    "checkinUrl": "http://united.com/onlinecheckin.html"
  },
  {
    "@context": "http://schema.org",
    "@type": "FlightReservation",
    "reservationNumber": "RXJ34P",
    "reservationStatus": "http://schema.org/Confirmed",
    "underName": {
      "@type": "Person",
      "name": "Eva Green"
    },
    "reservationFor": {
      "@type": "Flight",
      "flightNumber": "1050",
      "airline": {
        "@type": "Airline",
        "name": "United",
        "iataCode": "UA"
      },
      "departureAirport": {
        "@type": "Airport",
        "name": "San Francisco Airport",
        "iataCode": "ORD"
      },
      "departureTime": "2027-03-05T14:55:00-06:00",
      "arrivalAirport": {
        "@type": "Airport",
        "name": "John F. Kennedy International Airport",
        "iataCode": "SFO"
      },
      "arrivalTime": "2027-03-05T15:15:00-08:00"
    },
    "checkinUrl": "http://united.com/onlinecheckin.html"
  }
]
</script>

Vi dữ liệu

<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="201"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T11:00:00-05:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="ORD"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T13:25:00-06:00"/>
  </div>
  <meta itemprop="modifiedTime" content="2027-03-01T08:30:00-08:00"/>
</div>
<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="1050"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="ORD"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-05T14:55:00-06:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T15:15:00-08:00"/>
  </div>
  <meta itemprop="modifiedTime" content="2027-03-01T08:30:00-08:00"/>
</div>

Nhiều hành khách

Để mô tả các chuyến bay có nhiều hành khách, hãy sử dụng nhiều mục FlightReservation:

JSON-LD

<script type="application/ld+json">
[
  {
    "@context": "http://schema.org",
    "@type": "FlightReservation",
    "reservationNumber": "RXJ34P",
    "reservationStatus": "http://schema.org/Confirmed",
    "underName": {
      "@type": "Person",
      "name": "John Green"
    },
    "reservationFor": {
      "@type": "Flight",
      "flightNumber": "201",
      "airline": {
        "@type": "Airline",
        "name": "United",
        "iataCode": "UA"
      },
      "departureAirport": {
        "@type": "Airport",
        "name": "John F. Kennedy International Airport",
        "iataCode": "JFK"
      },
      "departureTime": "2027-03-04T11:00:00-05:00",
      "arrivalAirport": {
        "@type": "Airport",
        "name": "O'Hare International Airport",
        "iataCode": "ORD"
      },
      "arrivalTime": "2027-03-05T13:25:00-06:00"
    },
    "checkinUrl": "http://united.com/onlinecheckin.html"
  },
  {
    "@context": "http://schema.org",
    "@type": "FlightReservation",
    "reservationNumber": "RXJ34P",
    "reservationStatus": "http://schema.org/Confirmed",
    "underName": {
      "@type": "Person",
      "name": "John Green"
    },
    "reservationFor": {
      "@type": "Flight",
      "flightNumber": "1050",
      "airline": {
        "@type": "Airline",
        "name": "United",
        "iataCode": "UA"
      },
      "departureAirport": {
        "@type": "Airport",
        "name": "O'Hare International Airport",
        "iataCode": "ORD"
      },
      "departureTime": "2027-03-05T14:55:00-06:00",
      "arrivalAirport": {
        "@type": "Airport",
        "name": "San Francisco Airport",
        "iataCode": "SFO"
      },
      "arrivalTime": "2027-03-05T15:15:00-08:00"
    },
    "checkinUrl": "http://united.com/onlinecheckin.html"
  },
  {
    "@context": "http://schema.org",
    "@type": "FlightReservation",
    "reservationNumber": "RXJ34P",
    "reservationStatus": "http://schema.org/Confirmed",
    "underName": {
      "@type": "Person",
      "name": "Eva Green"
    },
    "reservationFor": {
      "@type": "Flight",
      "flightNumber": "201",
      "airline": {
        "@type": "Airline",
        "name": "United",
        "iataCode": "UA"
      },
      "departureAirport": {
        "@type": "Airport",
        "name": "John F. Kennedy International Airport",
        "iataCode": "JFK"
      },
      "departureTime": "2027-03-04T11:00:00-05:00",
      "arrivalAirport": {
        "@type": "Airport",
        "name": "O'Hare International Airport",
        "iataCode": "ORD"
      },
      "arrivalTime": "2027-03-05T13:25:00-06:00"
    },
    "checkinUrl": "http://united.com/onlinecheckin.html"
  },
  {
    "@context": "http://schema.org",
    "@type": "FlightReservation",
    "reservationNumber": "RXJ34P",
    "reservationStatus": "http://schema.org/Confirmed",
    "underName": {
      "@type": "Person",
      "name": "Eva Green"
    },
    "reservationFor": {
      "@type": "Flight",
      "flightNumber": "1050",
      "airline": {
        "@type": "Airline",
        "name": "United",
        "iataCode": "UA"
      },
      "departureAirport": {
        "@type": "Airport",
        "name": "O'Hare International Airport",
        "iataCode": "ORD"
      },
      "departureTime": "2027-03-05T14:55:00-06:00",
      "arrivalAirport": {
        "@type": "Airport",
        "name": "San Francisco Airport",
        "iataCode": "SFO"
      },
      "arrivalTime": "2027-03-05T15:15:00-08:00"
    },
    "checkinUrl": "http://united.com/onlinecheckin.html"
  }
]
</script>

Vi dữ liệu

<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="201"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T11:00:00-05:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="O'Hare International Airport"/>
      <meta itemprop="iataCode" content="ORD"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T13:25:00-06:00"/>
  </div>
  <meta itemprop="modifiedTime" content="2027-03-01T08:30:00-08:00"/>
</div>
<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="1050"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="O'Hare International Airport"/>
      <meta itemprop="iataCode" content="ORD"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-05T14:55:00-06:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T15:15:00-08:00"/>
  </div>
  <meta itemprop="modifiedTime" content="2027-03-01T08:30:00-08:00"/>
</div>
<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="201"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T11:00:00-05:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="O'Hare International Airport"/>
      <meta itemprop="iataCode" content="ORD"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T13:25:00-06:00"/>
  </div>
  <meta itemprop="modifiedTime" content="2027-03-01T08:30:00-08:00"/>
</div>
<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="1050"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="O'Hare International Airport"/>
      <meta itemprop="iataCode" content="ORD"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-05T14:55:00-06:00"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T15:15:00-08:00"/>
  </div>
  <meta itemprop="modifiedTime" content="2027-03-01T08:30:00-08:00"/>
</div>

Ví dụ về tất cả các trường được hỗ trợ

Để tham khảo, dưới đây là ví dụ với tất cả các trường được hỗ trợ được điền sẵn:

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "FlightReservation",
  "reservationNumber": "RXJ34P",
  "reservationStatus": "http://schema.org/Confirmed",
  "url": "http://cheapair.com/view/RXJ34P",
  "underName": {
    "@type": "Person",
    "name": "Eva Green",
    "email": "eva@mail.com"
  },
  "bookingAgent": {
    "@type": "Organization",
    "name": "Cheap Air Travel",
    "url": "http://cheapair.com/"
  },
  "bookingTime": "2027-01-14T13:05:00-05:00",
  "modifiedTime": "2027-03-14T13:05:00-05:00",
  "programMembership": {
    "@type": "ProgramMembership",
    "memberNumber": "4BY123111",
    "program": "StarAlliance"
  },
  "confirmReservationUrl": "http://cheapair.com/confirm?id=RXJ34P",
  "cancelReservationUrl": "http://cheapair.com/cancel?id=RXJ34P",
  "modifyReservationUrl": "http://cheapair.com/edit?id=RXJ34P",
  "checkinUrl": "http://united.com/onlinecheckin.html",
  "potentialAction": [
    {
      "@type": "ConfirmAction",
      "target": "http://cheapair.com/confirm?id=RXJ34P"
    },
    {
      "@type": "CancelAction",
      "target": "http://cheapair.com/cancel?id=RXJ34P"
    },
    {
      "@type": "EditAction",
      "target": "http://cheapair.com/edit?id=RXJ34P"
    },
    {
      "@type": "CheckInAction",
      "target": "http://united.com/onlinecheckin.html"
    }
  ],
  "reservationFor": {
    "@type": "Flight",
    "flightNumber": "110",
    "airline": {
      "@type": "Airline",
      "name": "United",
      "iataCode": "UA"
    },
    "operatedBy": {
      "@type": "Airline",
      "name": "Continental Airlines",
      "iataCode": "CO"
    },
    "departureAirport": {
      "@type": "Airport",
      "name": "San Francisco Airport",
      "iataCode": "SFO"
    },
    "departureTime": "2027-03-04T20:15:00-08:00",
    "departureGate": "11",
    "departureTerminal": "B",
    "arrivalAirport": {
      "@type": "Airport",
      "name": "John F. Kennedy International Airport",
      "iataCode": "JFK"
    },
    "arrivalTime": "2027-03-05T06:30:00-05:00",
    "arrivalGate": "32",
    "arrivalTerminal": "B",
    "webCheckinTime": "2027-03-03T20:00:00-08:00",
    "boardingTime": "2027-03-04T19:15:00-08:00"
  },
  "ticketNumber": "123XYZ",
  "ticketDownloadUrl": "http://cheapair.com/download/RXJ34P.pdf",
  "ticketPrintUrl": "http://cheapair.com/print/RXJ34P.html",
  "ticketToken": "qrCode:123456789",
  "additionalTicketText": "Some ticket details, terms and conditions...",
  "airplaneSeat": "9A",
  "airplaneSeatClass": {
    "@type": "AirplaneSeatClass",
    "name": "Business"
  },
  "boardingGroup": "B"
}
</script>

Vi dữ liệu

<div itemscope itemtype="http://schema.org/FlightReservation">
  <meta itemprop="reservationNumber" content="RXJ34P"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <link itemprop="url" href="http://cheapair.com/view/RXJ34P"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Eva Green"/>
    <meta itemprop="email" content="eva@mail.com"/>
  </div>
  <div itemprop="bookingAgent" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Cheap Air Travel"/>
    <link itemprop="url" href="http://cheapair.com/"/>
  </div>
  <meta itemprop="bookingTime" content="2027-01-14T13:05:00-05:00"/>
  <meta itemprop="modifiedTime" content="2027-03-14T13:05:00-05:00"/>
  <div itemprop="programMembership" itemscope itemtype="http://schema.org/ProgramMembership">
    <meta itemprop="memberNumber" content="4BY123111"/>
    <meta itemprop="program" content="StarAlliance"/>
  </div>
  <link itemprop="confirmReservationUrl" href="http://cheapair.com/confirm?id=RXJ34P"/>
  <link itemprop="cancelReservationUrl" href="http://cheapair.com/cancel?id=RXJ34P"/>
  <link itemprop="modifyReservationUrl" href="http://cheapair.com/edit?id=RXJ34P"/>
  <link itemprop="checkinUrl" href="http://united.com/onlinecheckin.html"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ConfirmAction">
    <link itemprop="target" href="http://cheapair.com/confirm?id=RXJ34P"/>
  </div>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/CancelAction"> 
    <link itemprop="target" href="http://cheapair.com/cancel?id=RXJ34P"/>
  </div>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/EditAction"> 
    <link itemprop="target" href="http://cheapair.com/edit?id=RXJ34P"/>
  </div>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/CheckInAction"> 
    <link itemprop="target" href="http://united.com/onlinecheckin.html"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/Flight">
    <meta itemprop="flightNumber" content="110"/>
    <div itemprop="airline" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="United"/>
      <meta itemprop="iataCode" content="UA"/>
    </div>
    <div itemprop="operatedBy" itemscope itemtype="http://schema.org/Airline">
      <meta itemprop="name" content="Continental Airlines"/>
      <meta itemprop="iataCode" content="CO"/>
    </div>
    <div itemprop="departureAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="San Francisco Airport"/>
      <meta itemprop="iataCode" content="SFO"/>
    </div>
    <meta itemprop="departureTime" content="2027-03-04T20:15:00-08:00"/>
    <meta itemprop="departureGate" content="11"/>
    <meta itemprop="departureTerminal" content="B"/>
    <div itemprop="arrivalAirport" itemscope itemtype="http://schema.org/Airport">
      <meta itemprop="name" content="John F. Kennedy International Airport"/>
      <meta itemprop="iataCode" content="JFK"/>
    </div>
    <meta itemprop="arrivalTime" content="2027-03-05T06:30:00-05:00"/>
    <meta itemprop="arrivalGate" content="32"/>
    <meta itemprop="arrivalTerminal" content="B"/>
    <meta itemprop="webCheckinTime" content="2027-03-03T20:00:00-08:00"/>
    <meta itemprop="boardingTime" content="2027-03-04T19:15:00-08:00"/>
  </div>
  <meta itemprop="ticketNumber" content="123XYZ"/>
  <link itemprop="ticketDownloadUrl" href="http://cheapair.com/download/RXJ34P.pdf"/>
  <link itemprop="ticketPrintUrl" href="http://cheapair.com/print/RXJ34P.html"/>
  <meta itemprop="ticketToken" content="qrCode:123456789"/>
  <meta itemprop="additionalTicketText" content="Some ticket details, terms and conditions..."/>
  <meta itemprop="airplaneSeat" content="9A"/>
  <div itemprop="airplaneSeatClass" itemscope itemtype="http://schema.org/AirplaneSeatClass">
    <meta itemprop="name" content="Business"/>
  </div>
  <meta itemprop="boardingGroup" content="B"/>
</div>

Kiểm tra mục đánh dấu của bạn

Bạn có thể xác thực mã đánh dấu bằng cách sử dụng Công cụ kiểm tra đánh dấu email. Dán mã đánh dấu của bạn và nhấp vào nút Xác thực để quét nội dung và nhận báo cáo về mọi lỗi hiện có.

Thông số kỹ thuật

Xem thông tin trong email để xem có cơ sở lưu trú nào trong số này áp dụng cho yêu cầu đặt vé chuyến bay của bạn hay không. Bằng cách đánh dấu các thuộc tính bổ sung này, bạn cho phép Google hiển thị thông tin mô tả phong phú hơn về yêu cầu đặt vé máy bay cho người dùng.

FlightReservation

Tên loại: FlightReservation

Mở rộng Đặt trước

Tên Loại Nội dung mô tả
additionalTicketText Văn bản Thông tin bổ sung về thẻ lên máy bay.
airplaneSeat Văn bản Vị trí của ghế đã đặt trước (ví dụ: 27 TỶ).
airplaneSeatClass Cabin/hạng của máy baySeat.
máy baySeatClass.tên Văn bản Tên của Lớp trên máy bay.
boardingGroup Văn bản Chỉ báo dành riêng cho hãng hàng không về đơn đặt hàng / lựa chọn ưu tiên lên máy bay.
bookingAgent Tổ chức hoặc Người Đại lý hoặc đại lý đặt vé. Cũng chấp nhận chuỗi (ví dụ: "").
name (tên) của đại lý đặt chỗ Văn bản Tên của nhân viên hỗ trợ/dịch vụ.
đặt phòng.url URL Trang web của nhân viên hỗ trợ/dịch vụ.
bookingTime DateTime Ngày thực hiện đặt chỗ.
modifiedTime DateTime (nên dùng cho Thẻ xác nhận/Câu trả lời tìm kiếm) Thời gian sửa đổi thông tin đặt chỗ gần đây nhất.
potentialAction , ConfirmAction, CancelAction hoặc CheckInAction Hành động có thể thực hiện đối với yêu cầu đặt trước.
potentialAction.target EntryPoint Chỉ định một trình xử lý để xử lý thao tác, thường là một URL đơn giản.
programMembership ProgramMembership Bất kỳ gói thành viên nào trong chương trình khách bay thường xuyên, chương trình khách hàng thân thiết của khách sạn, v.v. đang được áp dụng cho yêu cầu đặt chỗ.
Chương trình thành viên.memberNumber Văn bản Giá trị nhận dạng gói thành viên.
programmemberships.program Văn bản Tên chương trình.
reservationFor reservationFor Chuyến bay Chuyến bay đặt trước.
placeholderFor.Hãng hàng không
(Bắt buộc)
Hãng hàng không Hãng hàng không cung cấp chuyến bay.
placeholderFor.flight.iataCode
(Bắt buộc)
Văn bản Mã IATA của hãng hàng không.
placeholderFor.Hãng hàng không.name
(Bắt buộc)
Văn bản Tên hãng hàng không.
placeholderFor.arrivalAirport
(Bắt buộc)
Sân bay Điểm đến cuối cùng của chuyến bay. Cũng chấp nhận chuỗi (ví dụ: "John F. Sân bay quốc tế Kennedy").
placeholderFor.arrivalAirport.iataCode
(Bắt buộc)
Văn bản Mã IATA của sân bay (ví dụ: "UA").
placeholderFor.arrivalAirport.name
(Bắt buộc)
Văn bản Tên sân bay.
đặt chỗFor.arrivalGate Văn bản Mã nhận dạng cửa đến sân bay của chuyến bay.
đặt chỗFor.arrivalTerminal Văn bản Nhà ga sân bay ở cổng đến.
placeholderFor.arrivalTime
(Bắt buộc)
DateTime Thời gian đến dự kiến.
placeholderFor.boardingTime DateTime Thời gian bắt đầu lên máy bay.
placeholderFor.departureAirport departureAirport Sân bay Sân bay khởi hành chuyến bay. Cũng chấp nhận chuỗi (ví dụ: "Sân bay San Francisco SFO").
placeholderFor.launchAirport.iataCode
(Bắt buộc)
Văn bản Mã IATA của sân bay (ví dụ: "UA").
placeholderFor.launchAirport.name
(Bắt buộc)
Văn bản Tên sân bay.
đặt chỗFor.departureGate Văn bản Mã nhận dạng cổng khởi hành tại sân bay của chuyến bay.
đặt chỗFor.departureTerminal Văn bản Nhà ga sân bay của cổng khởi hành.
đặt chỗFor.departureTime departureTime DateTime Thời gian khởi hành dự kiến.
placeholderFor.flightNumber
(Bắt buộc)
Văn bản Mã nhận dạng chuyến bay.
đặt chỗFor.operatedBy Hãng hàng không Hãng hàng không khai thác chuyến bay.
đặt chỗFor.operationBy.iataCode Văn bản Mã IATA của hãng hàng không.
đặt chỗFor.EnterpriseBy.name Văn bản Tên hãng hàng không.
đặt chỗFor.webCheckinTime DateTime Thời gian sớm nhất để đăng ký trên web.
reservationNumber reservationNumber Văn bản Số hoặc mã của yêu cầu đặt chỗ.
reservationStatus reservationStatus ReservationStatus Trạng thái hiện tại của yêu cầu đặt chỗ.
ticketDownloadUrl URL Nơi bạn có thể tải thẻ lên máy bay xuống.
ticketNumber Văn bản Số hoặc mã vé.
ticketPrintUrl URL Nơi có thể in thẻ lên máy bay.
ticketToken Văn bản hoặc URL Nếu hình ảnh mã vạch được lưu trữ trên trang web của bạn, giá trị của trường là URL của hình ảnh hoặc mã vạch hoặc URI QR, chẳng hạn như "mã vạch128:AB34" (mã vạch ISO-15417), "qrCode:AB34" (mã QR), "aztecCode:AB34" (mã Aztec), "mã vạch32UPCA" và "mã vạch 12UPCA" (mã vạch EANCA:1234)
underName
(Bắt buộc)
Tổ chức hoặc Người Hành khách.
UnderName.email Văn bản Địa chỉ email.
UnderName.name
(Bắt buộc)
Văn bản Tên người.
url URL Trang web nơi có thể xem thông tin đặt chỗ.