<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple  Network Version  Example ====== 
This is shows use ofGrouping oif entities  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, Srevice pattern, DAY TYPE)

       2021-01-25 - Added example use of GroupOfTariffZones
 
(C) 2010-2019 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>
	</PublicationRequest>
	<Description>Example of simpleGrouping  </Description>
	<dataObjects>
		<ResourceFrame version="any" id="mybus:Example_Groups_of_Entities">
			<!--- ======= 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>
			<typesOfValue>
				<ValueSet version="001" id="mybus:Purposes_of_Grouping" classOfValues="PurposeOfGrouping">
					<Name/>
					<values>
						<PurposeOfGrouping version="any" id="mybus:My_Purpose">
							<Name>Group of Scheduled StopPoints and Links</Name>
							<classes>
								<ClassRef nameOfClass="ScheduledStopPoint"/>
								<ClassRef nameOfClass="ServiceLink"/>
							</classes>
						</PurposeOfGrouping>
					</values>
				</ValueSet>
			</typesOfValue>
			<groupsOfEntities>
				<GeneralGroupOfEntities version="001" created="2010-05-17T09:30:47.0Z" modification="new" id="mybus:GGE001">
					<Name>My Group</Name>
					<PurposeOfGroupingRef version="any" ref="mybus:My_Purpose"/>
					<members>
						<ScheduledStopPointRef versionRef="EXTERNAL" ref="mybus:SSP0001A"/>
						<ScheduledStopPointRef versionRef="EXTERNAL" ref="mybus:SSP0002B"/>
						<ScheduledStopPointRef versionRef="EXTERNAL" ref="mybus:SSP0003CA"/>
						<ServiceLinkRef ref="mybus:SL_AtoB01"/>
					</members>
				</GeneralGroupOfEntities>
			</groupsOfEntities>
		</ResourceFrame>
		<SiteFrame version="any" id="mybus:ExampleGroupOfTariffZones">
			<groupsOfTariffZones>
				<GroupOfTariffZones version="any" id="mybus:InnerOslo">
					<members>
						<TariffZoneRef versionRef="EXTERNAL" ref="mybus:ZoneA"/>
						<TariffZoneRef versionRef="EXTERNAL" ref="mybus:ZoneB"/>
					</members>
				</GroupOfTariffZones>
				<GroupOfTariffZones version="any" id="mybus:GreaterOslo">
					<members>
						<TariffZoneRef versionRef="EXTERNAL" ref="mybus:ZoneC"/>
						<TariffZoneRef versionRef="EXTERNAL" ref="mybus:ZoneD"/>
					</members>
				</GroupOfTariffZones>
			</groupsOfTariffZones>
		</SiteFrame>
	</dataObjects>
</PublicationDelivery>
