// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,c,i,s,o,u,p,m,l,v,h,g,S,x=a.getSpan().next(n.custumerDetails);r=x.next(n.guestName).innerCapture(n.guestName,1);var k=a.getSpan().next(n.ticketDetails);if(s=k.next(n.eventStart).nextDate(),m=k.next(n.ticketNumber).innerCapture(n.ticketNumber,1),o=k.next(n.eventName).innerCapture(n.eventName,1),l=a.getSpan().next(n.eventVenue).innerCapture(n.eventVenue,1),h=l,i=a.getSpan().next(n.reservationDetails).next(n.totalPrice).innerCapture(n.totalPrice),c=i.$price,S=i.$currency,ASSERT(s,o))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:r,totalPrice:c,priceCurrency:S,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:u,seatRow:g,seatSection:p},ticketToken:null,ticketNumber:m},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:o,url:v,startDate:s,endDate:null,location:{"@type":"http://schema.org/Place",name:h,telephone:null,address:l}}}]}}).call();