Example

Netex_tap_tsi_tcvs_series_1.xml

standards/tap_tsi/B1_NRT/Netex_tap_tsi_tcvs_series_1.xml

Element names link to their declarations.

<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple Carrier  Example ====== 
This example provides an example of encodeing tap TCVS Series  data  in NeTEx XML
 
 
The example is taken from ERA/TD/2009-04/INT: Annex B,1 of Tap TSI 

SHows just the encoding of series 

			 series222  - Marktredwitz * Wuerrzburg * Hannover</Itinerary>
			series333 -   (Bremen / Hannover) 
							 
			 series444  -  Stralsund  * (Schwerin / Luebeck) 
						 
			series888 -    (Jena/Hof> * Berlin Friedrichstr * (Buechen / Luebeck)) 
			 
			series777 - (Giessen * Dortmund    / Goettingen) 
 
 

(C) ERA  Copyright 2013
-->
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../../xsd/NeTEx_publication.xsd">
	<PublicationTimestamp>2001-12-17T09:30:47.0Z</PublicationTimestamp>
	<ParticipantRef>SYS001</ParticipantRef>
	<!--- ======WHAT WAS REQUESTED ========== -->
	<Description>Simple Series example</Description>
	<!--- =============== RESULTS =========== -->
	<dataObjects>
		<CompositeFrame version="1" id="tap:CF001">
			<TypeOfFrameRef ref="uic:B1"/>
			<!--- ======= CODESPACEs======== -->
			<codespaces>
				<Codespace id="tap">
					<Xmlns>tap</Xmlns>
					<XmlnsUrl>http://www.era.eu/ru</XmlnsUrl>
					<Description>TAP TSI location </Description>
				</Codespace>
			</codespaces>
			<!--- =======FRAME DEFAULTS======== -->
			<FrameDefaults>
				<DefaultCodespaceRef ref="tap"/>
			</FrameDefaults>
			<frames>
				<!--    == DISTANCE  based  example  =====  -->
				<FareFrame id="tap:222" version="any" modification="revise">
					<!--- ====Pricing Parmaters======= -->
					<PricingParameterSet id="tap:tapway" version="any">
						<pricingRules>
							<PricingRule version="any" id="tap:route">
								<Name>Tap Route based pricing</Name>
							</PricingRule>
							<PricingRule version="any" id="tap:distance">
								<Name>Tap Distance based pricing</Name>
							</PricingRule>
						</pricingRules>
					</PricingParameterSet>
					<!--  === SERIES INFO - NOTICES === -->
					<notices>
						<Notice id="tap:series_info@123" version="01">
							<Text>text line 1  in Official Language  / text line 2  in Official Languag / text line 3   in Official Languag/ text line 4   in Official Languag </Text>
							<TypeOfNoticeRef ref="tap:series_info@"/>
							<variants>
								<DeliveryVariant id="tap:series_info@123@of" version="01">
									<TypeOfDeliveryVariantRef ref="tap:series_info@Official"/>
									<VariantText lang="de">text line 1  im Deutsch  / text line 2  im Deutsch  / text line 3  im Deutsch  / text line 4  im Deutsch   </VariantText>
								</DeliveryVariant>
								<DeliveryVariant id="tap:series_info@123@fr" version="01">
									<TypeOfDeliveryVariantRef ref="tap:series_info@Fr"/>
									<VariantText lang="fr">text line 1  en francais / text line 2 en francais / text line 3  en francais  / text line 4  en francais  </VariantText>
								</DeliveryVariant>
								<DeliveryVariant id="tap:series_info@123@de" version="01">
									<TypeOfDeliveryVariantRef ref="tap:series_info@De"/>
									<VariantText lang="de">text line 1  im Deutsch  / text line 2  im Deutsch  / text line 3  im Deutsch  / text line 4  im Deutsch   </VariantText>
								</DeliveryVariant>
								<DeliveryVariant id="tap:series_info@123@en" version="01">
									<TypeOfDeliveryVariantRef ref="tap:series_info@En"/>
									<VariantText lang="en">text line 1  in English / text line 2  in English/ text line 3  in English / text line 4  in English  </VariantText>
								</DeliveryVariant>
							</variants>
						</Notice>
					</notices>
					<fareScheduledStopPoints>
						<FareScheduledStopPoint id="tap:26002" version="01">
							<Name>Hof</Name>
							<StopType>railStation</StopType>
							<NameOnRouting lang="de">Hof</NameOnRouting>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:23002" version="01">
							<Name>Halle</Name>
							<StopType>railStation</StopType>
							<NameOnRouting lang="de">Halle</NameOnRouting>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:27359" version="01">
							<Name>Schwerin</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:213002" version="01">
							<Name>Berlin</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17001" version="01">
							<Name>Marktredwitz</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17002" version="01">
							<Name>Wuerrzburg</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17004" version="01">
							<Name>Bremen</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17043" version="01">
							<Name>Hannover</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17005" version="01">
							<Name>Stralsund</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17010" version="01">
							<Name>Luebeck</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17011" version="01">
							<Name>Giessen</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17012" version="01">
							<Name>Dortmund</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17013" version="01">
							<Name>Goettingen</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17031" version="01">
							<Name>Jena</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17032" version="01">
							<Name>Berlin Friedrichstr </Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:17033" version="01">
							<Name>Buechen</Name>
						</FareScheduledStopPoint>
						<FareScheduledStopPoint id="tap:21001" version="01">
							<Name>Prague</Name>
						</FareScheduledStopPoint>
					</fareScheduledStopPoints>
					<seriesConstraints>
						<SeriesConstraint order="1" id="tap:series222" version="01">
							<Name>Example of required route</Name>
							<PricingRuleRef version="any" ref="tap:distance"/>
							<Itinerary>Marktredwitz * Wuerrzburg * Hannover</Itinerary>
							<SeriesType>stationToStation</SeriesType>
							<farePointsInPattern>
								<FarePointInPattern id="tap:series222@01" version="01" order="1">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17001" version="01"/>
										<ShortName>Marktredwitz</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>required</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series222@02" version="01" order="2">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17002" version="01"/>
										<ShortName>Wuerrzburg</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>required</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series222@03" version="01" order="3">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17043" version="01"/>
										<ShortName>Hannover</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>required</PresentationPosition>
								</FarePointInPattern>
							</farePointsInPattern>
						</SeriesConstraint>
						<SeriesConstraint order="1" id="tap:series333" version="01">
							<Name>Example of conditional  route</Name>
							<PricingRuleRef version="any" ref="tap:distance"/>
							<Itinerary>(Bremen / Hannover)</Itinerary>
							<SeriesType>stationToStation</SeriesType>
							<farePointsInPattern>
								<FarePointInPattern id="tap:series333@01" version="01" order="1">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17004" version="01"/>
										<ShortName>Bremen</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>optionalLeft</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series333@03" version="01" order="2">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17043" version="01"/>
										<ShortName>Hannover</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>optionalRight</PresentationPosition>
								</FarePointInPattern>
							</farePointsInPattern>
						</SeriesConstraint>
						<SeriesConstraint order="1" id="tap:series444" version="01">
							<Name>Example of optional branch  route</Name>
							<PricingRuleRef version="any" ref="tap:distance"/>
							<Itinerary>Stralsund  * (Schwerin / Luebeck)</Itinerary>
							<SeriesType>stationToStation</SeriesType>
							<farePointsInPattern>
								<FarePointInPattern id="tap:series444@01" version="01" order="1">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17005" version="01"/>
										<ShortName>Stralsund</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>required</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series444@02" version="01" order="2">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:27359" version="01"/>
										<ShortName>Schwerin</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>optionalLeft</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series444@03" version="01" order="3">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17010" version="01"/>
										<ShortName>Luebeck</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>optionalRight</PresentationPosition>
								</FarePointInPattern>
							</farePointsInPattern>
						</SeriesConstraint>
						<SeriesConstraint order="1" id="tap:series888" version="01">
							<Name>Example ofoptional branch  route</Name>
							<PricingRuleRef version="any" ref="tap:distance"/>
							<Itinerary>(Jena/Hof&gt; * Berlin Friedrichstr * (Buechen / Luebeck))</Itinerary>
							<SeriesType>stationToStation</SeriesType>
							<farePointsInPattern>
								<FarePointInPattern id="tap:series888@01" version="01" order="1">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17031" version="01"/>
										<Name>Jena</Name>
									</ScheduledStopPointView>
									<PresentationPosition>optionalLeft</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series888@02" version="01" order="2">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:26002" version="01"/>
										<Name>Hof</Name>
									</ScheduledStopPointView>
									<PresentationPosition>optionalRight</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series888@03" version="01" order="3">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17032" version="01"/>
										<ShortName>Berlin Friedrichstr</ShortName>
									</ScheduledStopPointView>
									<PresentationPosition>required</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series888@04" version="01" order="4">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17033" version="01"/>
										<Name>Buechen</Name>
									</ScheduledStopPointView>
									<PresentationPosition>optionalLeft</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series888@05" version="01" order="5">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17010" version="01"/>
										<Name>Luebeck</Name>
									</ScheduledStopPointView>
									<PresentationPosition>optionalRight</PresentationPosition>
								</FarePointInPattern>
							</farePointsInPattern>
						</SeriesConstraint>
						<SeriesConstraint order="1" id="tap:series777" version="01">
							<Name>Example of optional barnches   </Name>
							<PricingRuleRef version="any" ref="tap:distance"/>
							<Itinerary>(Giessen * Dortmund    / Goettingen)</Itinerary>
							<farePointsInPattern>
								<FarePointInPattern id="tap:series777@01" version="01" order="1">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17011" version="01"/>
										<Name>Giessen</Name>
									</ScheduledStopPointView>
									<AbridgementRanking>2</AbridgementRanking>
									<PresentationPosition>optionalLeft</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series777@02" version="01" order="2">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17012" version="01"/>
										<Name>Dortmund</Name>
									</ScheduledStopPointView>
									<AbridgementRanking>2</AbridgementRanking>
									<PresentationPosition>optionalLeft</PresentationPosition>
								</FarePointInPattern>
								<FarePointInPattern id="tap:series777@03" version="01" order="3">
									<ScheduledStopPointView>
										<FareScheduledStopPointRef ref="tap:17013" version="01"/>
										<Name>Goettingen</Name>
									</ScheduledStopPointView>
									<AbridgementRanking>3</AbridgementRanking>
									<PresentationPosition>optionalRight</PresentationPosition>
								</FarePointInPattern>
							</farePointsInPattern>
						</SeriesConstraint>
					</seriesConstraints>
				</FareFrame>
			</frames>
		</CompositeFrame>
	</dataObjects>
</PublicationDelivery>