<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple  Network Version  Example ====== 
This is Shows use of Entity elements to group  all the versions of an ENtity In Version  in the same file

      Step 1:  Create a single SCHEDULED STOP POINT Stop A 
    
     Step2  Add another  SCHEDULED STOP POINT  Stop B, a
           - Add a VALIDITY CONDITION for the SERVICE FRAME, using a DAY TYPE
		   - Modify SCHEDULED STOP POINT Stop A v002 name and private type  

      Step 3 Add a SERVICE LINK between A and B and from B to A
            - Modify private code of Stop B v002 

      Step 4 Delete  the SERVICE LINK back  from B to A , 
           -  Modify private code of SCHEDULED STOP POINT Stop B v002
            - Modify distance on SERVICE LINK  A to B v002
            - Add a new SCHEDULED STOP POINT Stop C v001, 
            - Add a new SERVICE LINK  from B to C 
           -  Add a new SERVICE PATTERN A-B-C v001  

      Step 5 Modify the section call of the SERVICE PATTERN v002 to be alight only    

Version History 
       Group changes to show all versions of each basic  entity (Stop, Link, Service pattern, DAY TYPE)
 
(C) 2010 Crown Copyright CEN
-->
<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" 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>
	<PublicationRequest version="1.0">
		<RequestTimestamp>2001-12-17T09:30:47.0Z</RequestTimestamp>
		<ParticipantRef>SYS002</ParticipantRef>
		<topics>
			<NetworkFrameTopic>
				<Current/>
				<NetworkFilterByValue>
					<objectReferences>
						<ScheduledStopPointRef ref="mybus:SSP0001A">REQUEST</ScheduledStopPointRef>
						<ScheduledStopPointRef ref="mybus:SSP0002B">REQUEST</ScheduledStopPointRef>
						<ScheduledStopPointRef ref="mybus:SSP0003C">REQUEST</ScheduledStopPointRef>
						<ServiceLinkRef ref="mybu:SL_AtoB01">REQUEST</ServiceLinkRef>
						<ServiceLinkRef ref="mybu:SL_BtoC01">REQUEST</ServiceLinkRef>
						<ServiceLinkRef ref="mybu:SL_BtoA01">REQUEST</ServiceLinkRef>
						<ServicePatternRef ref="mybus:SP_001">REQUEST</ServicePatternRef>
						<DayTypeRef ref="mybus:DT001_MF">REQUEST</DayTypeRef>
					</objectReferences>
				</NetworkFilterByValue>
			</NetworkFrameTopic>
		</topics>
	</PublicationRequest>
	<PublicationRefreshInterval>P1Y2M3DT10H30M0S</PublicationRefreshInterval>
	<Description>Example of simple network, explicit request </Description>
	<dataObjects>
		<GeneralFrame version="any" id="mybus:SF1">
			<!--- ======= CODESPACEs======== -->
			<codespaces>
				<Codespace id="mybus">
					<Xmlns>mybus</Xmlns>
					<XmlnsUrl>http://www.mybuses.eu/stuff</XmlnsUrl>
					<Description>My buses</Description>
				</Codespace>
			</codespaces>
			<!--- =======FRAME DEFAULTS======== -->
			<FrameDefaults>
				<DefaultCodespaceRef ref="mybus"/>
			</FrameDefaults>
			<members>
				<Entity_Entity created="2010-05-17T09:30:47.0Z" id="mybus:SSP0001A" nameOfClass="ScheduledStopPoint">
					<versions>
						<!-- ====="mybus:SSP0002B" -->
						<ScheduledStopPoint version="001" created="2010-05-17T09:30:47.0Z" modification="new" responsibilitySetRef="mybus:RS_10" id="mybus:SSP0001A">
							<Name>Haltstelle A</Name>
							<Description>Version one of stop A</Description>
						</ScheduledStopPoint>
						<ScheduledStopPoint version="002" created="2010-05-17T09:30:47.0Z" changed="2010-05-18T09:30:47.0Z" modification="revise" derivedFromVersionRef="001" responsibilitySetRef="mybus:RS_10" id="mybus:SSP0001A">
							<privateCodes>
								<PrivateCode>mycodeA</PrivateCode>
							</privateCodes>
							<Name>Haltstelle A - Museum</Name>
							<Description>Version two of stop A. Name is Changed and code addded</Description>
						</ScheduledStopPoint>
					</versions>
				</Entity_Entity>
				<Entity_Entity created="2010-05-17T09:30:47.0Z" id="mybus:SSP0002B" nameOfClass="ScheduledStopPoint">
					<versions>
						<ScheduledStopPoint version="001" created="2010-05-18T09:30:47.0Z" modification="new" responsibilitySetRef="mybus:RS_10" id="mybus:SSP0002B">
							<Name>Haltstelle B</Name>
							<Description>Version one of stop B</Description>
						</ScheduledStopPoint>
						<ScheduledStopPoint version="002" created="2010-05-18T09:30:47.0Z" changed="2010-06-18T09:30:47.0Z" modification="revise" responsibilitySetRef="mybus:RS_10" id="mybus:SSP0002B">
							<privateCodes>
								<PrivateCode>mycodeB</PrivateCode>
							</privateCodes>
							<Name>Haltstelle B</Name>
							<Description>Version two of stop B</Description>
						</ScheduledStopPoint>
						<!-- ====="mybus:SSP0003c" -->
						<ScheduledStopPoint version="001" created="2010-05-21T10:30:51.0Z" responsibilitySetRef="mybus:RS_10" id="mybus:SSP0003C">
							<Name>Haltstelle C</Name>
							<Description>Version one of stop C</Description>
						</ScheduledStopPoint>
					</versions>
				</Entity_Entity>
				<Entity_Entity created="2010-05-19T10:30:47.0Z" id="mybu:SL_AtoB01" nameOfClass="ServiceLink">
					<versions>
						<!-- ServiceLink_Entity id="mybu:SL_AtoB01" -->
						<ServiceLink version="001" created="2010-05-19T10:30:47.0Z" modification="new" responsibilitySetRef="mybus:RS_10" id="mybu:SL_AtoB01">
							<Name>Version one of Link from A to B</Name>
							<Distance>1.01</Distance>
							<FromPointRef version="001" ref="mybus:SSP0001A"/>
							<ToPointRef version="001" ref="mybus:SSP0002B"/>
						</ServiceLink>
						<ServiceLink version="002" created="2010-05-19T10:30:47.0Z" changed="2010-05-19T10:30:47.0Z" modification="revise" responsibilitySetRef="mybus:RS_10" id="mybu:SL_AtoB01">
							<Name>Version one of Link from A to B</Name>
							<Distance>1.12</Distance>
							<FromPointRef version="002" ref="mybus:SSP0001A"/>
							<ToPointRef version="002" ref="mybus:SSP0002B"/>
						</ServiceLink>
					</versions>
				</Entity_Entity>
				<Entity_Entity created="2010-05-21T10:30:51.0Z" id="mybu:SL_BtoC01" nameOfClass="ServiceLink">
					<versions>
						<!-- ServiceLink_Entity id="mybu:SL_BtoC01" -->
						<ServiceLink version="001" created="2010-05-21T10:30:51.0Z" modification="new" responsibilitySetRef="mybus:RS_10" id="mybu:SL_BtoC01">
							<Name>Version one of Link from B to C</Name>
							<FromPointRef version="002" ref="mybus:SSP0002B"/>
							<ToPointRef version="001" ref="mybus:SSP0003C"/>
						</ServiceLink>
					</versions>
				</Entity_Entity>
				<!-- ServiceLink_Entity id="mybu:SL_BtoA01"  -->
				<Entity_Entity created="2010-05-19T10:30:51.0Z" changed="2010-05-21T10:30:51.0Z" id="mybu:SL_BtoA01" nameOfClass="ServiceLink">
					<versions>
						<ServiceLink version="002" created="2010-05-19T10:30:51.0Z" changed="2010-05-21T10:30:51.0Z" modification="delete" responsibilitySetRef="mybus:RS_10" id="mybu:SL_BtoA01">
							<Name>Version two - deleteing  Link from B to A</Name>
							<FromPointRef version="002" ref="mybus:SSP0002B"/>
							<ToPointRef version="002" ref="mybus:SSP0001A"/>
						</ServiceLink>
					</versions>
				</Entity_Entity>
				<!-- ===ServicePattern_Entity id="mybus:SP_001"   -->
				<Entity_Entity created="2010-05-21T10:30:51.0Z" changed="2010-05-22T10:30:51.0Z" id="mybus:SP_001" nameOfClass="ServicePattern">
					<versions>
						<ServicePattern version="001" created="2010-05-21T10:30:51.0Z" modification="new" id="mybus:SP_001">
							<Name>From A to C, version 1</Name>
							<pointsInSequence>
								<StopPointInJourneyPattern version="001" id="mybus:P_001_01" order="1">
									<ScheduledStopPointRef version="002" ref="mybus:SSP0001A"/>
								</StopPointInJourneyPattern>
								<StopPointInJourneyPattern version="001" id="mybus:P_001_02" order="2">
									<ScheduledStopPointRef version="002" ref="mybus:SSP0002B"/>
								</StopPointInJourneyPattern>
								<StopPointInJourneyPattern version="001" id="mybus:P_001_03" order="3">
									<ScheduledStopPointRef version="001" ref="mybus:SSP0003C"/>
								</StopPointInJourneyPattern>
							</pointsInSequence>
						</ServicePattern>
						<ServicePattern version="002" created="2010-05-21T10:30:51.0Z" changed="2010-05-22T10:30:51.0Z" modification="new" id="mybus:SP_001">
							<Name>From A to D, version 2</Name>
							<pointsInSequence>
								<StopPointInJourneyPattern version="002" id="mybus:P_001_01" order="1">
									<ScheduledStopPointRef version="001" ref="mybus:SSP0001A"/>
								</StopPointInJourneyPattern>
								<StopPointInJourneyPattern version="002" id="mybus:P_001_02" order="2">
									<ScheduledStopPointRef version="002" ref="mybus:SSP0002B"/>
									<ForAlighting>true</ForAlighting>
									<ForBoarding>false</ForBoarding>
								</StopPointInJourneyPattern>
								<StopPointInJourneyPattern version="002" id="mybus:P_001_03" order="3">
									<ScheduledStopPointRef version="001" ref="mybus:SSP0003C"/>
								</StopPointInJourneyPattern>
							</pointsInSequence>
						</ServicePattern>
					</versions>
				</Entity_Entity>
			</members>
		</GeneralFrame>
		<ServiceCalendarFrame version="any" id="mybus:SCF1">
			<!-- DayType_Entity id="mybus:DT001_MF" -->
			<dayTypes>
				<DayType version="001" created="2010-05-18T10:30:47.0Z" responsibilitySetRef="mybus:RS_10" id="mybus:DT001_MF">
					<Name>Monday to Friday</Name>
					<properties>
						<PropertyOfDay>
							<DaysOfWeek>Monday Tuesday Wednesday Thursday Friday</DaysOfWeek>
							<HolidayTypes>WorkingDay</HolidayTypes>
						</PropertyOfDay>
					</properties>
				</DayType>
			</dayTypes>
		</ServiceCalendarFrame>
	</dataObjects>
</PublicationDelivery>
