
xsd.2.0.examples.functions.fare.FareResponse.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://www.vdv.de/ojp ../../../OJP.xsd"> <OJPResponse> <siri:ServiceDelivery> <siri:ResponseTimestamp>2021-08-25T17:34:02Z</siri:ResponseTimestamp> <siri:ProducerRef>OJPCH_Prod</siri:ProducerRef> <siri:Status>true</siri:Status> <OJPFareDelivery> <siri:ResponseTimestamp>2001-12-17T09:30:47Z</siri:ResponseTimestamp> <siri:Status>true</siri:Status> <siri:ErrorCondition> <OJPError> <FareProblemType>FARE_ADDITIONALCHARGES</FareProblemType> </OJPError> </siri:ErrorCondition> <siri:ValidUntil>2001-12-18T09:30:47Z</siri:ValidUntil> <FareResponseContext> <Operators> <Operator> <siri:OperatorRef>ch:1:sboid:123123</siri:OperatorRef> <siri:OperatorName>Mybuxi</siri:OperatorName> </Operator> <Operator> <siri:OperatorRef>ch:1:sboid:11</siri:OperatorRef> <siri:OperatorName>SBB NOVA</siri:OperatorName> </Operator> </Operators> </FareResponseContext> <FareResult> <Id>1231231112231</Id> <TripFareResult> <TripId>192391231</TripId> <BookingId>NOVA-12311-1231-1231-2345</BookingId> <FromLegIdRef>1</FromLegIdRef> <ToLegIdRef>1</ToLegIdRef> <FareProduct> <FareProductId>mybuxi10001231</FareProductId> <FareProductName>Kilometerbasiert normal</FareProductName> <FareAuthorityRef>ch:1:sboid:123123</FareAuthorityRef> <FareAuthorityText>Mybuxi</FareAuthorityText> <NetPrice>15</NetPrice> <Currency>CHF</Currency> <FareQuota>20</FareQuota> <FareClass>economyClass</FareClass> <SaleUrl> <Label> <Text>MyBuxi</Text> </Label> <Url>https://www.mybuxi.ch/booking</Url> </SaleUrl> <BookingArrangements> <BookingArrangement> <BookingContact> <ContactPerson> <Text>Hans Muster</Text> </ContactPerson> <Email>[email protected]</Email> <Phone>+41 0800 31 31</Phone> <Fax>+41 23 1231 123112</Fax> <Url> <Label> <Text>Booking Systems</Text> </Label> <Url>https://www.bookingsystems.com</Url> </Url> <FurtherDetails> <Text>Opening hours 07:00-23:00 on work days.</Text> </FurtherDetails> </BookingContact> <BookingMethods> <BookingMethod>mobileApp</BookingMethod> <BookingMethod>online</BookingMethod> <BookingMethod>atOffice</BookingMethod> <BookingMethod>other</BookingMethod> </BookingMethods> <BookingAccess>public</BookingAccess> <BookWhen>untilPreviousDay</BookWhen> <BuyWhen> <PurchaseMoment>onReservation</PurchaseMoment> </BuyWhen> <LatestBookingTime>23:00:00</LatestBookingTime> <MinimumBookingPeriod>PT10M</MinimumBookingPeriod> <MaximumBookingPeriod>P30D</MaximumBookingPeriod> <BookingUrl> <Label> <Text>BookingSystem</Text> </Label> <Url>https://www.bookingsystems.com/12312/de</Url> </BookingUrl> <BookingNotes> <BookingNote> <Text>Special conditions may apply.</Text> </BookingNote> <BookingNote> <Text>No more than one suitcase.</Text> <TextId>1239121</TextId> </BookingNote> </BookingNotes> <Extension> <MyExtension/> </Extension> </BookingArrangement> </BookingArrangements> </FareProduct> </TripFareResult> </FareResult> <FareResult> <Id>123123123</Id> <TripFareResult> <TripId>192391231</TripId> <FromLegIdRef>2</FromLegIdRef> <ToLegIdRef>2</ToLegIdRef> <FareProduct> <FareProductId>öV</FareProductId> <FareProductName>ÖV</FareProductName> <FareAuthorityRef>ch:1:sboid:11</FareAuthorityRef> <FareAuthorityText>NOVA</FareAuthorityText> <NetPrice>51</NetPrice> <Currency>CHF</Currency> <FareClass>secondClass</FareClass> <SaleUrl> <Label> <Text>NOVA</Text> </Label> <Url>https://www.sbb.ch/NOVA</Url> </SaleUrl> </FareProduct> <FareProduct> <FareProductId>öV</FareProductId> <FareProductName>ÖV</FareProductName> <FareAuthorityRef>ch:1:sboid:11</FareAuthorityRef> <FareAuthorityText>NOVA</FareAuthorityText> <NetPrice>75</NetPrice> <Currency>CHF</Currency> <FareClass>firstClass</FareClass> <SaleUrl> <Label> <Text>NOVA</Text> </Label> <Url>https://www.sbb.ch/NOVA</Url> </SaleUrl> </FareProduct> </TripFareResult> </FareResult> </OJPFareDelivery> </siri:ServiceDelivery> </OJPResponse> </OJP>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy