<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.netex.org.uk/netex" xmlns:netex="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.2.2" id="netex_siteConnection_version">
	<xsd:include schemaLocation="netex_siteConnection_support.xsd"/>
	<xsd:include schemaLocation="../part1_ifopt/netex_ifopt_pointOfInterest_support.xsd"/>
	<xsd:include schemaLocation="../part1_ifopt/netex_ifopt_parking_support.xsd"/>
	<xsd:include schemaLocation="../part1_ifopt/netex_ifopt_stopPlace_support.xsd"/>
	<xsd:include schemaLocation="../part1_ifopt/netex_ifopt_navigationPath_version.xsd"/>
	<!-- ======================================================================= -->
	<xsd:annotation>
		<xsd:appinfo>
			<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
				<Aggregation>main schema</Aggregation>
				<Audience>e-service developers</Audience>
				<Contributor>V1.0 Christophe Duquesne</Contributor>
				<Contributor>Nicholas Knowles</Contributor>
				<Coverage>Europe</Coverage>
				<Creator>First drafted for NeTEx version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles.</Creator>
				<Date>
					<Created>2010-09-04</Created>
				</Date>
				<Date><Modified>2011-02-05</Modified> Name Space changes
				</Date>
				<Date><Modified>2020-10-05</Modified> New modes  
					 Allow selfDrive and TAxi modes for component mode 
					 Change OperatorRef to be wider TransportOrganisationRef
				</Date>
				<Date><Modified>2020-12-10</Modified> New modes  
					 Allow meetingPointRef 
				</Date>
				<Description>
					<p>NeTEx is a European CEN standard for the exchange of Public Transport data including timetables.</p>
					<p>This sub-schema describes the SITE CONNECTION types.</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_part_1/part1_tacticalPlanning}netex_siteConnection_version.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/PATH/netex_prereqfile.xsd</Requires>
				</Relation>
				<Rights>Unclassified
 <Copyright>CEN, Crown Copyright 2009-2020</Copyright>
				</Rights>
				<Source>
					<ul>
						<li>Derived from the Transmodel, VDV, TransXChange, NEPTUNE, BISON and Trident standards.</li>
					</ul>
				</Source>
				<Status>Version 1.0</Status>
				<Subject>
					<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport, Airports,
Ports and maritime transport, Ferries (marine),
Public transport, Bus services, Coach services, Bus stops and stations,
Rail transport, Railway stations and track, Train services, Underground trains,
Business and industry, Transport, Air transport , Ports and maritime transport, Public transport,
Rail transport, Roads and Road transport
</Category>
					<Project>CEN TC278 WG3 SG9.</Project>
				</Subject>
				<Title>NeTEx SITE CONNECTION types.</Title>
				<Type>Standard</Type>
			</Metadata>
		</xsd:appinfo>
		<xsd:documentation>neTEX: SITE CONNECTION types.</xsd:documentation>
	</xsd:annotation>
	<!-- ======================================================================= -->
	<xsd:element name="SiteConnection" substitutionGroup="Transfer">
		<xsd:annotation>
			<xsd:documentation> The physical (spatial) possibility to connect from one point to another in a SITE.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:restriction base="SiteConnection_VersionStructure">
					<xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="EntityInVersionGroup" minOccurs="0"/>
						</xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="DataManagedObjectGroup"/>
						</xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="TransferGroup"/>
						</xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="SiteConnectionGroup"/>
						</xsd:sequence>
					</xsd:sequence>
					<xsd:attribute name="id" type="SiteConnectionIdType" use="required"/>
				</xsd:restriction>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="SiteConnection_VersionStructure">
		<xsd:annotation>
			<xsd:documentation>Type for a SITE CONNECTION.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="Transfer_VersionStructure">
				<xsd:sequence>
					<xsd:group ref="SiteConnectionGroup"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:group name="SiteConnectionGroup">
		<xsd:annotation>
			<xsd:documentation>Elements for a SITE CONNECTION.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="From" type="SiteConnectionEndStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Origin end of SITE CONNECTION.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="To" type="SiteConnectionEndStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Destination end of SITE CONNECTION.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="navigationPaths" type="navigationPaths_RelStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>NAVIGATION PATHs between SITEs.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:group>
	<xsd:complexType name="SiteConnectionEndStructure">
		<xsd:annotation>
			<xsd:documentation>Type for a SITE CONNECTION End.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="TransportMode" type="AllPublicTransportModesEnumeration" default="all" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>PT MODE of end point of TRANSFER . Default is all modes, i.e. all modes of referenced stop place and or stop point.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="StopAreaRef" type="StopAreaRefStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Identifier of a Place at end point of transfer.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:choice>
				<xsd:element name="ScheduledStopPointRef" type="ScheduledStopPointRefStructure" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>Specific SCHEDULED STOP POINT at end of CONNECTION.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="VehicleMeetingPointRef" type="PointRefStructure" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>VEHICLE MEETING POINT at END OF CONENCTION. +V1.2.2. NB This is typed only to POINT to avoid forward dependency</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			<xsd:choice minOccurs="0">
				<xsd:group ref="StopPlaceEndGroup"/>
				<xsd:group ref="PointOfInterestEndGroup"/>
				<xsd:group ref="ParkingEndGroup"/>
			</xsd:choice>
			<xsd:choice>
				<xsd:element ref="TransportOrganisationRef" minOccurs="0"/>
				<xsd:element ref="OperatorView" minOccurs="0"/>
			</xsd:choice>
			<xsd:element name="Label" type="MultilingualString" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Label at end of site connection.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:group name="StopPlaceEndGroup">
		<xsd:annotation>
			<xsd:documentation>Elements for identifying a STOP PLACE at the end of a SITE CONNECTION.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="StopPlaceRef"/>
			<xsd:choice minOccurs="0">
				<xsd:element ref="AccessSpaceRef"/>
				<xsd:element ref="BoardingPositionRef"/>
				<xsd:element ref="QuayRef"/>
			</xsd:choice>
			<xsd:element ref="StopPlaceEntranceRef" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<xsd:group name="ParkingEndGroup">
		<xsd:annotation>
			<xsd:documentation>Elements for identifying a PARKING at the end of a SITE CONNECTION.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="ParkingRef"/>
			<xsd:element ref="ParkingAreaRef" minOccurs="0"/>
			<xsd:element ref="ParkingEntranceRef" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<xsd:group name="PointOfInterestEndGroup">
		<xsd:annotation>
			<xsd:documentation>Elements for identifying a POI at the end of a SITE CONNECTION.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="PointOfInterestRef"/>
			<xsd:element ref="PointOfInterestSpaceRef" minOccurs="0"/>
			<xsd:element ref="PointOfInterestEntranceRef" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<!-- ======================================================================= -->
	<xsd:element name="DefaultConnection" substitutionGroup="Transfer">
		<xsd:annotation>
			<xsd:documentation>Specifies the default transfer times to transfer between MODEs and / or OPERATORs within a region.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:restriction base="DefaultConnection_VersionStructure">
					<xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="EntityInVersionGroup" minOccurs="0"/>
						</xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="DataManagedObjectGroup"/>
						</xsd:sequence>
						<xsd:sequence>
							<xsd:group ref="TransferGroup"/>
						</xsd:sequence>
						<xsd:group ref="DefaultConnectionGroup"/>
					</xsd:sequence>
					<xsd:attribute name="id" type="DefaultConnectionIdType" use="required"/>
				</xsd:restriction>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="DefaultConnection_VersionStructure">
		<xsd:annotation>
			<xsd:documentation>Type for DEFAULT TRANSFER.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="Transfer_VersionStructure">
				<xsd:group ref="DefaultConnectionGroup">
					<xsd:annotation>
						<xsd:documentation>Elements of regional TRANSFER defaults.</xsd:documentation>
					</xsd:annotation>
				</xsd:group>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:group name="DefaultConnectionGroup">
		<xsd:annotation>
			<xsd:documentation>Elements for a DEFAULT TRANSFER.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="From" type="DefaultConnectionEndStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Origin end of DEFAULT TRANSFER.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="To" type="DefaultConnectionEndStructure" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Destination end of DEFAULT TRANSFER.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="TopographicPlaceView" minOccurs="0"/>
			<xsd:element ref="StopAreaRef" minOccurs="0"/>
			<xsd:element ref="SiteElementRef" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<xsd:complexType name="DefaultConnectionEndStructure">
		<xsd:annotation>
			<xsd:documentation>Type for a DEFAULT TRANSFER.</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="TransportMode" type="AllPublicTransportModesEnumeration" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Identifier of PT MODE of end point of TRANSFER.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="OperatorView" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ======================================================================= -->
</xsd:schema>
