// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,r,t){var a=Scanner.fromMessage(e);a.setLocale(r);var n,p,i,o,c,m,s,g,h,u=a.getSpan(),f="One's",d="Confirmed";if(n=u.innerCapture(t.underPersonNameRegExp,1),p=u.innerCapture(t.carReservationIdRegExp,1),i=u.innerCapture(t.carBrandRegExp,1),o=u.innerCapture(t.pickUpNameRegExp,1),c=u.innerCapture(t.pickUpDateTimePrefix,1).innerDate(),m=o,s=u.innerCapture(t.dropOffDateTimePrefix,1).innerDate(),[,g,h]=u.innerCapture(t.pricePrefixRegExp),ASSERT(n,f,i,c,o))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:g,priceCurrency:h,reservationStatus:"http://schema.org/Reservation"+d,reservationId:p,underName:{"@type":"http://schema.org/Person",name:n},provider:{"@type":"http://schema.org/Organization",name:f},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:i}},pickupTime:c,pickupLocation:{"@type":"http://schema.org/Place",name:o},dropoffTime:s,dropoffLocation:{"@type":"http://schema.org/Place",name:m}}]}}).call();