Đặt trước chuyến bay

Sử dụng loại này để khai báo yêu cầu đặt chỗ cho chuyến bay.

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

Các trường hợp sử dụng sau đây cho thấy những ví dụ phổ biến về cách sử dụng giản đồ FlightReservation. Hãy 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 đúng cách.

Thông tin xác nhận cơ bản về chuyến bay

Nhúng mã đánh dấu sau vào email khi bạn gửi email xác nhận chuyến bay. Ví dụ này dành cho 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 chi tiết 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 Nhận phòng

Trong Gmail, bạn có thể thêm nút làm thủ tục vào email xác nhận chuyến bay bằng cách thêm thuộc tính checkinUrl. Ngoài ra, hãy cung cấp CheckInAction nếu liên kết trực tiếp đến một ứ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, 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, sau đây là ví dụ về 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ông cụ kiểm tra mã đánh dấu trong email. Dán mã đánh dấu vào rồi 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

Kiểm tra thông tin chi tiết trong email để xem có thuộc tính nào trong số này áp dụng cho thông tin đặt chỗ 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ị cho người dùng nội dung mô tả phong phú hơn nhiều về thông tin đặt vé máy bay.

FlightReservation

Tên loại: FlightReservation

Mở rộng Reservation

Tên Loại 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ụ: 27B).
airplaneSeatClass Khoang/hạng của ghế máy bay.
airplaneSeatClass.name Văn bản Tên của AirplaneSeatClass.
boardingGroup Văn bản Chỉ báo dành riêng cho hãng hàng không về thứ tự / lựa chọn ưu tiên lên máy bay.
bookingAgent Organization (Tổ chức) hoặc Person (Người) Đại lý đặt vé hoặc công ty du lịch. Cũng chấp nhận một chuỗi (ví dụ: "").
bookingAgent.name Văn bản Tên của tác nhân/dịch vụ.
bookingAgent.url URL Trang web của đại lý/dịch vụ.
bookingTime DateTime Ngày đặt chỗ.
modifiedTime DateTime (nên dùng cho Thẻ xác nhận/Câu trả lời trên Tìm kiếm) Thời gian sửa đổi gần đây nhất của lượt đặt phòng.
potentialAction , ConfirmAction, CancelAction hoặc CheckInAction Hành động có thể thực hiện đối với lượt đặt phòng.
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 Mọi gói thành viên 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. được áp dụng cho yêu cầu đặt phòng.
programMembership.memberNumber Văn bản Giá trị nhận dạng của gói thành viên.
programMembership.program Văn bản Tên chương trình.
reservationFor
(Bắt buộc)
Chuyến bay Chuyến bay mà yêu cầu đặt chỗ này dành cho.
reservationFor.airline
(Bắt buộc)
Hãng hàng không Hãng hàng không cung cấp chuyến bay.
reservationFor.airline.iataCode
(Bắt buộc)
Văn bản Mã IATA của hãng hàng không.
reservationFor.airline.name
(Bắt buộc)
Văn bản Tên hãng hàng không.
reservationFor.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 một chuỗi (ví dụ: "John F. Kennedy International Airport JFK").
reservationFor.arrivalAirport.iataCode
(Bắt buộc)
Văn bản Mã IATA của sân bay (ví dụ: "UA").
reservationFor.arrivalAirport.name
(Bắt buộc)
Văn bản Tên sân bay.
reservationFor.arrivalGate Văn bản Giá trị nhận dạng của cổng đến tại sân bay của chuyến bay.
reservationFor.arrivalTerminal Văn bản Nhà ga sân bay của arrivalGate.
reservationFor.arrivalTime
(Bắt buộc)
DateTime Thời gian đến dự kiến.
reservationFor.boardingTime DateTime Thời gian bắt đầu lên máy bay.
reservationFor.departureAirport
(Bắt buộc)
Sân bay Sân bay khởi hành của chuyến bay. Cũng chấp nhận một chuỗi (ví dụ: "Sân bay San Francisco SFO").
reservationFor.departureAirport.iataCode
(Bắt buộc)
Văn bản Mã IATA của sân bay (ví dụ: "UA").
reservationFor.departureAirport.name
(Bắt buộc)
Văn bản Tên sân bay.
reservationFor.departureGate Văn bản Giá trị nhận dạng của cổng khởi hành của chuyến bay tại sân bay.
reservationFor.departureTerminal Văn bản Nhà ga sân bay của departureGate.
reservationFor.departureTime
(Bắt buộc)
DateTime Thời gian khởi hành dự kiến.
reservationFor.flightNumber
(Bắt buộc)
Văn bản Giá trị nhận dạng chuyến bay.
reservationFor.operatedBy Hãng hàng không Hãng hàng không khai thác chuyến bay.
reservationFor.operatedBy.iataCode Văn bản Mã IATA của hãng hàng không.
reservationFor.operatedBy.name Văn bản Tên hãng hàng không.
reservationFor.webCheckinTime DateTime Thời gian sớm nhất để làm thủ tục trực tuyến.
reservationNumber
(Bắt buộc)
Văn bản Số hoặc mã nhận dạng của lượt đặt phòng.
reservationStatus
(Bắt buộc)
ReservationStatus Trạng thái hiện tại của lượt đặt phòng.
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ã nhận dạng của vé.
ticketPrintUrl URL Nơi bạn 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, thì giá trị của trường này là URL của hình ảnh, hoặc một mã vạch hoặc URI QR, chẳng hạn như "barcode128:AB34" (mã vạch ISO-15417), "qrCode:AB34" (mã QR), "aztecCode:AB34" (mã Aztec), "barcodeEAN:1234" (mã EAN) và "barcodeUPCA:1234" (mã UPCA).
underName
(Bắt buộc)
Organization (Tổ chức) hoặc Person (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 của người.
url URL Trang web nơi bạn có thể xem thông tin đặt phòng.