<?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">
	<!-- ===SIRI system IDs for  request =========================================================== -->
	<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri_utility/siri_participant-v2.0.xsd"/>
	<!-- ===Regular netex============================================================== -->
	<xsd:include schemaLocation="netex_service/netex_dataObjectRequest_service-v1.0.xsd"/>
	<xsd:include schemaLocation="netex_service/netex_all-v1.0.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>CEN TC278 WG3 SG9 Team.</Contributor>
				<Coverage>Europe</Coverage>
				<Creator>First Drafted for NeTEx version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles.  mailto:schemer@netex.org.uk</Creator>
				<Date>
					<Modified>2011-01-17</Modified>V0.94					<!-- Revised-->
				</Date>
				<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/xsd}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-2014</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>CEN TC278 WG3 SG9.</Project>
				</Subject>
				<Title>NeTEx XML schema. bulk Publication Interface for exchanging NeTEx data </Title>
				<Type>Standard</Type>
			</Metadata>
		</xsd:appinfo>
		<xsd:documentation> NeTEx PUBLICATION SCHEMA</xsd:documentation>
	</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:element name="Description" type="MultilingualString" minOccurs="0"/>
			<xsd:element name="topics" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>One or more Request filters that specify tthe data to be included in output. Multiple filters are logically ANDed.</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="NetworkFrameTopic" type="NetworkFrameTopicStructure" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>Vaues to use select Network Objects.</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="RequestPolicy" type="NetworkFrameRequestPolicyStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Policies to apply when fetching data specified by Topics.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="SubscriptionPolicy" type="NetworkFrameSubscriptionPolicyStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Policy to use when processing Network Subscriptions.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
		<xsd:attribute name="version" type="xsd:NMTOKEN" default="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>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========================= -->
		<!-- =====FRAMEWO RK Constraints========================= -->
		<!-- ===== Codespace Unique=========================== -->
		<xsd:unique name="Codespace_UniqueId">
			<xsd:annotation>
				<xsd:documentation>Every Codespace ID must be unique.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Codespace"/>
			<xsd:field xpath="@id"/>
		</xsd:unique>
		<!-- =====Codespace Key ========================== -->
		<xsd:keyref name="Codespace_AnyKeyRef" refer="netex:Codespace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CodespaceRef"/>
			<xsd:field xpath="@ref"/>
		</xsd:keyref>
		<xsd:key name="Codespace_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Codespace"/>
			<xsd:field xpath="@id"/>
		</xsd:key>
		<!-- ===== Codespace Xmlns ============================== -->
		<xsd:unique name="Codespace_Unique_Xmlns">
			<xsd:annotation>
				<xsd:documentation>Every Name Space XMLMS must be unique.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Codespace/Xmlns"/>
			<xsd:field xpath="."/>
		</xsd:unique>
		<xsd:key name="Codespace_AnyVersionedKey_Xmlns">
			<xsd:selector xpath=".//netex:Codespace/Xmlns"/>
			<xsd:field xpath="."/>
		</xsd:key>
		<!-- =====DataSource=unique========================== -->
		<xsd:unique name="DataSource_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====Branding============================== -->
		<!-- =====Branding unique========================== -->
		<xsd:unique name="Branding_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Branding Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Branding"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Branding Key ========================== -->
		<xsd:keyref name="Branding_AnyKeyRef" refer="netex:Branding_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BrandingRef | .//netex:DefaultBrandingRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Branding_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Branding"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ResponsibilitySet============================== -->
		<!-- =====ResponsibilitySet unique========================== -->
		<xsd:unique name="ResponsibilitySet_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ResponsibilitySet Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ResponsibilitySet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ResponsibilitySet Key ========================== -->
		<xsd:keyref name="ResponsibilitySet_AnyKeyRef" refer="netex:ResponsibilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResponsibilitySetRef | .//netex:DefaultResponsibilitySetRef  | .//netex:DelegatedResponsibilitySetRef"/>
			<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>
		<!-- =====TypeOfResponsibilityRole============================== -->
		<!-- =====TypeOfResponsibilityRole unique========================== -->
		<xsd:unique name="TypeOfResponsibilityRole_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfResponsibilityRole Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfResponsibilityRole"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfResponsibilityRole Key ========================== -->
		<xsd:keyref name="TypeOfResponsibilityRole_AnyKeyRef" refer="netex:TypeOfResponsibilityRole_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfResponsibilityRoleRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfResponsibilityRole_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfResponsibilityRole"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ResponsibilityRoleAssignment============================== -->
		<!-- =====Responsibility unique========================== -->
		<xsd:unique name="ResponsibilityRoleAssignment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ResponsibilityRoleAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ResponsibilityRoleAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Responsibility Key ========================== -->
		<xsd:keyref name="ResponsibilityRoleAssignment_AnyKeyRef" refer="netex:ResponsibilityRoleAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResponsibilityRoleAssignmentRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ResponsibilityRoleAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResponsibilityRoleAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Entity_Entity============================== -->
		<!-- =====Entity_Entity unique========================== -->
		<xsd:unique name="Entity_Entity_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Entity_Entity Id ] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Entity_Entity"/>
			<xsd:field xpath="@id"/>
		</xsd:unique>
		<!-- =====Entity_Entity Key ========================== -->
		<xsd:keyref name="Entity_Entity_AnyKeyRef" refer="netex:Entity_Entity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Entity_EntityRef | .//netex:DefaultEntity_EntityRef"/>
			<xsd:field xpath="@ref"/>
		</xsd:keyref>
		<xsd:key name="Entity_Entity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Entity_Entity"/>
			<xsd:field xpath="@id"/>
		</xsd:key>
		<!-- =====TypeOfEntity============================== -->
		<!-- =====TypeOfEntity unique========================== -->
		<xsd:unique name="TypeOfEntity_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfEntity Id + TypeOfEntity] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfEntity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfEntity============================== -->
		<xsd:keyref name="TypeOfEntity_AnyKeyRef" refer="netex:TypeOfEntity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfEntityRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<!-- =====TypeOfEntity Key ========================== -->
		<xsd:key name="TypeOfEntity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfEntity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Version============================== -->
		<!-- =====Version unique========================== -->
		<xsd:unique name="Version_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====TypeOfFrame============================== -->
		<!-- =====TypeOfFrame unique========================== -->
		<xsd:unique name="TypeOfFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====AlternativeName============================== -->
		<!-- =====AlternativeName unique========================== -->
		<xsd:unique name="AlternativeName_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [AlternativeName Id + version + Order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AlternativeName"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====TypeOfValidity============================== -->
		<!-- =====TypeOfValidity unique========================== -->
		<xsd:unique name="TypeOfValidity_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfValidity Id + TypeOfValidity] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfValidity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfValidity============================== -->
		<xsd:keyref name="TypeOfValidity_AnyKeyRef" refer="netex:TypeOfValidity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfValidityRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<!-- =====TypeOfValidity Key ========================== -->
		<xsd:key name="TypeOfValidity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfValidity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ValueSet unique========================== -->
		<xsd:unique name="ValueSet_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ValueSet Id + ValueSet] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ValueSet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ValueSet============================== -->
		<xsd:keyref name="ValueSet_AnyKeyRef" refer="netex:ValueSet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValueSetRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<!-- =====ValueSet Key ========================== -->
		<xsd:key name="ValueSet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ValueSet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PricingParameterSet unique========================== -->
		<xsd:unique name="PricingParameterSet_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PricingParameterSet Id + PricingParameterSet] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PricingParameterSet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PricingParameterSet============================== -->
		<xsd:keyref name="PricingParameterSet_AnyKeyRef" refer="netex:PricingParameterSet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PricingParameterSetRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<!-- =====PricingParameterSet Key ========================== -->
		<xsd:key name="PricingParameterSet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PricingParameterSet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VersionFrame============================== -->
		<!-- =====ResourceFrame unique========================== -->
		<xsd:unique name="ResourceFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====ResourceFrame Key ========================== -->
		<xsd:keyref name="ResourceFrame_AnyKeyRef" refer="netex:ResourceFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResourceFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ResourceFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResourceFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CompositeFrame unique========================== -->
		<xsd:unique name="CompositeFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====CompositeFrame Key ========================== -->
		<xsd:keyref name="CompositeFrame_AnyKeyRef" refer="netex:CompositeFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompositeFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CompositeFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompositeFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeneralFrame unique========================== -->
		<xsd:unique name="GeneralFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GeneralFrame Id + GeneralFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeneralFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeneralFrame Key ========================== -->
		<xsd:keyref name="GeneralFrame_AnyKeyRef" refer="netex:GeneralFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeneralFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceCalendarFrame unique========================== -->
		<xsd:unique name="ServiceCalendarFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====ServiceCalendarFrame Key ========================== -->
		<xsd:keyref name="ServiceCalendarFrame_AnyKeyRef" refer="netex:ServiceCalendarFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceCalendarFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceCalendarFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceCalendarFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====InfrastructureFrame unique========================== -->
		<xsd:unique name="InfrastructureFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====InfrastructureFrame Key ========================== -->
		<xsd:keyref name="InfrastructureFrame_AnyKeyRef" refer="netex:InfrastructureFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:InfrastructureFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="InfrastructureFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:InfrastructureFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SiteFrame unique========================== -->
		<xsd:unique name="SiteFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====SiteFrame Key ========================== -->
		<xsd:keyref name="SiteFrame_AnyKeyRef" refer="netex:SiteFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SiteFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceFrame unique========================== -->
		<xsd:unique name="ServiceFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====ServiceFrame Key ========================== -->
		<xsd:keyref name="ServiceFrame_AnyKeyRef" refer="netex:ServiceFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimetableFrame unique========================== -->
		<xsd:unique name="TimetableFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====TimetableFrame Key ========================== -->
		<xsd:keyref name="TimetableFrame_AnyKeyRef" refer="netex:TimetableFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimetableFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimetableFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimetableFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleScheduleFrame unique========================== -->
		<xsd:unique name="VehicleScheduleFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====VehicleScheduleFrame Key ========================== -->
		<xsd:keyref name="VehicleScheduleFrame_AnyKeyRef" refer="netex:VehicleScheduleFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleScheduleFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleScheduleFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleScheduleFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DriverScheduleFrame unique========================== -->
		<xsd:unique name="DriverScheduleFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====DriverScheduleFrame Key ========================== -->
		<xsd:keyref name="DriverScheduleFrame_AnyKeyRef" refer="netex:DriverScheduleFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DriverScheduleFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DriverScheduleFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DriverScheduleFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareFrame unique========================== -->
		<xsd:unique name="FareFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [FareFrame Id + FareFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareFrame Key ========================== -->
		<xsd:keyref name="FareFrame_AnyKeyRef" refer="netex:FareFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesTransactionFrame unique========================== -->
		<xsd:unique name="SalesTransactionFrame_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SalesTransactionFrame Id + SalesTransactionFrame] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesTransactionFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SalesTransactionFrame Key ========================== -->
		<xsd:keyref name="SalesTransactionFrame_AnyKeyRef" refer="netex:SalesTransactionFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesTransactionFrameRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SalesTransactionFrame_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesTransactionFrame"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!---   =====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>    -->
		<!-- =====GeneralGroupOfEntities============================== -->
		<!-- =====GeneralGroupOfEntities unique========================== -->
		<xsd:unique name="GeneralGroupOfEntities_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GeneralGroupOfEntities Id + GeneralGroupOfEntities] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeneralGroupOfEntities"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeneralGroupOfEntities Key ========================== -->
		<xsd:keyref name="GeneralGroupOfEntities_AnyKeyRef" refer="netex:GeneralGroupOfEntities_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralGroupOfEntitiesRef   | DistributionGroupRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeneralGroupOfEntities_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralGroupOfEntities"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PurposeOfGrouping============================== -->
		<!-- =====PurposeOfGrouping unique========================== -->
		<xsd:unique name="PurposeOfGrouping_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  |.//netex:FareScheduledStopPoint   |.//netex:BorderPoint    "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPoint unique========================== -->
		<xsd:unique name="TypeOfPoint_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 |.//netex:StartPointOnLinkRef |.//netex:EndPointOnLinkRef"/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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:FareZone | .//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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 | .//netex:FareZoneRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TariffZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TariffZone | .//netex:FareZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfProjection============================== -->
		<!-- =====TypeOfProjection unique========================== -->
		<xsd:unique name="TypeOfProjection_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====TypeOfLinkSequence============================== -->
		<!-- =====TypeOfLinkSequence unique========================== -->
		<xsd:unique name="TypeOfLinkSequence_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfLinkSequence Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfLinkSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfLinkSequence Key ========================== -->
		<xsd:keyref name="TypeOfLinkSequence_KeyRef" refer="netex:TypeOfLinkSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfLinkSequenceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfLinkSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfLinkSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GroupOfLinkSequences============================== -->
		<!-- =====GroupOfLinkSequences unique========================== -->
		<xsd:unique name="GroupOfLinkSequences_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GroupOfLinkSequences Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfLinkSequences"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfLinkSequences Key ========================== -->
		<xsd:keyref name="GroupOfLinkSequences_KeyRef" refer="netex:GroupOfLinkSequences_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfLinkSequencesRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfLinkSequences_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfLinkSequences"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SimpleFeature============================== -->
		<!-- =====SimpleFeature unique========================== -->
		<xsd:unique name="SimpleFeature_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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:GeneralOrganisation | .//netex:Authority | .//netex:Operator | .//netex:ServicedOrganisation | .//netex:TravelAgent | .//netex:ManagementAgent  | .//netex:RetailConsortium"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OrganisationPart============================== -->
		<!-- =====OrganisationPart unique========================== -->
		<xsd:unique name="OrganisationPart_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====OperatingUnit============================== -->
		<!-- =====OperatingUnit unique========================== -->
		<xsd:unique name="OperatingUnit_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [OperatingUnit Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OperatingUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OperatingUnit Key ========================== -->
		<xsd:keyref name="OperatingUnit_KeyRef" refer="netex:OperatingUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingUnitRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OperatingUnit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingUnit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Department============================== -->
		<!-- =====Department unique========================== -->
		<xsd:unique name="Department_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 | .//netex:OperatingDepartment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AdministrativeZone============================== -->
		<!-- =====AdministrativeZone unique========================== -->
		<xsd:unique name="AdministrativeZone_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====RoadAddress============================== -->
		<!-- =====RoadAddress unique========================== -->
		<xsd:unique name="RoadAddress_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====GroupOfOperators============================== -->
		<!-- =====GroupOfOperators unique========================== -->
		<xsd:unique name="GroupOfOperators_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GroupOfOperators Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfOperators"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfOperators Key ========================== -->
		<xsd:keyref name="GroupOfOperators_KeyRef" refer="netex:GroupOfOperators_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfOperatorsRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfOperators_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfOperators"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OperatingDepartment============================== -->
		<!-- =====OperatingDepartment unique========================== -->
		<xsd:unique name="OperatingDepartment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [OperatingDepartment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OperatingDepartment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OperatingDepartment Key ========================== -->
		<xsd:keyref name="OperatingDepartment_KeyRef" refer="netex:OperatingDepartment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingDepartmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OperatingDepartment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperatingDepartment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OperationalContext============================== -->
		<!-- =====OperationalContext unique========================== -->
		<xsd:unique name="OperationalContext_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [OperationalContext Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OperationalContext"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OperationalContext Key ========================== -->
		<xsd:keyref name="OperationalContext_KeyRef" refer="netex:OperationalContext_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperationalContextRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OperationalContext_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OperationalContext"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ControlCentre============================== -->
		<!-- =====ControlCentre unique========================== -->
		<xsd:unique name="ControlCentre_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ControlCentre Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ControlCentre"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ControlCentre Key ========================== -->
		<xsd:keyref name="ControlCentre_KeyRef" refer="netex:ControlCentre_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControlCentreRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ControlCentre_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControlCentre"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TransportAdministrativeZone============================== -->
		<!-- =====TransportAdministrativeZone unique========================== -->
		<xsd:unique name="TransportAdministrativeZone_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TransportAdministrativeZone Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TransportAdministrativeZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TransportAdministrativeZone Key ========================== -->
		<xsd:keyref name="TransportAdministrativeZone_KeyRef" refer="netex:TransportAdministrativeZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TransportAdministrativeZoneRef |.//netex:ResponsibilityRoleAssignment/ResponsibleAreaRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TransportAdministrativeZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TransportAdministrativeZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeneralOrganisation============================== -->
		<!-- =====GeneralOrganisation unique========================== -->
		<xsd:unique name="GeneralOrganisation_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GeneralOrganisation Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeneralOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeneralOrganisation Key ========================== -->
		<xsd:keyref name="GeneralOrganisation_KeyRef" refer="netex:GeneralOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralOrganisationRef | .//netex:ParentGeneralOrganisationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeneralOrganisation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralOrganisation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServicedOrganisation============================== -->
		<!-- =====ServicedOrganisation unique========================== -->
		<xsd:unique name="ServicedOrganisation_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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========================= -->
		<!-- =====Equipment unique========================== -->
		<xsd:unique name="Equipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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:ActualVehicleEquipment | .//netex:TicketValidatorEquipment | .//netex:TicketingEquipment   | .//netex:SanitaryEquipment  | .//netex:PassengerSafetyEquipment | .//netex:RubbishDisposalEquipment    |.//netex:PassengerInformationEquipment   | .//netex:EntranceEquipment
 | .//netex:LiftEquipment |  .//netex:EscalatorEquipment | .//netex:TravelatorEquipment | .//netex:StaircaseEquipment | .//netex:RampEquipment  | .//netex:RoughSurface  | .//netex:PlaceLighting|  .//netex:PlaceSign |  .//netex:PlaceSign | .//netex:HeadingSign  | .//netex:GeneralSign
  |.//netex:WaitingRoomEquipment   | .//netex:ShelterEquipment  | .//netex:SeatingEquipment | .//netex:TrolleyStandEquipment      | .//netex:LuggageLockerEquipment  |  .//netex:CycleParkingEquipment    |.//netex:AccessVehicleEquipment    |.//netex:WheelchairVehicleEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfEquipment============================== -->
		<!-- =====TypeOfEquipment unique========================== -->
		<xsd:unique name="TypeOfEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfEquipment Key ========================== -->
		<xsd:keyref name="TypeOfEquipment_KeyRef" refer="netex:TypeOfEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PurposeOfEquipmentProfile============================== -->
		<!-- =====PurposeOfEquipmentProfile unique========================== -->
		<xsd:unique name="PurposeOfEquipmentProfile_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PurposeOfEquipmentProfile Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PurposeOfEquipmentProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PurposeOfEquipmentProfile Key ========================== -->
		<xsd:keyref name="PurposeOfEquipmentProfile_KeyRef" refer="netex:PurposeOfEquipmentProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurposeOfEquipmentProfileRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PurposeOfEquipmentProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurposeOfEquipmentProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EquipmentPlace============================== -->
		<!-- =====EquipmentPlace unique========================== -->
		<xsd:unique name="EquipmentPlace_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====AccessEquipment============================ -->
		<xsd:keyref name="AccessEquipment_AnyKeyRef" refer="netex:AccessEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntranceEquipment | .//netex:LiftEquipment | .//netex:RampEquipment |.//netex:StaircaseEquipment   | .//netex:EscalatorEquipment  |  .//netex:TravelatorEquipment  | .//netex:RoughSurface | .//netex:PlaceLighting"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EntranceEquipment============================== -->
		<!-- =====EntranceEquipment unique========================== -->
		<xsd:unique name="EntranceEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [EntranceEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EntranceEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====EntranceEquipment Key ========================== -->
		<xsd:keyref name="EntranceEquipment_AnyKeyRef" refer="netex:EntranceEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntranceEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EntranceEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntranceEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LiftEquipment============================== -->
		<!-- =====LiftEquipment unique========================== -->
		<xsd:unique name="LiftEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [LiftEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LiftEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LiftEquipment Key ========================== -->
		<xsd:keyref name="LiftEquipment_AnyKeyRef" refer="netex:LiftEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LiftEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LiftEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LiftEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====StaircaseEquipment============================== -->
		<!-- =====StaircaseEquipment unique========================== -->
		<xsd:unique name="StaircaseEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [StaircaseEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StaircaseEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====StaircaseEquipment Key ========================== -->
		<xsd:keyref name="StaircaseEquipment_AnyKeyRef" refer="netex:StaircaseEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StaircaseEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="StaircaseEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StaircaseEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EscalatorEquipment============================== -->
		<!-- =====EscalatorEquipment unique========================== -->
		<xsd:unique name="EscalatorEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [EscalatorEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EscalatorEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====EscalatorEquipment Key ========================== -->
		<xsd:keyref name="EscalatorEquipment_AnyKeyRef" refer="netex:EscalatorEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EscalatorEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EscalatorEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EscalatorEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TravelatorEquipment============================== -->
		<!-- =====TravelatorEquipment unique========================== -->
		<xsd:unique name="TravelatorEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TravelatorEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TravelatorEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TravelatorEquipment Key ========================== -->
		<xsd:keyref name="TravelatorEquipment_AnyKeyRef" refer="netex:TravelatorEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelatorEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TravelatorEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelatorEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RampEquipment============================== -->
		<!-- =====RampEquipment unique========================== -->
		<xsd:unique name="RampEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RampEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RampEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RampEquipment Key ========================== -->
		<xsd:keyref name="RampEquipment_AnyKeyRef" refer="netex:RampEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RampEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RampEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RampEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====QueuingEquipment============================== -->
		<!-- =====QueuingEquipment unique========================== -->
		<xsd:unique name="QueuingEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [QueuingEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:QueuingEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====QueuingEquipment Key ========================== -->
		<xsd:keyref name="QueuingEquipment_AnyKeyRef" refer="netex:QueuingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QueuingEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="QueuingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QueuingEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CrossingEquipment============================== -->
		<!-- =====CrossingEquipment unique========================== -->
		<xsd:unique name="CrossingEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CrossingEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CrossingEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CrossingEquipment Key ========================== -->
		<xsd:keyref name="CrossingEquipment_AnyKeyRef" refer="netex:CrossingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CrossingEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CrossingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CrossingEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PlaceLighting============================== -->
		<!-- =====PlaceLighting unique========================== -->
		<xsd:unique name="PlaceLighting_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PlaceLighting Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PlaceLighting"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PlaceLighting Key ========================== -->
		<xsd:keyref name="PlaceLighting_AnyKeyRef" refer="netex:PlaceLighting_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceLightingRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PlaceLighting_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceLighting "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RoughSurface============================== -->
		<!-- =====RoughSurface unique========================== -->
		<xsd:unique name="RoughSurface_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RoughSurface Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoughSurface"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RoughSurface Key ========================== -->
		<xsd:keyref name="RoughSurface_AnyKeyRef" refer="netex:RoughSurface_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoughSurfaceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoughSurface_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoughSurface "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====WaitingRoomEquipment============================== -->
		<!-- =====WaitingRoomEquipment unique========================== -->
		<xsd:unique name="WaitingRoomEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [WaitingRoomEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:WaitingRoomEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====WaitingRoomEquipment Key ========================== -->
		<xsd:keyref name="WaitingRoomEquipment_AnyKeyRef" refer="netex:WaitingRoomEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WaitingRoomEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="WaitingRoomEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WaitingRoomEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ShelterEquipment============================== -->
		<!-- =====ShelterEquipment unique========================== -->
		<xsd:unique name="ShelterEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ShelterEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ShelterEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ShelterEquipment Key ========================== -->
		<xsd:keyref name="ShelterEquipment_AnyKeyRef" refer="netex:ShelterEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ShelterEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ShelterEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ShelterEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SeatingEquipment============================== -->
		<!-- =====SeatingEquipment unique========================== -->
		<xsd:unique name="SeatingEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SeatingEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SeatingEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SeatingEquipment Key ========================== -->
		<xsd:keyref name="SeatingEquipment_AnyKeyRef" refer="netex:SeatingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SeatingEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SeatingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SeatingEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PlaceSign============================== -->
		<!-- =====PlaceSign unique========================== -->
		<xsd:unique name="PlaceSign_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PlaceSign Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PlaceSign"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PlaceSign Key ========================== -->
		<xsd:keyref name="PlaceSign_AnyKeyRef" refer="netex:PlaceSign_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceSignRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PlaceSign_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceSign "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====HeadingSign============================== -->
		<!-- =====HeadingSign unique========================== -->
		<xsd:unique name="HeadingSign_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [HeadingSign Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:HeadingSign"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====HeadingSign Key ========================== -->
		<xsd:keyref name="HeadingSign_AnyKeyRef" refer="netex:HeadingSign_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HeadingSignRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="HeadingSign_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HeadingSign "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeneralSign============================== -->
		<!-- =====GeneralSign unique========================== -->
		<xsd:unique name="GeneralSign_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GeneralSign Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeneralSign"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeneralSign Key ========================== -->
		<xsd:keyref name="GeneralSign_AnyKeyRef" refer="netex:GeneralSign_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralSignRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeneralSign_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeneralSign "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PassengerEquipment============================ -->
		<xsd:keyref name="PassengerEquipment_AnyKeyRef" refer="netex:PassengerEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketingEquipment | .//netex:TicketValidatorEquipment | .//netex:SanitaryEquipment |.//netex:RubbishDisposalEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TicketValidatorEquipment============================== -->
		<!-- =====TicketValidatorEquipment unique========================== -->
		<xsd:unique name="TicketValidatorEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TicketValidatorEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TicketValidatorEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TicketValidatorEquipment Key ========================== -->
		<xsd:keyref name="TicketValidatorEquipment_AnyKeyRef" refer="netex:TicketValidatorEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketValidatorEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TicketValidatorEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketValidatorEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TicketingEquipment============================== -->
		<!-- =====TicketingEquipment unique========================== -->
		<xsd:unique name="TicketingEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TicketingEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TicketingEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TicketingEquipment Key ========================== -->
		<xsd:keyref name="TicketingEquipment_AnyKeyRef" refer="netex:TicketingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketingEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TicketingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketingEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PassengerSafetyEquipment============================== -->
		<!-- =====PassengerSafetyEquipment unique========================== -->
		<xsd:unique name="PassengerSafetyEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PassengerSafetyEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PassengerSafetyEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PassengerSafetyEquipment Key ========================== -->
		<xsd:keyref name="PassengerSafetyEquipment_AnyKeyRef" refer="netex:PassengerSafetyEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerSafetyEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerSafetyEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerSafetyEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RubbishDisposalEquipment============================== -->
		<!-- =====RubbishDisposalEquipment unique========================== -->
		<xsd:unique name="RubbishDisposalEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RubbishDisposalEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RubbishDisposalEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RubbishDisposalEquipment Key ========================== -->
		<xsd:keyref name="RubbishDisposalEquipment_AnyKeyRef" refer="netex:RubbishDisposalEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RubbishDisposalEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RubbishDisposalEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RubbishDisposalEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SanitaryEquipment============================== -->
		<!-- =====SanitaryEquipment unique========================== -->
		<xsd:unique name="SanitaryEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SanitaryEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SanitaryEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SanitaryEquipment Key ========================== -->
		<xsd:keyref name="SanitaryEquipment_AnyKeyRef" refer="netex:SanitaryEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SanitaryEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SanitaryEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SanitaryEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrolleyStandEquipment============================== -->
		<!-- =====TrolleyStandEquipment unique========================== -->
		<xsd:unique name="TrolleyStandEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TrolleyStandEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrolleyStandEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrolleyStandEquipment Key ========================== -->
		<xsd:keyref name="TrolleyStandEquipment_AnyKeyRef" refer="netex:TrolleyStandEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrolleyStandEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrolleyStandEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrolleyStandEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====WheelchairVehicleEquipment============================== -->
		<!-- =====WheelchairVehicleEquipment unique========================== -->
		<xsd:unique name="WheelchairVehicleEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [WheelchairVehicleEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:WheelchairVehicleEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====WheelchairVehicleEquipment Key ========================== -->
		<xsd:keyref name="WheelchairVehicleEquipment_AnyKeyRef" refer="netex:WheelchairVehicleEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WheelchairVehicleEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="WheelchairVehicleEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:WheelchairVehicleEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AccessVehicleEquipment============================== -->
		<!-- =====AccessVehicleEquipment unique========================== -->
		<xsd:unique name="AccessVehicleEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [AccessVehicleEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccessVehicleEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AccessVehicleEquipment Key ========================== -->
		<xsd:keyref name="AccessVehicleEquipment_AnyKeyRef" refer="netex:AccessVehicleEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessVehicleEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AccessVehicleEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessVehicleEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CycleParkingEquipment============================== -->
		<!-- =====CycleParkingEquipment unique========================== -->
		<xsd:unique name="CycleParkingEquipment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CycleParkingEquipment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CycleParkingEquipment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CycleParkingEquipment Key ========================== -->
		<xsd:keyref name="CycleParkingEquipment_AnyKeyRef" refer="netex:CycleParkingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CycleParkingEquipmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CycleParkingEquipment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CycleParkingEquipment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LocalService Constraints========================= -->
		<!-- =====LocalService unique========================== -->
		<xsd:unique name="LocalService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [LocalService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LocalService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LocalService Key ========================== -->
		<xsd:keyref name="LocalService_KeyRef" refer="netex:LocalService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LocalServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LocalService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LocalService | .//netex:TicketingService | .//netex:AssistanceService |  .//netex:AssistanceBookingService | .//netex:LuggageService | .//netex:LeftLuggageService | .//netex:CustomerService | .//netex:ComplaintsService | .//netex:LostPropertyService | .//netex:MeetingPointService | .//netex:HireService | .//netex:MoneyService |.//netex:RetailService  |.//netex:CateringService  |.//netex:CommunicationService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TicketingService============================== -->
		<!-- =====TicketingService unique========================== -->
		<xsd:unique name="TicketingService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TicketingService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TicketingService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TicketingService Key ========================== -->
		<xsd:keyref name="TicketingService_AnyKeyRef" refer="netex:TicketingService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketingServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TicketingService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TicketingService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AssistanceService============================== -->
		<!-- =====AssistanceService unique========================== -->
		<xsd:unique name="AssistanceService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [AssistanceService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AssistanceService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AssistanceService Key ========================== -->
		<xsd:keyref name="AssistanceService_AnyKeyRef" refer="netex:AssistanceService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AssistanceServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AssistanceService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AssistanceService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AssistanceBookingService============================== -->
		<!-- =====AssistanceBookingService unique========================== -->
		<xsd:unique name="AssistanceBookingService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [AssistanceBookingService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AssistanceBookingService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====AssistanceBookingService Key ========================== -->
		<xsd:keyref name="AssistanceBookingService_AnyKeyRef" refer="netex:AssistanceBookingService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AssistanceBookingServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="AssistanceBookingService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AssistanceBookingService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LuggageService============================== -->
		<!-- =====LuggageService unique========================== -->
		<xsd:unique name="LuggageService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [LuggageService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LuggageService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LuggageService Key ========================== -->
		<xsd:keyref name="LuggageService_AnyKeyRef" refer="netex:LuggageService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LuggageServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LuggageService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LuggageService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ComplaintsService============================== -->
		<!-- =====ComplaintsService unique========================== -->
		<xsd:unique name="ComplaintsService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ComplaintsService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ComplaintsService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ComplaintsService Key ========================== -->
		<xsd:keyref name="ComplaintsService_AnyKeyRef" refer="netex:ComplaintsService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ComplaintsServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ComplaintsService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ComplaintsService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CustomerService============================== -->
		<!-- =====CustomerService unique========================== -->
		<xsd:unique name="CustomerService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CustomerService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CustomerService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CustomerService Key ========================== -->
		<xsd:keyref name="CustomerService_AnyKeyRef" refer="netex:CustomerService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CustomerServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CustomerService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CustomerService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LostPropertyService============================== -->
		<!-- =====LostPropertyService unique========================== -->
		<xsd:unique name="LostPropertyService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [LostPropertyService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LostPropertyService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LostPropertyService Key ========================== -->
		<xsd:keyref name="LostPropertyService_AnyKeyRef" refer="netex:LostPropertyService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LostPropertyServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LostPropertyService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LostPropertyService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====MeetingPointService============================== -->
		<!-- =====MeetingPointService unique========================== -->
		<xsd:unique name="MeetingPointService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [MeetingPointService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:MeetingPointService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====MeetingPointService Key ========================== -->
		<xsd:keyref name="MeetingPointService_AnyKeyRef" refer="netex:MeetingPointService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MeetingPointServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="MeetingPointService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MeetingPointService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====HireService============================== -->
		<!-- =====HireService unique========================== -->
		<xsd:unique name="HireService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [HireService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:HireService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====HireService Key ========================== -->
		<xsd:keyref name="HireService_AnyKeyRef" refer="netex:HireService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HireServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="HireService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:HireService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====MoneyService============================== -->
		<!-- =====MoneyService unique========================== -->
		<xsd:unique name="MoneyService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [MoneyService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:MoneyService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====MoneyService Key ========================== -->
		<xsd:keyref name="MoneyService_AnyKeyRef" refer="netex:MoneyService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MoneyServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="MoneyService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MoneyService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RetailService============================== -->
		<!-- =====RetailService unique========================== -->
		<xsd:unique name="RetailService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RetailService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RetailService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RetailService Key ========================== -->
		<xsd:keyref name="RetailService_AnyKeyRef" refer="netex:RetailService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RetailServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RetailService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RetailService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CateringService============================== -->
		<!-- =====CateringService unique========================== -->
		<xsd:unique name="CateringService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CateringService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CateringService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CateringService Key ========================== -->
		<xsd:keyref name="CateringService_AnyKeyRef" refer="netex:CateringService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CateringServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CateringService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CateringService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CommunicationService============================== -->
		<!-- =====CommunicationService unique========================== -->
		<xsd:unique name="CommunicationService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CommunicationService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CommunicationService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CommunicationService Key ========================== -->
		<xsd:keyref name="CommunicationService_AnyKeyRef" refer="netex:CommunicationService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CommunicationServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CommunicationService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CommunicationService "/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [DayType Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DayType | .//netex:FareDayType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DayType 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 | .//netex:FareDayType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareDayType Key ========================== -->
		<xsd:keyref name="FareDayType_AnyKeyRef" refer="netex:FareDayType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareDayTypeRef   "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareDayType_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareDayType"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Timeband============================== -->
		<!-- =====Timeband unique========================== -->
		<xsd:unique name="Timeband_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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============================== -->
		<!-- =====DayTypeAssignment unique========================== -->
		<xsd:unique name="DayTypeAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>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:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="DayTypeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DayTypeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====ValidityCondition============================== -->
		<!-- =====ValidityCondition unique========================== -->
		<xsd:unique name="ValidityCondition_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 | .//netex:SimpleAvailabilityCondition |  .//netex:ValidDuring "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ObjectRef============================== -->
		<!--- 
		<xsd:keyref name="Object_AnyKeyRef" refer="netex:Object_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ConditionedObjectRef |.//netex:RuleObjectRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
	 
		<xsd:key name="Object_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ResourceFrame | .//netex:CompositeFrame | .//netex:SiteFrame | .//netex:ServiceFrame | .//netex:InfrastructureFrame | .//netex:TimetableFrame | .//netex:GeneralFrame  | .//netex:SiteFrame | .//netex:ServiceCalendarFrame | .//netex:VehicleScheduleFrame  |  .//netex:DriverScheduleFrame |.//netex:FareFrame | .//netex:RailwayJunction| .//netex:RoadJunction| .//netex:WireJunction|.//netex:ReliefPoint  |.//netex:GaragePoint  |.//netex:ParkingPoint  | .//netex:ScheduledStopPoint  | .//netex:TimingPoint  |.//netex:ActivationPoint  |.//netex:BeaconPoint  |.//netex:RoutePoint  | .//netex:TrafficControlPoint  |.//netex:Place |.//netex:StopPlace | .//netex:ServiceSite |  .//netex:TopographicPlace |.//netex:PointOfInterest  |.//netex:Parking  |  .//netex:EquipmentPlace  | .//netex:FlexibleStopPlace | .//netex:AccessZone |.//netex:TariffZone | .//netex:RoadAddress | .//netex:PostalAddress |  .//netex:Quay | .//netex:AccessSpace  | .//netex:BoardingPosition |  .//netex:StopArea | .//netex:HailAndRideArea |  .//netex:FlexibleArea |.//netex:VehicleStoppingPlace |  .//netex:VehicleStoppingPosition | .//netex:VehicleEntrance | .//netex:StopPlaceEntrance | .//netex:StopPlaceVehicleEntrance | .//netex:PointOfInterestEntrance | .//netex:ParkingPassengerEntrance |  .//netex:ParkingEntranceForVehicles | .//netex:ParkingBay | .//netex:ParkingArea |   .//netex:AdministrativeZone | .//netex:Country |   .//netex:RoutingConstraintZone  |.//netex:ActivationLink  | .//netex:TimingLink  |  .//netex:ServiceLink | .//netex:Connection |.//netex:Access |  .//netex:NavigationPath |.//netex:PathJunction  | .//netex:VehicleJourney |  .//netex:DeadRun |.//netex:ServiceJourney |.//netex:TemplateServiceJourney |.//netex:TemplateServiceJourney | .//netex:SpecialService |.//netex:DatedVehicleJourney  |.//netex:NormalDatedVehicleJourney |  .//netex:TimingPattern |.//netex:Operator | .//netex:GroupOfOperators |.//netex:Authority | .//netex:OtherOganisation | .//netex:TravelAgent | .//netex:ServicedOrganisation |  .//netex:GeneralOrganisation | .//netex:ManagementAGent | .//netex:Line| .//netex:GroupOfLines |  .//netex:Garage | .//netex:Crewbase  |  .//netex:TimingPattern | .//netex:Route | .//netex:ServicePattern | .//netex:DeadRunPattern |.//netex:GroupOfServices  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>  -->
		<!-- =====VEHICLE Constraints========================= -->
		<!-- =====Vehicle============================== -->
		<!-- =====Vehicle unique========================== -->
		<xsd:unique name="Vehicle_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  | .//netex:OvertakingVehicleTypeRef | .//netex:OvertakenVehicleTypeRef"/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [TrainComponent Id + Version order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainComponent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="TrainComponent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainComponent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TrainInCompoundTrain============================== -->
		<!-- =====TrainInCompoundTrain unique========================== -->
		<xsd:unique name="TrainInCompoundTrain_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  | .//netex:ServiceSite"/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====ServiceSite============================== -->
		<!-- =====ServiceSite unique========================== -->
		<xsd:unique name="ServiceSite_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ServiceSite Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceSite"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ServiceSite Key ========================== -->
		<xsd:keyref name="ServiceSite_KeyRef" refer="netex:ServiceSite_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceSiteRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ServiceSite_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceSite"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====STOP PLACE Constraints========================= -->
		<!-- =====GroupOfStopPlaces============================== -->
		<!-- =====GroupOfStopPlaces unique========================== -->
		<xsd:unique name="GroupOfStopPlaces_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====ParkingCapacity============================== -->
		<!-- =====ParkingCapacity unique========================== -->
		<xsd:unique name="ParkingCapacity_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingCapacity Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingCapacity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingCapacity Key ========================== -->
		<xsd:keyref name="ParkingCapacity_KeyRef" refer="netex:ParkingCapacity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingCapacityRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingCapacity_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingCapacity"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingArea============================== -->
		<!-- =====ParkingArea unique========================== -->
		<xsd:unique name="ParkingArea_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingArea Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingArea"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingArea Key ========================== -->
		<xsd:keyref name="ParkingArea_KeyRef" refer="netex:ParkingArea_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingAreaRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingArea_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingArea"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingBay============================== -->
		<!-- =====ParkingBay unique========================== -->
		<xsd:unique name="ParkingBay_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingBay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingBay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingBay Key ========================== -->
		<xsd:keyref name="ParkingBay_KeyRef" refer="netex:ParkingBay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingBayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingBay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingBay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingPassengerEntrance============================== -->
		<!-- =====ParkingPassengerEntrance unique========================== -->
		<xsd:unique name="ParkingPassengerEntrance_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingPassengerEntrance Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingPassengerEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingPassengerEntrance Key ========================== -->
		<xsd:keyref name="ParkingPassengerEntrance_KeyRef" refer="netex:ParkingPassengerEntrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingPassengerEntranceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingPassengerEntrance_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingPassengerEntrance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingEntranceForVehicles============================== -->
		<!-- =====ParkingEntranceForVehicles unique========================== -->
		<xsd:unique name="ParkingEntranceForVehicles_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingEntranceForVehicles Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingEntranceForVehicles"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingEntranceForVehicles Key ========================== -->
		<xsd:keyref name="ParkingEntranceForVehicles_KeyRef" refer="netex:ParkingEntranceForVehicles_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingEntranceForVehiclesRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingEntranceForVehicles_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingEntranceForVehicles"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingTariff============================== -->
		<!-- =====ParkingTariff unique========================== -->
		<xsd:unique name="ParkingTariff_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingTariff Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingTariff"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingTariff Key ========================== -->
		<xsd:keyref name="ParkingTariff_KeyRef" refer="netex:ParkingTariff_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingTariffRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingTariff_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingTariff"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CHECK CONSTRAINT COnstraints============== -->
		<!-- =====CheckConstraint============================== -->
		<!-- =====CheckConstraint unique========================== -->
		<xsd:unique name="CheckConstraint_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====NavigationPathAssignment============================== -->
		<!-- =====NavigationPathAssignment unique========================== -->
		<xsd:unique name="NavigationPathAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [NavigationPathAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:NavigationPathAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====NavigationPathAssignment Key ========================== -->
		<xsd:keyref name="NavigationPathAssignment_KeyRef" refer="netex:NavigationPathAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NavigationPathAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="NavigationPathAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NavigationPathAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====PathLinkInSequence============================== -->
		<!-- =====PathLinkInSequence unique========================== -->
		<xsd:unique name="PathLinkInSequence_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [PathLinkInSequence Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PathLinkInSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="PathLinkInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PathLinkInSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====PlaceInSequence============================== -->
		<!-- =====PlaceInSequence unique========================== -->
		<xsd:unique name="PlaceInSequence_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [PlaceInSequence Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PlaceInSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====PlaceInSequence Key ========================== -->
		<xsd:keyref name="PlaceInSequence_KeyRef" refer="netex:PlaceInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceInSequenceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="PlaceInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PlaceInSequence"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====AccessSummary============================== -->
		<!-- =====AccessSummary unique========================== -->
		<xsd:unique name="AccessSummary_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====InfrastructurePoint============================== -->
		<!-- =====InfrastructurePoint Key ========================== -->
		<xsd:keyref name="InfrastructurePoint_KeyRef" refer="netex:InfrastructurePoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:InfrastructurePointRef |.//netex:OvertakingAtPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="InfrastructurePoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadJunction | .//netex:RailwayJunction | .//netex:WireJunction "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====InfrastructurePoint============================== -->
		<!-- =====InfrastructureLink Key ========================== -->
		<xsd:keyref name="InfrastructureLink_KeyRef" refer="netex:InfrastructureLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:InfrastructureLinkRef |.//netex:OvertakingOnLinkRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="InfrastructureLink_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoadElement | .//netex:RailwayElement | .//netex:Element "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VehicleTypeAtPoint============================== -->
		<!-- =====VehicleTypeAtPoint unique========================== -->
		<xsd:unique name="VehicleTypeAtPoint_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====RestrictedManoeuvre============================== -->
		<!-- =====RestrictedManoeuvre unique========================== -->
		<xsd:unique name="RestrictedManoeuvre_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RestrictedManoeuvre Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RestrictedManoeuvre"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RestrictedManoeuvre Key ========================== -->
		<xsd:keyref name="RestrictedManoeuvre_KeyRef" refer="netex:RestrictedManoeuvre_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RestrictedManoeuvreRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RestrictedManoeuvre_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RestrictedManoeuvre"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OvertakingPossibility============================== -->
		<!-- =====OvertakingPossibility unique========================== -->
		<xsd:unique name="OvertakingPossibility_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OvertakingPossibility_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OvertakingPossibility"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====MeetingRestriction============================== -->
		<!-- =====MeetingRestriction unique========================== -->
		<xsd:unique name="MeetingRestriction_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="MeetingRestriction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MeetingRestriction "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ACTIVATION CONSTRAINTS======================= -->
		<!-- =====ActivationPoint============================== -->
		<!-- =====ActivationPoint unique========================== -->
		<xsd:unique name="ActivationPoint_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [ActivationAssignment Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ActivationAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="ActivationAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ActivationAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TypeOfActivation============================== -->
		<!-- =====TypeOfActivation unique========================== -->
		<xsd:unique name="TypeOfActivation_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 |.//netex:ReverseDirectionRef"/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 |.//netex:FareScheduledStopPoint  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RouteLink============================== -->
		<!-- =====RouteLink unique========================== -->
		<xsd:unique name="RouteLink_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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:PointOnRoute_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointOnRouteRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PointOnRoute_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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [NoticeAssignment Id + Version +order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:NoticeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="NoticeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:NoticeAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====SalesNoticeAssignment============================== -->
		<!-- =====SalesNoticeAssignment unique========================== -->
		<xsd:unique name="SalesNoticeAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [SalesNoticeAssignment Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesNoticeAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====SalesNoticeAssignment Key ========================== -->
		<xsd:keyref name="SalesNoticeAssignment_KeyRef" refer="netex:SalesNoticeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesNoticeAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="SalesNoticeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesNoticeAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====LineNetwork============================== -->
		<!-- =====LineNetwork unique========================== -->
		<xsd:unique name="LineNetwork_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====TIMING PATTERN Constraints========================= -->
		<!-- =====TimingPoint============================== -->
		<!-- =====TimingPoint unique========================== -->
		<xsd:unique name="TimingPoint_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  |.//netex:FareScheduledStopPoint "/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ScheduledStopPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ScheduledStopPoint  |.//netex:FareScheduledStopPoint "/>
			<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  |.//netex:FareScheduledStopPointRef  |.//netex:AccountingStopPointRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ScheduledStopPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ScheduledStopPoint  |.//netex:FareScheduledStopPoint  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceLink============================== -->
		<!-- =====ServiceLink unique========================== -->
		<xsd:unique name="ServiceLink_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====DefaultConnection============================== -->
		<!-- =====DefaultConnection unique========================== -->
		<xsd:unique name="DefaultConnection_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [DefaultConnection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DefaultConnection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DefaultConnection Key ========================== -->
		<xsd:keyref name="DefaultConnection_KeyRef" refer="netex:DefaultConnection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DefaultConnectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DefaultConnection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DefaultConnection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Connection============================== -->
		<!-- =====Connection unique========================== -->
		<xsd:unique name="Connection_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  | .//netex:FromConnectionRef | .//netex:ToConnectionRef"/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>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:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="PassengerStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TrainStopAssignment============================== -->
		<!-- =====TrainStopAssignment unique========================== -->
		<xsd:unique name="TrainStopAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [TrainStopAssignment Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====TrainStopAssignment Key ========================== -->
		<xsd:keyref name="TrainStopAssignment_KeyRef" refer="netex:TrainStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainStopAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="TrainStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TrainComponentLabelAssignment============================== -->
		<!-- =====TrainComponentLabelAssignment unique========================== -->
		<xsd:unique name="TrainComponentLabelAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [TrainComponentLabelAssignment Id + Version +order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainComponentLabelAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====TrainComponentLabelAssignment Key ========================== -->
		<xsd:keyref name="TrainComponentLabelAssignment_KeyRef" refer="netex:TrainComponentLabelAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainComponentLabelAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="TrainComponentLabelAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainComponentLabelAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====DynamicStopAssignment=========================== -->
		<!-- =====DynamicStopAssignment unique========================== -->
		<xsd:unique name="DynamicStopAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [DynamicStopAssignment Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DynamicStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="DynamicStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DynamicStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====VehicleTypeStopAssignment============================== -->
		<!-- =====VehicleTypeStopAssignment unique========================== -->
		<xsd:unique name="VehicleTypeStopAssignment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [VehicleTypeStopAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleTypeStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====VehicleTypeStopAssignment Key ========================== -->
		<xsd:keyref name="VehicleTypeStopAssignment_KeyRef" refer="netex:VehicleTypeStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleTypeStopAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="VehicleTypeStopAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:VehicleTypeStopAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPattern============================== -->
		<!-- =====JourneyPattern unique========================== -->
		<xsd:unique name="JourneyPattern_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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:ServiceJourneyPatternRef |.//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  ========================== -->
		<!-- =====PointInJourneyPattern unique========================== -->
		<xsd:unique name="PointInJourneyPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [PointInJourneyPattern Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PointInJourneyPattern | .//netex:ServicePointInJourneyPattern |.//netex:DeadRunPointInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====PointInJourneyPattern Key ========================== -->
		<xsd:keyref name="PointInJourneyPattern_KeyRef" refer="netex:PointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInJourneyPatternRef | .//netex:FromPointInPatternRef | .//netex:ToPointInPatternRef  | .//netex:StartPointInPatternRef  | .//netex:EndPointInPatternRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="PointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PointInJourneyPattern | .//netex:TimingPointInJourneyPattern| .//netex:StopPointInJourneyPattern|  .//netex:FarePointInPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TimingPointInJourneyPattern  ========================== -->
		<!-- =====TimingPointInJourneyPattern unique========================== -->
		<xsd:unique name="TimingPointInJourneyPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [TimingPointInJourneyPattern Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimingPointInJourneyPattern | .//netex:ServiceTimingPointInJourneyPattern |.//netex:DeadRunTimingPointInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="TimingPointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====StopPointInJourneyPattern  ========================== -->
		<!-- =====StopPointInJourneyPattern unique========================== -->
		<xsd:unique name="StopPointInJourneyPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [StopPointInJourneyPattern Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StopPointInJourneyPattern | .//netex:ServiceStopPointInJourneyPattern |.//netex:DeadRunStopPointInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="StopPointInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StopPointInJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====LinkInJourneyPattern  ========================== -->
		<!-- =====LinkInJourneyPattern unique========================== -->
		<xsd:unique name="LinkInJourneyPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [LinkInJourneyPattern Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LinkInJourneyPattern | .//netex:ServiceLinkInJourneyPattern |.//netex:DeadRunLinkInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====LinkInJourneyPattern Key ========================== -->
		<xsd:keyref name="LinkInJourneyPattern_KeyRef" refer="netex:LinkInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkInJourneyPatternRef | .//netex:FromPointInPatternRef | .//netex:ToPointInPatternRef  | .//netex:StartPointInPatternRef  | .//netex:EndPointInPatternRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="LinkInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LinkInJourneyPattern | .//netex:TimingLinkInJourneyPattern| .//netex:StopLinkInJourneyPattern|  .//netex:FarePointInPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====ServiceLinkInJourneyPattern  ========================== -->
		<!-- =====ServiceLinkInJourneyPattern unique========================== -->
		<xsd:unique name="ServiceLinkInJourneyPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [ServiceLinkInJourneyPattern Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceLinkInJourneyPattern | .//netex:ServiceServiceLinkInJourneyPattern |.//netex:DeadRunServiceLinkInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====ServiceLinkInJourneyPattern Key ========================== -->
		<xsd:keyref name="ServiceLinkInJourneyPattern_KeyRef" refer="netex:ServiceLinkInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceLinkInJourneyPatternRef | .//netex:FromPointInPatternRef | .//netex:ToPointInPatternRef  | .//netex:StartPointInPatternRef  | .//netex:EndPointInPatternRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="ServiceLinkInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ServiceLinkInJourneyPattern | .//netex:TimingServiceLinkInJourneyPattern| .//netex:StopServiceLinkInJourneyPattern|  .//netex:FarePointInPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TimingLinkInJourneyPattern  ========================== -->
		<!-- =====TimingLinkInJourneyPattern unique========================== -->
		<xsd:unique name="TimingLinkInJourneyPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [TimingLinkInJourneyPattern Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimingLinkInJourneyPattern | .//netex:ServiceTimingLinkInJourneyPattern |.//netex:DeadRunTimingLinkInJourneyPattern "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====TimingLinkInJourneyPattern Key ========================== -->
		<xsd:keyref name="TimingLinkInJourneyPattern_KeyRef" refer="netex:TimingLinkInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingLinkInJourneyPatternRef | .//netex:FromPointInPatternRef | .//netex:ToPointInPatternRef  | .//netex:StartPointInPatternRef  | .//netex:EndPointInPatternRef  "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="TimingLinkInJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimingLinkInJourneyPattern | .//netex:TimingTimingLinkInJourneyPattern| .//netex:StopTimingLinkInJourneyPattern|  .//netex:FarePointInPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TypeOfJourneyPattern============================== -->
		<!-- =====TypeOfJourneyPattern unique========================== -->
		<xsd:unique name="TypeOfJourneyPattern_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfJourneyPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfJourneyPattern Key ========================== -->
		<xsd:keyref name="TypeOfJourneyPattern_KeyRef" refer="netex:TypeOfJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfJourneyPatternRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfJourneyPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfJourneyPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====JourneyPatternRunTime============================== -->
		<!-- =====JourneyPatternRunTime unique========================== -->
		<xsd:unique name="JourneyPatternRunTime_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ServicePattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServicePattern |.//netex:DeadRunPattern"/>
			<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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>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:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="TimeDemandTypeAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeDemandTypeAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TimeDemandProfile============================== -->
		<!-- =====TimeDemandProfile unique========================== -->
		<xsd:unique name="TimeDemandProfile_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [DisplayAssignment Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DisplayAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="DisplayAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DisplayAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====JOURNEY Constraints========================= -->
		<!-- ===== Journey================== -->
		<!-- =====Journey unique========================== -->
		<xsd:unique name="Journey_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 unique========================== -->
		<xsd:unique name="VehicleJourney_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [VehicleJourney Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:VehicleJourney"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:unique name="ServiceJourney_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ServiceJourney Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ServiceJourney"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:unique name="TemplateVehicleourney_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TemplateVehicleJourney Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TemplateVehicleJourney"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:unique name="DeadRun_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [DeadRun Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DeadRun"/>
			<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>
		<!-- =====TypeOfService============================== -->
		<!-- =====TypeOfService unique========================== -->
		<xsd:unique name="TypeOfService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfService Key ========================== -->
		<xsd:keyref name="TypeOfService_AnyKeyRef" refer="netex:TypeOfService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfProductCategory============================== -->
		<!-- =====TypeOfProductCategory unique========================== -->
		<xsd:unique name="TypeOfProductCategory_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfProductCategory Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfProductCategory"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfProductCategory Key ========================== -->
		<xsd:keyref name="TypeOfProductCategory_AnyKeyRef" refer="netex:TypeOfProductCategory_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfProductCategoryRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfProductCategory_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfProductCategory"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrainNumber============================== -->
		<!-- =====TrainNumber unique========================== -->
		<xsd:unique name="TrainNumber_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====DatedSpecialService ============================== -->
		<!-- =====DatedSpecialService unique========================== -->
		<xsd:unique name="DatedSpecialService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [DatedSpecialService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DatedSpecialService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DatedSpecialService Key ========================== -->
		<xsd:keyref name="DatedSpecialService_KeyRef" refer="netex:DatedSpecialService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DatedSpecialServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DatedSpecialService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DatedSpecialService "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ServiceFacilitySet ============================== -->
		<!-- =====ServiceFacilitySet unique========================== -->
		<xsd:unique name="ServiceFacilitySet_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====SiteFacilitySet ============================== -->
		<!-- =====Accommodation unique========================== -->
		<xsd:unique name="Accommodation_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Accommodation Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Accommodation"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Accommodation Key ========================== -->
		<xsd:keyref name="Accommodation_KeyRef" refer="netex:Accommodation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccommodationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Accommodation_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Accommodation "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====OnboardStay unique========================== -->
		<xsd:unique name="OnboardStay_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [OnboardStay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:OnboardStay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====OnboardStay Key ========================== -->
		<xsd:keyref name="OnboardStay_KeyRef" refer="netex:OnboardStay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OnboardStayRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="OnboardStay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:OnboardStay "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SiteFacilitySet unique========================== -->
		<xsd:unique name="SiteFacilitySet_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SiteFacilitySet Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SiteFacilitySet"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SiteFacilitySet Key ========================== -->
		<xsd:keyref name="SiteFacilitySet_KeyRef" refer="netex:SiteFacilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteFacilitySetRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SiteFacilitySet_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SiteFacilitySet "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====VEHICLE SERVICE Constraints========================= -->
		<!-- =====Block ============================== -->
		<!-- =====Block unique========================== -->
		<xsd:unique name="Block_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 | .//netex:TrainBlock |.//netex:CompoundBlock"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CompoundBlock ============================== -->
		<!-- =====CompoundBlock unique========================== -->
		<xsd:unique name="CompoundBlock_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====TrainBlock ============================== -->
		<!-- =====TrainBlock unique========================== -->
		<xsd:unique name="TrainBlock_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TrainBlock Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainBlock"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainBlock Key ========================== -->
		<xsd:keyref name="TrainBlock_KeyRef" refer="netex:TrainBlock_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainBlockRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainBlock_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainBlock | .//netex:CompoundBlock "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====BlockPart ============================== -->
		<!-- =====BlockPart unique========================== -->
		<xsd:unique name="BlockPart_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 |  .//netex:TrainBlockPart "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TrainBlockPart ============================== -->
		<!-- =====TrainBlockPart unique========================== -->
		<xsd:unique name="TrainBlockPart_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TrainBlockPart Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TrainBlockPart"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TrainBlockPart Key ========================== -->
		<xsd:keyref name="TrainBlockPart_KeyRef" refer="netex:TrainBlockPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainBlockPartRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TrainBlockPart_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TrainBlockPart  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CourseOfJourneys ============================== -->
		<!-- =====CourseOfJourneys unique========================== -->
		<xsd:unique name="CourseOfJourneys_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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=================== -->
		<!-- =====BorderPoint============================== -->
		<!-- =====BorderPoint unique========================== -->
		<xsd:unique name="BorderPoint_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [BorderPoint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:BorderPoint  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====BorderPoint Key ========================== -->
		<xsd:keyref name="BorderPoint_KeyRef" refer="netex:BorderPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BorderPointRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="BorderPoint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BorderPoint  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareProduct============================== -->
		<!-- =====FareProduct Key ========================== -->
		<!-- 
		<xsd:keyref name="FareProduct_KeyRef" refer="netex:FareProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareProductRef |.//netex:SupplementToFareProductRef "/>
			<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 |.//netex:SupplementProduct"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>   -->
		<!-- =====SaleDiscountRight  ========================== -->
		<!-- =====SaleDiscountRight unique========================== -->
		<xsd:unique name="SaleDiscountRight_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SaleDiscountRight Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SaleDiscountRight  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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 unique========================== -->
		<!-- =====UsageDiscountRight unique========================== -->
		<xsd:unique name="UsageDiscountRight_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [UsageDiscountRight Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:UsageDiscountRight  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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>
		<!-- =====CappedDiscountRight============================== -->
		<!-- =====CappedDiscountRight unique========================== -->
		<xsd:unique name="CappedDiscountRight_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CappedDiscountRight Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CappedDiscountRight  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CappedDiscountRight Key ========================== -->
		<xsd:keyref name="CappedDiscountRight_KeyRef" refer="netex:CappedDiscountRight_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CappedDiscountRightRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CappedDiscountRight_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CappedDiscountRight "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====AmountOfPriceUnitProduct============================== -->
		<!-- =====AmountOfPriceUnitProduct unique========================== -->
		<xsd:unique name="AmountOfPriceUnitProduct_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [AmountOfPriceUnitProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AmountOfPriceUnitProduct  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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============================== -->
		<!-- =====PreassignedFareProduct unique========================== -->
		<xsd:unique name="PreassignedFareProduct_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PreassignedFareProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PreassignedFareProduct  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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>
		<!-- =====SupplementProduct============================== -->
		<!-- =====SupplementProduct unique========================== -->
		<xsd:unique name="SupplementProduct_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SupplementProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SupplementProduct  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SupplementProduct Key ========================== -->
		<xsd:keyref name="SupplementProduct_KeyRef" refer="netex:SupplementProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SupplementProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SupplementProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SupplementProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====EntitlementProduct============================== -->
		<!-- =====EntitlementProduct unique========================== -->
		<xsd:unique name="EntitlementProduct_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [EntitlementProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EntitlementProduct  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====EntitlementProduct Key ========================== -->
		<xsd:keyref name="EntitlementProduct_KeyRef" refer="netex:EntitlementProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntitlementProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EntitlementProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntitlementProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ThirdPartyProduct============================== -->
		<!-- =====ThirdPartyProduct unique========================== -->
		<xsd:unique name="ThirdPartyProduct_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ThirdPartyProduct Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ThirdPartyProduct  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- ==ThirdPartyProduct Key ========================== -->
		<xsd:keyref name="ThirdPartyProduct_KeyRef" refer="netex:ThirdPartyProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ThirdPartyProductRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ThirdPartyProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ThirdPartyProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ChargingMoment============================== -->
		<!-- =====ChargingMoment unique========================== -->
		<xsd:unique name="ChargingMoment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ChargingMoment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ChargingMoment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ChargingMoment Key ========================== -->
		<xsd:keyref name="ChargingMoment_KeyRef" refer="netex:ChargingMoment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ChargingMomentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ChargingMoment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ChargingMoment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====CappingRule============================== -->
		<!-- =====CappingRule unique========================== -->
		<xsd:unique name="CappingRule_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [CappingRule Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CappingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CappingRule Key ========================== -->
		<xsd:keyref name="CappingRule_KeyRef" refer="netex:CappingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CappingRuleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CappingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CappingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ClassOfUse============================== -->
		<!-- =====ClassOfUse unique========================== -->
		<xsd:unique name="ClassOfUse_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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 |  .//netex:ToClassOfUseRef "/>
			<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>
		<!-- =====Tariff============================== -->
		<!-- =====Tariff unique========================== -->
		<xsd:unique name="Tariff_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Tariff Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Tariff"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Tariff Key ========================== -->
		<xsd:keyref name="Tariff_KeyRef" refer="netex:Tariff_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TariffRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Tariff_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Tariff"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfTariff============================== -->
		<xsd:keyref name="TypeOfTariff_AnyKeyRef" refer="netex:TypeOfTariff_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfTariffRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfTariff_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfTariff"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareStructure============================== -->
		<!-- =====FareStructure unique========================== -->
		<xsd:unique name="FareStructure_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [FareElementInSequence Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareElementInSequence "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="FareElementInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareElementInSequence "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====AccessRightInProduct============================== -->
		<!-- =====AccessRightInProduct unique========================== -->
		<xsd:unique name="AccessRightInProduct_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [AccessRightInProduct Id + Version +order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:AccessRightInProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="AccessRightInProduct_AnyVersionedKey">
			<xsd:selector xpath=".//netex:AccessRightInProduct "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====ValidableElement============================== -->
		<!-- =====ValidableElement unique========================== -->
		<xsd:unique name="ValidableElement_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====ControllableElement============================== -->
		<!-- =====ControllableElement unique========================== -->
		<xsd:unique name="ControllableElement_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ControllableElement Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ControllableElement "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ControllableElement Key ========================== -->
		<xsd:keyref name="ControllableElement_KeyRef" refer="netex:ControllableElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControllableElementRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ControllableElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControllableElement "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ControllableElementInSequence============================== -->
		<!-- =====ControllableElementInSequence unique========================== -->
		<xsd:unique name="ControllableElementInSequence_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [ControllableElementInSequence Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ControllableElementInSequence "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====ControllableElementInSequence Key ========================== -->
		<xsd:keyref name="ControllableElementInSequence_KeyRef" refer="netex:ControllableElementInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControllableElementInSequenceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="ControllableElementInSequence_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ControllableElementInSequence "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====PriceUnit============================== -->
		<!-- =====PriceUnit unique========================== -->
		<xsd:unique name="PriceUnit_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====PricingRule============================== -->
		<!-- =====PricingRule unique========================== -->
		<xsd:unique name="PricingRule_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PricingRule Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PricingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PricingRule Key ========================== -->
		<xsd:keyref name="PricingRule_KeyRef" refer="netex:PricingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PricingRuleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PricingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PricingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DiscountingRule============================== -->
		<!-- =====DiscountingRule unique========================== -->
		<xsd:unique name="DiscountingRule_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [DiscountingRule Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DiscountingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DiscountingRule Key ========================== -->
		<xsd:keyref name="DiscountingRule_KeyRef" refer="netex:DiscountingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DiscountingRuleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DiscountingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DiscountingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====LimitingRule============================== -->
		<!-- =====LimitingRule unique========================== -->
		<xsd:unique name="LimitingRule_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [LimitingRule Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LimitingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====LimitingRule Key ========================== -->
		<xsd:keyref name="LimitingRule_KeyRef" refer="netex:LimitingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LimitingRuleRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="LimitingRule_AnyVersionedKey">
			<xsd:selector xpath=".//netex:LimitingRule"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FarePrice============================== -->
		<!-- =====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 |   .//netex:FareProductPrice| .//netex:CappingRulePrice | .//netex:UsageParameterPrice|.//netex:FareStructureElementPrice |.//netex:ValidableElementPrice| .//netex:ControllableElementPrice | .//netex:DistanceMatrixElementPrice | .//netex:SeriesConstraintPrice |  .//netex:GeographicalIntervalPrice | .//netex:TimeIntervalPrice | .//netex:SalesPackagePrice  | .//netex:FulfilmentMethodPrice  | .//netex:QualityStructureFactorPrice  | .//netex:ParkingPrice  | .//netex:ParkingTaxRate"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareStructureElementPrice============================== -->
		<!-- ===== FareStructureElementPrice unique========================== -->
		<xsd:unique name="FareStructureElementPrice">
			<xsd:annotation>
				<xsd:documentation>Every [FareStructureElementPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareStructureElementPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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>
		<!-- =====CappingRulePrice============================== -->
		<!-- ===== CappingRulePrice unique========================== -->
		<xsd:unique name="CappingRulePrice">
			<xsd:annotation>
				<xsd:documentation>Every [CappingRulePrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CappingRulePrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====CappingRulePrice Key ========================== -->
		<xsd:keyref name="CappingRulePrice_KeyRef" refer="netex:CappingRulePrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CappingRulePriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CappingRulePrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CappingRulePrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====UsageParameterPrice============================== -->
		<!-- ===== UsageParameterPrice unique========================== -->
		<xsd:unique name="UsageParameterPrice">
			<xsd:annotation>
				<xsd:documentation>Every [UsageParameterPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:UsageParameterPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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 unique========================== -->
		<xsd:unique name="DistanceMatrixElementPrice">
			<xsd:annotation>
				<xsd:documentation>Every [DistanceMatrixElementPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DistanceMatrixElementPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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>
		<!-- =====SeriesConstraintPrice============================== -->
		<!-- ===== SeriesConstraintPrice unique========================== -->
		<xsd:unique name="SeriesConstraintPrice">
			<xsd:annotation>
				<xsd:documentation>Every [SeriesConstraintPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SeriesConstraintPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SeriesConstraintPrice Key ========================== -->
		<xsd:keyref name="SeriesConstraintPrice_KeyRef" refer="netex:SeriesConstraintPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SeriesConstraintPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SeriesConstraintPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SeriesConstraintPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ValidableElementPrice============================== -->
		<!-- ===== ValidableElementPrice unique========================== -->
		<xsd:unique name="ValidableElementPrice">
			<xsd:annotation>
				<xsd:documentation>Every [ValidableElementPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ValidableElementPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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>
		<!-- =====TimeIntervalPrice============================== -->
		<!-- ===== TimeIntervalPrice unique========================== -->
		<xsd:unique name="TimeIntervalPrice">
			<xsd:annotation>
				<xsd:documentation>Every [TimeIntervalPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeIntervalPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeIntervalPrice Key ========================== -->
		<xsd:keyref name="TimeIntervalPrice_KeyRef" refer="netex:TimeIntervalPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeIntervalPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeIntervalPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeIntervalPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TimeUnitPrice============================== -->
		<!-- ===== TimeUnitPrice unique========================== -->
		<xsd:unique name="TimeUnitPrice">
			<xsd:annotation>
				<xsd:documentation>Every [TimeUnitPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TimeUnitPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TimeUnitPrice Key ========================== -->
		<xsd:keyref name="TimeUnitPrice_KeyRef" refer="netex:TimeUnitPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeUnitPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TimeUnitPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TimeUnitPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalIntervalPrice============================== -->
		<!-- ===== GeographicalUnitPrice unique========================== -->
		<xsd:unique name="GeographicalUnitPrice">
			<xsd:annotation>
				<xsd:documentation>Every [GeographicalUnitPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GeographicalUnitPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GeographicalIntervalPrice Key ========================== -->
		<xsd:keyref name="GeographicalIntervalPrice_KeyRef" refer="netex:GeographicalIntervalPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalIntervalPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeographicalIntervalPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalIntervalPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalUnitPrice Key ========================== -->
		<xsd:keyref name="GeographicalUnitPrice_KeyRef" refer="netex:GeographicalUnitPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalUnitPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GeographicalUnitPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GeographicalUnitPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ControllableElementPrice============================== -->
		<!-- ===== ControllableElementPrice unique========================== -->
		<xsd:unique name="ControllableElementPrice">
			<xsd:annotation>
				<xsd:documentation>Every [ControllableElementPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ControllableElementPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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 unique========================== -->
		<xsd:unique name="SalesPackagePrice">
			<xsd:annotation>
				<xsd:documentation>Every [SalesPackagePrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesPackagePrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====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>
		<!-- =====QualityStructureFactorPrice============================== -->
		<!-- ===== QualityStructureFactorPrice unique========================== -->
		<xsd:unique name="QualityStructureFactorPrice">
			<xsd:annotation>
				<xsd:documentation>Every [QualityStructureFactorPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:QualityStructureFactorPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====QualityStructureFactorPrice Key ========================== -->
		<xsd:keyref name="QualityStructureFactorPrice_KeyRef" refer="netex:QualityStructureFactorPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QualityStructureFactorPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="QualityStructureFactorPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:QualityStructureFactorPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FulfilmentMethodPrice============================== -->
		<!-- ===== FulfilmentMethodPrice unique========================== -->
		<xsd:unique name="FulfilmentMethodPrice">
			<xsd:annotation>
				<xsd:documentation>Every [FulfilmentMethodPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FulfilmentMethodPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FulfilmentMethodPrice Key ========================== -->
		<xsd:keyref name="FulfilmentMethodPrice_KeyRef" refer="netex:FulfilmentMethodPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FulfilmentMethodPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FulfilmentMethodPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FulfilmentMethodPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingPrice============================== -->
		<!-- ===== ParkingPrice unique========================== -->
		<xsd:unique name="ParkingPrice">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingPrice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingPrice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingPrice Key ========================== -->
		<xsd:keyref name="ParkingPrice_KeyRef" refer="netex:ParkingPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingPriceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingPrice_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingPrice "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====ParkingTaxRate============================== -->
		<!-- ===== ParkingTaxRate unique========================== -->
		<xsd:unique name="ParkingTaxRate">
			<xsd:annotation>
				<xsd:documentation>Every [ParkingTaxRate Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ParkingTaxRate"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====ParkingTaxRate Key ========================== -->
		<xsd:keyref name="ParkingTaxRate_KeyRef" refer="netex:ParkingTaxRate_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingTaxRateRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ParkingTaxRate_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ParkingTaxRate "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PriceGroup============================== -->
		<!-- =====PriceGroup unique========================== -->
		<xsd:unique name="PriceGroup_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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  | .//netex:FareTable | .//netex:StandardFareTable"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FareTable============================== -->
		<!-- =====FareTable unique========================== -->
		<xsd:unique name="FareTable_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [FareTable Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareTable"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareTable Key ========================== -->
		<xsd:keyref name="FareTable_KeyRef" refer="netex:FareTable_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareTableRef | .//netex:StandardFareTableRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareTable_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareTable | .//netex:StandardFareTable"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Cell============================== -->
		<!-- =====Cell unique========================== -->
		<xsd:unique name="Cell_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [Cell Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Cell"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====Cell Key ========================== -->
		<xsd:keyref name="Cell_KeyRef" refer="netex:Cell_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CellRef | .//netex:StandardCellRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="Cell_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Cell | .//netex:StandardCell"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====DistanceMatrixElement============================== -->
		<!-- =====DistanceMatrixElement unique========================== -->
		<xsd:unique name="DistanceMatrixElement_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====GroupOfDistanceMatrixElements============================== -->
		<!-- =====GroupOfDistanceMatrixElements unique========================== -->
		<xsd:unique name="GroupOfDistanceMatrixElements_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GroupOfDistanceMatrixElements Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfDistanceMatrixElements"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfDistanceMatrixElements Key ========================== -->
		<xsd:keyref name="GroupOfDistanceMatrixElements_KeyRef" refer="netex:GroupOfDistanceMatrixElements_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfDistanceMatrixElementsRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfDistanceMatrixElements_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfDistanceMatrixElements"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SeriesConstraint============================== -->
		<!-- =====SeriesConstraint unique========================== -->
		<xsd:unique name="SeriesConstraint_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [SeriesConstraint Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SeriesConstraint"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====SeriesConstraint Key ========================== -->
		<xsd:keyref name="SeriesConstraint_KeyRef" refer="netex:SeriesConstraint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SeriesConstraintRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="SeriesConstraint_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SeriesConstraint  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====FareSection============================== -->
		<!-- =====FareSection unique========================== -->
		<xsd:unique name="FareSection_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [FareSection Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareSection"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareSection Key ========================== -->
		<xsd:keyref name="FareSection_KeyRef" refer="netex:FareSection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareSectionRef | .//netex:FromFareSectionRef | .//netex:ToFareSectionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareSection_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareSection  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FarePointInPattern============================== -->
		<!-- =====FarePointInPattern unique========================== -->
		<xsd:unique name="FarePointInPattern_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [FarePointInPattern Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FarePointInPattern"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====FarePointInPattern Key ========================== -->
		<xsd:keyref name="FarePointInPattern_KeyRef" refer="netex:FarePointInPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FarePointInPatternRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="FarePointInPattern_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FarePointInPattern  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====FareZone============================== -->
		<!-- =====FareZone unique========================== -->
		<xsd:unique name="FareZone_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [FareZone Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareZone"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareZone Key ========================== -->
		<xsd:keyref name="FareZone_KeyRef" refer="netex:FareZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareZoneRef | .//netex:FromFareZoneRef | .//netex:ToFareZoneRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareZone_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareZone  "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalUnit============================== -->
		<!-- =====GeographicalUnit unique========================== -->
		<xsd:unique name="GeographicalUnit_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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============================== -->
		<!-- ===ChargingPolicy Key ========================== -->
		<!-- =====ChargingPolicy unique========================== -->
		<xsd:unique name="ChargingPolicy_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [ChargingPolicy Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:ChargingPolicy"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="ChargingPolicy_KeyRef" refer="netex:ChargingPolicy_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:ChargingPolicyRef  | .//netex:BaseChargingPolicyRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="ChargingPolicy_AnyVersionedKey">
			<xsd:selector xpath=".//netex:ChargingPolicy"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- === PenaltyPolicy Key ========================== -->
		<!-- =====PenaltyPolicy unique========================== -->
		<xsd:unique name="PenaltyPolicy">
			<xsd:annotation>
				<xsd:documentation>Every [PenaltyPolicy Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PenaltyPolicy"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="PenaltyPolicy_KeyRef" refer="netex:PenaltyPolicy_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:PenaltyPolicyRef  | .//netex:BasePenaltyPolicyRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PenaltyPolicy_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PenaltyPolicy"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== CommercialProfile Key ========================== -->
		<!-- =====CommercialProfile unique========================== -->
		<xsd:unique name="CommercialProfile">
			<xsd:annotation>
				<xsd:documentation>Every [CommercialProfile Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CommercialProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="CommercialProfile_KeyRef" refer="netex:CommercialProfile_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:CommercialProfileRef  | .//netex:BaseCommercialProfileRef "/>
			<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>
		<!-- ==== CompanionProfile Key ========================== -->
		<!-- =====CompanionProfile unique========================== -->
		<xsd:unique name="CompanionProfile">
			<xsd:annotation>
				<xsd:documentation>Every [CompanionProfile Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:CompanionProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="CompanionProfile_KeyRef" refer="netex:CompanionProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompanionProfileRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="CompanionProfile_AnyVersionedKey">
			<xsd:selector xpath=".//netex:CompanionProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== EntitlementRequired Key ========================== -->
		<!-- =====EntitlementRequired unique========================== -->
		<xsd:unique name="EntitlementRequired">
			<xsd:annotation>
				<xsd:documentation>Every [EntitlementRequired Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EntitlementRequired"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="EntitlementRequired_KeyRef" refer="netex:EntitlementRequired_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:EntitlementRequiredRef   "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EntitlementRequired_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntitlementRequired"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== EntitlementGiven Key ========================== -->
		<!-- ===== EntitlementGiven unique========================== -->
		<xsd:unique name="EntitlementGiven">
			<xsd:annotation>
				<xsd:documentation>Every [EntitlementGiven Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:EntitlementGiven"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="EntitlementGiven_KeyRef" refer="netex:EntitlementGiven_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:EntitlementGivenRef   "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="EntitlementGiven_AnyVersionedKey">
			<xsd:selector xpath=".//netex:EntitlementGiven"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== Exchanging Key ========================== -->
		<!-- ===== Exchanging unique========================== -->
		<xsd:unique name="Exchanging">
			<xsd:annotation>
				<xsd:documentation>Every [Exchanging Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Exchanging"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="Exchanging_KeyRef" refer="netex:Exchanging_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:ExchangingRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Exchanging_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Exchanging"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== FrequencyOfUse Key ========================== -->
		<!-- ===== FrequencyOfUse unique========================== -->
		<xsd:unique name="FrequencyOfUse">
			<xsd:annotation>
				<xsd:documentation>Every [FrequencyOfUse Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FrequencyOfUse"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<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>
		<!-- ===== GroupTicket Key ========================== -->
		<!-- ===== GroupTicket unique========================== -->
		<xsd:unique name="GroupTicket">
			<xsd:annotation>
				<xsd:documentation>Every [GroupTicket Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupTicket"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<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>
		<!-- ===== Interchanging Key ========================== -->
		<!-- ===== Interchanging unique========================== -->
		<xsd:unique name="Interchanging">
			<xsd:annotation>
				<xsd:documentation>Every [Interchanging Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Interchanging"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="Interchanging_KeyRef" refer="netex:Interchanging_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:InterchangingRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Interchanging_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Interchanging"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== LuggageAllowance Key ========================== -->
		<!-- ===== LuggageAllowance unique========================== -->
		<xsd:unique name="LuggageAllowance">
			<xsd:annotation>
				<xsd:documentation>Every [LuggageAllowance Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:LuggageAllowance"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<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>
		<!-- ===== MinimumStay Key ========================== -->
		<!-- ===== MinimumStay unique========================== -->
		<xsd:unique name="MinimumStay">
			<xsd:annotation>
				<xsd:documentation>Every [MinimumStay Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:MinimumStay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="MinimumStay_KeyRef" refer="netex:MinimumStay_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:MinimumStayRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="MinimumStay_AnyVersionedKey">
			<xsd:selector xpath=".//netex:MinimumStay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== Refunding Key ========================== -->
		<!-- ===== Refunding unique========================== -->
		<xsd:unique name="Refunding">
			<xsd:annotation>
				<xsd:documentation>Every [Refunding Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:MinimumStay"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="Refunding_KeyRef" refer="netex:Refunding_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:RefundingRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Refunding_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Refunding"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== Replacing Key ========================== -->
		<!-- ===== Replacing unique========================== -->
		<xsd:unique name="Replacing">
			<xsd:annotation>
				<xsd:documentation>Every [Replacing Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Replacing"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="Replacing_KeyRef" refer="netex:Replacing_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:ReplacingRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Replacing_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Replacing"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== Reserving Key ========================== -->
		<!-- ===== Reserving unique========================== -->
		<xsd:unique name="Reserving">
			<xsd:annotation>
				<xsd:documentation>Every [Reserving Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Reserving"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="Reserving_KeyRef" refer="netex:Reserving_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:ReservingRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Reserving_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Reserving"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== RoundTrip Key ========================== -->
		<!-- ===== RoundTrip unique========================== -->
		<xsd:unique name="RoundTrip">
			<xsd:annotation>
				<xsd:documentation>Every [RoundTrip Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RoundTrip"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="RoundTrip_KeyRef" refer="netex:RoundTrip_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:RoundTripRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="RoundTrip_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoundTrip"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== PurchaseWindow Key ========================== -->
		<!-- ===== PurchaseWindow unique========================== -->
		<xsd:unique name="PurchaseWindow">
			<xsd:annotation>
				<xsd:documentation>Every [PurchaseWindow Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PurchaseWindow"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="PurchaseWindow_KeyRef" refer="netex:PurchaseWindow_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:PurchaseWindowRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PurchaseWindow_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PurchaseWindow"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== Routing Key ========================== -->
		<!-- ===== Routing unique========================== -->
		<xsd:unique name="Routing">
			<xsd:annotation>
				<xsd:documentation>Every [Routing Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Routing"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="Routing_KeyRef" refer="netex:Routing_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:RoutingRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Routing_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Routing"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====StepLimit Key ==========================	-->
		<!-- ===== StepLimit unique========================== -->
		<xsd:unique name="StepLimit">
			<xsd:annotation>
				<xsd:documentation>Every [StepLimit Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:StepLimit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="StepLimit_KeyRef" refer="netex:StepLimit_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:StepLimitRef "/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="StepLimit_AnyVersionedKey">
			<xsd:selector xpath=".//netex:StepLimit"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- ===== Transferability Key ========================== -->
		<!-- ===== Transferability unique========================== -->
		<xsd:unique name="Transferability">
			<xsd:annotation>
				<xsd:documentation>Every [Transferability Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Transferability"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<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>
		<!-- ===== UsageValidityPeriod Key ========================== -->
		<!-- ===== RouUsageValidityPeriodting unique========================== -->
		<xsd:unique name="UsageValidityPeriod">
			<xsd:annotation>
				<xsd:documentation>Every [UsageValidityPeriod Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:UsageValidityPeriod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<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>
		<!-- ===== UserProfile Key ========================== -->
		<!-- ===== UserProfile unique========================== -->
		<xsd:unique name="UserProfile">
			<xsd:annotation>
				<xsd:documentation>Every [UserProfile Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:UserProfile"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<xsd:keyref name="UserProfile_KeyRef" refer="netex:UserProfile_AnyVersionedKey">
			<xsd:selector xpath=" .//netex:UserProfileRef | .//netex:BaseUserProfileRef "/>
			<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>
		<!-- =====TypeOfUsageParameter============================== -->
		<!-- =====TypeOfUsageParameter unique========================== -->
		<xsd:unique name="TypeOfUsageParameter_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfUsageParameter Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfUsageParameter"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfUsageParameter Key ========================== -->
		<xsd:keyref name="TypeOfUsageParameter_KeyRef" refer="netex:TypeOfUsageParameter_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfUsageParameterRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfUsageParameter_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfUsageParameter"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfConcession============================== -->
		<!-- =====TypeOfConcession unique========================== -->
		<xsd:unique name="TypeOfConcession_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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============================== -->
		<!-- =====GenericParameterAssignment============================== -->
		<!-- =====GenericParameterAssignment unique========================== -->
		<xsd:unique name="GenericParameterAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [GenericParameterAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GenericParameterAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====GenericParameterAssignment Key ========================== -->
		<xsd:keyref name="GenericParameterAssignment_KeyRef" refer="netex:GenericParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GenericParameterAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="GenericParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GenericParameterAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====SpecificParameterAssignment============================== -->
		<!-- =====SpecificParameterAssignment unique========================== -->
		<xsd:unique name="SpecificParameterAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [SpecificParameterAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SpecificParameterAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====SpecificParameterAssignment Key ========================== -->
		<xsd:keyref name="SpecificParameterAssignment_KeyRef" refer="netex:SpecificParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SpecificParameterAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="SpecificParameterAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SpecificParameterAssignment "/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TypeOfAccessRightAssignment============================== -->
		<!-- =====TypeOfAccessRightAssignment unique========================== -->
		<xsd:unique name="TypeOfAccessRightAssignment_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfAccessRightAssignment Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfAccessRightAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfAccessRightAssignment Key ========================== -->
		<xsd:keyref name="TypeOfAccessRightAssignment_KeyRef" refer="netex:TypeOfAccessRightAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfAccessRightAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfAccessRightAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfAccessRightAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GeographicalStructureFactor============================== -->
		<!-- =====GeographicalStructureFactor unique========================== -->
		<xsd:unique name="GeographicalStructureFactor_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====FareDemandFactor============================== -->
		<!-- =====FareDemandFactor unique========================== -->
		<xsd:unique name="FareDemandFactor_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [FareDemandFactor Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FareDemandFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FareDemandFactor Key ========================== -->
		<xsd:keyref name="FareDemandFactor_KeyRef" refer="netex:FareDemandFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareDemandFactorRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FareDemandFactor_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FareDemandFactor"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====FulfilmentMethod============================== -->
		<!-- =====FulfilmentMethod unique========================== -->
		<xsd:unique name="FulfilmentMethod_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [FulfilmentMethod Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:FulfilmentMethod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====FulfilmentMethod Key ========================== -->
		<xsd:keyref name="FulfilmentMethod_KeyRef" refer="netex:FulfilmentMethod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FulfilmentMethodRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="FulfilmentMethod_AnyVersionedKey">
			<xsd:selector xpath=".//netex:FulfilmentMethod"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DistributionChannel============================== -->
		<!-- =====DistributionChannel unique========================== -->
		<xsd:unique name="DistributionChannel_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [DistributionChannel Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DistributionChannel"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====DistributionChannel Key ========================== -->
		<xsd:keyref name="DistributionChannel_KeyRef" refer="netex:DistributionChannel_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistributionChannelRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="DistributionChannel_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistributionChannel"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====GroupOfDistributionChannels============================== -->
		<!-- =====GroupOfDistributionChannels unique========================== -->
		<xsd:unique name="GroupOfDistributionChannels_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GroupOfDistributionChannels Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfDistributionChannels"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfDistributionChannels Key ========================== -->
		<xsd:keyref name="GroupOfDistributionChannels_KeyRef" refer="netex:GroupOfDistributionChannels_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfDistributionChannelsRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfDistributionChannels_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfDistributionChannels"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====DistributionAssignment============================== -->
		<!-- =====DistributionAssignment unique========================== -->
		<xsd:unique name="DistributionAssignment_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [DistributionAssignment Id + Version + order] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:DistributionAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====DistributionAssignment Key ========================== -->
		<xsd:keyref name="DistributionAssignment_KeyRef" refer="netex:DistributionAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistributionAssignmentRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="DistributionAssignment_AnyVersionedKey">
			<xsd:selector xpath=".//netex:DistributionAssignment"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TravelDocument============================== -->
		<!-- =====TravelDocument unique========================== -->
		<xsd:unique name="TravelDocument_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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>
		<!-- =====GroupOfSalesPackages============================== -->
		<!-- =====GroupOfSalesPackages unique========================== -->
		<xsd:unique name="GroupOfSalesPackages_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [GroupOfSalesPackages Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:GroupOfSalesPackages"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====GroupOfSalesPackages Key ========================== -->
		<xsd:keyref name="GroupOfSalesPackages_KeyRef" refer="netex:GroupOfSalesPackages_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfSalesPackagesRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="GroupOfSalesPackages_AnyVersionedKey">
			<xsd:selector xpath=".//netex:GroupOfSalesPackages"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesPackage============================== -->
		<!-- =====SalesPackage unique========================== -->
		<xsd:unique name="SalesPackage_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>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   | .//netex:WithSalesPackageRef"/>
			<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_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>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:field xpath="@order"/>
		</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:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="SalesPackageElement_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackageElement"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TypeOfSalesPackage============================== -->
		<!-- =====TypeOfSalesPackage unique========================== -->
		<xsd:unique name="TypeOfSalesPackage_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfSalesPackage Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfSalesPackage"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfSalesPackage Key ========================== -->
		<xsd:keyref name="TypeOfSalesPackage_KeyRef" refer="netex:TypeOfSalesPackage_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfSalesPackageRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfSalesPackage_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfSalesPackage"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesPackageSubstitution============================== -->
		<!-- =====SalesPackageSubstitution unique========================== -->
		<xsd:unique name="SalesPackageSubstitution_UniqueBy_Id_Version_Order">
			<xsd:annotation>
				<xsd:documentation>Every [SalesPackageSubstitution Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesPackageSubstitution"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:unique>
		<!-- =====SalesPackageSubstitution Key ========================== -->
		<xsd:keyref name="SalesPackageSubstitution_KeyRef" refer="netex:SalesPackageSubstitution_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackageSubstitutionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:keyref>
		<xsd:key name="SalesPackageSubstitution_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesPackageSubstitution"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
			<xsd:field xpath="@order"/>
		</xsd:key>
		<!-- =====TravelSpecification============================== -->
		<!-- =====TravelSpecification unique========================== -->
		<xsd:unique name="TravelSpecification_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TravelSpecification Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TravelSpecification"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TravelSpecification Key ========================== -->
		<xsd:keyref name="TravelSpecification_KeyRef" refer="netex:TravelSpecification_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelSpecificationRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TravelSpecification_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TravelSpecification"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====SalesTransaction============================== -->
		<!-- =====SalesTransaction unique========================== -->
		<xsd:unique name="SalesTransaction_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [SalesTransaction Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:SalesTransaction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====SalesTransaction Key ========================== -->
		<xsd:keyref name="SalesTransaction_KeyRef" refer="netex:SalesTransaction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesTransactionRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="SalesTransaction_AnyVersionedKey">
			<xsd:selector xpath=".//netex:SalesTransaction"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPassengerContract============================== -->
		<!-- =====TypeOfPassengerContract unique========================== -->
		<xsd:unique name="TypeOfPassengerContract_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfPassengerContract Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfPassengerContract"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfPassengerContract Key ========================== -->
		<xsd:keyref name="TypeOfPassengerContract_KeyRef" refer="netex:TypeOfPassengerContract_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPassengerContractRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfPassengerContract_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPassengerContract"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfPassengerContractEvent============================== -->
		<!-- =====TypeOfPassengerContractEvent unique========================== -->
		<xsd:unique name="TypeOfPassengerContractEvent_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfPassengerContractEvent Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfPassengerContractEvent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfPassengerContractEvent Key ========================== -->
		<xsd:keyref name="TypeOfPassengerContractEvent_KeyRef" refer="netex:TypeOfPassengerContractEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPassengerContractEventRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="TypeOfPassengerContractEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfPassengerContractEvent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Contract============================== -->
		<!-- =====Contract unique========================== -->
		<xsd:unique name="PassengerContract_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Contract Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PassengerContract"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Contract Key ========================== -->
		<xsd:keyref name="PassengerContract_KeyRef" refer="netex:PassengerContract_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerContractRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerContract_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerContract"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Contract============================== -->
		<!-- =====Contract unique========================== -->
		<xsd:unique name="PassengerContractEvent_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Contract Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PassengerContractEvent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Contract Key ========================== -->
		<xsd:keyref name="PassengerContractEvent_KeyRef" refer="netex:PassengerContractEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerContractEventRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerContractEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PassengerContractEvent"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Blacklist============================== -->
		<!-- =====Blacklist unique========================== -->
		<xsd:unique name="Blacklist_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Blacklist Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Blacklist"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Blacklist Key ========================== -->
		<xsd:keyref name="Blacklist_KeyRef" refer="netex:Blacklist_AnyVersionedKey">
			<xsd:selector xpath=".//netex:BlacklistRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Blacklist_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Blacklist"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RetailConsortium============================== -->
		<!-- =====RetailConsortium unique========================== -->
		<xsd:unique name="PassengerRetailConsortiumEvent_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RetailConsortium Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RetailConsortium"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RetailConsortium Key ========================== -->
		<xsd:keyref name="PassengerRetailConsortiumEvent_KeyRef" refer="netex:PassengerRetailConsortiumEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RetailConsortiumRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerRetailConsortiumEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RetailConsortium"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====RetailDevice============================== -->
		<!-- =====RetailDevice unique========================== -->
		<xsd:unique name="PassengerRetailDeviceEvent_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [RetailDevice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:RetailDevice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====RetailDevice Key ========================== -->
		<xsd:keyref name="PassengerRetailDeviceEvent_KeyRef" refer="netex:PassengerRetailDeviceEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RetailDeviceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerRetailDeviceEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RetailDevice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====TypeOfRetailDevice============================== -->
		<!-- =====TypeOfRetailDevice unique========================== -->
		<xsd:unique name="PassengerTypeOfRetailDeviceEvent_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [TypeOfRetailDevice Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:TypeOfRetailDevice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====TypeOfRetailDevice Key ========================== -->
		<xsd:keyref name="PassengerTypeOfRetailDeviceEvent_KeyRef" refer="netex:PassengerTypeOfRetailDeviceEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfRetailDeviceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PassengerTypeOfRetailDeviceEvent_AnyVersionedKey">
			<xsd:selector xpath=".//netex:TypeOfRetailDevice"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====Rounding============================== -->
		<!-- =====Rounding unique========================== -->
		<xsd:unique name="Rounding_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [Rounding Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:Rounding"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====Rounding Key ========================== -->
		<xsd:keyref name="Rounding_KeyRef" refer="netex:Rounding_AnyVersionedKey">
			<xsd:selector xpath=".//netex:RoundingRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="Rounding_AnyVersionedKey">
			<xsd:selector xpath=".//netex:Rounding"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:key>
		<!-- =====PricingService============================== -->
		<!-- =====PricingService unique========================== -->
		<xsd:unique name="PricingService_UniqueBy_Id_Version">
			<xsd:annotation>
				<xsd:documentation>Every [PricingService Id + Version] must be unique within document.</xsd:documentation>
			</xsd:annotation>
			<xsd:selector xpath=".//netex:PricingService"/>
			<xsd:field xpath="@id"/>
			<xsd:field xpath="@version"/>
		</xsd:unique>
		<!-- =====PricingService Key ========================== -->
		<xsd:keyref name="PricingService_KeyRef" refer="netex:PricingService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PricingServiceRef"/>
			<xsd:field xpath="@ref"/>
			<xsd:field xpath="@version"/>
		</xsd:keyref>
		<xsd:key name="PricingService_AnyVersionedKey">
			<xsd:selector xpath=".//netex:PricingService"/>
			<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" default="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="MultilingualString" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Description of contents.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:group>
	<!--== Requests ===================================================================== -->
</xsd:schema>
