// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(r){for(var e=[],t=0;t<r.length;t++){var a=r[t].reservationFor;ASSERT(a.airline.iataCode,a.flightNumber,a.departureAirport.iataCode,a.departureTime,a.arrivalAirport.iataCode,a.arrivalTime)&&e.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:r[t].reservationFor.airline.iataCode,airlineName:r[t].reservationFor.airline.name,flightNumber:r[t].reservationFor.flightNumber,departureAirportFuzzy:r[t].reservationFor.departureAirport.name,departureAirportCode:r[t].reservationFor.departureAirport.iataCode,departureTime:r[t].reservationFor.departureTime,arrivalAirportFuzzy:r[t].reservationFor.arrivalAirport.name,arrivalAirportCode:r[t].reservationFor.arrivalAirport.iataCode,arrivalTime:r[t].reservationFor.arrivalTime},underName:{"@type":"http://schema.org/Person",name:r[t].underName.name},reservationId:r[t].reservationNumber,reservationStatus:r[t].reservationStatus,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}}})}return e}}).call();