<?xml version="1.0" encoding="iso-8859-1"?>
<xsd:schema xmlns="http://www.netex.org.uk/netex" xmlns:netex="http://www.netex.org.uk/netex" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="netex_publication">
	<!-- m,./,/aSDFGVHJ;./'|aZDGVN ,M.-->
	<!-- ===Regular netex============================================================== -->
	<xsd:include schemaLocation="netex_service/netex_all-v0.1.xsd"/>
	<!-- ======================================================================= -->
	<!-- ===Dummy include of all netex namespace help Xerces - Also picks up NeTEx objects============================================= -->
	<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri/siri_all_service.xsd"/>
	<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri/siri_participant-v1.1.xsd"/>
	<!-- ===eGIF/GovTalk Documentation ======================================= -->
	<xsd:annotation>
		<xsd:appinfo>
			<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
				<Aggregation>main schema</Aggregation>
				<Audience>e-service developers</Audience>
				<Contributor>NeTEx Xml Nicholas Knowles, KIZOOM LTD., London EC4A 1LT</Contributor>
				<Contributor>TO be COMPLETED </Contributor>
				<Coverage>Europe</Coverage>
				<Creator>Drafted for version 1.0 NeTEx Editor Nicholas Knowles, Kizoom. mailto:schemer@netex.org.uk</Creator>
				<Date>
					<Modified>2011-01-17</Modified>V0.94					<!-- Revised-->
				</Date>
				<Date>
					<Created>2010-09-04</Created>
					<!-- Created from Siri.xsd -->
				</Date>
				<Description>
					<p>netex Xml is an XML representation of the Transmodel model that can be used to exchange data objects between netex databases and other services.</p>. 
					<p> The same netex Xml of netex data objects can be used both in fine grained protocols that exchange one or more objects at a time, such as the SIRI based netex Xml web service, and in bulk publication exchange formats used to exchange whole data sets. </p>
					<p>This netex Publication exchange XML schema defines a bulk delivery format to exchange netex objects as an XML document. (It has no dependency on SIRI). 
 <ul>
							<li>For each data object type it describes an XML representation which can be used to exchange netex data.</li>
							<li>It also describes filters to describe requests for publishing data. These can be used both to configure the publication, and to describe the contents of the published document, for example all Network Objects, or all current traffic events.</li>
							<li>A particular use of the netex Publication Exchange format is to publish data from a NeTEx system: at regular intervals as an Xml document which can be transmitted to other systems by FTP or other communication transport means. </li>
						</ul>
					</p>
				</Description>
				<Format>
					<MediaType>text/xml</MediaType>
					<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
					<Description>XML schema, W3C Recommendation 2001</Description>
				</Format>
				<Identifier>{http://www.netex.org.uk/schemas/1.0}netex_publication.xsd</Identifier>
				<Language>[ISO 639-2/B] ENG</Language>
				<Publisher>Kizoom Software Ltd, 16 High Holborn, London WC1V 6BX </Publisher>
				<Relation>
					<Requires>http://www.netex.org.uk/schemas/1.0/netex_filters.xsd</Requires>
					<Requires>http://www.netex.org.uk/schemas/1.0/netex_all_objects.xsd</Requires>
				</Relation>
				<Rights>Unclassified
 <Copyright>CEN, Crown Copyright 2009-2011</Copyright>
				</Rights>
				<Source>
					<ul>
						<li>Created for NeTEx.</li>
					</ul>
				</Source>
				<Status>Version 1.0 Draft for approval</Status>
				<Subject>
					<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Public transport, Bus services, Coach services, 
Business and industry, Transport, Public transport,
Roads and Road transport.
</Category>
					<Project>NeTEx</Project>
				</Subject>
				<Title>NeTEx XML schema. bulk Publication Interface for exchanging NeTEx data </Title>
				<Type>Standard</Type>
			</Metadata>
		</xsd:appinfo>
	</xsd:annotation>
	<!-- ======================================================================= -->
	<xsd:element name="ParticipantRef" type="siri:ParticipantCodeType">
		<xsd:annotation>
			<xsd:documentation>Identifier of system requesting Data.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PublicationRequest" type="PublicationRequestStructure">
		<xsd:annotation>
			<xsd:documentation>A bulk publication request for NeTEx objects specifying which elements should be returned. Can be echoed back in a publication response.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="PublicationRequestStructure">
		<xsd:annotation>
			<xsd:documentation>Type for Publication Request.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="RequestTimestamp" type="xsd:dateTime">
				<xsd:annotation>
					<xsd:documentation>Time of request.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="ParticipantRef" minOccurs="0"/>
			<xsd:choice>
				<xsd:element name="filters" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>One or more Request filters that describe selection criteria for data to be included in output.</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element ref="AbstractRequestFilter" maxOccurs="unbounded"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="subscriptionFilters" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>If periodical is refreshed, regularly additional subscription criteria can be specified by a subscription filter.</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element ref="AbstractSubscriptionFilter" maxOccurs="unbounded"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
			</xsd:choice>
		</xsd:sequence>
		<xsd:attribute name="version" type="xsd:NMTOKEN" use="required" fixed="1.0"/>
	</xsd:complexType>
	<!-- ======================================================================= 
-->
	<xsd:element name="PublicationDelivery" type="PublicationDeliveryStructure">
		<xsd:annotation>
			<xsd:documentation>A set of NeTEx objects as assembled by a publication request or other service 

Provides a general purpose wrapper for NeTEx data content.</xsd:documentation>
		</xsd:annotation>
		<!-- =======START OF CONSTRAINTS=================================== 
-->
		<!--		<xsd:unique name="ObjectIdAndAttributeVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Element Id + Version attribute] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:*"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>-->
		<xsd:unique name="KeyValuePair">
			<xsd:annotation>
				<xsd:documentation>Every Key Value Pair must be unique.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:KeyValue"/>
			<xsd:field xpath="netex:System"/>
			<xsd:field xpath="netex:Value"/>
		</xsd:unique>
		<!--
		<xsd:unique name="ObjectId">
			<xsd:annotation>
				<xsd:documentation>Every EntityIn Version ID / version must be unique.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Id"/>
			<xsd:field xpath="."/>
			<xsd:field xpath=".//@version"/>
		</xsd:unique> -->
		<!--	-->
		<!-- =====Object Key ========================== -->
		<!--
		<xsd:keyref name="Object_AnyKeyRef" refer="netex:Object_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VersionOfObjectRef |.//netex:AppliesToRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Object_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>-->
		<!-- =====REFERENTIAL INTEGRITY Constraints========================= -->
		<!-- =====FRAMEWORK Constraints========================= -->
		<!-- =====Namespace Unique=========================== -->
		<xsd:unique name="Namespace_UniqueId">
			<xsd:annotation>
				<xsd:documentation>Every Name Space ID must be unique.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Namespace/Xmlns"/>
			<xsd:field xpath="."/>
		</xsd:unique>
		<!-- =====Namespace============================== -->
		<xsd:keyref name="Namespace_AnyKeyRef" refer="netex:Namespace_Key">
			<xsd:selector xpath=".//netex:NamespaceRef"/>
			<xsd:field xpath="."/>
		</xsd:keyref>
		<xsd:key name="Namespace_Key">
			<xsd:selector xpath=".//netex:Namespace"/>
			<xsd:field xpath="netex:Xmlns"/>
		</xsd:key>
		<!-- =====DataSource=unique========================== -->
		<xsd:unique name="DataSource_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DataSource Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DataSource"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DataSource Key ========================== -->
		<xsd:keyref name="DataSource_AnyKeyRef" refer="netex:DataSource_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DataSourceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DataSource_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DataSource"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!--	<xsd:keyref name="DataSourceSimple_AnyKeyRef" refer="netex:DataSourceSimple_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:DefaultDataSourceRef"/>
			<xsd:field xpath="."/>
		</xsd:keyref>
 	<xsd:keyref name="DataSourceAttributeSimple_AnyKeyRef" refer="netex:DataSourceSimple_AnyVersionedKey">
			<xsd:selector xpath=".//netex:*"/>
			<xsd:field xpath="@dataSourceRef"/>
		</xsd:keyref> -->
		<xsd:key name="DataSource_AnyKey">
			<xsd:selector xpath=".//netex:DataSource"/>
			<xsd:field xpath="@id"/>
		</xsd:key>
		<!-- =====ResponsibilitySet============================== -->
		<!-- =====Responsibility unique========================== -->
		<xsd:unique name="Responsibility_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Responsibility Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Responsibility"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Responsibility Key ========================== -->
		<xsd:keyref name="ResponsibilitySet_AnyKeyRef" refer="netex:ResponsibilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResponsibilitySetRef | .//netex:DefaultResponsibilitySetRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ResponsibilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResponsibilitySet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Version============================== -->
		<!-- =====Version unique========================== -->
		<xsd:unique name="Version_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Version Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Version"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Version Key ========================== -->
		<xsd:keyref name="Version_AnyKeyRef" refer="netex:Version_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VersionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Version_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Version"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VersionFrame============================== -->
		<!-- =====TypeOfFrame unique========================== -->
		<xsd:unique name="TypeOfFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfFrame Id + TypeOfFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfFrame============================== -->
		<xsd:keyref name="TypeOfFrame_AnyKeyRef" refer="netex:TypeOfFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<!-- =====TypeOfFrame Key ========================== -->
		<xsd:key name="TypeOfFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VersionFrame============================== -->
		<!-- =====ResourceFrame unique========================== -->
		<xsd:unique name="ResourceFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ResourceFrame Id + ResourceFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ResourceFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CompositeFrame unique========================== -->
		<xsd:unique name="CompositeFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CompositeFrame Id + CompositeFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CompositeFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceCalendarFrame unique========================== -->
		<xsd:unique name="ServiceCalendarFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceCalendarFrame Id + ServiceCalendarFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceCalendarFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====InfrastructureFrame unique========================== -->
		<xsd:unique name="InfrastructureFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [InfrastructureFrame Id + InfrastructureFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:InfrastructureFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SiteFrame unique========================== -->
		<xsd:unique name="SiteFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [SiteFrame Id + SiteFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SiteFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceFrame unique========================== -->
		<xsd:unique name="ServiceFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceFrame Id + ServiceFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimetableFrame unique========================== -->
		<xsd:unique name="TimetableFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimetableFrame Id + TimetableFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimetableFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleScheduleFrame unique========================== -->
		<xsd:unique name="VehicleScheduleFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleScheduleFrame Id + VehicleScheduleFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleScheduleFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DriverScheduleFrame unique========================== -->
		<xsd:unique name="DriverScheduleFrame_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DriverScheduleFrame Id + DriverScheduleFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DriverScheduleFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VersionFrame key========================== -->
		<xsd:keyref name="VersionFrame_AnyKeyRef" refer="netex:VersionFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VersionFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VersionFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VersionFrame | .//netex:ResourceFrame | .//netex:InfrastructureFrame | .//netex:ServiceCalendarFrame| .//netex:SiteFrame| .//netex:TimetableFrame | .//netex:GeneralFrame| .//netex:CompositeFrame | .//netex:VehicleScheduleFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PurposeOfGrouping============================== -->
		<!-- =====PurposeOfGrouping unique========================== -->
		<xsd:unique name="PurposeOfGrouping_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PurposeOfGrouping Id + PurposeOfGrouping] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PurposeOfGrouping"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PurposeOfGrouping Key ========================== -->
		<xsd:keyref name="PurposeOfGrouping_AnyKeyRef" refer="netex:PurposeOfGrouping_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurposeOfGroupingRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PurposeOfGrouping_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurposeOfGrouping"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPoint============================== -->
		<!-- =====Point============================== -->
		<xsd:keyref name="Point_AnyKeyRef" refer="netex:Point_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Point_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Point | .//netex:RoutePoint | .//netex:TimingPoint | .//netex:ReliefPoint | .//netex:ParkingPoint | .//netex:GaragePoint | .//netex:ScheduledStopPoint | .//netex:RoadJunction | .//netex:RailwayJunction | .//netex:WireJunction | .//netex:ActivationPoint | .//netex:BeaconPoint | .//netex:TrafficControlPoint |.//netex:PathJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPoint unique========================== -->
		<xsd:unique name="TypeOfPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfPoint Key ========================== -->
		<xsd:keyref name="TypeOfPoint_KeyRef" refer="netex:TypeOfPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Link============================== -->
		<xsd:keyref name="Link_AnyKeyRef" refer="netex:Link_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkRef |.//netex:ProjectToLinkRef | .//netex:ProjectedLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Link_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Link | .//netex:RouteLink | .//netex:TimingLink | .//netex:PathLink | .//netex:ServiceLink | .//netex:RoadElement | .//netex:RailwayElement | .//netex:WireElement | .//netex:ActivationLink "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfLink============================== -->
		<xsd:keyref name="TypeOfLink_AnyKeyRef" refer="netex:TypeOfLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfZone============================== -->
		<xsd:keyref name="TypeOfZone_AnyKeyRef" refer="netex:TypeOfZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfZoneRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOnLink============================== -->
		<!-- =====PointOnLink unique========================== -->
		<xsd:unique name="PointOnLink_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOnLink Id + PointOnLink] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOnLink| .//netex:StartPointOnLink| .//netex:EndPointOnLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOnLink Key ========================== -->
		<xsd:keyref name="PointOnLink_AnyKeyRef" refer="netex:PointOnLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOnLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOnLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOnLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CommonSection============================== -->
		<!-- =====CommonSection unique========================== -->
		<xsd:unique name="CommonSection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CommonSection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CommonSection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CommonSection Key ========================== -->
		<xsd:keyref name="CommonSection_AnyKeyRef" refer="netex:CommonSection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CommonSectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CommonSection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CommonSection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Zone============================== -->
		<xsd:keyref name="Zone_AnyKeyRef" refer="netex:Zone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ZoneRef | .//netex:ParentZoneRef | .//netex:ProjectedZoneRef | .//netex:ProjectToZoneRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Zone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Zone | .//netex:TariffZone | .//netex:RoutingConstraintZone | .//netex:ConnectionZone | .//netex:AdministrativeZone | .//netex:PointOfInterest | .//netex:Parking | .//netex:ParkingArea | .//netex:ParkingBay | .//netex:TopographicPlace | .//netex:Quay | .//netex:AccessSpace | .//netex:PointOfInterestSpace | .//netex:StopPlace| .//netex:Garage| .//netex:EquipmentPlace | .//netex:FlexibleArea | .//netex:HailAndRideArea | .//netex:FlexibleQuay| .//netex:StopPlaceEntance | .//netex:Entrance | .//netex:PointOfInterestEntrance | .//netex:BoardingPosition | .//netex:VehicleStoppingPlace | .//netex:VehicleEntrance "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TariffZone============================== -->
		<!-- =====TariffZone unique========================== -->
		<xsd:unique name="TariffZone_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TariffZone Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TariffZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TariffZone Key ========================== -->
		<xsd:keyref name="TariffZone_AnyKeyRef" refer="netex:TariffZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TariffZoneRef | .//netex:ParentTariffZoneRef | .//netex:StartTariffZoneRef | .//netex:EndTariffZoneRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TariffZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TariffZone "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfProjection============================== -->
		<!-- =====TypeOfProjection unique========================== -->
		<xsd:unique name="TypeOfProjection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfProjection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfProjection Key ========================== -->
		<xsd:keyref name="TypeOfProjection_AnyKeyRef" refer="netex:TypeOfProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfProjectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LinkSequence============================== -->
		<!-- =====LinkSequence Key ========================== -->
		<xsd:keyref name="LinkSequence_AnyKeyRef" refer="netex:LinkSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkSequenceRef | .//netex:ProjectedLinkSequenceRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LinkSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Route | .//netex:JourneyPattern | .//netex:TimingPattern | .//netex:ServicePattern | .//netex:ServiceJourneyPattern | .//netex:DeadRunServicePattern | .//netex:NavigationPath"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointProjection============================== -->
		<!-- =====PointProjection unique========================== -->
		<xsd:unique name="PointProjection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointProjection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointProjection Key ========================== -->
		<xsd:keyref name="PointProjection_AnyKeyRef" refer="netex:PointProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointProjectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LinkProjection============================== -->
		<!-- =====LinkProjection unique========================== -->
		<xsd:unique name="LinkProjection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [LinkProjection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LinkProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LinkProjection Key ========================== -->
		<xsd:keyref name="LinkProjection_AnyKeyRef" refer="netex:LinkProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkProjectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LinkProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ZoneProjection============================== -->
		<!-- =====ZoneProjection unique========================== -->
		<xsd:unique name="ZoneProjection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ZoneProjection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ZoneProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ZoneProjection Key ========================== -->
		<xsd:keyref name="ZoneProjection_KeyRef" refer="netex:ZoneProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ZoneProjectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ZoneProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ZoneProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LinkSequenceProjection============================== -->
		<!-- =====LinkSequenceProjection unique========================== -->
		<xsd:unique name="LinkSequenceProjection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [LinkSequenceProjection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LinkSequenceProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LinkSequenceProjection Key ========================== -->
		<xsd:keyref name="LinkSequenceProjection_AnyKeyRef" refer="netex:LinkSequenceProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkSequenceProjectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LinkSequenceProjection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkSequenceProjection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SimpleFeature============================== -->
		<!-- =====SimpleFeature unique========================== -->
		<xsd:unique name="SimpleFeature_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [SimpleFeature Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SimpleFeature"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SimpleFeature Key ========================== -->
		<xsd:keyref name="SimpleFeature_KeyRef" refer="netex:SimpleFeature_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SimpleFeatureRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SimpleFeature_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SimpleFeature"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ComplexFeature============================== -->
		<!-- =====ComplexFeature unique========================== -->
		<xsd:unique name="ComplexFeature_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ComplexFeature Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ComplexFeature"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ComplexFeature Key ========================== -->
		<xsd:keyref name="ComplexFeature_KeyRef" refer="netex:ComplexFeature_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ComplexFeatureRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ComplexFeature_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ComplexFeature"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfFeature============================== -->
		<!-- =====TypeOfFeature unique========================== -->
		<xsd:unique name="TypeOfFeature_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfFeature Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfFeature"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfFeature Key ========================== -->
		<xsd:keyref name="TypeOfFeature_KeyRef" refer="netex:TypeOfFeature_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfFeatureRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfFeature_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfFeature"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Place============================== -->
		<xsd:keyref name="Place_AnyKeyRef" refer="netex:Place_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Place_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Place | .//netex:TopographicPlace | .//netex:RoadAddress | .//netex:PostalAddress | .//netex:Garage | .//netex:StopPlace | .//netex:Quay | .//netex:BoardingPosition | .//netex:AccessSpace | .//netex:StopPlaceEntrance | .//netex:FlexibleStopPlace | .//netex:FlexibleArea | .//netex:HailAndRideArea | .//netex:PointOfInterest | .//netex:PointOfInterestSpace | .//netex:PointOfInterestEntrance | .//netex:PathJunction | .//netex:SiteEntrance | .//netex:Parking | .//netex:ParkingBay | .//netex:ParkingArea | .//netex:VehicleStoppingPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ORGANISATION CONSTRAINTS========================== -->
		<!-- =====TypeOfOrganisation============================== -->
		<!-- =====TypeOfOrganisation unique========================== -->
		<xsd:unique name="TypeOfOrganisation_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfOrganisation Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfOrganisation Key ========================== -->
		<xsd:keyref name="TypeOfOrganisation_KeyRef" refer="netex:TypeOfOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfOrganisationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Organisation============================== -->
		<xsd:keyref name="Organisation_AnyKeyRef" refer="netex:Organisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OrganisationRef | .//netex:ResponsibleOrganisationRef | .//netex:ProvidedByRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Organisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OtherOrganisation | .//netex:Authority | .//netex:Operator | .//netex:ServicedOrganisation | .//netex:TravelAgent | .//netex:ManagementAgent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OrganisationPart============================== -->
		<!-- =====OrganisationPart unique========================== -->
		<xsd:unique name="OrganisationPart_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [OrganisationPart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OrganisationPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OrganisationPart Key ========================== -->
		<xsd:keyref name="OrganisationPart_KeyRef" refer="netex:OrganisationPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OrganisationPartRef |.//netex:ResponsibilityRoleAssignment/ResponsiblePartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OrganisationPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OrganisationPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Department============================== -->
		<!-- =====Department unique========================== -->
		<xsd:unique name="Department_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Department Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Department"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Department Key ========================== -->
		<xsd:keyref name="Department_KeyRef" refer="netex:Department_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DepartmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Department_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Department"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AdministrativeZone============================== -->
		<!-- =====AdministrativeZone unique========================== -->
		<xsd:unique name="AdministrativeZone_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AdministrativeZone Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AdministrativeZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AdministrativeZone Key ========================== -->
		<xsd:keyref name="AdministrativeZone_KeyRef" refer="netex:AdministrativeZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AdministrativeZoneRef |.//netex:ResponsibilityRoleAssignment/ResponsibleAreaRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AdministrativeZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AdministrativeZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Address Constraints========================= -->
		<!-- =====Address============================== -->
		<xsd:keyref name="Address_AnyKeyRef" refer="netex:Address_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadAddressRef | .//netex:PostalAddressRef | .//netex:AddressRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Address_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadAddress | .//netex:PostalAddress"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PostalAddress============================== -->
		<!-- =====PostalAddress unique========================== -->
		<xsd:unique name="PostalAddress_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PostalAddress Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PostalAddress"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PostalAddress Key ========================== -->
		<xsd:keyref name="PostalAddress_KeyRef" refer="netex:PostalAddress_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PostalAddressRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PostalAddress_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PostalAddress"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Operator============================== -->
		<!-- =====RoadAddress unique========================== -->
		<xsd:unique name="RoadAddress_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RoadAddress Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoadAddress"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RoadAddress Key ========================== -->
		<xsd:keyref name="RoadAddress_KeyRef" refer="netex:RoadAddress_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadAddressRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoadAddress_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadAddress"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ORGANISATION Constraints========================= -->
		<!-- =====Operator============================== -->
		<!-- =====Operator unique========================== -->
		<xsd:unique name="Operator_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Operator Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Operator"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Operator Key ========================== -->
		<xsd:keyref name="Operator_KeyRef" refer="netex:Operator_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatorRef | .//netex:ParentOperatorRef |.//netex:ServiceFacilitySet/ProvidedByRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Operator_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Operator"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Authority============================== -->
		<!-- =====Authority unique========================== -->
		<xsd:unique name="Authority_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Authority Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Authority"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Authority Key ========================== -->
		<xsd:keyref name="Authority_KeyRef" refer="netex:Authority_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AuthorityRef | .//netex:ParentAuthorityRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Authority_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Authority"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OtherOrganisation============================== -->
		<!-- =====OtherOrganisation unique========================== -->
		<xsd:unique name="OtherOrganisation_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [OtherOrganisation Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OtherOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OtherOrganisation Key ========================== -->
		<xsd:keyref name="OtherOrganisation_KeyRef" refer="netex:OtherOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OtherOrganisationRef | .//netex:ParentOtherOrganisationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OtherOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OtherOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServicedOrganisation============================== -->
		<!-- =====ServicedOrganisation unique========================== -->
		<xsd:unique name="ServicedOrganisation_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServicedOrganisation Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServicedOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServicedOrganisation Key ========================== -->
		<xsd:keyref name="ServicedOrganisation_KeyRef" refer="netex:ServicedOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServicedOrganisationRef | .//netex:ParentServicedOrganisationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServicedOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServicedOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ManagementAgent Key ========================== -->
		<xsd:keyref name="ManagementAgent_KeyRef" refer="netex:ManagementAgent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ManagementAgentRef | .//netex:ParentManagementAgentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ManagementAgent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ManagementAgent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TravelAgent Key ========================== -->
		<xsd:keyref name="TravelAgent_KeyRef" refer="netex:TravelAgent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelAgentRef | .//netex:ParentTravelAgentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TravelAgent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelAgent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EQUIPMENT Constraints========================= -->
		<!-- =====PurposeOfEquipment============================== -->
		<!-- =====Equipment unique========================== -->
		<xsd:unique name="Equipment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Equipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Equipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Equipment Key ========================== -->
		<xsd:keyref name="Equipment_KeyRef" refer="netex:Equipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Equipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Equipment | .//netex:PlaceEquipment | .//netex:InstalledEquipment | .//netex:EntranceEquipment | .//netex:TicketValidatorEquipment | .//netex:TicketingEquipment | .//netex:LiftEquipment | .//netex:StaircaseEquipment | .//netex:RampEquipment | .//netex:StopPlaceSign | .//netex:OtherSign |.//netex:WaitingRoomEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PurposeOfEquipment============================== -->
		<!-- =====PurposeOfEquipment unique========================== -->
		<xsd:unique name="PurposeOfEquipment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PurposeOfEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PurposeOfEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PurposeOfEquipment Key ========================== -->
		<xsd:keyref name="PurposeOfEquipment_KeyRef" refer="netex:PurposeOfEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurposeOfEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PurposeOfEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurposeOfEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EquipmentPlace============================== -->
		<!-- =====EquipmentPlace unique========================== -->
		<xsd:unique name="EquipmentPlace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [EquipmentPlace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EquipmentPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====EquipmentPlace Key ========================== -->
		<xsd:keyref name="EquipmentPlace_KeyRef" refer="netex:EquipmentPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EquipmentPlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EquipmentPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EquipmentPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EquipmentPosition============================== -->
		<!-- =====EquipmentPosition unique========================== -->
		<xsd:unique name="EquipmentPosition_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [EquipmentPosition Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EquipmentPosition"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====EquipmentPosition Key ========================== -->
		<xsd:keyref name="EquipmentPosition_KeyRef" refer="netex:EquipmentPosition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EquipmentPositionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EquipmentPosition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EquipmentPosition"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ACCESSIBILITY Constraints========================= -->
		<!-- =====AccessibilityAssessment============================ -->
		<xsd:keyref name="AccessibilityAssessment_AnyKeyRef" refer="netex:AccessibilityAssessment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessibilityAssessmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessibilityAssessment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessibilityAssessment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SERVICE CALENDAR Constraints========================= -->
		<!-- =====DayType============================== -->
		<!-- =====DayType unique========================== -->
		<xsd:unique name="DayType_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DayType Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DayType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TariffZone Key ========================== -->
		<xsd:keyref name="DayType_AnyKeyRef" refer="netex:DayType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DayTypeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DayType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DayType | .//netex:OrganisationDayType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Timeband============================== -->
		<!-- =====Timeband unique========================== -->
		<xsd:unique name="Timeband_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Timeband Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Timeband"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Timeband Key ========================== -->
		<xsd:keyref name="Timeband_AnyKeyRef" refer="netex:Timeband_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimebandRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Timeband_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Timeband"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GroupOfTimebands============================== -->
		<!-- =====GroupOfTimebands unique========================== -->
		<xsd:unique name="GroupOfTimebands_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GroupOfTimebands Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfTimebands"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfTimebands Key ========================== -->
		<xsd:keyref name="GroupOfTimebands_AnyKeyRef" refer="netex:GroupOfTimebands_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfTimebandsRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfTimebands_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfTimebands"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceCalendar============================== -->
		<!-- =====ServiceCalendar unique========================== -->
		<xsd:unique name="ServiceCalendar_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceCalendar Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceCalendar"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceCalendar Key ========================== -->
		<xsd:keyref name="ServiceCalendar_KeyRef" refer="netex:ServiceCalendar_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceCalendarRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceCalendar_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceCalendar"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OperatingDay============================== -->
		<!-- =====OperatingDay unique========================== -->
		<!--		<xsd:unique name="OperatingDay_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [OperatingDay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OperatingDay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>-->
		<!-- =====OperatingDay unique==In Calendar======================== -->
		<xsd:unique name="OperatingDay_UniqueCalendarDateInCalendar">
			<xsd:annotation>
				<xsd:documentation>Each date is only allowed once per calendar.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceCalendarFrame/operatingDays/OperatingDay"/>
			<xsd:field xpath="CalendarDate"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OperatingDay Key ========================== -->
		<xsd:keyref name="OperatingDay_KeyRef" refer="netex:OperatingDay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingDayRef | .//netex:FromOperatingDayRef | .//netex:ToOperatingDayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OperatingDay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingDay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OperatingPeriod============================== -->
		<!-- =====OperatingPeriod unique========================== -->
		<xsd:unique name="OperatingPeriod_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [OperatingPeriod Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OperatingPeriod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OperatingPeriod Key ========================== -->
		<xsd:keyref name="OperatingPeriod_KeyRef" refer="netex:OperatingPeriod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingPeriodRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OperatingPeriod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingPeriod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DayTypeAssignment============================== -->
		<!--		<xsd:unique name="DayTypeAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DayTypeAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DayTypeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>-->
		<!-- =====DayTypeAssignment============================== -->
		<!--<xsd:unique name="DayTypeAssignment_UniqueDateAndDayTypeRef">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DayTypeAssignment Id + Version + date + ] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DayTypeAssignment"/>
			<xsd:field xpath="Date/."/>
			<xsd:field xpath="DayTypeRef/@ref"/>
		</xsd:unique>-->
		<!-- =====DayTypeAssignment Key ========================== -->
		<!--		<xsd:keyref name="DayTypeAssignment_KeyRef" refer="netex:DayTypeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DayTypeAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DayTypeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DayTypeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>-->
		<!-- =====ValidityCondition============================== -->
		<!-- =====ValidityCondition unique========================== -->
		<xsd:unique name="ValidityCondition_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ValidityCondition Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ValidityCondition | .//netex:ValidityTrigger | .//netex:ValidityRuleParameter"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ValidityCondition Key ========================== -->
		<xsd:keyref name="ValidityCondition_KeyRef" refer="netex:ValidityCondition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidityConditionRef | .//netex:ValidityTriggerRef | .//netex:ValidityRuleParameterRef | .//netex:WithConditionRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ValidityCondition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidityCondition | .//netex:ValidityTrigger | .//netex:ValidityRuleParameter | .//netex:AvailabilityCondition"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AvailabilityCondition============================== -->
		<xsd:keyref name="AvailabilityCondition_AnyKeyRef" refer="netex:AvailabilityCondition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AvailabilityConditionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AvailabilityCondition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AvailabilityCondition"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VEHICLE Constraints========================= -->
		<!-- =====Vehicle============================== -->
		<!-- =====Vehicle unique========================== -->
		<xsd:unique name="Vehicle_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Vehicle Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Vehicle"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:unique name="Vehicle_UniqueRegistartionNumber">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RegistrationNumber Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Vehicle"/>
			<xsd:field xpath="RegistrationNumber"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Vehicle Key ========================== -->
		<xsd:keyref name="Vehicle_KeyRef" refer="netex:Vehicle_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Vehicle_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Vehicle"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleType============================== -->
		<!-- =====VehicleType unique========================== -->
		<xsd:unique name="VehicleType_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleType Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleType Key ========================== -->
		<xsd:keyref name="VehicleType_KeyRef" refer="netex:VehicleType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleTypeRef | .//netex:ForVehicleTypeRef | .//netex:AgainstVehicleTypeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleModel============================== -->
		<!-- =====VehicleModel unique========================== -->
		<xsd:unique name="VehicleModel_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleModel Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleModel"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleModel Key ========================== -->
		<xsd:keyref name="VehicleModel_KeyRef" refer="netex:VehicleModel_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleModelRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleModel_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleModel"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleEquipmentProfile============================== -->
		<!-- =====VehicleEquipmentProfile unique========================== -->
		<xsd:unique name="VehicleEquipmentProfile_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleEquipmentProfile Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleEquipmentProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleEquipmentProfile Key ========================== -->
		<xsd:keyref name="VehicleEquipmentProfile_KeyRef" refer="netex:VehicleEquipmentProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleEquipmentProfileRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleEquipmentProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleEquipmentProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Train============================== -->
		<!-- =====Train unique========================== -->
		<xsd:unique name="Train_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Train Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Train"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Train Key ========================== -->
		<xsd:keyref name="Train_KeyRef" refer="netex:Train_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Train_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Train"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CompoundTrain============================== -->
		<!-- =====CompoundTrain unique========================== -->
		<xsd:unique name="CompoundTrain_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CompoundTrain Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CompoundTrain"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CompoundTrain Key ========================== -->
		<xsd:keyref name="CompoundTrain_KeyRef" refer="netex:CompoundTrain_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompoundTrainRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CompoundTrain_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompoundTrain"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrainElement============================== -->
		<!-- =====TrainElement unique========================== -->
		<xsd:unique name="TrainElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TrainElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainElement Key ========================== -->
		<xsd:keyref name="TrainElement_KeyRef" refer="netex:TrainElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Train Component============================== -->
		<!-- =====TrainComponent unique========================== -->
		<xsd:unique name="TrainComponent_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TrainComponent Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainComponent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainComponent Key ========================== -->
		<xsd:keyref name="TrainComponent_KeyRef" refer="netex:TrainComponent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainComponentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainComponent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainComponent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrainInCompoundTrain============================== -->
		<!-- =====TrainInCompoundTrain unique========================== -->
		<xsd:unique name="TrainInCompoundTrain_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TrainInCompoundTrain Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainInCompoundTrain"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainInCompoundTrain Key ========================== -->
		<xsd:keyref name="TrainInCompoundTrain_KeyRef" refer="netex:TrainInCompoundTrain_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainInCompoundTrainRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainInCompoundTrain_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainInCompoundTrain"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TopographicPlace============================== -->
		<!-- =====TopographicPlace unique========================== -->
		<xsd:unique name="TopographicPlace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TopographicPlace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TopographicPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TopographicPlace Key ========================== -->
		<xsd:keyref name="TopographicPlace_KeyRef" refer="netex:TopographicPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TopographicPlaceRef | .//netex:ContainedInPlaceRef | .//netex:ParentTopographicPlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TopographicPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TopographicPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PLACE Constraints========================= -->
		<!-- =====Access======================== -->
		<!-- =====Access unique========================== -->
		<xsd:unique name="Access_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Access Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Access"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Access Key ========================== -->
		<xsd:keyref name="Access_KeyRef" refer="netex:Access_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Access_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Access"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPlace======================== -->
		<!-- =====TypeOfPlace unique========================== -->
		<xsd:unique name="TypeOfPlace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfPlace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfPlace Key ========================== -->
		<xsd:keyref name="TypeOfPlace_KeyRef" refer="netex:TypeOfPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfTransfer======================== -->
		<!-- =====TypeOfTransfer unique========================== -->
		<xsd:unique name="TypeOfTransfer_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfTransfer Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfTransfer"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfTransfer Key ========================== -->
		<xsd:keyref name="TypeOfTransfer_KeyRef" refer="netex:TypeOfTransfer_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfTransferRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfTransfer_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfTransfer"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SITE Constraints========================= -->
		<!-- =====Site============================== -->
		<xsd:keyref name="Site_AnyKeyRef" refer="netex:Site_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Site_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPlace | .//netex:Parking | .//netex:PointOfInterest"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Entrance============================== -->
		<xsd:keyref name="Entrance_AnyKeyRef" refer="netex:Entrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntranceRef | .//netex:StopPlaceEntranceRef | .//netex:PointOfInterestEntranceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Entrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Entrance | .//netex:StopPlaceEntrance| .//netex:PointOfInterestEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Level============================== -->
		<!-- =====Level unique========================== -->
		<xsd:unique name="Level_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Level Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Level"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Level Key ========================== -->
		<xsd:keyref name="Level_KeyRef" refer="netex:Level_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LevelRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Level_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Level"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====STOP PLACE Constraints========================= -->
		<!-- =====GroupOfStopPlaces============================== -->
		<!-- =====GroupOfStopPlaces unique========================== -->
		<xsd:unique name="GroupOfStopPlaces_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GroupOfStopPlaces Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfStopPlaces"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfStopPlaces Key ========================== -->
		<xsd:keyref name="GroupOfStopPlaces_KeyRef" refer="netex:GroupOfStopPlaces_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfStopPlacesRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfStopPlaces_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfStopPlaces"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====StopPlace============================== -->
		<!-- =====StopPlace unique========================== -->
		<xsd:unique name="StopPlace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [StopPlace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StopPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====StopPlace Key ========================== -->
		<xsd:keyref name="StopPlace_KeyRef" refer="netex:StopPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="StopPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====StopPlaceEntrance============================== -->
		<!-- =====StopPlaceEntrance unique========================== -->
		<xsd:unique name="StopPlaceEntrance_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [StopPlaceEntrance Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StopPlaceEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====StopPlaceEntrance Key ========================== -->
		<xsd:keyref name="StopPlaceEntrance_KeyRef" refer="netex:StopPlaceEntrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPlaceEntranceRef | .//netex:ParentStopPlaceEntranceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="StopPlaceEntrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPlaceEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccessSpace============================== -->
		<!-- =====AccessSpace unique========================== -->
		<xsd:unique name="AccessSpace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AccessSpace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccessSpace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccessSpace Key ========================== -->
		<xsd:keyref name="AccessSpace_KeyRef" refer="netex:AccessSpace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessSpaceRef | .//netex:ParentAccessSpaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessSpace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessSpace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Quay============================== -->
		<!-- =====Quay unique========================== -->
		<xsd:unique name="Quay_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Quay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Quay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Quay Key ========================== -->
		<xsd:keyref name="Quay_KeyRef" refer="netex:Quay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QuayRef | .//netex:ParentQuayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Quay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Quay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====BoardingPosition============================== -->
		<!-- =====BoardingPosition unique========================== -->
		<xsd:unique name="BoardingPosition_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [BoardingPosition Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:BoardingPosition"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====BoardingPosition Key ========================== -->
		<xsd:keyref name="BoardingPosition_KeyRef" refer="netex:BoardingPosition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BoardingPositionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="BoardingPosition_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BoardingPosition"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleStoppingPlace============================== -->
		<!-- =====VehicleStoppingPlace unique========================== -->
		<xsd:unique name="VehicleStoppingPlace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleStoppingPlace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleStoppingPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleStoppingPlace Key ========================== -->
		<xsd:keyref name="VehicleStoppingPlace_KeyRef" refer="netex:VehicleStoppingPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleStoppingPlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleStoppingPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleStoppingPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FlexibleStopPlace============================== -->
		<!-- =====FlexibleStopPlace unique========================== -->
		<xsd:unique name="FlexibleStopPlace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FlexibleStopPlace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FlexibleStopPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FlexibleStopPlace Key ========================== -->
		<xsd:keyref name="FlexibleStopPlace_KeyRef" refer="netex:FlexibleStopPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FlexibleStopPlaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FlexibleStopPlace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FlexibleStopPlace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ====FlexibleArea============================== -->
		<!-- =====FlexibleArea unique========================== -->
		<xsd:unique name="FlexibleArea_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FlexibleArea Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FlexibleArea"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FlexibleArea Key ========================== -->
		<xsd:keyref name="FlexibleArea_KeyRef" refer="netex:FlexibleArea_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FlexibleAreaRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FlexibleArea_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FlexibleArea"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOfInterest============================== -->
		<!-- =====PointOfInterest unique========================== -->
		<xsd:unique name="PointOfInterest_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOfInterest Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOfInterest"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOfInterest Key ========================== -->
		<xsd:keyref name="PointOfInterest_KeyRef" refer="netex:PointOfInterest_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOfInterest_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterest"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOfInterestSpace============================== -->
		<!-- =====PointOfInterestSpace unique========================== -->
		<xsd:unique name="PointOfInterestSpace_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOfInterestSpace Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOfInterestSpace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOfInterestSpace Key ========================== -->
		<xsd:keyref name="PointOfInterestSpace_KeyRef" refer="netex:PointOfInterestSpace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestSpaceRef | .//netex:ParentPointOfInterestSpaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOfInterestSpace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestSpace"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOfInterestEntrance============================== -->
		<!-- =====PointOfInterestEntrance unique========================== -->
		<xsd:unique name="PointOfInterestEntrance_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOfInterestEntrance Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOfInterestEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOfInterestEntrance Key ========================== -->
		<xsd:keyref name="PointOfInterestEntrance_KeyRef" refer="netex:PointOfInterestEntrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestEntranceRef | .//netex:ParentPointOfInterestEntranceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOfInterestEntrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOfInterestClassification============================== -->
		<!-- =====PointOfInterestClassification unique========================== -->
		<xsd:unique name="PointOfInterestClassification_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOfInterestClassification Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOfInterestClassification"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOfInterestClassification Key ========================== -->
		<xsd:keyref name="PointOfInterestClassification_KeyRef" refer="netex:PointOfInterestClassification_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestClassificationRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOfInterestClassification_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestClassification"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOfInterestClassificationHierarchy============================== -->
		<!-- =====PointOfInterestClassificationHierarchy unique========================== -->
		<xsd:unique name="PointOfInterestClassificationHierarchy_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOfInterestClassificationHierarchy Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOfInterestClassificationHierarchy"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOfInterestClassificationHierarchy Key ========================== -->
		<xsd:keyref name="PointOfInterestClassificationHierarchy_KeyRef" refer="netex:PointOfInterestClassificationHierarchy_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestClassificationHierarchyRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOfInterestClassificationHierarchy_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOfInterestClassificationHierarchy"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Parking============================== -->
		<!-- =====Parking unique========================== -->
		<xsd:unique name="Parking_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Parking Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Parking"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Parking Key ========================== -->
		<xsd:keyref name="Parking_KeyRef" refer="netex:Parking_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Parking_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Parking"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CHECK CONSTRAINT COnstraints============== -->
		<!-- =====CheckConstraint============================== -->
		<!-- =====CheckConstraint unique========================== -->
		<xsd:unique name="CheckConstraint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CheckConstraint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CheckConstraint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CheckConstraint Key ========================== -->
		<xsd:keyref name="CheckConstraint_KeyRef" refer="netex:CheckConstraint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CheckConstraintRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CheckConstraint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CheckConstraint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CheckConstraintDelay============================== -->
		<!-- =====CheckConstraintDelay unique========================== -->
		<xsd:unique name="CheckConstraintDelay_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CheckConstraintDelay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CheckConstraintDelay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CheckConstraintDelay Key ========================== -->
		<xsd:keyref name="CheckConstraintDelay_KeyRef" refer="netex:CheckConstraintDelay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CheckConstraintDelayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CheckConstraintDelay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CheckConstraintDelay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CheckConstraintThroughput============================== -->
		<!-- =====CheckConstraintThroughput unique========================== -->
		<xsd:unique name="CheckConstraintThroughput_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CheckConstraintThroughput Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CheckConstraintThroughput"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CheckConstraintThroughput Key ========================== -->
		<xsd:keyref name="CheckConstraintThroughput_KeyRef" refer="netex:CheckConstraintThroughput_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CheckConstraintThroughputRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CheckConstraintThroughput_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CheckConstraintThroughput"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PATH COnstraints============== -->
		<!-- =====PathLink============================== -->
		<!-- =====PathLink unique========================== -->
		<xsd:unique name="PathLink_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PathLink Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PathLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PathLink Key ========================== -->
		<xsd:keyref name="PathLink_KeyRef" refer="netex:PathLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathLinkRef | .//netex:SitePathLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PathLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathLink | .//netex:SitePathLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PathJunction============================== -->
		<!-- =====PathJunction unique========================== -->
		<xsd:unique name="PathJunction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PathJunction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PathJunction|.//netex:PathLink/netex:FromPointRef"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PathJunction Key ========================== -->
		<xsd:keyref name="PathJunction_KeyRef" refer="netex:PathJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathJunctionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PathJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====NavigationPath============================== -->
		<!-- =====NavigationPath unique========================== -->
		<xsd:unique name="NavigationPath_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [NavigationPath Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:NavigationPath"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====NavigationPath Key ========================== -->
		<xsd:keyref name="NavigationPath_KeyRef" refer="netex:NavigationPath_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NavigationPathRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="NavigationPath_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NavigationPath"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PathLinkInSequence============================== -->
		<!-- =====PathLinkInSequence unique========================== -->
		<xsd:unique name="PathLinkInSequence_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PathLinkInSequence Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PathLinkInSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PathLinkInSequence Key ========================== -->
		<xsd:keyref name="PathLinkInSequence_KeyRef" refer="netex:PathLinkInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathLinkInSequenceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PathLinkInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathLinkInSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccessSummary============================== -->
		<!-- =====AccessSummary unique========================== -->
		<xsd:unique name="AccessSummary_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AccessSummary Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccessSummary"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccessSummary Key ========================== -->
		<xsd:keyref name="AccessSummary_KeyRef" refer="netex:AccessSummary_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessSummaryRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessSummary_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessSummary"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====NETWORK INFRASTRUCTURE======================= -->
		<!-- =====RoadJunction============================== -->
		<!-- =====RoadJunction unique========================== -->
		<xsd:unique name="RoadJunction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RoadJunction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoadJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RoadJunction Key ========================== -->
		<xsd:keyref name="RoadJunction_KeyRef" refer="netex:RoadJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadPointRef | .//netex:RoadElement/netex:FromPointRef |.//netex:RoadElement/netex:ToPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoadJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RoadElement============================== -->
		<!-- =====RoadElement unique========================== -->
		<xsd:unique name="RoadElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RoadElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoadElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RoadElement Key ========================== -->
		<xsd:keyref name="RoadElement_KeyRef" refer="netex:RoadElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoadElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RailwayJunction============================== -->
		<!-- =====RailwayJunction unique========================== -->
		<xsd:unique name="RailwayJunction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RailwayJunction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RailwayJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RailwayJunction Key ========================== -->
		<xsd:keyref name="RailwayJunction_KeyRef" refer="netex:RailwayJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RailwayJunctionRef | .//netex:RailwayPointRef | .//netex:RailwayElement/netex:FromPointRef | .//netex:RailwayElement/netex:ToPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RailwayJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RailwayJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RailwayElement============================== -->
		<!-- =====RailwayElement unique========================== -->
		<xsd:unique name="RailwayElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RailwayElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RailwayElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RailwayElement Key ========================== -->
		<xsd:keyref name="RailwayElement_KeyRef" refer="netex:RailwayElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RailwayElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RailwayElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RailwayElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====WireJunction============================== -->
		<!-- =====WireJunction unique========================== -->
		<xsd:unique name="WireJunction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [WireJunction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:WireJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====WireJunction Key ========================== -->
		<xsd:keyref name="WireJunction_KeyRef" refer="netex:WireJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WireJunctionRef |.//netex:WirePointRef | .//netex:WireElement/netex:FromPointRef | .//netex:WireElement/netex:ToPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="WireJunction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WireJunction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====WireElement============================== -->
		<!-- =====WireElement unique========================== -->
		<xsd:unique name="WireElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [WireElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:WireElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====WireElement Key ========================== -->
		<xsd:keyref name="WireElement_KeyRef" refer="netex:WireElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WireElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="WireElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WireElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleTypeAtPoint============================== -->
		<!-- =====VehicleTypeAtPoint unique========================== -->
		<xsd:unique name="VehicleTypeAtPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleTypeAtPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleTypeAtPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleTypeAtPoint Key ========================== -->
		<xsd:keyref name="VehicleTypeAtPoint_KeyRef" refer="netex:VehicleTypeAtPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleTypeAtPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleTypeAtPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleTypeAtPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Manoeuvre============================== -->
		<!-- =====Manoeuvre unique========================== -->
		<xsd:unique name="Manoeuvre_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Manoeuvre Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Manoeuvre"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Manoeuvre Key ========================== -->
		<xsd:keyref name="Manoeuvre_KeyRef" refer="netex:Manoeuvre_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ManoeuvreRef | .//netex:RoadManoeuvreRef| .//netex:RailManoeuvreRef| .//netex:WireManoeuvreRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Manoeuvre_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Manoeuvre| .//netex:RoadManoeuvre| .//netex:RailManoeuvre| .//netex:WireManoeuvre"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OvertakingPossibility============================== -->
		<!-- =====OvertakingPossibility unique========================== -->
		<xsd:unique name="OvertakingPossibility_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [OvertakingPossibility Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OvertakingPossibility"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OvertakingPossibility Key ========================== -->
		<xsd:keyref name="OvertakingPossibility_KeyRef" refer="netex:OvertakingPossibility_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OvertakingPossibilityRef | .//netex:RoadOvertakingPossibilityRef| .//netex:RailOvertakingPossibilityRef| .//netex:WireOvertakingPossibilityRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OvertakingPossibility_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OvertakingPossibility| .//netex:RoadOvertakingPossibility| .//netex:RailOvertakingPossibility| .//netex:WireOvertakingPossibility"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====MeetingRestriction============================== -->
		<!-- =====MeetingRestriction unique========================== -->
		<xsd:unique name="MeetingRestriction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [MeetingRestriction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:MeetingRestriction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====MeetingRestriction Key ========================== -->
		<xsd:keyref name="MeetingRestriction_KeyRef" refer="netex:MeetingRestriction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MeetingRestrictionRef | .//netex:RoadMeetingRestrictionRef| .//netex:RailMeetingRestrictionRef| .//netex:WireMeetingRestrictionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="MeetingRestriction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MeetingRestriction| .//netex:RoadMeetingRestriction| .//netex:RailMeetingRestriction| .//netex:WireMeetingRestriction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ACTIVATION CONSTRAINTS======================= -->
		<!-- =====ActivationPoint============================== -->
		<!-- =====ActivationPoint unique========================== -->
		<xsd:unique name="ActivationPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ActivationPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ActivationPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ActivationPoint Key ========================== -->
		<xsd:keyref name="ActivationPoint_KeyRef" refer="netex:ActivationPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationPointRef| .//netex:ActivationLink/netex:FromPoint | .//netex:ActivationLink/netex:ToPoint "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ActivationPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationPoint |.//netex:BeaconPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ActivationLink============================== -->
		<!-- =====ActivationLink unique========================== -->
		<xsd:unique name="ActivationLink_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ActivationLink Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ActivationLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ActivationLink Key ========================== -->
		<xsd:keyref name="ActivationLink_KeyRef" refer="netex:ActivationLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ActivationLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationLink "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====BeaconPoint============================== -->
		<!-- =====BeaconPoint unique========================== -->
		<xsd:unique name="BeaconPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [BeaconPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:BeaconPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====BeaconPoint Key ========================== -->
		<xsd:keyref name="BeaconPoint_KeyRef" refer="netex:BeaconPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BeaconPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="BeaconPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BeaconPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrafficControlPoint============================== -->
		<!-- =====TrafficControlPoint unique========================== -->
		<xsd:unique name="TrafficControlPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TrafficControlPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrafficControlPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrafficControlPoint Key ========================== -->
		<xsd:keyref name="TrafficControlPoint_KeyRef" refer="netex:TrafficControlPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrafficControlPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrafficControlPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrafficControlPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ActivationAssignment============================== -->
		<!-- =====ActivationAssignment unique========================== -->
		<xsd:unique name="ActivationAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ActivationAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ActivationAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ActivationAssignment Key ========================== -->
		<xsd:keyref name="ActivationAssignment_KeyRef" refer="netex:ActivationAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ActivationAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfActivation============================== -->
		<!-- =====TypeOfActivation unique========================== -->
		<xsd:unique name="TypeOfActivation_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfActivation Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfActivation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfActivation Key ========================== -->
		<xsd:keyref name="TypeOfActivation_KeyRef" refer="netex:TypeOfActivation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfActivationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfActivation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfActivation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LINE Constraints========================= -->
		<!-- =====Network============================== -->
		<!-- =====Network unique========================== -->
		<xsd:unique name="Network_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Network Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Network"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Network Key ========================== -->
		<xsd:keyref name="Network_KeyRef" refer="netex:Network_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NetworkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Network_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Network "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Line============================== -->
		<!-- =====Line unique========================== -->
		<xsd:unique name="Line_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Line Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Line"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Line Key ========================== -->
		<xsd:keyref name="Line_KeyRef" refer="netex:Line_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LineRef| .//netex:FlexibleLineRef | .//netex:MainLineRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Line_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Line | .//netex:FlexibleLine"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GroupOfLines============================== -->
		<!-- =====GroupOfLines unique========================== -->
		<xsd:unique name="GroupOfLines_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GroupOfLines Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfLines"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfLines Key ========================== -->
		<xsd:keyref name="GroupOfLines_KeyRef" refer="netex:GroupOfLines_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfLinesRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfLines_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfLines |.//netex:Network "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AllowedLineDirection============================== -->
		<xsd:unique name="AllowedLineDirection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AllowedLineDirection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AllowedLineDirection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AllowedLineDirection Key ========================== -->
		<xsd:keyref name="AllowedLineDirection_KeyRef" refer="netex:AllowedLineDirection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AllowedLineDirectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AllowedLineDirection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AllowedLineDirection "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Direction============================== -->
		<!-- =====Direction unique========================== -->
		<xsd:unique name="Direction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Direction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Direction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Direction Key ========================== -->
		<xsd:keyref name="Direction_KeyRef" refer="netex:Direction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DirectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Direction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Direction "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Route============================== -->
		<!-- =====Route unique========================== -->
		<xsd:unique name="Route_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Route Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Route"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Route Key ========================== -->
		<xsd:keyref name="Route_KeyRef" refer="netex:Route_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RouteRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Route_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Route "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RoutePoint============================== -->
		<!-- =====RoutePoint unique========================== -->
		<xsd:unique name="RoutePoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RoutePoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoutePoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RoutePoint Key ========================== -->
		<xsd:keyref name="RoutePoint_KeyRef" refer="netex:RoutePoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoutePointRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:keyref name="RoutePoint_LinkKeyRef" refer="netex:RoutePoint_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:RouteLink/netex:FromPointRef | .//netex:RouteLink/netex:ToPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoutePoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoutePoint | .//netex:ScheduledStopPoint | .//netex:GaragePoint | .//netex:ParkingPoint | .//netex:ReliefPoint | .//netex:ActivationPoint | .//netex:TimingPoint "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RouteLink============================== -->
		<!-- =====RouteLink unique========================== -->
		<xsd:unique name="RouteLink_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RouteLink Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RouteLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RouteLink Key ========================== -->
		<xsd:keyref name="RouteLink_KeyRef" refer="netex:RouteLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RouteLinkRef | .//netex:OnwardRouteLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RouteLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RouteLink "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointOnRouteLink============================== -->
		<!-- =====PointOnRoute unique========================== -->
		<xsd:unique name="PointOnRoute_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointOnRoute Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointOnRoute"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointOnRoute Key ========================== -->
		<xsd:keyref name="PointOnRoute_KeyRef" refer="netex:PointOnRouteChild_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOnRouteRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOnRouteChild_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOnRoute "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VEHICLE & CREW POINT======================== -->
		<!-- =====CrewBaseLink============================== -->
		<!-- =====CrewBase unique========================== -->
		<xsd:unique name="CrewBase_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CrewBase Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CrewBase"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CrewBase Key ========================== -->
		<xsd:keyref name="CrewBase_KeyRef" refer="netex:CrewBase_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CrewBaseRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CrewBase_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CrewBase "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GarageLink============================== -->
		<!-- =====Garage unique========================== -->
		<xsd:unique name="Garage_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Garage Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Garage"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Garage Key ========================== -->
		<xsd:keyref name="Garage_KeyRef" refer="netex:Garage_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GarageRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Garage_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Garage "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ReliefPointLink============================== -->
		<!-- =====ReliefPoint unique========================== -->
		<xsd:unique name="ReliefPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ReliefPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ReliefPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ReliefPoint Key ========================== -->
		<xsd:keyref name="ReliefPoint_KeyRef" refer="netex:ReliefPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ReliefPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ReliefPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ReliefPoint | .//netex:GaragePoint | .//netex:ParkingPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GaragePointLink============================== -->
		<!-- =====GaragePoint unique========================== -->
		<xsd:unique name="GaragePoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GaragePoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GaragePoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GaragePoint Key ========================== -->
		<xsd:keyref name="GaragePoint_KeyRef" refer="netex:GaragePoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GaragePointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GaragePoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GaragePoint | .//netex:ParkingPoint "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingPointLink============================== -->
		<!-- =====ParkingPoint unique========================== -->
		<xsd:unique name="ParkingPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ParkingPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingPoint Key ========================== -->
		<xsd:keyref name="ParkingPoint_KeyRef" refer="netex:ParkingPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingPoint "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DestinationDisplay============================== -->
		<!-- =====DestinationDisplay unique========================== -->
		<xsd:unique name="DestinationDisplay_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DestinationDisplay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DestinationDisplay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DestinationDisplay Key ========================== -->
		<xsd:keyref name="DestinationDisplay_KeyRef" refer="netex:DestinationDisplay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DestinationDisplayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DestinationDisplay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DestinationDisplay "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Notice============================== -->
		<!-- =====Notice unique========================== -->
		<xsd:unique name="Notice_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Notice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Notice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Notice Key ========================== -->
		<xsd:keyref name="Notice_KeyRef" refer="netex:Notice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NoticeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Notice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Notice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====NoticeAssignment============================== -->
		<!-- =====NoticeAssignment unique========================== -->
		<xsd:unique name="NoticeAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [NoticeAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:NoticeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====NoticeAssignment Key ========================== -->
		<xsd:keyref name="NoticeAssignment_KeyRef" refer="netex:NoticeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NoticeAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="NoticeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NoticeAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LineNetwork============================== -->
		<!-- =====LineNetwork unique========================== -->
		<xsd:unique name="LineNetwork_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [LineNetwork Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LineNetwork"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LineNetwork Key ========================== -->
		<xsd:keyref name="LineNetwork_KeyRef" refer="netex:LineNetwork_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LineNetworkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LineNetwork_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LineNetwork "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LineSection============================== -->
		<!-- =====LineSection unique========================== -->
		<xsd:unique name="LineSection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [LineSection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LineSection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LineSection Key ========================== -->
		<xsd:keyref name="LineSection_KeyRef" refer="netex:LineSection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LineSectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LineSection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LineSection "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SERVICE PATTERN Constraints========================= -->
		<!-- =====TimingPoint============================== -->
		<!-- =====TimingPoint unique========================== -->
		<xsd:unique name="TimingPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimingPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimingPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimingPoint Key ========================== -->
		<xsd:keyref name="TimingPoint_KeyRef" refer="netex:TimingPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPointRef | .//netex:TimingLink/netex:FromPointRef | .//netex:TimingLink/netex:ToPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimingPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPoint | .//netex:ScheduledStopPoint | .//netex:ReliefPoint | .//netex:GaragePoint | .//netex:ParkingPoint "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DeadRun Origins and Destinations ============================== -->
		<xsd:keyref name="DeadRun_EndpointKeyRef" refer="netex:TimingPoint_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:DeadRun/netex:FromPointRef | .//netex:DeadRun/netex:ToPointRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<!-- =====TimingLink============================== -->
		<!-- =====TimingLink unique========================== -->
		<xsd:unique name="TimingLink_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimingLink Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimingLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimingLink Key ========================== -->
		<xsd:keyref name="TimingLink_KeyRef" refer="netex:TimingLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingLinkRef | .//netex:OnwardTimingLinkRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimingLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingLink "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimingPattern============================== -->
		<!-- =====TimingPattern unique========================== -->
		<xsd:unique name="TimingPattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimingPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimingPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimingPattern Key ========================== -->
		<xsd:keyref name="TimingPattern_KeyRef" refer="netex:TimingPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPatternRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimingPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointInTimingPatternLink============================== -->
		<!-- =====PointInTimingPattern unique========================== -->
		<xsd:unique name="PointInTimingPattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointInTimingPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointInTimingPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PointInTimingPattern Key ========================== -->
		<xsd:keyref name="PointInTimingPattern_KeyRef" refer="netex:PointInTimingPatternChild_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInTimingPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointInTimingPatternChild_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInTimingPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SERVICE PATTERN Constraints========================= -->
		<!-- =====ScheduledStop Point =================== -->
		<!-- =====ScheduledStopPoint unique========================== -->
		<xsd:unique name="ScheduledStopPoint_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ScheduledStopPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ScheduledStopPoint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ScheduledStopPoint Key ========================== -->
		<xsd:keyref name="ScheduledStopPoint_KeyRef" refer="netex:ScheduledStopPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ScheduledStopPointRef | .//netex:ServiceLink/netex:FromPointRef | .//netex:ServiceLink/netex:ToPointRef | .//netex:FromStopPointRef | .//netex:ToStopPointRef | .//netex:NextStopPointRef | .//netex:AtStopPointRef | .//netex:StartStopPointRef | .//netex:EndStopPointRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ScheduledStopPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ScheduledStopPoint "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceLink============================== -->
		<!-- =====ServiceLink unique========================== -->
		<xsd:unique name="ServiceLink_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceLink Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceLink"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceLink Key ========================== -->
		<xsd:keyref name="ServiceLink_KeyRef" refer="netex:ServiceLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceLinkRef | .//netex:OnwardServiceLinkRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceLink "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====StopArea============================== -->
		<!-- =====StopArea unique========================== -->
		<xsd:unique name="StopArea_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [StopArea Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StopArea"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====StopArea Key ========================== -->
		<xsd:keyref name="StopArea_KeyRef" refer="netex:StopArea_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopAreaRef | .//netex:ParentStopAreaRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="StopArea_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopArea"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DefaultTransfer============================== -->
		<!-- =====DefaultTransfer unique========================== -->
		<xsd:unique name="DefaultTransfer_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DefaultTransfer Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DefaultTransfer"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DefaultTransfer Key ========================== -->
		<xsd:keyref name="DefaultTransfer_KeyRef" refer="netex:DefaultTransfer_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DefaultTransferRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DefaultTransfer_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DefaultTransfer"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Connection============================== -->
		<!-- =====Connection unique========================== -->
		<xsd:unique name="Connection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Connection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Connection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Connection Key ========================== -->
		<xsd:keyref name="Connection_KeyRef" refer="netex:Connection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ConnectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Connection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Connection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SiteConnection============================== -->
		<!-- =====SiteConnection unique========================== -->
		<xsd:unique name="SiteConnection_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [SiteConnection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SiteConnection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SiteConnection Key ========================== -->
		<xsd:keyref name="SiteConnection_KeyRef" refer="netex:SiteConnection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteConnectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SiteConnection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteConnection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RoutingConstraintZone============================== -->
		<!-- =====RoutingConstraintZone unique========================== -->
		<xsd:unique name="RoutingConstraintZone_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RoutingConstraintZone Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoutingConstraintZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RoutingConstraintZone Key ========================== -->
		<xsd:keyref name="RoutingConstraintZone_KeyRef" refer="netex:RoutingConstraintZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoutingConstraintZoneRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoutingConstraintZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoutingConstraintZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceExclusion============================== -->
		<!-- =====ServiceExclusion unique========================== -->
		<xsd:unique name="ServiceExclusion_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceExclusion Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceExclusion"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceExclusion Key ========================== -->
		<xsd:keyref name="ServiceExclusion_KeyRef" refer="netex:ServiceExclusion_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceExclusionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceExclusion_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceExclusion"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====InterchangeRule============================== -->
		<!-- =====InterchangeRule unique========================== -->
		<xsd:unique name="InterchangeRule_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [InterchangeRule Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:InterchangeRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====InterchangeRule Key ========================== -->
		<xsd:keyref name="InterchangeRule_KeyRef" refer="netex:InterchangeRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:InterchangeRuleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="InterchangeRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:InterchangeRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TransferRestriction============================== -->
		<!-- =====TransferRestriction unique========================== -->
		<xsd:unique name="TransferRestriction_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TransferRestriction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TransferRestriction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TransferRestriction Key ========================== -->
		<xsd:keyref name="TransferRestriction_KeyRef" refer="netex:TransferRestriction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TransferRestrictionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TransferRestriction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TransferRestriction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====STOP ASSIGNMENT Constraints============================== -->
		<!-- =====PassengerStopAssignment============================== -->
		<!-- =====PassengerStopAssignment unique========================== -->
		<xsd:unique name="PassengerStopAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PassengerStopAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PassengerStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PassengerStopAssignment Key ========================== -->
		<xsd:keyref name="PassengerStopAssignment_KeyRef" refer="netex:PassengerStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerStopAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleStopAssignment============================== -->
		<!-- =====VehicleStopAssignment unique========================== -->
		<xsd:unique name="VehicleStopAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleStopAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleStopAssignment Key ========================== -->
		<xsd:keyref name="VehicleStopAssignment_KeyRef" refer="netex:VehicleStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleStopAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DynamicStopAssignment=========================== -->
		<!-- =====DynamicStopAssignment unique========================== -->
		<xsd:unique name="DynamicStopAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DynamicStopAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DynamicStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DynamicStopAssignment Key ========================== -->
		<xsd:keyref name="DynamicStopAssignment_KeyRef" refer="netex:DynamicStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DynamicStopAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DynamicStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DynamicStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrainStopPointAssignment============================== -->
		<!-- =====TrainStopPointAssignment unique========================== -->
		<xsd:unique name="TrainStopPointAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TrainStopPointAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainStopPointAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainStopPointAssignment Key ========================== -->
		<xsd:keyref name="TrainStopPointAssignment_KeyRef" refer="netex:TrainStopPointAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainStopPointAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainStopPointAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainStopPointAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPattern============================== -->
		<!-- =====JourneyPattern unique========================== -->
		<xsd:unique name="JourneyPattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyPattern | .//netex:ServiceJourneyPattern |.//netex:DeadRunJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyPattern Key ========================== -->
		<xsd:keyref name="JourneyPattern_KeyRef" refer="netex:JourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternRef | .//netex:FromJourneyPatternRef | .//netex:ToJourneyPatternRef | .//netex:DeadRunJourneyPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPattern| .//netex:ServiceJourneyPattern |.//netex:DeadRunJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointInJourneyPattern unique========================== -->
		<!--	<xsd:unique name="PointInJourneyPattern_UniqueParentIdAndParentVersionAndOrder">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceJourneyPattern "/>
			<xsd:field xpath="@id"/> 
			
			<xsd:field xpath="@version"/> 

			<xsd:field xpath="netex:pointsInSequence/netex:PointInJourneyPattern/@order"/>
		</xsd:unique>-->
		<!-- =====PointInJourneyPattern Key ========================== -->
		<xsd:keyref name="PointInJourneyPattern_KeyRef" refer="netex:PointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInJourneyPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInJourneyPattern | .//netex:TimingPointInJourneyPattern| .//netex:StopPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimingPointInJourneyPattern Key ========================== -->
		<xsd:keyref name="TimingPointInJourneyPattern_KeyRef" refer="netex:TimingPointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPointInJourneyPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimingPointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====StopPointInJourneyPattern Key ========================== -->
		<xsd:keyref name="StopPointInJourneyPattern_KeyRef" refer="netex:StopPointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPointInJourneyPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="StopPointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPatternRunTime============================== -->
		<!-- =====JourneyPatternRunTime unique========================== -->
		<xsd:unique name="JourneyPatternRunTime_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPatternRunTime Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyPatternRunTime"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyPatternRunTime Key ========================== -->
		<xsd:keyref name="JourneyPatternRunTime_KeyRef" refer="netex:JourneyPatternRunTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternRunTimeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyPatternRunTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternRunTime"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPatternWaitTime============================== -->
		<!-- =====JourneyPatternWaitTime unique========================== -->
		<xsd:unique name="JourneyPatternWaitTime_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPatternWaitTime Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyPatternWaitTime"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyPatternWaitTime Key ========================== -->
		<xsd:keyref name="JourneyPatternWaitTime_KeyRef" refer="netex:JourneyPatternWaitTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternWaitTimeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyPatternWaitTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternWaitTime"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPatternLayover============================== -->
		<!-- =====JourneyPatternLayover unique========================== -->
		<xsd:unique name="JourneyPatternLayover_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPatternLayover Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyPatternLayover"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyPatternLayover Key ========================== -->
		<xsd:keyref name="JourneyPatternLayover_KeyRef" refer="netex:JourneyPatternLayover_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternLayoverRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyPatternLayover_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPatternLayover"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServicePattern============================== -->
		<!-- =====ServicePattern unique========================== -->
		<xsd:unique name="ServicePattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServicePattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServicePattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServicePattern Key ========================== -->
		<xsd:keyref name="ServicePattern_KeyRef" refer="netex:ServicePattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServicePatternRef | .//netex:DeadRunServicePatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServicePattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServicePattern |.//netex:DeadRunPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PointInJourneyPatternLink============================== -->
		<!-- =====PointInJourneyPattern unique========================== -->
		<!--		<xsd:unique name="PointInJourneyPattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointInJourneyPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>-->
		<!-- =====StopPointInJourneyPattern unique========================== -->
		<!-- 	<xsd:unique name="StopPointInJourneyPattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PointInJourneyPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StopPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>-->
		<!-- =====TimingPointInJourneyPattern unique========================== -->
		<!--		<xsd:unique name="TimingPointInJourneyPattern_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimingPointInJourneyPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimingPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>	-->
		<!-- =====PointInJourneyPattern Key ========================== -->
		<!--		<xsd:keyref name="PointInJourneyPattern_KeyRef" refer="netex:PointInJourneyPatternChild_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInJourneyPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointInJourneyPatternChild_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInJourneyPattern | .//netex:TimingPointInJourneyPattern | .//netex:StopPointInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>-->
		<!-- =====TimeDemandType============================== -->
		<!-- =====TimeDemandType unique========================== -->
		<xsd:unique name="TimeDemandType_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimeDemandType Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeDemandType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeDemandType Key ========================== -->
		<xsd:keyref name="TimeDemandType_KeyRef" refer="netex:TimeDemandType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandTypeRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeDemandType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandType "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimeDemandTypeAssignment============================== -->
		<!-- =====TimeDemandTypeAssignment unique========================== -->
		<xsd:unique name="TimeDemandTypeAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimeDemandTypeAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeDemandTypeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeDemandTypeAssignment Key ========================== -->
		<xsd:keyref name="TimeDemandTypeAssignment_KeyRef" refer="netex:TimeDemandTypeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandTypeAssignmentRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeDemandTypeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandTypeAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimeDemandProfile============================== -->
		<!-- =====TimeDemandProfile unique========================== -->
		<xsd:unique name="TimeDemandProfile_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimeDemandProfile Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeDemandProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeDemandProfile Key ========================== -->
		<xsd:keyref name="TimeDemandProfile_KeyRef" refer="netex:TimeDemandProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandProfileRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeDemandProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandProfile "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyRunTime============================== -->
		<!-- =====JourneyRunTime unique========================== -->
		<xsd:unique name="JourneyRunTime_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyRunTime Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyRunTime"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyRunTime Key ========================== -->
		<xsd:keyref name="JourneyRunTime_KeyRef" refer="netex:JourneyRunTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyRunTimeRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyRunTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyRunTime "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PassengerInformationEquipment============================== -->
		<!-- =====PassengerInformationEquipment unique========================== -->
		<xsd:unique name="PassengerInformationEquipment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PassengerInformationEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PassengerInformationEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PassengerInformationEquipment Key ========================== -->
		<xsd:keyref name="PassengerInformationEquipment_KeyRef" refer="netex:PassengerInformationEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerInformationEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerInformationEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerInformationEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPassengerInformationEquipment============================== -->
		<!-- =====TypeOfPassengerInformationEquipment unique========================== -->
		<xsd:unique name="TypeOfPassengerInformationEquipment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfPassengerInformationEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfPassengerInformationEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfPassengerInformationEquipment Key ========================== -->
		<xsd:keyref name="TypeOfPassengerInformationEquipment_KeyRef" refer="netex:TypeOfPassengerInformationEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPassengerInformationEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfPassengerInformationEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPassengerInformationEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LogicalDisplay============================== -->
		<!-- =====LogicalDisplay unique========================== -->
		<xsd:unique name="LogicalDisplay_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [LogicalDisplay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LogicalDisplay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LogicalDisplay Key ========================== -->
		<xsd:keyref name="LogicalDisplay_KeyRef" refer="netex:LogicalDisplay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LogicalDisplayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LogicalDisplay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LogicalDisplay "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DisplayAssignment============================== -->
		<!-- =====DisplayAssignment unique========================== -->
		<xsd:unique name="DisplayAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DisplayAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DisplayAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DisplayAssignment Key ========================== -->
		<xsd:keyref name="DisplayAssignment_KeyRef" refer="netex:DisplayAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DisplayAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DisplayAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DisplayAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JOURNEY Constraints========================= -->
		<!-- ===== Journey================== -->
		<!-- =====Journey unique========================== -->
		<xsd:unique name="Journey_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Journey Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Journey"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Journey Key ========================== -->
		<xsd:keyref name="Journey_KeyRef" refer="netex:Journey_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceJourneyRef | .//netex:VehicleJourneyRef | .//netex:TemplateServiceJourneyRef| .//netex:JourneyRef | .//netex:DeadRunRef | .//netex:FromJourneyRef | .//netex:ToJourneyRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Journey_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceJourney | .//netex:VehicleJourney| .//netex:DeadRun | .//netex:SpecialService | .//netex:TemplateServiceJourney | .//netex:DatedServiceJourney"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrainNumber============================== -->
		<!-- =====TrainNumber unique========================== -->
		<xsd:unique name="TrainNumber_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TrainNumber Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainNumber"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainNumber Key ========================== -->
		<xsd:keyref name="TrainNumber_KeyRef" refer="netex:TrainNumber_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainNumberRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainNumber_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainNumber "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Call============================== -->
		<!-- =====Call unique========================== -->
		<!--	<xsd:unique name="Call_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Call Id + Version + Order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Call"/>
			<xsd:field xpath="././@id"/>
			<xsd:field xpath="././@version"/>
						<xsd:field xpath="@order"/>
		</xsd:unique>-->
		<!-- =====Call Key ========================== -->
		<!--		<xsd:keyref name="Call_KeyRef" refer="netex:Call_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CallRef"/>
			<xsd:field xpath="././@ref"/>
			<xsd:field xpath="././@version"/>
		 <xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="Call_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Call "/>
			<xsd:field xpath="././@id"/>
			<xsd:field xpath="././@version"/>
						<xsd:field xpath="@order"/>
		</xsd:key>
-->
		<!-- =====GroupOfServices============================== -->
		<!-- =====GroupOfServices unique========================== -->
		<xsd:unique name="GroupOfServices_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GroupOfServices Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfServices"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfServices Key ========================== -->
		<xsd:keyref name="GroupOfServices_KeyRef" refer="netex:GroupOfServices_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfServicesRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfServices_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfServices "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyFrequencyGroup============================== -->
		<!-- =====JourneyFrequencyGroup unique========================== -->
		<xsd:unique name="JourneyFrequencyGroup_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyFrequencyGroup Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyFrequencyGroup"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyFrequencyGroup Key ========================== -->
		<xsd:keyref name="JourneyFrequencyGroup_KeyRef" refer="netex:JourneyFrequencyGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyFrequencyGroupRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyFrequencyGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HeadwayJourneyGroup "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====HeadwayJourneyGroup============================== -->
		<!-- =====HeadwayJourneyGroup unique========================== -->
		<xsd:unique name="HeadwayJourneyGroup_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [HeadwayJourneyGroup Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:HeadwayJourneyGroup"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====HeadwayJourneyGroup Key ========================== -->
		<xsd:keyref name="HeadwayJourneyGroup_KeyRef" refer="netex:HeadwayJourneyGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HeadwayJourneyGroupRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="HeadwayJourneyGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HeadwayJourneyGroup |.//netex:RhythmicalJourneyGroup "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RhythmicalJourneyGroup============================== -->
		<!-- =====RhythmicalJourneyGroup unique========================== -->
		<xsd:unique name="RhythmicalJourneyGroup_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [RhythmicalJourneyGroup Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RhythmicalJourneyGroup"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RhythmicalJourneyGroup Key ========================== -->
		<xsd:keyref name="RhythmicalJourneyGroup_KeyRef" refer="netex:RhythmicalJourneyGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RhythmicalJourneyGroupRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RhythmicalJourneyGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RhythmicalJourneyGroup "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPart ============================== -->
		<!-- =====JourneyPart unique========================== -->
		<xsd:unique name="JourneyPart_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyPart Key ========================== -->
		<xsd:keyref name="JourneyPart_KeyRef" refer="netex:JourneyPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPartRef | .//netex:JourneyPart/MainPartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPart "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CoupledJourney ============================== -->
		<!-- =====CoupledJourney unique========================== -->
		<xsd:unique name="CoupledJourney_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CoupledJourney Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CoupledJourney"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CoupledJourney Key ========================== -->
		<xsd:keyref name="CoupledJourney_KeyRef" refer="netex:CoupledJourney_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CoupledJourneyRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CoupledJourney_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CoupledJourney "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPartCouple ============================== -->
		<!-- =====JourneyPartCouple unique========================== -->
		<xsd:unique name="JourneyPartCouple_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyPartCouple Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyPartCouple"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyPartCouple Key ========================== -->
		<xsd:keyref name="JourneyPartCouple_KeyRef" refer="netex:JourneyPartCouple_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPartCoupleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyPartCouple_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyPartCouple "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyMeeting ============================== -->
		<!-- =====JourneyMeeting unique========================== -->
		<xsd:unique name="JourneyMeeting_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [JourneyMeeting Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:JourneyMeeting"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====JourneyMeeting Key ========================== -->
		<xsd:keyref name="JourneyMeeting_KeyRef" refer="netex:JourneyMeeting_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyMeetingRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="JourneyMeeting_AnyVersionedKey">
			<xsd:selector xpath=".//netex:JourneyMeeting "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DefaultInterchange ============================== -->
		<!-- =====DefaultInterchange unique========================== -->
		<xsd:unique name="DefaultInterchange_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DefaultInterchange Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DefaultInterchange"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DefaultInterchange Key ========================== -->
		<xsd:keyref name="DefaultInterchange_KeyRef" refer="netex:DefaultInterchange_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DefaultInterchangeRef |.//netex:InterchangeRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DefaultInterchange_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DefaultInterchange "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceJourneyInterchange ============================== -->
		<!-- =====ServiceJourneyInterchange unique========================== -->
		<xsd:unique name="ServiceJourneyInterchange_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceJourneyInterchange Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceJourneyInterchange"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceJourneyInterchange Key ========================== -->
		<xsd:keyref name="ServiceJourneyInterchange_KeyRef" refer="netex:ServiceJourneyInterchange_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceJourneyInterchangeRef |.//netex:InterchangeRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceJourneyInterchange_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceJourneyInterchange "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceJourneyPatternInterchange ============================== -->
		<!-- =====ServiceJourneyPatternInterchange unique========================== -->
		<xsd:unique name="ServiceJourneyPatternInterchange_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceJourneyPatternInterchange Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceJourneyPatternInterchange"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceJourneyPatternInterchange Key ========================== -->
		<xsd:keyref name="ServiceJourneyPatternInterchange_KeyRef" refer="netex:ServiceJourneyPatternInterchange_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceJourneyPatternInterchangeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceJourneyPatternInterchange_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceJourneyPatternInterchange "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SpecialService ============================== -->
		<!-- =====SpecialService unique========================== -->
		<xsd:unique name="SpecialService_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [SpecialService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SpecialService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SpecialService Key ========================== -->
		<xsd:keyref name="SpecialService_KeyRef" refer="netex:SpecialService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SpecialServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SpecialService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SpecialService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceFacilitySet ============================== -->
		<!-- =====ServiceFacilitySet unique========================== -->
		<xsd:unique name="ServiceFacilitySet_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ServiceFacilitySet Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceFacilitySet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceFacilitySet Key ========================== -->
		<xsd:keyref name="ServiceFacilitySet_KeyRef" refer="netex:ServiceFacilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceFacilitySetRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceFacilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceFacilitySet "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VEHICLE SERVICE Constraints========================= -->
		<!-- =====Block ============================== -->
		<!-- =====Block unique========================== -->
		<xsd:unique name="Block_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [Block Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Block"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Block Key ========================== -->
		<xsd:keyref name="Block_KeyRef" refer="netex:Block_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BlockRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Block_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Block "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CompoundBlock ============================== -->
		<!-- =====CompoundBlock unique========================== -->
		<xsd:unique name="CompoundBlock_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CompoundBlock Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CompoundBlock"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CompoundBlock Key ========================== -->
		<xsd:keyref name="CompoundBlock_KeyRef" refer="netex:CompoundBlock_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompoundBlockRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CompoundBlock_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompoundBlock "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====BlockPart ============================== -->
		<!-- =====BlockPart unique========================== -->
		<xsd:unique name="BlockPart_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [BlockPart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:BlockPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====BlockPart Key ========================== -->
		<xsd:keyref name="BlockPart_KeyRef" refer="netex:BlockPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BlockPartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="BlockPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BlockPart "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CourseOfJourneys ============================== -->
		<!-- =====CourseOfJourneys unique========================== -->
		<xsd:unique name="CourseOfJourneys_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [CourseOfJourneys Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CourseOfJourneys"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CourseOfJourneys Key ========================== -->
		<xsd:keyref name="CourseOfJourneys_KeyRef" refer="netex:CourseOfJourneys_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CourseOfJourneysRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CourseOfJourneys_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CourseOfJourneys "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ReliefOpportunity ============================== -->
		<!-- =====ReliefOpportunity unique========================== -->
		<xsd:unique name="ReliefOpportunity_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ReliefOpportunity Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ReliefOpportunity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ReliefOpportunity Key ========================== -->
		<xsd:keyref name="ReliefOpportunity_KeyRef" refer="netex:ReliefOpportunity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ReliefOpportunityRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ReliefOpportunity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ReliefOpportunity "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleService ============================== -->
		<!-- =====VehicleService unique========================== -->
		<xsd:unique name="VehicleService_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleService Key ========================== -->
		<xsd:keyref name="VehicleService_KeyRef" refer="netex:VehicleService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleServicePart ============================== -->
		<!-- =====VehicleServicePart unique========================== -->
		<xsd:unique name="VehicleServicePart_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [VehicleServicePart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleServicePart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleServicePart Key ========================== -->
		<xsd:keyref name="VehicleServicePart_KeyRef" refer="netex:VehicleServicePart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleServicePartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleServicePart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleServicePart "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DRIVER SCHEDULE Constraints========================= -->
		<!-- =====DutyPart ============================== -->
		<!-- =====DutyPart unique========================== -->
		<xsd:unique name="DutyPart_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DutyPart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DutyPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DutyPart Key ========================== -->
		<xsd:keyref name="DutyPart_KeyRef" refer="netex:DutyPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DutyPartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DutyPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DutyPart "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccountableElementPart ============================== -->
		<!-- =====AccountableElementPart unique========================== -->
		<xsd:unique name="AccountableElementPart_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AccountableElementPart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccountableElementPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccountableElementPart Key ========================== -->
		<xsd:keyref name="AccountableElementPart_KeyRef" refer="netex:AccountableElementPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccountableElementPartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccountableElementPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccountableElementPart "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccountableElement ============================== -->
		<!-- =====AccountableElement unique========================== -->
		<xsd:unique name="AccountableElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AccountableElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccountableElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccountableElement Key ========================== -->
		<xsd:keyref name="AccountableElement_KeyRef" refer="netex:AccountableElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccountableElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccountableElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccountableElement "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DriverTrip ============================== -->
		<!-- =====DriverTrip unique========================== -->
		<xsd:unique name="DriverTrip_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DriverTrip Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DriverTrip"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DriverTrip Key ========================== -->
		<xsd:keyref name="DriverTrip_KeyRef" refer="netex:DriverTrip_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DriverTripRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DriverTrip_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DriverTrip "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DriverTripTime ============================== -->
		<!-- =====DriverTripTime unique========================== -->
		<xsd:unique name="DriverTripTime_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DriverTripTime Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DriverTripTime"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DriverTripTime Key ========================== -->
		<xsd:keyref name="DriverTripTime_KeyRef" refer="netex:DriverTripTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DriverTripTimeRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DriverTripTime_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DriverTripTime "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FARES=================== -->
		<!-- =====FareProduct============================== -->
		<!-- =====FareProduct unique========================== -->
		<xsd:unique name="FareProduct_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FareProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareProduct |.//netex:SaleDiscountRight |.//netex:UsageDiscountRight | .//netex:PreassignedFareProduct |.//netex:AmountOfPriceUnitProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareProduct Key ========================== -->
		<xsd:keyref name="FareProduct_KeyRef" refer="netex:FareProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareProduct |.//netex:SaleDiscountRight |.//netex:UsageDiscountRight | .//netex:PreassignedFareProduct |.//netex:AmountOfPriceUnitProduct"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SaleDiscount Key ========================== -->
		<xsd:keyref name="SaleDiscountRight_KeyRef" refer="netex:SaleDiscountRight_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SaleDiscountRightRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SaleDiscountRight_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SaleDiscountRight "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====UsageDiscountRight Key ========================== -->
		<xsd:keyref name="UsageDiscountRight_KeyRef" refer="netex:UsageDiscountRight_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageDiscountRightRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="UsageDiscountRight_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageDiscountRight "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AmountOfPriceUnitProduct Key ========================== -->
		<xsd:keyref name="AmountOfPriceUnitProduct_KeyRef" refer="netex:AmountOfPriceUnitProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AmountOfPriceUnitProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AmountOfPriceUnitProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AmountOfPriceUnitProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PreassignedFareProduct Key ========================== -->
		<xsd:keyref name="PreassignedFareProduct_KeyRef" refer="netex:PreassignedFareProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PreassignedFareProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PreassignedFareProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PreassignedFareProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ChargingMethod============================== -->
		<!-- =====ChargingMethod unique========================== -->
		<xsd:unique name="ChargingMethod_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ChargingMethod Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ChargingMethod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ChargingMethod Key ========================== -->
		<xsd:keyref name="ChargingMethod_KeyRef" refer="netex:ChargingMethod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ChargingMethodRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ChargingMethod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ChargingMethod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ClassOfUse============================== -->
		<!-- =====ClassOfUse unique========================== -->
		<xsd:unique name="ClassOfUse_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ClassOfUse Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ClassOfUse"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ClassOfUse Key ========================== -->
		<xsd:keyref name="ClassOfUse_KeyRef" refer="netex:ClassOfUse_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ClassOfUseRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ClassOfUse_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ClassOfUse"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareStructure============================== -->
		<!-- =====FareStructure unique========================== -->
		<xsd:unique name="FareStructure_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FareStructure Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareStructure"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareStructure Key ========================== -->
		<xsd:keyref name="FareStructure_KeyRef" refer="netex:FareStructure_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareStructureRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareStructure_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareStructure"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareStructureElement============================== -->
		<!-- =====FareStructureElement unique========================== -->
		<xsd:unique name="FareStructureElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FareStructureElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareStructureElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareStructureElement Key ========================== -->
		<xsd:keyref name="FareStructureElement_KeyRef" refer="netex:FareStructureElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareStructureElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareStructureElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareStructureElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareElementInSequence============================== -->
		<!-- =====FareElementInSequence unique========================== -->
		<xsd:unique name="FareElementInSequence_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FareElementInSequence Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareElementInSequence "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareElementInSequence Key ========================== -->
		<xsd:keyref name="FareElementInSequence_KeyRef" refer="netex:FareElementInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareElementInSequenceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareElementInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareElementInSequence "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccessRightInProduct============================== -->
		<!-- =====AccessRightInProduct unique========================== -->
		<xsd:unique name="AccessRightInProduct_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AccessRightInProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccessRightInProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccessRightInProduct Key ========================== -->
		<xsd:keyref name="AccessRightInProduct_KeyRef" refer="netex:AccessRightInProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessRightInProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessRightInProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessRightInProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ValidableElement============================== -->
		<!-- =====ValidableElement unique========================== -->
		<xsd:unique name="ValidableElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [ValidableElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ValidableElement "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ValidableElement Key ========================== -->
		<xsd:keyref name="ValidableElement_KeyRef" refer="netex:ValidableElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidableElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ValidableElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidableElement "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PriceUnit============================== -->
		<!-- =====PriceUnit unique========================== -->
		<xsd:unique name="PriceUnit_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PriceUnit Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PriceUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PriceUnit Key ========================== -->
		<xsd:keyref name="PriceUnit_KeyRef" refer="netex:PriceUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PriceUnitRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PriceUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PriceUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FarePrice============================== -->
		<!-- =====FarePrice unique========================== -->
		<xsd:unique name="FarePrice_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [FarePrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FarePrice | .//netex:DiscountablePrice | .//netex:FareProductPrice| .//netex:UsageParameterPrice|.//netex:FareStructureElementPrice |.//netex:ValidableElementPrice| .//netex:ControllableElementPrice | .//netex:DistanceMatrixElementPrice | .//netex:GeographicalIntervalPrice | .//netex:TimeIntervalPrice | .//netex:SalesPackagePrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FarePrice Key ========================== -->
		<xsd:keyref name="FarePrice_KeyRef" refer="netex:FarePrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FarePriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FarePrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FarePrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareStructureElementPrice============================== -->
		<!-- =====FareStructureElementPrice Key ========================== -->
		<xsd:keyref name="FareStructureElementPrice_KeyRef" refer="netex:FareStructureElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareStructureElementPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareStructureElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareStructureElementPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareProductPrice============================== -->
		<!-- =====FareProductPrice Key ========================== -->
		<xsd:keyref name="FareProductPrice_KeyRef" refer="netex:FareProductPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareProductPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareProductPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareProductPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====UsageParameterPrice============================== -->
		<!-- =====UsageParameterPrice Key ========================== -->
		<xsd:keyref name="UsageParameterPrice_KeyRef" refer="netex:UsageParameterPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageParameterPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="UsageParameterPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageParameterPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DistanceMatrixElementPrice============================== -->
		<!-- =====DistanceMatrixElementPrice Key ========================== -->
		<xsd:keyref name="DistanceMatrixElementPrice_KeyRef" refer="netex:DistanceMatrixElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistanceMatrixElementPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DistanceMatrixElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistanceMatrixElementPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ValidableElementPrice============================== -->
		<!-- =====ValidableElementPrice Key ========================== -->
		<xsd:keyref name="ValidableElementPrice_KeyRef" refer="netex:ValidableElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidableElementPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ValidableElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidableElementPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ControllableElementPrice============================== -->
		<!-- =====ControllableElementPrice Key ========================== -->
		<xsd:keyref name="ControllableElementPrice_KeyRef" refer="netex:ControllableElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControllableElementPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ControllableElementPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControllableElementPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesPackagePrice============================== -->
		<!-- =====SalesPackagePrice Key ========================== -->
		<xsd:keyref name="SalesPackagePrice_KeyRef" refer="netex:SalesPackagePrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackagePriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SalesPackagePrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackagePrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PriceGroup============================== -->
		<!-- =====PriceGroup unique========================== -->
		<xsd:unique name="PriceGroup_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [PriceGroup Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PriceGroup"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PriceGroup Key ========================== -->
		<xsd:keyref name="PriceGroup_KeyRef" refer="netex:PriceGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PriceGroupRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PriceGroup_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PriceGroup"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DistanceMatrixElement============================== -->
		<!-- =====DistanceMatrixElement unique========================== -->
		<xsd:unique name="DistanceMatrixElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [DistanceMatrixElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DistanceMatrixElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DistanceMatrixElement Key ========================== -->
		<xsd:keyref name="DistanceMatrixElement_KeyRef" refer="netex:DistanceMatrixElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistanceMatrixElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DistanceMatrixElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistanceMatrixElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalUnit============================== -->
		<!-- =====GeographicalUnit unique========================== -->
		<xsd:unique name="GeographicalUnit_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GeographicalUnit Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeographicalUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeographicalUnit Key ========================== -->
		<xsd:keyref name="GeographicalUnit_KeyRef" refer="netex:GeographicalUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalUnitRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeographicalUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalInterval============================== -->
		<!-- =====GeographicalInterval unique========================== -->
		<xsd:unique name="GeographicalInterval_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GeographicalInterval Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeographicalInterval"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeographicalInterval Key ========================== -->
		<xsd:keyref name="GeographicalInterval_KeyRef" refer="netex:GeographicalInterval_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalIntervalRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeographicalInterval_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalInterval"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====UsageParameter============================== -->
		<!-- =====UsageParameter unique========================== -->
		<xsd:unique name="UsageParameter_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [UsageParameter Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:UsageParameter | .//netex:UsageValidityPeriod | .//netex:UserProfile | .//netex:CommercialProfile | .//netex:GroupTicket | .//netex:FrequencyOfUse | .//netex:Transferability | .//netex:LuggageAllowance | .//netex:UsageValidityPeriod "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====UsageParameter Key ========================== -->
		<xsd:keyref name="UsageParameter_KeyRef" refer="netex:UsageParameter_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageParameterRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="UsageParameter_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageParameter | .//netex:UserProfile | .//netex:CommercialProfile | .//netex:GroupTicket | .//netex:FrequencyOfUse | .//netex:Transferability | .//netex:LuggageAllowance | .//netex:UsageValidityPeriod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====UserProfile Key ========================== -->
		<xsd:keyref name="UserProfile_KeyRef" refer="netex:UserProfile_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:UserProfileRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="UserProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UserProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CommercialProfile Key ========================== -->
		<xsd:keyref name="CommercialProfile_KeyRef" refer="netex:CommercialProfile_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:CommercialProfileRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CommercialProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CommercialProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GroupTicket Key ========================== -->
		<xsd:keyref name="GroupTicket_KeyRef" refer="netex:GroupTicket_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:GroupTicketRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupTicket_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupTicket"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FrequencyOfUse Key ========================== -->
		<xsd:keyref name="FrequencyOfUse_KeyRef" refer="netex:FrequencyOfUse_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:FrequencyOfUseRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FrequencyOfUse_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FrequencyOfUse"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Transferability Key ========================== -->
		<xsd:keyref name="Transferability_KeyRef" refer="netex:Transferability_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:TransferabilityRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Transferability_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Transferability"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LuggageAllowance Key ========================== -->
		<xsd:keyref name="LuggageAllowance_KeyRef" refer="netex:LuggageAllowance_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:LuggageAllowanceRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LuggageAllowance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LuggageAllowance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====UsageValidityPeriod Key ========================== -->
		<xsd:keyref name="UsageValidityPeriod_KeyRef" refer="netex:UsageValidityPeriod_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:UsageValidityPeriodRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="UsageValidityPeriod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:UsageValidityPeriod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfConcession============================== -->
		<!-- =====TypeOfConcession unique========================== -->
		<xsd:unique name="TypeOfConcession_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfConcession Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfConcession"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfConcession Key ========================== -->
		<xsd:keyref name="TypeOfConcession_KeyRef" refer="netex:TypeOfConcession_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfConcessionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfConcession_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfConcession"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccessRightParameterAssignment============================== -->
		<!-- =====AccessRightParameterAssignment unique========================== -->
		<xsd:unique name="AccessRightParameterAssignment_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [AccessRightParameterAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccessRightParameterAssignment | .//netex:ValidityParameterAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccessRightParameterAssignment Key ========================== -->
		<xsd:keyref name="AccessRightParameterAssignment_KeyRef" refer="netex:AccessRightParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessRightParameterAssignmentRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessRightParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessRightParameterAssignment |.//netex:ValidityParameterAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ValidityParameterAssignment============================== -->
		<!-- =====ValidityParameterAssignment unique========================== -->
		<!-- =====ValidityParameterAssignment Key ========================== -->
		<xsd:keyref name="ValidityParameterAssignment_KeyRef" refer="netex:ValidityParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidityParameterAssignmentRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ValidityParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValidityParameterAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalStructureFactor============================== -->
		<!-- =====GeographicalStructureFactor unique========================== -->
		<xsd:unique name="GeographicalStructureFactor_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [GeographicalStructureFactor Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeographicalStructureFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeographicalStructureFactor Key ========================== -->
		<xsd:keyref name="GeographicalStructureFactor_KeyRef" refer="netex:GeographicalStructureFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalStructureFactorRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeographicalStructureFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalStructureFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimeUnit============================== -->
		<!-- =====TimeUnit unique========================== -->
		<xsd:unique name="TimeUnit_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimeUnit Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeUnit Key ========================== -->
		<xsd:keyref name="TimeUnit_KeyRef" refer="netex:TimeUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeUnitRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimeInterval============================== -->
		<!-- =====TimeInterval unique========================== -->
		<xsd:unique name="TimeInterval_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimeInterval Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeInterval"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeInterval Key ========================== -->
		<xsd:keyref name="TimeInterval_KeyRef" refer="netex:TimeInterval_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeIntervalRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeInterval_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeInterval"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimeStructureFactor============================== -->
		<!-- =====TimeStructureFactor unique========================== -->
		<xsd:unique name="TimeStructureFactor_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TimeStructureFactor Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeStructureFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeStructureFactor Key ========================== -->
		<xsd:keyref name="TimeStructureFactor_KeyRef" refer="netex:TimeStructureFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeStructureFactorRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeStructureFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeStructureFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====QualityStructureFactor============================== -->
		<!-- =====QualityStructureFactor unique========================== -->
		<xsd:unique name="QualityStructureFactor_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [QualityStructureFactor Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:QualityStructureFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====QualityStructureFactor Key ========================== -->
		<xsd:keyref name="QualityStructureFactor_KeyRef" refer="netex:QualityStructureFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QualityStructureFactorRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="QualityStructureFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QualityStructureFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesPackage============================== -->
		<!-- =====SalesPackage unique========================== -->
		<xsd:unique name="SalesPackage_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [SalesPackage Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesPackage"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SalesPackage Key ========================== -->
		<xsd:keyref name="SalesPackage_KeyRef" refer="netex:SalesPackage_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackageRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SalesPackage_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackage"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesPackageElement============================== -->
		<!-- =====SalesPackageElement unique========================== -->
		<xsd:unique name="SalesPackageElement_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [SalesPackageElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesPackageElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SalesPackageElement Key ========================== -->
		<xsd:keyref name="SalesPackageElement_KeyRef" refer="netex:SalesPackageElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackageElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SalesPackageElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackageElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TravelDocument============================== -->
		<!-- =====TravelDocument unique========================== -->
		<xsd:unique name="TravelDocument_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TravelDocument Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TravelDocument"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TravelDocument Key ========================== -->
		<xsd:keyref name="TravelDocument_KeyRef" refer="netex:TravelDocument_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelDocumentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TravelDocument_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelDocument"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfTravelDocument============================== -->
		<!-- =====TypeOfTravelDocument unique========================== -->
		<xsd:unique name="TypeOfTravelDocument_UniqueIdAndVersion">
			<xsd:annotation>
				<xsd:documentation>RU1: Every [TypeOfTravelDocument Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfTravelDocument"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfTravelDocument Key ========================== -->
		<xsd:keyref name="TypeOfTravelDocument_KeyRef" refer="netex:TypeOfTravelDocument_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfTravelDocumentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfTravelDocument_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfTravelDocument"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
	</xsd:element>
	<!-- =====END OF CONSTRAINTS================= -->
	<xsd:complexType name="PublicationDeliveryStructure">
		<xsd:annotation>
			<xsd:documentation>Type for Publication Delivery.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:group ref="PublicationHeaderGroup"/>
			<xsd:group ref="PayloadGroup"/>
		</xsd:sequence>
		<xsd:attribute name="version" type="xsd:NMTOKEN" use="required" fixed="1.0"/>
	</xsd:complexType>
	<xsd:group name="PublicationHeaderGroup">
		<xsd:annotation>
			<xsd:documentation>Elemenst for Publication header.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="PublicationTimestamp" type="xsd:dateTime">
				<xsd:annotation>
					<xsd:documentation>Time of output of data.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="ParticipantRef"/>
			<xsd:element name="PublicationRequest" type="PublicationRequestStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Echo Request used to create bulk response.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PublicationRefreshInterval" type="xsd:duration" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>How often data in publication is refreshed.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Description" type="xsd:normalizedString" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Description of contents.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:group>
	<!--== Requests ===================================================================== -->
</xsd:schema>

