使用此类型声明空中旅行的预订。
使用场景
以下用例展示了 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": "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>
微数据
<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>
登机牌
除了航班确认信息之外,您还可以标记登机牌详细信息。
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>
微数据
<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>
“Check-In”(签到)按钮
在 Gmail 中,您可以通过添加 checkinUrl
属性,在航班确认信息中添加办登机手续按钮。如果直接链接到移动应用,请另行提供 CheckInAction
:
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>
微数据
<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>
多个航段
如需描述包含多个航段的航班,请使用多个 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>
微数据
<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>
多名乘客
如需描述有多个乘客的航班,请使用多个 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>
微数据
<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>
包含所有受支持字段的示例
以下是一个已填充所有支持的字段的示例,供您参考:
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>
微数据
<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>
测试您的标记
您可以使用电子邮件标记测试工具验证标记。粘贴您的标记代码,然后点击验证按钮以扫描内容并接收有关存在的任何错误的报告。
规范
请查看电子邮件的详细信息,看看其中是否有任何属性适用于您的航班预订。通过标记这些额外的房源,您可以让 Google 向用户显示更详细的航班预订说明。
FlightReservation
类型名称:FlightReservation
延长预订
名称 | 类型 | 说明 |
---|---|---|
additionalTicketText | 文本 | 有关登机牌的其他信息。 |
airplaneSeat | 文本 | 预订的座位的位置(例如,27B)。 |
airplaneSeatClass | airplaneSeat 的舱位/舱级。 | |
airplaneSeatClass.name | 文本 | AirplaneSeatClass 的名称。 |
boardingGroup | 文本 | 特定于航空公司的登机顺序 / 偏好指示器。 |
bookingAgent | 组织或个人 | 预订代理或代理机构。也接受字符串(例如“”)。 |
bookingAgent.name | 文本 | 代理/服务的名称。 |
bookingAgent.url | 网址 | 代理/服务的网站。 |
bookingTime | DateTime | 预订日期。 |
modifiedTime | DateTime | (推荐用于确认卡片/搜索回答)上次修改预订的时间。 |
potentialAction | 、ConfirmAction、CancelAction 或 CheckInAction | 可对预订执行的操作。 |
potentialAction.target | EntryPoint | 指定用于处理操作的处理程序,通常是一个简单的网址。 |
programMembership | ProgramMembership | 应用于预订的任何飞行常客计划、酒店会员回馈活动等会员资格。 |
programMembership.memberNumber | 文本 | 会员资格的标识符。 |
programMembership.program | 文本 | 课程的名称。 |
reservationFor (必需) |
航班 | 预订的航班。 |
reservationFor.airline (必需) |
航空公司 | 提供航班的航空公司。 |
reservationFor.airline.iataCode (必需) |
文本 | 航空公司的 IATA 代码。 |
reservationFor.airline.name (必需) |
文本 | 航空公司的名称。 |
reservationFor.arrivalAirport (必需) |
机场 | 航班的最终目的地。也接受字符串(例如“John F. Kennedy International Airport JFK")。 |
reservationFor.arrivalAirport.iataCode (必需) |
文本 | 机场的 IATA 代码(例如“UA”)。 |
reservationFor.arrivalAirport.name (必需) |
文本 | 机场的名称。 |
reservationFor.arrivalGate | 文本 | 航班的机场到达登机口的标识符。 |
reservationFor.arrivalTerminal | 文本 | 到达门厅所在的机场航站楼。 |
reservationFor.arrivalTime (必需) |
DateTime | 预计到达时间。 |
reservationFor.boardingTime | DateTime | 开始登机的时间。 |
reservationFor.departureAirport (必需) |
机场 | 航班的出发机场。也接受字符串(例如“San Francisco Airport SFO”)。 |
reservationFor.departureAirport.iataCode (必需) |
文本 | 机场的 IATA 代码(例如“UA”)。 |
reservationFor.departureAirport.name (必需) |
文本 | 机场的名称。 |
reservationFor.departureGate | 文本 | 航班的机场出发登机口的标识符。 |
reservationFor.departureTerminal | 文本 | 出发闸门所在的机场航站楼。 |
reservationFor.departureTime (必需) |
DateTime | 预计离港时间。 |
reservationFor.flightNumber (必需) |
文本 | 航班标识符。 |
reservationFor.operatedBy | 航空公司 | 运营航班的航空公司。 |
reservationFor.operatedBy.iataCode | 文本 | 航空公司的 IATA 代码。 |
reservationFor.operatedBy.name | 文本 | 航空公司的名称。 |
reservationFor.webCheckinTime | DateTime | 最早可通过网络办理入住手续的时间。 |
reservationNumber (必需) |
文本 | 预订的编号或 ID。 |
reservationStatus (必需) |
ReservationStatus | 预订的当前状态。 |
ticketDownloadUrl | 网址 | 可下载登机牌的位置。 |
ticketNumber | 文本 | 支持请求的编号或 ID。 |
ticketPrintUrl | 网址 | 可以打印登机牌的位置。 |
ticketToken | 文本或网址 | 如果条形码图片托管在您的网站上,该字段的值为图片的网址,或条形码或二维码 URI,例如“barcode128:AB34”(ISO-15417 条形码)、“qrCode:AB34”(二维码)、“aztecCode:AB34”(Aztec 条形码)、“barcodeEAN:1234”(EAN 条形码)和“barcodeUPCA:1234”(UPCA 条形码)。 |
underName (必需) |
组织或个人 | 乘客。 |
underName.email | 文本 | 电子邮件地址。 |
underName.name (必需) |
文本 | 人员的姓名。 |
网址 | 网址 | 用于查看预订的网页。 |