<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple Timetable  Example ====== 
 
This is draft  example of encoding a basic UIC timetable of dated service journeys in netex in NeTEx

It has just two journeys

Assumes there is not a common calendar but rather specific days
 
 

-->
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mybus="http://www.mybuses.eu/stuff" xmlns:hde="http://www.halt.de/" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
	<PublicationTimestamp>2010-12-17T09:30:47.0Z</PublicationTimestamp>
	<ParticipantRef>SYS001</ParticipantRef>
	<!--- ======WHAT WAS REQUESTED ========== -->
	<PublicationRequest version="1.0">
		<RequestTimestamp>2010-12-17T09:30:47.0Z</RequestTimestamp>
		<ParticipantRef>SYS002</ParticipantRef>
		<topics>
			<NetworkFrameTopic>
				<Current/>
				<TimetableFrameRef ref="uic:hack001"/>
			</NetworkFrameTopic>
		</topics>
	</PublicationRequest>
	<PublicationRefreshInterval>P1M</PublicationRefreshInterval>
	<Description>Draft Example of a UIC timetable in Netex  . Journeys  are dated</Description>
	<!--- ======WHAT WAS REQUESTED ========== -->
	<!--- =============== RESULTS =========== -->
	<dataObjects>
		<CompositeFrame version="1" id="uic:Cf_01">
			<validityConditions>
				<AvailabilityCondition version="any" id="uic:SC_01">
					<FromDate>2006-11-04T12:00:00</FromDate>
					<ToDate>2006-11-04T12:00:00</ToDate>
				</AvailabilityCondition>
			</validityConditions>
			<!--- ======= CODESPACEs======== -->
			<codespaces>
				<Codespace id="tap">
					<Xmlns>tap</Xmlns>
					<XmlnsUrl>http://www.era.eu/codes</XmlnsUrl>
					<Description>European Rail Authority</Description>
				</Codespace>
				<Codespace id="uic">
					<Xmlns>uic</Xmlns>
					<XmlnsUrl>http://www.uic.org/</XmlnsUrl>
					<Description>UIC data</Description>
				</Codespace>
				<Codespace id="uicresp">
					<Xmlns>uicresp</Xmlns>
					<XmlnsUrl>http://www.uic.org/responsibilities/</XmlnsUrl>
					<Description>UIC data</Description>
				</Codespace>
				<Codespace id="uicorg">
					<Xmlns>uicorg</Xmlns>
					<XmlnsUrl>http://www.uic.org/organisations/</XmlnsUrl>
					<Description>UIC organisation codes  </Description>
				</Codespace>
				<Codespace id="uicloc">
					<Xmlns>uicloc</Xmlns>
					<XmlnsUrl>http://www.uic.orglocations/</XmlnsUrl>
					<Description>UIC location codes  </Description>
				</Codespace>
			</codespaces>
			<!--- =======FRAME DEFAULTS======== -->
			<FrameDefaults>
				<DefaultCodespaceRef ref="uic"/>
			</FrameDefaults>
			<frames>
				<ServiceCalendarFrame version="any" id="uic:SC_01">
					<dayTypes>
						<DayType version="any" id="uic:DT_01">
							<Name>Weekdays unless a holiday</Name>
							<properties>
								<PropertyOfDay>
									<DaysOfWeek>Monday Tuesday Wednesday Thursday Friday</DaysOfWeek>
									<HolidayTypes>NotHoliday</HolidayTypes>
								</PropertyOfDay>
							</properties>
						</DayType>
						<DayType version="any" id="uic:DT_02">
							<Name>Everyday unless a holiday</Name>
							<properties>
								<PropertyOfDay>
									<DaysOfWeek>Everyday</DaysOfWeek>
									<HolidayTypes>NotHoliday</HolidayTypes>
								</PropertyOfDay>
							</properties>
						</DayType>
					</dayTypes>
					<operatingPeriods>
						<UicOperatingPeriod id="X01" version="any">
							<FromDate>2006-11-04T12:00:00</FromDate>
							<ToDate>2006-07-30T12:00:00</ToDate>
							<ValidDayBits>11111001111101</ValidDayBits>
						</UicOperatingPeriod>
						<UicOperatingPeriod id="X02" version="any">
							<FromDate>2006-11-04T12:00:00</FromDate>
							<ToDate>2006-11-04T12:00:00</ToDate>
							<ValidDayBits>1</ValidDayBits>
						</UicOperatingPeriod>
					</operatingPeriods>
				</ServiceCalendarFrame>
				<TimetableFrame version="any" id="uic:TIM_001">
					<validityConditions>
						<AvailabilityCondition version="any" id="uicvj:393">
							<FromDate>2006-11-04T12:00:00</FromDate>
							<ToDate>2006-11-04T12:00:00</ToDate>
							<dayTypes>
								<DayTypeRef ref="uic:DT_01"/>
							</dayTypes>
						</AvailabilityCondition>
					</validityConditions>
					<Name>Uic Example of a very simple train timetable</Name>
					<VehicleModes>rail</VehicleModes>
					<vehicleJourneys>
						<!-- =====     == -->
						<ServiceJourney version="any" id="uicvj:393">
							<DepartureTime>11:45:00Z</DepartureTime>
							<dayTypes>
								<DayTypeRef ref="X02"/>
							</dayTypes>
							<OperatorView>
								<OperatorRef ref="uicop:1174"/>
								<Name>Swedish Railways</Name>
							</OperatorView>
							<LineView>
								<TransportMode>rail</TransportMode>
							</LineView>
							<calls>
								<Call version="any" id="uicvj:393-1">
									<ScheduledStopPointRef ref="uicloc:7400731"/>
									<Arrival>
										<Time>11:45:00Z</Time>
										<ForAlighting>false</ForAlighting>
									</Arrival>
									<Departure>
										<Time>11:45:00Z</Time>
										<ForBoarding>true</ForBoarding>
									</Departure>
								</Call>
								<Call version="any" id="uicvj:393-2">
									<ScheduledStopPointRef ref="uicloc:7404994"/>
									<Arrival>
										<Time>12:50:00Z</Time>
										<ForAlighting>true</ForAlighting>
									</Arrival>
									<Departure>
										<Time>12:50:00Z</Time>
										<ForBoarding>true</ForBoarding>
									</Departure>
									<noticeAssignments>
										<NoticeAssignmentView>
											<NoticeRef ref="ft001">
											</NoticeRef>
											<Text>text for stop </Text>
										</NoticeAssignmentView>
									</noticeAssignments>
								</Call>
								<Call version="any" id="uicvj:393-3">
									<ScheduledStopPointRef ref="uicloc:7404212"/>
									<Arrival>
										<Time>13:10:00Z</Time>
										<ForAlighting>true</ForAlighting>
									</Arrival>
									<Departure>
										<ForBoarding>false</ForBoarding>
									</Departure>
								</Call>
							</calls>
							<facilities>
								<ServiceFacilitySet version="any" id="uicvj:393">
									<otherFacilities>
										<TypeOfEquipment version="any" id="uicvj:5">
										</TypeOfEquipment>
									</otherFacilities>
								</ServiceFacilitySet>
							</facilities>
						</ServiceJourney>
						<ServiceJourney version="any" id="uicvj:395">
							<DepartureTime>15:26:00Z</DepartureTime>
							<dayTypes>
								<DayTypeRef ref="X01"/>
							</dayTypes>
							<OperatorView>
								<OperatorRef ref="uicop:1174"/>
							</OperatorView>
							<LineView>
								<TransportMode>rail</TransportMode>
							</LineView>
							<calls>
								<Call version="any" id="uicvj:395-1">
									<ScheduledStopPointRef ref="uicloc:7400731"/>
									<Arrival>
										<Time>15:26:00Z</Time>
										<ForAlighting>false</ForAlighting>
									</Arrival>
									<Departure>
										<Time>15:27:00Z</Time>
									</Departure>
								</Call>
								<Call version="any" id="uicvj:395-2">
									<ScheduledStopPointRef ref="uicloc:7404994"/>
									<Arrival>
										<Time>16:05:00Z</Time>
									</Arrival>
									<Departure>
										<Time>16:10:00Z</Time>
									</Departure>
								</Call>
								<Call version="any" id="uicvj:395-3">
									<ScheduledStopPointRef ref="uicloc:7404212"/>
									<Arrival>
										<Time>16:18:00Z</Time>
									</Arrival>
								</Call>
							</calls>
							<facilities>
								<ServiceFacilitySet version="any" id="uicvj:395">
									<otherFacilities>
										<TypeOfEquipment version="any" id="uicvj:28">
										</TypeOfEquipment>
										<TypeOfEquipment version="any" id="uicvj:50">	</TypeOfEquipment>
										<TypeOfEquipmentRef version="any" ref="uicvj:5"/>
									</otherFacilities>
								</ServiceFacilitySet>
							</facilities>
						</ServiceJourney>
					</vehicleJourneys>
				</TimetableFrame>
			</frames>
		</CompositeFrame>
	</dataObjects>
</PublicationDelivery>
