(function(){return function(e){if(e.html){var o=parseMicrodataAndJsonLd(e.html),r=[];if(o.length){for(var a=0;a<o.length;a++)switch(o[a]["@type"]){case"RentalCarReservation":if(!o[a].pickupTime||!o[a].dropoffTime)return CONTINUE;r.push({"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:o[a].totalPrice,priceCurrency:o[a].priceCurrency,reservationId:o[a].reservationNumber,reservationStatus:o[a].reservationStatus.replace("Canceled","Cancelled"),checkinUrl:o[a].checkinUrl,modifyReservationUrl:o[a].url,cancelReservationUrl:o[a].url,underName:{"@type":"http://schema.org/Person",name:o[a].underName.name,email:o[a].underName.email},provider:{"@type":"http://schema.org/Organization",name:o[a].reservationFor.rentalCompany.name},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:o[a].reservationFor.brand.name},license:o[a].reservationFor.license,color:o[a].reservationFor.color},pickupTime:o[a].pickupTime,pickupLocation:{"@type":"http://schema.org/Place",name:o[a].pickupLocation.name,telephone:o[a].pickupLocation.telephone,address:{"@type":"http://schema.org/PostalAddress",name:o[a].pickupLocation.address.name,description:o[a].pickupLocation.address.description,streetAddress:o[a].pickupLocation.address.streetAddress,addressLocality:o[a].pickupLocation.address.addressLocality,addressRegion:o[a].pickupLocation.address.addressRegion,postalCode:o[a].pickupLocation.address.postalCode,addressCountry:o[a].pickupLocation.address.addressCountry,contactType:o[a].pickupLocation.address.contactType}},dropoffTime:o[a].dropoffTime,dropoffLocation:{"@type":"http://schema.org/Place",name:o[a].dropoffLocation.name,telephone:o[a].dropoffLocation.telephone,address:{"@type":"http://schema.org/PostalAddress",name:o[a].dropoffLocation.address.name,description:o[a].dropoffLocation.address.description,streetAddress:o[a].dropoffLocation.address.streetAddress,addressLocality:o[a].dropoffLocation.address.addressLocality,addressRegion:o[a].dropoffLocation.address.addressRegion,postalCode:o[a].dropoffLocation.address.postalCode,addressCountry:o[a].dropoffLocation.address.addressCountry,contactType:o[a].dropoffLocation.address.contactType}}})}return r.length>0?r:CONTINUE}}}}).call();