Rezerwacja lotu

Użyj tego typu, aby zadeklarować rezerwację lotu.

Przypadki użycia

Poniższe przypadki użycia pokazują typowe przykłady użycia schematu rezerwacji lotu. Skorzystaj z tych przykładów, aby upewnić się, że znaczniki są prawidłowo sformatowane.

Podstawowe potwierdzenie lotu

W e-mailu z potwierdzeniem lotu umieść ten znacznik. Ten przykład dotyczy lotu w jedną stronę:

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>

Mikrodane

<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>

Karta pokładowa

Oprócz potwierdzenia lotu możesz też dodać adnotacje do szczegółów karty pokładowej.

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>

Mikrodane

<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>

Przycisk odprawy

W Gmailu możesz dodać przycisk odprawy do potwierdzenia lotu, dodając usługę checkinUrl. Jeśli linkujesz bezpośrednio do aplikacji mobilnej, podaj też 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>

Mikrodane

<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>

Wiele odcinków lotu

Aby opisać loty z wieloma segmentami, użyj wielu elementów 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>

Mikrodane

<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>

Wielu pasażerów

Aby opisać loty z wieloma pasażerami, użyj kilku elementów 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>

Mikrodane

<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>

Przykład z wszystkimi obsługiwanymi polami

Oto przykład z wypełnionymi wszystkimi obsługiwanymi polami:

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>

Mikrodane

<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>

Sprawdź znaczniki

Znaczniki możesz sprawdzać za pomocą Testera znaczników e-mail. Wklej kod znaczników i kliknij przycisk Sprawdź, aby przeskanować zawartość i otrzymać raport z błędami.

Specyfikacja

Sprawdź szczegóły e-maila, aby zobaczyć, czy któraś z tych właściwości dotyczy Twojej rezerwacji lotu. Dzięki oznaczeniu tych dodatkowych usług możesz wyświetlić użytkownikowi znacznie bardziej szczegółowy opis rezerwacji lotu.

FlightReservation

Nazwa typu: FlightReservation

Rozszerza rezerwację.

Nazwa Typ Opis
additionalTicketText Text dodatkowe informacje o karcie pokładowej.
airplaneSeat Text lokalizację zarezerwowanego miejsca (np. 27B).
airplaneSeatClass Klasa podróży w samolocie.
airplaneSeatClass.name Text Nazwa AirplaneSeatClass.
boardingGroup Text Wskaźnik kolejności wsiadania / preferencji określony przez linię lotniczą.
bookingAgent Organization lub Person agent rezerwacji lub agencja; Akceptuje też ciąg znaków (np. „"").
bookingAgent.name Text Nazwa agenta lub usługi.
bookingAgent.url Adres URL Witryna agenta lub usługa.
bookingTime DateTime Data dokonania rezerwacji.
modifiedTime DateTime (zalecane w przypadku kart potwierdzenia lub odpowiedzi w wyszukiwarce) czas ostatniej modyfikacji rezerwacji.
potentialAction , ConfirmAction, CancelAction lub CheckInAction Działanie, które można wykonać w rezerwacji.
potentialAction.target EntryPoint Określa moduł do przetwarzania działania, zwykle prosty adres URL.
programMembership ProgramMembership wszelkie członkostwa w programie lojalnościowym linii lotniczej, hotelu itp. stosowane w rezerwacji;
programMembership.memberNumber Text Identyfikator członkostwa.
programMembership.program Text Nazwa programu.
reservationFor
(wymagany)
Lot Rezerwacja lotu.
reservationFor.airline
(wymagany)
Linie lotnicze Linie lotnicze, które oferują lot.
reservationFor.airline.iataCode
(wymagany)
Text Kod IATA linii lotniczej.
reservationFor.airline.name
(wymagany)
Text Nazwa linii lotniczej.
reservationFor.arrivalAirport
(wymagany)
Lotnisko Miejsce docelowe lotu. Akceptuje też ciąg znaków (np. „Jan Kowalski”). Kennedy International Airport JFK”).
reservationFor.arrivalAirport.iataCode
(wymagany)
Text Kod IATA lotniska (np. „UA”).
reservationFor.arrivalAirport.name
(wymagany)
Text Nazwa lotniska.
reservationFor.arrivalGate Text Identyfikator bramki na lotnisku, na której nastąpi przylot.
reservationFor.arrivalTerminal Text Terminal lotniska, do którego należy bramka przylotu.
reservationFor.arrivalTime
(wymagany)
DateTime Przewidywany czas przybycia.
reservationFor.boardingTime DateTime Godzina rozpoczęcia wsiadania na pokład.
reservationFor.departureAirport
(wymagany)
Lotnisko Lotnisko odlotu. Akceptuje też ciąg znaków (np. „San Francisco Airport SFO”).
reservationFor.departureAirport.iataCode
(wymagany)
Text Kod IATA lotniska (np. „UA”).
reservationFor.departureAirport.name
(wymagany)
Text Nazwa lotniska.
reservationFor.departureGate Text Identyfikator bramy odlotu na lotnisku.
reservationFor.departureTerminal Text Terminal lotniska, w którym znajduje się bramka.
reservationFor.departureTime
(wymagany)
DateTime Przewidywany czas wylotu.
reservationFor.flightNumber
(wymagany)
Text Identyfikator lotu.
reservationFor.operatedBy Linie lotnicze Linia lotnicza obsługująca lot.
reservationFor.operatedBy.iataCode Text Kod IATA linii lotniczej.
reservationFor.operatedBy.name Text Nazwa linii lotniczej.
reservationFor.webCheckinTime DateTime Najwcześniejsza pora zameldowania się przez internet.
reservationNumber
(wymagany)
Text Numer lub identyfikator rezerwacji.
reservationStatus
(wymagany)
ReservationStatus bieżący stan rezerwacji.
ticketDownloadUrl Adres URL Gdzie można pobrać kartę pokładową.
ticketNumber Text Numer lub identyfikator biletu.
ticketPrintUrl Adres URL Gdzie można wydrukować kartę pokładową.
ticketToken Tekst lub URL Jeśli obraz kodu kreskowego jest hostowany w Twojej witrynie, wartość pola to URL obrazu lub URI kodu kreskowego lub kodu QR, np. „barcode128:AB34” (kody kreskowe ISO-15417), „qrCode:AB34” (kody QR), „aztecCode:AB34” (kody Aztec), „barcodeEAN:1234” (kody EAN) i „barcodeUPCA:1234” (kody UPC-A).
underName
(wymagany)
Organization lub Person Pasażer.
underName.email Text Adres e-mail.
underName.name
(wymagany)
Text Imię i nazwisko osoby.
url Adres URL Strona internetowa, na której można wyświetlić rezerwację.