Example
TAP-SKDUPD-example2.4-Load_and_Unload.xml
standards/tap_tsi/TAP-SKDUPD-example2.4-Load_and_Unload.xml
Element names link to their declarations.
<?xml version="1.0" encoding="UTF-8"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:siri="http://www.siri.org.uk/siri" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
<!-- P SKDUPD Timetable Data Example
=============
This Example shows examples of encoding TAPTSI Timetable SKDUPD files .
Data is taken from Example export csv export files and from slides for the TapTSi examples.
Each Example is placed in a separate Composite Frame
SKDUPD_example_Load_and_Unload
The following is the EDIFACT tag stream used as input.
PRD+850:19:::::Load unload+1179'
POP+273:2021-12-12/2022-09-04::111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111'
POR+007944700+*0632+'
ASD+7'
POR+007944704+0651*0652+'
POR+007944707+0711*0745+'
ASD+7'
ASD+9'
POR+007944711+0812*0817+'
POR+007944712+0827+'
ASD+9'
ODI+007944700*007944712+1*5'
PDT++:::84:::'
ODI+007944700*007944712+1*5'
SER+106'
ODI+007944700*007944712+1*5'
SER+20'
ODI+007944700*007944712+1*5'
SER+26'
ODI+007944700*007944712+1*5'
SER+5'
ODI+007944700*007944712+1*5'
SER+72'
ODI+007944700*007944712+1*5'
TFF+SF'
The following is the root data transformed to a csv SKPUPD_TRAIN table
ID Service_number Reservation Tariff Service_Mode Service_Name Service_Provider not_used Reservation_system First_day Last_day Operation_days Second_service_number
4 850 19 Load unload 1179 2021-12-12 2022-09-04 11111111111111111111111111111111111111111111111111111111111111111111111111111... [TRuNCATED]
(C) 2022 Data4PT
-->
<PublicationTimestamp>2022-02-15T09:30:46.0Z</PublicationTimestamp>
<ParticipantRef>SYS001</ParticipantRef>
<!-- ======WHAT WAS REQUESTED ========== -->
<PublicationRequest version="1.0">
<RequestTimestamp>2022-02-15T09:30:46.0Z</RequestTimestamp>
<ParticipantRef>SYS002</ParticipantRef>
</PublicationRequest>
<PublicationRefreshInterval>P3M</PublicationRefreshInterval>
<dataObjects>
<!-- == LOAD AND UNLOAD == -->
<CompositeFrame version="any" id="SKDUPD_example_4_Load_and_Unload">
<Name>Example of Encoding for Simple SKDUPD Load and Unload example in NeTEx </Name>
<!--- ======= CODESPACEs======== -->
<codespaces>
<Codespace id="op4_cs">
<Xmlns>op4</Xmlns>
<XmlnsUrl>http://www.operator.sl/</XmlnsUrl>
<Description>Operator's data</Description>
</Codespace>
<Codespace id="uic_cs">
<Xmlns>uic</Xmlns>
<XmlnsUrl>http://www.uic.org/</XmlnsUrl>
<Description>UIC data</Description>
</Codespace>
</codespaces>
<!--- =======FRAME DEFAULTS======== -->
<FrameDefaults>
<DefaultCodespaceRef ref="op4_cs"/>
</FrameDefaults>
<frames>
<ResourceFrame version="any" id="RF1">
<dataSources>
<DataSource id="uic:0060" version="any"/>
</dataSources>
</ResourceFrame>
<!-- Narrative: The SERVICE CALENDAR FRAME provides a container to organise the operational dates -->
<ServiceCalendarFrame id="uic:SKDUPD_example_2_4_Load_and_unload" version="any">
<operatingPeriods>
<UicOperatingPeriod id="uic:SKDUPD_example_2_4_Load_and_unload" version="any">
<!-- POP+273:2021-12-12/2022-09-04::111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' -->
<FromDate>2022-01-01T00:00:00</FromDate>
<ToDate>2022-09-04T23:59:59</ToDate>
<ValidDayBits>111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
</ValidDayBits>
</UicOperatingPeriod>
</operatingPeriods>
</ServiceCalendarFrame>
<ServiceFrame version="any" id="SKDUPD_example_4_Load_and_Unload">
<scheduledStopPoints>
<ScheduledStopPoint version="any" id="uic:007944700">
<Name lang="si">Nova Gorica</Name>
<StopType>railStation</StopType>
</ScheduledStopPoint>
<ScheduledStopPoint version="any" id="uic:007944704">
<Name lang="si">Anhovo</Name>
<StopType>railStation</StopType>
</ScheduledStopPoint>
<ScheduledStopPoint version="any" id="uic:007944707">
<Name lang="si">Most Na Soci</Name>
<StopType>railStation</StopType>
</ScheduledStopPoint>
<ScheduledStopPoint version="any" id="uic:007944711">
<Name lang="si">Podbrido</Name>
<StopType>railStation</StopType>
</ScheduledStopPoint>
<ScheduledStopPoint version="any" id="uic:007944712">
<Name lang="si">Bohinstra Bistrica</Name>
<StopType>railStation</StopType>
</ScheduledStopPoint>
</scheduledStopPoints>
</ServiceFrame>
<TimetableFrame version="any" id="SKDUPD_example_4_Load_and_Unload">
<VehicleModes>rail</VehicleModes>
<vehicleJourneys>
<ServiceJourney version="any" id="850" changed="2022-01-26T09:51:00" dataSourceRef="uic:0060">
<!-- PRD+850:19:::::Load unload+1179' -->
<!-- SKPUPD_TRAIN
ID Service_number Reservation Tariff Service_Mode Service_Name Service_Provider not_used Reservation_system First_day Last_day Operation_days Second_service_number
4 850 19 Load unload 1179 2021-12-12 2022-09-04 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 -->
<Name>Classic Train</Name>
<TransportMode>rail</TransportMode>
<TransportSubmode>
<RailSubmode>regionalRail</RailSubmode>
</TransportSubmode>
<!-- PDT++:::84:::' -->
<TypeOfProductCategoryRef versionRef="EXTERNAL" ref="84">Regional</TypeOfProductCategoryRef>
<!-- ( TapTsi B.4.7009 84 regional train) -->
<TypeOfServiceRef versionRef="EXTERNAL" ref="37">train</TypeOfServiceRef>
<DepartureTime>06:32:00</DepartureTime>
<!-- POP+273:2021-12-12/2022-09-04::111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' -->
<dayTypes>
<DayTypeRef ref="uic:SKDUPD_example_2_4_Load_and_unload"/>
</dayTypes>
<OperatorRef versionRef="EXTERNAL" ref="uic:1170">SZ Pitzniski promet d.o.o</OperatorRef>
<trainNumbers>
<TrainNumberRef version="any" ref="850"/>
</trainNumbers>
<parts>
<JourneyPart version="any" id="850@007944700+007944712-1">
<!-- ODI+007944700*007944712+1*5' -->
<ParentJourneyRef version="any" ref="850"/>
<MainPartRef version="any" ref="850@007944700+007944712-1"/>
<FromStopPointRef version="any" ref="uic:007944700"/>
<ToStopPointRef version="any" ref="uic:007944712"/>
<StartTime>06:32:00</StartTime>
<EndTime>08:27:00</EndTime>
<PurposeOfJourneyPartitionRef versionRef="EXTERNAL" ref="facilities"/>
<facilities>
<!-- SKDUPD_ODI
ID FromStopNumber ToStopNumber ASD_or_SER Reservation_in_equipment Equipment Tariff_in_equipment
4 1 5 84
4 1 5 F106
4 1 5 F20
4 1 5 F26
4 1 5 F5
4 1 5 F72
4 1 5 TSF -->
<ServiceFacilitySet version="any" id="850@F106">
<!-- SER+106' -->
<TypeOfFacilityRef versionRef="EXTERNAL" ref="F106"/>
<LuggageCarriageFacilityList>vehicleTransport</LuggageCarriageFacilityList>
<!-- F106 TafTsi B.4.9039: TODO - NB Code Not Defined Motorrail? -->
</ServiceFacilitySet>
<ServiceFacilitySet version="any" id="850@F20">
<!-- SER+20'-->
<TypeOfFacilityRef versionRef="EXTERNAL" ref="F20"/>
<NuisanceFacilityList>noSmoking</NuisanceFacilityList>
<!-- F20 TafTsi B.4.9039: 20 Non-smoker service -->
</ServiceFacilitySet>
<ServiceFacilitySet version="any" id="850@F26">
<!-- SER+26'-->
<TypeOfFacilityRef versionRef="EXTERNAL" ref="F26"/>
<LuggageCarriageFacilityList>cyclesAllowed</LuggageCarriageFacilityList>
<!-- F26 TafTsi B.4.9039: 26 Bicycle transport -->
</ServiceFacilitySet>
<ServiceFacilitySet version="any" id="850@F5">
<!-- SER+5' -->
<TypeOfFacilityRef versionRef="EXTERNAL" ref="F5"/>
<FareClasses>secondClass</FareClasses>
<!-- F5 TafTsi B.4.9039: 5 Second-class seats -->
</ServiceFacilitySet>
<ServiceFacilitySet version="any" id="850@F72">
<!-- SER+72' -->
<TypeOfFacilityRef versionRef="EXTERNAL" ref="F72"/>
<AccommodationFacilityList>familyCarriage</AccommodationFacilityList>
<!-- F72 TafTsi B.4.9039: (72) family carriage? NB TO NOT LISTED IN B.4.9039 -->
</ServiceFacilitySet>
<ServiceFacilitySet version="any" id="850@TSF">
<!-- TFF+SF' -->
<TypeOfFacilityRef versionRef="EXTERNAL" ref="TSF"/>
<UicTrainRate>specialFare</UicTrainRate>
<!-- T SF TafTsi B.4.5263: SF Special fare -->
</ServiceFacilitySet>
</facilities>
</JourneyPart>
</parts>
<calls>
<!-- SKPUPD_POR
ID Stop_number UIC Arrival_time Arrival_offset Departure_time Departure_offset Platform_arrival Platform_departure Stop_property Traffic_restriction Distance Loading_vehicles Unloading_vehicles check_out check_in
4 1 007944700 0632 ASD+7
4 2 007944704 0651 0652
4 3 007944707 0711 0745 ASD+7 ASD+9
4 4 007944711 0812 0817
4 5 007944712 0827 ASD+9 -->
<Call version="any" id="850-1">
<!-- POR+007944700+*0632+'
ASD+7' -->
<ScheduledStopPointRef version="any" ref="uic:007944700">Nova Gorica</ScheduledStopPointRef>
<Arrival>
<ForAlighting>false</ForAlighting>
</Arrival>
<Departure>
<Time>06:32:00</Time>
</Departure>
</Call>
<Call version="any" id="850-2">
<!-- POR+007944704+0651*0652+'
-->
<ScheduledStopPointRef version="any" ref="uic:007944704">Anhovoi</ScheduledStopPointRef>
<Arrival>
<Time>06:51:00</Time>
</Arrival>
<Departure>
<Time>06:52:00</Time>
</Departure>
</Call>
<Call version="any" id="850-3">
<!-- POR+007944707+0711*0745+'
ASD+7'
ASD+9'
-->
<ScheduledStopPointRef version="any" ref="uic:007944707">Most Na Soci</ScheduledStopPointRef>
<Arrival>
<Time>07:11:00</Time>
</Arrival>
<Departure>
<Time>07:45:00</Time>
</Departure>
</Call>
<Call version="any" id="850-4">
<!-- POR+007944711+0812*0817+' -->
<ScheduledStopPointRef version="any" ref="uic:007944711">Podbrido</ScheduledStopPointRef>
<Arrival>
<Time>08:12:00</Time>
</Arrival>
<Departure>
<Time>08:17:00</Time>
</Departure>
</Call>
<Call version="any" id="850-5">
<!-- POR+007944712+0827+'
ASD+9' -->
<ScheduledStopPointRef version="any" ref="uic:007944712">Bohinstra Bistrica</ScheduledStopPointRef>
<Arrival>
<Time>08:27:00</Time>
</Arrival>
<Departure>
<ForBoarding>false</ForBoarding>
</Departure>
</Call>
</calls>
<facilities>
<!-- FRom SKPUPD_TRAIN -->
<ServiceFacilitySet version="any" id="850@reservation">
<TypeOfFacilityRef versionRef="EXTERNAL" ref="R19"/>
<ServiceReservationFacilityList>noReservationsPossible</ServiceReservationFacilityList>
<!-- R19 TafTsi B.4.7037: 19 No reservation -->
</ServiceFacilitySet>
</facilities>
<checkConstraints>
<CheckConstraint version="any" id="850@007944700@vehicle_loading">
<!-- POR+007944700+*0632+'
ASD+7' -->
<PlaceRef version="any" ref="uic:007944700"/>
<CheckProcess>vehicleLoading</CheckProcess>
<!-- ASD+7 TafTsi B.4.3039. loading -->
</CheckConstraint>
<CheckConstraint version="any" id="850@007944707@vehicle_loading">
<!-- POR+007944707+0711*0745+'
ASD+7' -->
<PlaceRef version="any" ref="uic:007944707"/>
<CheckProcess>vehicleLoading</CheckProcess>
<!-- ASD+7 TafTsi B.4.3039. loading -->
</CheckConstraint>
<CheckConstraint version="any" id="850@007944707@vehicle_unloading">
<!-- POR+007944707+0711*0745+'
ASD+9' -->
<PlaceRef version="any" ref="uic:007944707"/>
<CheckProcess>vehicleUnloading</CheckProcess>
<!-- ASD+7 TafTsi B.4.3039. unloading -->
</CheckConstraint>
<CheckConstraint version="any" id="850@007944712@vehicle_unloading">
<!-- POR+007944712+0827+'
ASD+9' -->
<PlaceRef version="any" ref="uic:007944712"/>
<CheckProcess>vehicleUnloading</CheckProcess>
<!-- ASD+7 TafTsi B.4.3039. unloading -->
</CheckConstraint>
</checkConstraints>
</ServiceJourney>
</vehicleJourneys>
<trainNumbers>
<TrainNumber version="any" id="850">
<ForAdvertisement>850</ForAdvertisement>
<ForProduction>850</ForProduction>
</TrainNumber>
</trainNumbers>
</TimetableFrame>
</frames>
</CompositeFrame>
<!-- == CHECK IN == -->
</dataObjects>
</PublicationDelivery>