Example

FX-PI-01_UK_MB_NETWORK_FARE_Metrorider-pass_basic_20170101.xml

standards/fxc/FX-PI-01_UK_MB_NETWORK_FARE_Metrorider-pass_basic_20170101.xml

Element names link to their declarations.

<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== Metrobus Metrodider ==== -->
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
	<!-- Metrobus Metrorider products Example

This example shows the encoding of a passes for a zonal fare system , using the Metrobus Metrovoyager & Metrorider products

This is a stripped down and simplifed version of the full Metrorider example. 
    Complex cross conditions have been dropped so that all options are availabls for all zones

http://assets.goaheadbus.com/media/cms_page_media/3111/FARES%20CHART%20FOR%20WEB%20Jan%202017%20Proof%203.pdf
 
Data is (C) Metrobus 

(C) Crown Copyright2018, 2020
Free to use under a Creative Commons license.
 
v1.01 Corrections, add price refs to transactions
v1.02 2020.04.03 Corrections, correct Column & Row References
v1.04 2020.04 17 Add UsageValidityPeriod
==================================
OVERVIEW OF PRODUCT OFFERINGS

A. Metrobus Offerings

1. Metro bus offers two type of repeated use ticket 
		(a) Zonal passes for varying periods; 1 month, 3 mpnth 1 year
				60m, 1day, 2 day, 3 day, 7 day,  

1.1. Zones 
		There are three Metrorider subzones

 Crawley; Horsham; Reigate and Redhill

1.2. Ticket materialisations

 are there different TYPES OF TRAVEL DOCUMENT; paper ticket ("cash") , mobile app (m-ticket) and a smart card (teh key)

1.3. There are different time intervals avalaible, depending on materialisation 
 60 min, evening, 1 day; 2 day; 3 day; 7 day (1 week) ; 28 day (4 week) , 91 day (13weeks) , 1 year 
 
1.4. User eligibility
	There are separate prices for
 
 User Profiles: Adult; Child; Student; (Also disabled & Concessions)

 Group tickets: Duo (2 adults) ; Family; 

1.5. Various notes and conditions attach to different elements

1.6. Prices 
 
1.6.1 Not all combinations of parameters are allowed (See full exam-pel for how to encode complex crss conditions)

1.6.2 Prices for zonal passes 

______	______	______	|	Cash	Cash	Cash	|	m-ticket	m-ticket	m-ticket	m-ticket	|	the key	the key	the key	|
______	______	______	|	Adult	Child	Family	|	Adult	Child	Family	Duo		|	Adult	Child	Student	|
Metrorider				|							|									|								|
60 min	:	60	minutes	|	xxxxx	xxxxx	xxxxx	|	£2.20	£1.10	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
1 day	:	1	day		|	£4.90	£2.70	£9.00	|	£4.20	£2.35	£9.00	£7.90	|	£4.20		£2.35		£3.15	|
2 day	:	2	day		|	xxxxx	xxxxx	xxxxx	|	£7.90	£4.45	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
3 day	:	3	day		|	xxxxx	xxxxx	xxxxx	|	£11.50	£6.45	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
1 week	:	7	day		|	£20.00	£11.00	xxxxx	|	£18.00	£9.75	xxxxx	xxxxx	|	£18.00		£9.75		£13.50	|
4 week	:	28	day		|	xxxxx	xxxxx	xxxxx	|	£59.00	£32.50	xxxxx	xxxxx	|	£59.00		£32.50		£44.25	|
13 week	:	91	day		|	xxxxx	xxxxx	xxxxx	|	xxxxx	xxxxx	xxxxx	xxxxx	|	£154.00	£79.00		£115.50	|
Annual	:	1	year	|	xxxxx	xxxxx	xxxxx	|	xxxxx	xxxxx	xxxxx	xxxxx	|	£520.00	£290.00	£390.00	|
Evening	:	1	day		|	£4.00	xxxxx	xxxxx	|	£3.70	xxxxx	xxxxx	xxxxx	|	£3.70		xxxxx		xxxxx	|
______	______	_____	|	______	______	______	______	______	______	________	|	______	______	______	| 
 
  
24.01.17 Metrobus Ltd, Wheatstone Close, Crawley, West Sussex, RH10 9UA. Tel: 01293 449191


========================================================================================================
B. IMPLEMENTATION

::::::::: 
We can represent this as

1.1 FARE ZONES for each ZONE

1.2 TARIFFs (One for metrorider, one for metrovoiyager) 

1.2.1 TIME INTERVALS for each duration 

1.2.2 FARE STRUCTURE ELEMENTS for the available 
			access zones
			eligibilities
			groups of 
			durations (as ntervals) 
			conditions of travel

1.2.2 USAGE PARAMETERs (USER PROFILE or GROUP TICKET) for each of the eligible groups
 
1.2.3 Fare products
 1 PREASSIGNED FARE PRODUCTs for the one zone Metrorider product 

1.2.4 Sales Packages
 1 SALES OFFER PACKAGE for the one zone Metrorider product limited to a zone,, with TYPE OF DOCUMENT on  SALES ELEMENT (cash))
 2 SALES OFFER PACKAGE for the one zone Metrorider product limited to Metrorider, with TYPE OF DOCUMENT on  SALES ELEMENTs ( app,  ))
 3 SALES OFFER PACKAGE for the one zone Metrorider product limited to Metrorider, with TYPE OF DOCUMENT on  SALES ELEMENT ( smartcard)) 

1.3 TYPES OF TRAVEL DOCUMENT; paper ticket ("cash") , mobile app (m-ticket) and a smart card (teh key)
 

1.4 FARE TABLE of prices for allowed combinations 
::::::::::::::
  

==================================
-->
	<PublicationTimestamp>2017-12-17T09:30:47.0Z</PublicationTimestamp>
	<ParticipantRef>SYS001</ParticipantRef>
	<!-- ======WHAT WAS REQUESTED ========== -->
	<PublicationRequest version="1.0">
		<RequestTimestamp>2017-12-17T09:30:46.0Z</RequestTimestamp>
		<ParticipantRef>SYS002</ParticipantRef>
		<Description>Request for Metrobus   pass fares</Description>
		<topics>
			<NetworkFrameTopic>
				<selectionValidityConditions>
					<AvailabilityCondition version="any" id="r1">
						<FromDate>2017-01-01T00:00:00Z</FromDate>
					</AvailabilityCondition>
				</selectionValidityConditions>
				<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK_FARE_OFFER:FXCP"/>
				<NetworkFilterByValue>
					<objectReferences>
						<OperatorRef version="1.0" ref="noc:METR"/>
						<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@pass@period"/>
						<PreassignedFareProductRef version="1.0" ref="mb:Pass@Metrorider"/>
					</objectReferences>
				</NetworkFilterByValue>
			</NetworkFrameTopic>
		</topics>
		<RequestPolicy>
			<RequestDetail>AllWithXref</RequestDetail>
		</RequestPolicy>
	</PublicationRequest>
	<PublicationRefreshInterval>P1M</PublicationRefreshInterval>
	<Description>Example of simple zonal pass fares.</Description>
	<!-- =============== RESULTS =========== -->
	<dataObjects>
		<CompositeFrame version="1.0" id="epd:UK:Metrobus:CompositeFrame_UK_PI_NETWORK_FARE_OFFER:Pass@Metrorider:mb" dataSourceRef="mb:metrobus" responsibilitySetRef="mb:tariffs">
			<ValidBetween>
				<FromDate>2017-01-01T00:00:00</FromDate>
				<ToDate>2020-12-31T12:00:00</ToDate>
			</ValidBetween>
			<Name>Metrorider - Fares Example</Name>
			<Description>This is an example showing how one might encode part of the Metrorider fare table for a zonal pass of different durations  in NeTEx.</Description>
			<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK_FARE_OFFER:FXCP"/>
			<!--==== CODESPACEs ==== -->
			<codespaces>
				<CodespaceRef ref="epd_data"/>
				<CodespaceRef ref="fxc_metadata"/>
				<CodespaceRef ref="naptStop_data"/>
				<CodespaceRef ref="nptgLocality_data"/>
				<CodespaceRef ref="noc_data"/>
				<CodespaceRef ref="mb_data"/>
			</codespaces>
			<!--==== FRAME DEFAULTS ==== -->
			<FrameDefaults>
				<!--- The default means that actually we could leave off all ids that belong to the mb: namespace. -->
				<DefaultCodespaceRef ref="mb_data"/>
				<DefaultDataSourceRef version="1.0" ref="mb:metrobus"/>
				<DefaultResponsibilitySetRef version="1.0" ref="mb:tariffs"/>
				<DefaultCurrency>GBP</DefaultCurrency>
			</FrameDefaults>
			<prerequisites>
				<CompositeFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc"/>
			</prerequisites>
			<frames>
				<!-- Operator -->
				<ResourceFrame version="1.0" id="epd:UK:Metrobus:ResourceFrame_UK_PI_COMMON:Metrobus:mb" dataSourceRef="mb:metrobus" responsibilitySetRef="mb:network_data">
					<Name>Operator specific common resources</Name>
					<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_COMMON:FXCP" version="fxc:v1.0"/>
					<codespaces>
						<Codespace id="mb_data">
							<Xmlns>mb</Xmlns>
							<XmlnsUrl>http://www.metrobus.co.uk/</XmlnsUrl>
							<Description>Metrobus data.</Description>
						</Codespace>
					</codespaces>
					<FrameDefaults>
						<!--- The default means that actually we could leave off all id s that belong to the mb: namespace. -->
						<DefaultCodespaceRef ref="mb_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="mb:network_data"/>
						<DefaultCurrency>GBP</DefaultCurrency>
					</FrameDefaults>
					<dataSources>
						<DataSource id="mb:metrobus" version="1.0">
							<Email>feedback@metrobus.co.uk</Email>
						</DataSource>
					</dataSources>
					<!-- ========Responsibility Sets========== -->
					<responsibilitySets>
						<ResponsibilitySet version="1.0" id="mb:tariffs">
							<Name>Operator tariff data</Name>
							<roles>
								<ResponsibilityRoleAssignment version="1.0" id="mb:tariff_data@creates">
									<DataRoleType>creates</DataRoleType>
									<StakeholderRoleType>fareManagement</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="noc:METR" version="1.0">METR</ResponsibleOrganisationRef>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
						<ResponsibilitySet version="1.0" id="mb:network_data">
							<Name>Operator Network data</Name>
							<roles>
								<ResponsibilityRoleAssignment version="1.0" id="mb:network_data@creates">
									<DataRoleType>creates</DataRoleType>
									<StakeholderRoleType>planning</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="noc:METR" version="1.0">METR</ResponsibleOrganisationRef>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
					</responsibilitySets>
					<typesOfValue>
						<ValueSet version="1.0" id="mb:Branding" classOfValues="Branding">
							<Name>Operator Branding</Name>
							<values>
								<Branding version="1.0" id="mb:Metrobus@brand">
									<Name>Metrobus</Name>
									<Url>https://www.metrobus.co.uk/static/images/colorways/metrobus/logo.png</Url>
								</Branding>
							</values>
						</ValueSet>
						<ValueSet version="1.0" id="mb:TypeOfTravelDocument" nameOfClass="TypeOfTravelDocument">
							<values>
								<!--- ==== ClassOfUse========= -->
								<TypeOfTravelDocument version="1.0" id="mb:cash-ticket">
									<Name>Bought on the bus with Cash</Name>
									<Description>Paper ticket.</Description>
									<Url>https://www.metrobus.co.uk/cash-fares-detail/</Url>
									<IsSmartCard>false</IsSmartCard>
									<MediaType>paperTicket</MediaType>
								</TypeOfTravelDocument>
								<TypeOfTravelDocument version="1.0" id="mb:m-ticket">
									<Name>Stored on your mobile phone as m-tickets</Name>
									<Url>https://www.metrobus.co.uk/mobile-ticket-introduction/</Url>
									<IsSmartCard>false</IsSmartCard>
									<MediaType>mobileApp</MediaType>
								</TypeOfTravelDocument>
								<TypeOfTravelDocument version="1.0" id="mb:the-key">
									<Name>loaded on opur smart card the key</Name>
									<IsSmartCard>true</IsSmartCard>
									<MediaType>smartCard</MediaType>
									<MachineReadable>nfc</MachineReadable>
								</TypeOfTravelDocument>
							</values>
						</ValueSet>
					</typesOfValue>
					<organisations>
						<!--==== Operators ==== -->
						<Operator version="1.0" id="noc:METR">
							<privateCodes>
								<PrivateCode type="nocn">nocn:137122</PrivateCode>
							</privateCodes>
							<PublicCode>METR</PublicCode>
							<Name>Metrobus</Name>
							<ShortName>Metrobus</ShortName>
							<TradingName>Metrobus Ltd</TradingName>
							<ContactDetails>
								<Phone>01293 449191</Phone>
							</ContactDetails>
							<OrganisationType>operator</OrganisationType>
							<Address>
								<Street>Wheatstone Close</Street>
								<Town>Crawley</Town>
								<PostCode>RH10 9UA</PostCode>
								<PostalRegion>West Sussex</PostalRegion>
							</Address>
							<PrimaryMode>bus</PrimaryMode>
						</Operator>
					</organisations>
				</ResourceFrame>
				<!--==== FAREs ==== -->
				<!-- Metrobus Pass  products -->
				<FareFrame version="1.0" id="epd:UK:Metrobus:FareFrame_UK_PI_FARE_NETWORK:Metrorider@pass:mb" responsibilitySetRef="mb:network_data">
					<Name>Metrorider &amp; M  network </Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_NETWORK:FXCP"/>
					<FrameDefaults>
						<DefaultResponsibilitySetRef version="1.0" ref="mb:network_data"/>
					</FrameDefaults>
					<prerequisites>
						<ResourceFrameRef version="1.0" ref="epd:UK:Metrobus:ResourceFrame_UK_PI_COMMON:Metrobus:mb"/>
					</prerequisites>
					<!--==== Fare zones === NB These are just a guess from the map s -->
					<fareZones>
						<FareZone version="1.0" id="mb:metrorider@Crawley">
							<Name>Crawley</Name>
							<Description>Crawley Metrorider zone.</Description>
							<members>
								<ScheduledStopPointRef ref="naptStop:4400CY0037">Brettingham Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0038">Neptune Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0039">Mercury Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0040">Sullivan Drive, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0042">Bewbush Roundabout, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0073">Dorsten Square</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0023">Colwyn Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0025">Ellman Road, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0047">Henshaw Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0037">Brettingham Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0038">Neptune Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0039">Mercury Close, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0040">Sullivan Drive, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0042">Bewbush Roundabout, Bewbush</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0050">Gossops Green Shops, Gossops Green</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0053">Craigans, Gossops Green</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0054">Overdene Drive, Gossops Green</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0119">The Mardens, Ifield</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0330">Ambulance Station, West Green (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0334">The Apple Tree, West Green (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0336">Crawley Hospital, West Green (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0338">Smalls Lane, Crawley (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0339">Orchard Street, Crawley (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0305">Broadway,Crawley (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0292">Bus Station, rawley (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0514">Arora Hotel, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0127">Southgate Avenue, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0083">Southgate Parade, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0081">Barrington Road, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0032">Wensleydale, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0034">Downland Place, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0036">Clayton Hill, Southgate (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0077">Cheals Roundabout, Gossops Green</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0124">Broadfield Drive, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0109">Sandringham Road, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0110">Seymour Schools, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0113">Trefoil Crescent, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0090">Pelham Drive, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0092">Creasys Drive North, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0277">Creasys Drive West, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0275">Creasys Drive South, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0448">Creasys Drive East,Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0099">Bishopstone Walk, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400CY0102">William Morris Way, Broadfield (WSusx)</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400HR0501">Parish Lane, Pease Pottage</ScheduledStopPointRef>
								<ScheduledStopPointRef ref="naptStop:4400HR0500">The Black Swan, Pease Pottage</ScheduledStopPointRef>
								<!--- etc etc -->
							</members>
							<types>
								<TypeOfZoneRef ref="fxc:fare_zone@operator" version="fxc:v1.0"/>
							</types>
							<projections>
								<TopographicProjectionRef ref="nptgLocality:E0057699">Crawley</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026638">Gossops Green</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026633">Bewbush</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026644">Tilgate</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026807">Pease Pottage</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0080543">Kilnwood Vale</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077376">Broadfield</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077379">Southgate</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077377">Ifield</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026640">Ifield Green</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026641">Lowfield Heath</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026642">Pound Hill</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026643">Three Bridges</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0051790">Horley</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0061432">Manor Royal</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077380">Furnace Green</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077381">Langley Green</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077384">County Oak</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077385">Northgate</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0077386">Maidenbower</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0051782">Charlwood</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026775">Copthorne</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026647">West Green</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025475">Hookwood</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0061431">Gatwick Airport</TopographicProjectionRef>
								<!-- MORE TO DO -->
							</projections>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="mb:metrorider@Horsham">
							<Name>Horsham</Name>
							<Description>Horsham Metrorider zone.</Description>
							<!--<members>
														TODO	which stops are in zone - or project to spatial area.	 or TOPOGRAPHIC PLACE
							</members> etc etc -->
							<types>
								<TypeOfZoneRef ref="fxc:fare_zone@operator" version="fxc:v1.0"/>
							</types>
							<projections>
								<TopographicProjectionRef ref="nptgLocality:E0056833">Horsham</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0052179">Warnham</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0052157">Broadbridge Heath</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0052173">Southwater</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026708">Littlehaven</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026723">Oakhill</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:N0076889">Roffey</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0026745">The Common</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0052164">North Heath</TopographicProjectionRef>
							</projections>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="mb:metrorider@RedhillAndReigate">
							<Name>Redhill &amp; Reigate</Name>
							<Description>Redhill and Reigate Metrorider zone.</Description>
							<!--<members>
														TODO		ADD STOPS IN ZONE	 						
							</members> etc etc -->
							<types>
								<TypeOfZoneRef ref="fxc:fare_zone@operator" version="fxc:v1.0"/>
							</types>
							<projections>
								<TopographicProjectionRef ref="nptgLocality:E0035386">Redhill</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025564">Reigate</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025555">Merstham</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025568">South Merstham</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025565">Salfords</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025569">South Park</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025576">Whitebushes</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025532">Earlswood</TopographicProjectionRef>
								<TopographicProjectionRef ref="nptgLocality:E0025578">Woodhatch</TopographicProjectionRef>
							</projections>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
					</fareZones>
				</FareFrame>
				<FareFrame version="1.0" id="epd:UK:Metrobus:FareFrame_UK_PI_FARE_PRODUCT:Metrorider@pass:mb" responsibilitySetRef="mb:tariffs">
					<Name>Metrorider &amp; Metrovoyager fare products and  </Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="mb_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="mb:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:Metrobus:FareFrame_UK_PI_FARE_NETWORK:Metrorider@pass:mb"/>
					</prerequisites>
					<!--====Tariff Structure ==== -->
					<tariffs>
						<Tariff version="1.0" id="mb:Tariff@Metrorider">
							<validityConditions>
								<ValidBetween>
									<FromDate>2017-01-01T00:00:00Z</FromDate>
									<ToDate>2018-01-01T00:00:00Z</ToDate>
								</ValidBetween>
							</validityConditions>
							<Name>Metrorider - Tariff</Name>
							<Description>Metro rider single zone tariff.</Description>
							<documentLinks>
								<InfoLink typeOfInfoLink="fareSheet">http://assets.goaheadbus.com/media/cms_page_media/3111/FARES%20CHART%20FOR%20WEB%20Jan%202017%20Proof%203.pdf</InfoLink>
							</documentLinks>
							<OperatorRef version="1.0" ref="noc:METR">noc:137122</OperatorRef>
							<TypeOfTariffRef version="fxc:v1.0" ref="fxc:zonal"/>
							<!--- ====Fare Structure======= -->
							<geographicalIntervals>
								<GeographicalInterval version="1.0" id="mb:Tariff@Metrorider@1zone">
									<Name>Travel in one zone</Name>
									<NumberOfUnits>1</NumberOfUnits>
									<IntervalType>tariffZone</IntervalType>
								</GeographicalInterval>
							</geographicalIntervals>
							<timeIntervals>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@60minutes">
									<Name>60 minute</Name>
									<Duration>PT1H</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@1day">
									<Name>1 day</Name>
									<StartTime>00:00:00</StartTime>
									<EndTime>23:59:59</EndTime>
									<Duration>P1D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@2day">
									<Name>2 day, consecutive</Name>
									<StartTime>00:00:00</StartTime>
									<EndTime>23:59:59</EndTime>
									<DayOffset>1</DayOffset>
									<Duration>P2D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@3day">
									<Name>3 day, consecutive</Name>
									<StartTime>00:00:00</StartTime>
									<EndTime>23:59:59</EndTime>
									<DayOffset>2</DayOffset>
									<Duration>P3D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@1week">
									<Name>1 week</Name>
									<Duration>P7D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@4week">
									<Name>4 week</Name>
									<Duration>P28D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@13week">
									<Name>13 week</Name>
									<Duration>P91D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@1year">
									<Name>Annual</Name>
									<Duration>P1Y</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="mb:Tariff@Metrorider@evening">
									<Name>Evening</Name>
									<StartTime>18:00:00Z</StartTime>
									<EndTime>02:00:00Z</EndTime>
									<DayOffset>1</DayOffset>
								</TimeInterval>
							</timeIntervals>
							<!-- ==FARE STRUCTURE ELEMENTS -->
							<fareStructureElements>
								<FareStructureElement version="1.0" id="mb:Tariff@Metrorider@access_zones">
									<Name>Availablel zones</Name>
									<Description>single zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:access"/>
									<GenericParameterAssignment id="mb:Tariff@Metrorider@access_zones" version="1.0" order="1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access"/>
										<ValidityParameterGroupingType>XOR</ValidityParameterGroupingType>
										<validityParameters>
											<FareZoneRef version="1.0" ref="mb:metrorider@Crawley"/>
											<FareZoneRef version="1.0" ref="mb:metrorider@Horsham"/>
											<FareZoneRef version="1.0" ref="mb:metrorider@RedhillAndReigate"/>
										</validityParameters>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="mb:Tariff@Metrorider@eligibility">
									<Name>Eligible user types</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:eligibility"/>
									<GenericParameterAssignment order="1" id="mb:Tariff@Metrorider@eligibility" version="1.0">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<!--- ===ELIGIBILITY USAGE PARAMETERS ========= -->
											<UserProfile version="1.0" id="mb:adult">
												<Name>Adult</Name>
												<prices>
													<UsageParameterPrice version="1.0" id="mb:adult">
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:none"/>
											</UserProfile>
											<UserProfile version="1.0" id="mb:child">
												<Name>Child</Name>
												<Description>5-13 year olds are normally charged half adult fare on singles and returns. Discounts are available on Metrorider and Metrovoyager ticktes. 14 &amp; 15 year olds may travel at child rate on any Metrobus service, if one of the advertised proofs of age is supplied.</Description>
												<prices>
													<UsageParameterPrice version="1.0" id="mb:child">
														<UsageParameterPriceRef version="1.0" ref="mb:adult"/>
														<DiscountingRuleRef version="1.0" ref="mb:half_price"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
												<MinimumAge>6</MinimumAge>
												<MaximumAge>15</MaximumAge>
											</UserProfile>
											<UserProfile version="1.0" id="mb:student">
												<Name>Student</Name>
												<prices>
													<UsageParameterPrice version="1.0" id="mb:student">
														<UsageParameterPriceRef version="1.0" ref="mb:adult"/>
														<DiscountingRuleRef version="1.0" ref="mb:half_price"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:student"/>
												<ProofRequired>membershipCard</ProofRequired>
											</UserProfile>
											<UserProfile version="1.0" id="mb:registered_disabled">
												<Name>Disabled</Name>
												<prices>
													<UsageParameterPrice version="1.0" id="mb:registered_disabled">
														<UsageParameterPriceRef version="1.0" ref="mb:adult"/>
														<DiscountingRuleRef version="1.0" ref="mb:free"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:registered_disabled"/>
												<ProofRequired>membershipCard</ProofRequired>
											</UserProfile>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="mb:Tariff@Metrorider@groups">
									<Name>Available group tickets</Name>
									<Description>Family ticket only for 1 day, cash or m-ticket.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:groups"/>
									<GenericParameterAssignment id="mb:Tariff@Metrorider@groups" version="1.0" order="1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<GroupTicket version="1.0" id="mb:family">
												<Name>Family</Name>
												<Description>Up to 5 people. Minimum of 1 adult &amp; maximum of 2 adults.</Description>
												<MaximumNumberOfPersons>5</MaximumNumberOfPersons>
												<companionProfiles>
													<CompanionProfile version="1.0" id="mb:family@adult">
														<UserProfileRef version="1.0" ref="mb:adult"/>
														<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
														<MaximumNumberOfPersons>2</MaximumNumberOfPersons>
													</CompanionProfile>
													<CompanionProfile version="1.0" id="mb:family@child">
														<UserProfileRef version="1.0" ref="mb:child"/>
														<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
														<MaximumNumberOfPersons>4</MaximumNumberOfPersons>
													</CompanionProfile>
												</companionProfiles>
											</GroupTicket>
											<GroupTicket version="1.0" id="mb:duo">
												<Name>Duo</Name>
												<Description>2 adults.</Description>
												<MaximumNumberOfPersons>2</MaximumNumberOfPersons>
												<companionProfiles>
													<CompanionProfile version="1.0" id="mb:family@duo">
														<UserProfileRef version="1.0" ref="mb:adult"/>
														<MinimumNumberOfPersons>2</MinimumNumberOfPersons>
														<MaximumNumberOfPersons>2</MaximumNumberOfPersons>
													</CompanionProfile>
												</companionProfiles>
											</GroupTicket>
										</limitations>
										<ValidityParameterGroupingType>XOR</ValidityParameterGroupingType>
										<validityParameters>
											<TypeOfTravelDocumentRef version="1.0" ref="mb:cash-ticket"/>
											<TypeOfTravelDocumentRef version="1.0" ref="mb:m-ticket"/>
										</validityParameters>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
									</GenericParameterAssignment>
								</FareStructureElement>
								<!-- allowed combinations of durations -->
								<FareStructureElement version="1.0" id="mb:Tariff@Metrorider@durations">
									<Name>Available duration combination- </Name>
									<Description>All periods allowed, 60 mins, but no evening - used in for some mticket, single metrorider zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:durations"/>
									<timeIntervals>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@2day"/>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@3day"/>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@13week"/>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@evening"/>
									</timeIntervals>
								</FareStructureElement>
								<FareStructureElement id="mb:Tariff@Metrorider@conditions_of_travel" version="1.0">
									<Name>Conditions of travel</Name>
									<GenericParameterAssignment version="1.0" order="1" id="mb:Tariff@Metrorider@conditions_of_travel">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<UsageValidityPeriod version="1.0" id="op:Tariff@FirstPass@validity">
												<Name>User can choose start and end</Name>
												<UsageTrigger>specifiedStartDate</UsageTrigger>
												<UsageEnd>productExpiry</UsageEnd>
												<ActivationMeans>automaticByTime</ActivationMeans>
												<UsageStartConstraintType>variable</UsageStartConstraintType>
											</UsageValidityPeriod>
											<Transferability version="1.0" id="mb:Pass@Metrorider@transferability">
												<Name>Ticket is not transferable</Name>
												<CanTransfer>false</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="mb:Pass@Metrorider@frequency">
												<FrequencyOfUseType>unlimited</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="mb:Pass@Metrorider@interchanging">
												<CanInterchange>true</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
							</fareStructureElements>
						</Tariff>
					</tariffs>
					<!--==== Fare Usage Parameters ==== -->
					<!--==== Fare Product ==== -->
					<fareProducts>
						<!--==== Other Products ==== -->
						<PreassignedFareProduct version="1.0" id="mb:Pass@Metrorider">
							<Name>Metrorider Pass</Name>
							<!-- Metrorider Pass
									https://www.metrobus.co.uk/adult-crawley-metrorider-key-card-prices/
e.g. Crawley
							Adult fares on the key
							
								1 day: £4.20								
								1 week: £18								
								4 weeks: £59								
								13 weeks: £154							
								Annual: £520								
								Evening: £3.70
							
			
______	______	______	______	|	Cash	Cash	Cash	|	m-ticket	m-ticket	m-ticket	m-ticket	|	the key	the key	the key	|
______	______	______	______	|	Adult	Child	Family	|	Adult	Child	Family	Duo	|	Adult	Child	Student	|
Metrorider				|				|					|				|
60 min	:	60	minutes	|	xxxxx	xxxxx	xxxxx	|	£2.20	£1.10	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
1 day	:	1	day				|	£4.90	£2.70	£9.00	|	£4.20	£2.35	£9.00	£7.90	|	£4.20		£2.35		£3.15	|
2 day	:	2	day				|	xxxxx	xxxxx	xxxxx	|	£7.90	£4.45	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
3 day	:	3	day				|	xxxxx	xxxxx	xxxxx	|	£11.50	£6.45	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
1 week	:	7	day				|	£20.00	£11.00	xxxxx	|	£18.00	£9.75	xxxxx	xxxxx	|	£18.00		£9.75		£13.50	|
4 week	:	28	day			|	xxxxx	xxxxx	xxxxx	|	£59.00	£32.50	xxxxx	xxxxx	|	£59.00		£32.50		£44.25	|
13 week	:	91	day		|	xxxxx	xxxxx	xxxxx	|	xxxxx	xxxxx	xxxxx	xxxxx	|	£154.00	£79.00		£115.50	|
Annual	:	1	year				|	xxxxx	xxxxx	xxxxx	|	xxxxx	xxxxx	xxxxx	xxxxx	|	£520.00	£290.00	£390.00	|
Evening	:	1	day				|	£4.00	xxxxx	xxxxx	|	£3.70	xxxxx	xxxxx	xxxxx	|	£3.70		xxxxx		xxxxx	|  
______	______	______	_	|	______	______	______	______	______	______	________	|	______	______	______	| 

-->
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@pass@period"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:METR">noc:137122</OperatorRef>
							<validableElements>
								<ValidableElement version="1.0" id="mb:Pass@Metrorider@travel">
									<Name>Unlimited rides available for specifed periods</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="mb:Tariff@Metrorider@access_zones"/>
										<FareStructureElementRef version="1.0" ref="mb:Tariff@Metrorider@eligibility"/>
										<FareStructureElementRef version="1.0" ref="mb:Tariff@Metrorider@durations"/>
										<FareStructureElementRef version="1.0" ref="mb:Tariff@Metrorider@conditions_of_travel"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="mb:Pass@Metrorider@travel" order="1">
									<ValidableElementRef version="1.0" ref="mb:Pass@Metrorider@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>periodPass</ProductType>
						</PreassignedFareProduct>
					</fareProducts>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<SalesOfferPackage version="1.0" id="mb:Metrorider-SOP@p-ticket">
							<BrandingRef version="1.0" ref="mb:Metrobus@brand"/>
							<Name>Crawley Metrorider - paper ticket</Name>
							<Description>Unlimited Travel in the Crawley Metrorider area. Student and evening Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="mb:Pass@Metrorider-GSOP@p-ticket@on_board" order="1">
									<Name>Onboard</Name>
									<Description>Pay for ticket onboard.</Description>
									<DistributionChannelRef version="fxc:v1.0" ref="fxc:on_board"/>
									<PaymentMethods>cash contactlessPaymentCard contactlessTravelCard</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:collect_on_board" version="fxc:v1.0"/>
								</DistributionAssignment>
								<DistributionAssignment version="1.0" id="mb:Pass@Metrorider-GSOP@p-ticket@online_post" order="1">
									<Name>By Post</Name>
									<Description>Preorder online and collect at stop machine.</Description>
									<DistributionChannelRef ref="fxc:online" version="fxc:v1.0"/>
									<PaymentMethods>cash debitCard creditCard cheque</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:post" version="fxc:v1.0"/>
								</DistributionAssignment>
								<DistributionAssignment version="1.0" id="mb:Pass@Metrorider-GSOP@p-ticket@travel_shop" order="1">
									<Name>Travel shop</Name>
									<Description>Buy in travel shop.</Description>
									<DistributionChannelRef ref="fxc:operator_travel_shop" version="fxc:v1.0"/>
									<FulfilmentMethodRef ref="fxc:collect_at_counter" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="mb:Metrorider-SOP@p-ticket" order="3">
									<TypeOfTravelDocumentRef version="1.0" ref="mb:the-key"/>
									<PreassignedFareProductRef version="1.0" ref="mb:Pass@Metrorider"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
						<SalesOfferPackage version="1.0" id="mb:Metrorider-SOP@m-ticket">
							<BrandingRef version="1.0" ref="mb:Metrobus@brand"/>
							<Name>Crawley Metrorider - mobile app</Name>
							<Description>Unlimited Travel in the Crawley Metrorider area. Student and evening Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="mb:Pass@Metrorider-GSOP@m-ticket@mobile_app" order="1">
									<Name>Mobile app</Name>
									<Description>Pay for pass online with mobile app.</Description>
									<DistributionChannelRef version="fxc:v1.0" ref="fxc:online"/>
									<PaymentMethods>debitCard creditCard mobilePhone</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:mobile_app" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="mb:Metrorider-SOP@m-ticket" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="mb:m-ticket"/>
									<PreassignedFareProductRef version="1.0" ref="mb:Pass@Metrorider"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
						<SalesOfferPackage version="1.0" id="mb:Metrorider-SOP@smartcard">
							<BrandingRef version="1.0" ref="mb:Metrobus@brand"/>
							<Name>Crawley Metrorider - smartcard</Name>
							<Description>Unlimited Travel in the Crawley Metrorider area. Student and evening Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="mb:Pass@Metrorider-GSOP@smartcard@online" order="1">
									<Name>Online</Name>
									<Description>Order pass online and update online.</Description>
									<DistributionChannelRef version="fxc:v1.0" ref="fxc:online"/>
									<PaymentMethods>cash debitCard creditCard cheque mobilePhone</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:online_propagation" version="fxc:v1.0"/>
								</DistributionAssignment>
								<DistributionAssignment version="1.0" id="mb:Pass@Metrorider-GSOP@smartcard@travel_shop" order="1">
									<Name>Travel shop</Name>
									<Description>Pay for pass on  at travelshop.</Description>
									<DistributionChannelRef ref="fxc:operator_travel_shop" version="fxc:v1.0"/>
									<PaymentMethods>cash debitCard creditCard cheque mobilePhone</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:collect_at_counter" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="mb:Metrorider-SOP@smartcard" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="mb:the-key"/>
									<PreassignedFareProductRef version="1.0" ref="mb:Pass@Metrorider"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
					</salesOfferPackages>
					<!-- === GroupOf SALES OFFER PACKAGES === -->
				</FareFrame>
				<FarePriceFrame version="1.0" id="epd:UK:Metrobus:FareFrame_UK_PI_FARE_PRICE:Metrorider@pass:mb" responsibilitySetRef="mb:tariffs">
					<Name>Metrorider prices</Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRICE:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="mb_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="mb:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:Metrobus:FareFrame_UK_PI_FARE_PRODUCT:Metrorider@pass:mb"/>
					</prerequisites>
					<!--==== Pricing Parameters ====-->
					<PricingParameterSet version="1.0" id="mb:Pass@Metrorider">
						<pricingRules>
							<DiscountingRule version="1.0" id="mb:half_price">
								<Name>Discount for child fares&gt;</Name>
								<DiscountAsPercentage>50</DiscountAsPercentage>
							</DiscountingRule>
							<DiscountingRule version="1.0" id="mb:free">
								<DiscountAsPercentage>100</DiscountAsPercentage>
							</DiscountingRule>
						</pricingRules>
					</PricingParameterSet>
					<fareTables>
						<FareTable version="1.0" id="mb:Pass@metrorider">
							<Name>metrorider Fares</Name>
							<!---
			
_____	______	______	______	|	Cash	Cash	Cash	|	m-ticket	m-ticket	m-ticket	m-ticket	|	the key	the key	the key	|
______	______	______	______	|	Adult	Child	Family	|	Adult	Child	Family	Duo	|	Adult	Child	Student	|
Metrorider				|				|					|				|
60 min	:	60	minutes	|	xxxxx	xxxxx	xxxxx	|	£2.20	£1.10	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
1 day	:	1	day				|	£4.90	£2.70	£9.00	|	£4.20	£2.35	£9.00	£7.90	|	£4.20		£2.35		£3.15	|
2 day	:	2	day				|	xxxxx	xxxxx	xxxxx	|	£7.90	£4.45	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
3 day	:	3	day				|	xxxxx	xxxxx	xxxxx	|	£11.50	£6.45	xxxxx	xxxxx	|	xxxxx		xxxxx		xxxxx	|
1 week	:	7	day				|	£20.00	£11.00	xxxxx	|	£18.00	£9.75	xxxxx	xxxxx	|	£18.00		£9.75		£13.50	|
4 week	:	28	day			|	xxxxx	xxxxx	xxxxx	|	£59.00	£32.50	xxxxx	xxxxx	|	£59.00		£32.50		£44.25	|
13 week	:	91	day		|	xxxxx	xxxxx	xxxxx	|	xxxxx	xxxxx	xxxxx	xxxxx	|	£154.00	£79.00		£115.50	|
Annual	:	1	year				|	xxxxx	xxxxx	xxxxx	|	xxxxx	xxxxx	xxxxx	xxxxx	|	£520.00	£290.00	£390.00	|
Evening	:	1	day				|	£4.00	xxxxx	xxxxx	|	£3.70	xxxxx	xxxxx	xxxxx	|	£3.70		xxxxx		xxxxx	|
______	______	______	_	|	______	______	______	______	______	______	________	|	______	______	______	| 
______	______	______	_	|	______	______	______	______	______	______	________	|	______	______	______	| 

-->
							<pricesFor>
								<PreassignedFareProductRef version="1.0" ref="mb:Pass@Metrorider"/>
							</pricesFor>
							<usedIn>
								<TariffRef version="1.0" ref="mb:Tariff@Metrorider"/>
							</usedIn>
							<rows>
								<FareTableRow version="1.0" id="mb:metrorider@60minutes" order="1">
									<Name>60 Minutes</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@60minutes"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@1day" order="2">
									<Name>1 day</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@2day" order="3">
									<Name>3 day</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@2day"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@3day" order="4">
									<Name>4 day</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@3day"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@1week" order="5">
									<Name>1 week</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@4week" order="6">
									<Name>4 week</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@13week" order="7">
									<Name>13 week</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@13week"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@1year" order="8">
									<Name>1 year</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1year"/>
									</representing>
								</FareTableRow>
								<FareTableRow version="1.0" id="mb:metrorider@evening" order="9">
									<Name>Evening</Name>
									<representing>
										<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@evening"/>
									</representing>
								</FareTableRow>
							</rows>
							<includes>
								<FareTable version="1.0" id="mb:metrorider@p-ticket">
									<Name>Metrorider - Cash</Name>
									<pricesFor>
										<SalesOfferPackageRef version="1.0" ref="mb:Metrorider-SOP@p-ticket"/>
									</pricesFor>
									<specifics>
										<TypeOfTravelDocumentRef version="1.0" ref="mb:cash-ticket"/>
									</specifics>
									<columns>
										<FareTableColumn version="1.0" id="mb:metrorider@p-ticket">
											<Name>Cash</Name>
											<representing>
												<TypeOfTravelDocumentRef version="1.0" ref="mb:cash-ticket"/>
											</representing>
										</FareTableColumn>
									</columns>
									<includes>
										<FareTable version="1.0" id="mb:metrorider@p-ticket@adult">
											<Name>Metrorider - Cash - Adult</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:adult"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@p-ticket@adult">
													<Name>Adult</Name>
													<representing>
														<TypeOfTravelDocumentRef version="1.0" ref="mb:cash-ticket"/>
														<UserProfileRef version="1.0" ref="mb:adult"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@p-ticket@adult@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@p-ticket@adult@1day">
														<Amount>4.90</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@p-ticket@adult@1week" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@p-ticket@adult@1week">
														<Amount>20.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@p-ticket@adult@evening" order="3">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@p-ticket@adult@evening">
														<Amount>4.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@evening"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@evening"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@p-ticket@child">
											<Name>Metrorider - Cash - Child</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:child"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@p-ticket@child">
													<Name>Child</Name>
													<representing>
														<UserProfileRef version="1.0" ref="mb:child"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@p-ticket@child@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@p-ticket@child@1day">
														<Amount>2.70</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@p-ticket@child@1week" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@p-ticket@child@1week">
														<Amount>11.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@p-ticket@family">
											<Name>Metrorider - Cash - Family</Name>
											<limitations>
												<GroupTicketRef version="1.0" ref="mb:family"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@p-ticket@family">
													<Name>Family</Name>
													<representing>
														<GroupTicketRef version="1.0" ref="mb:family"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@p-ticket@family@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@p-ticket@family@1day">
														<Amount>9.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
											</cells>
										</FareTable>
									</includes>
								</FareTable>
								<FareTable version="1.0" id="mb:metrorider@m-ticket">
									<Name>Metrorider - - m-ticket</Name>
									<pricesFor>
										<SalesOfferPackageRef version="1.0" ref="mb:Metrorider-SOP@m-ticket"/>
									</pricesFor>
									<specifics>
										<TypeOfTravelDocumentRef version="1.0" ref="mb:m-ticket"/>
									</specifics>
									<columns>
										<FareTableColumn version="1.0" id="mb:metrorider@m-ticket">
											<Name>m-ticket</Name>
											<representing>
												<TypeOfTravelDocumentRef version="1.0" ref="mb:m-ticket"/>
											</representing>
										</FareTableColumn>
									</columns>
									<includes>
										<FareTable version="1.0" id="mb:metrorider@m-ticket@adult">
											<Name>Metrorider - m-ticket - Adult</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:adult"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@m-ticket@adult">
													<Name>Adult</Name>
													<representing>
														<UserProfileRef version="1.0" ref="mb:adult"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@60minutes" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@60minutes">
														<Amount>2.20</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@60minutes"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@60minutes"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@1day" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@1day">
														<Amount>4.20</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@2day" order="3">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@2day">
														<Amount>7.90</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@2day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@2day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@3day" order="4">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@3day">
														<Amount>11.50</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@3day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@3day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@1week" order="5">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@1week">
														<Amount>18.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@4week" order="6">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@4week">
														<Amount>59.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@4week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@adult@evening" order="7">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@adult@evening">
														<Amount>3.70</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@evening"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@evening"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@m-ticket@child">
											<Name>Metrorider - m-ticket - Child</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:child"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@m-ticket@child">
													<Name>Child</Name>
													<representing>
														<UserProfileRef version="1.0" ref="mb:child"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@m-ticket@child@60minutes" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@child@60minutes">
														<Amount>1.10</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@60minutes"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@60minutes"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@child@1day" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@child@1day">
														<Amount>2.35</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@child@2day" order="3">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@child@2day">
														<Amount>4.45</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@2day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@2day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@child@3day" order="4">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@child@3day">
														<Amount>6.45</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@3day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@3day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@child@1week" order="5">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@child@1week">
														<Amount>9.75</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@m-ticket@child@4week" order="6">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@child@4week">
														<Amount>32.50</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@4week"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@m-ticket@family">
											<Name>Metrorider - m-ticket - Family</Name>
											<limitations>
												<GroupTicketRef version="1.0" ref="mb:family"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@m-ticket@family">
													<Name>Family</Name>
													<representing>
														<GroupTicketRef version="1.0" ref="mb:family"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@m-ticket@family@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@family@1day">
														<Amount>9.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@m-ticket@duo">
											<Name>Metrorider - m-ticket - Duo</Name>
											<limitations>
												<GroupTicketRef version="1.0" ref="mb:duo"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@m-ticket@duo">
													<Name>Duo</Name>
													<representing>
														<GroupTicketRef version="1.0" ref="mb:duo"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@m-ticket@duo@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@m-ticket@duo@1day">
														<Amount>7.90</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
											</cells>
										</FareTable>
									</includes>
								</FareTable>
								<FareTable version="1.0" id="mb:metrorider@smartcard">
									<Name>Metrorider - - the-key</Name>
									<pricesFor>
										<SalesOfferPackageRef version="1.0" ref="mb:Metrorider-SOP@smartcard"/>
									</pricesFor>
									<specifics>
										<TypeOfTravelDocumentRef version="1.0" ref="mb:the-key"/>
									</specifics>
									<columns>
										<FareTableColumn version="1.0" id="mb:metrorider@smartcard">
											<Name>the-key</Name>
											<representing>
												<TypeOfTravelDocumentRef version="1.0" ref="mb:the-key"/>
											</representing>
										</FareTableColumn>
									</columns>
									<includes>
										<FareTable version="1.0" id="mb:metrorider@smartcard@adult">
											<Name>Metrorider - the-key - Adult</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:adult"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@smartcard@adult">
													<Name>Adult</Name>
													<representing>
														<UserProfileRef version="1.0" ref="mb:adult"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@smartcard@adult@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@adult@1day">
														<Amount>4.20</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@adult@1week" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@adult@1week">
														<Amount>18.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@adult@4week" order="3">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@adult@4week">
														<Amount>59.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@4week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@adult@13week" order="4">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@adult@13week">
														<Amount>154.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@13week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@13week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@adult@1year" order="5">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@adult@1year">
														<Amount>520.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1year"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1year"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@adult@evening" order="6">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@adult@evening">
														<Amount>3.70</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@evening"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@evening"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@smartcard@child">
											<Name>Metrorider - the-key - Child</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:child"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@smartcard@child">
													<Name>Child</Name>
													<representing>
														<UserProfileRef version="1.0" ref="mb:child"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@smartcard@child@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@child@1day">
														<Amount>2.35</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@child@1week" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@child@1week">
														<Amount>9.75</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@child@4week" order="3">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@child@4week">
														<Amount>32.50</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@4week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@child@13week" order="4">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@child@13week">
														<Amount>79.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@13week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@13week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@child@1year" order="5">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@child@1year">
														<Amount>290.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1year"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1year"/>
												</Cell>
											</cells>
										</FareTable>
										<FareTable version="1.0" id="mb:metrorider@smartcard@student">
											<Name>Metrorider - the-key - Student</Name>
											<limitations>
												<UserProfileRef version="1.0" ref="mb:student"/>
											</limitations>
											<columns>
												<FareTableColumn version="1.0" id="mb:metrorider@smartcard@student">
													<Name>Student</Name>
													<representing>
														<UserProfileRef version="1.0" ref="mb:student"/>
													</representing>
												</FareTableColumn>
											</columns>
											<cells>
												<Cell version="1.0" id="mb:metrorider@smartcard@student@1day" order="1">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@student@1day">
														<Amount>3.15</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1day"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1day"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@student@1week" order="2">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@student@1week">
														<Amount>13.50</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@student@4week" order="3">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@student@4week">
														<Amount>44.25</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@4week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@4week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@student@13week" order="4">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@student@13week">
														<Amount>115.50</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@13week"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@13week"/>
												</Cell>
												<Cell version="1.0" id="mb:metrorider@smartcard@student@1year" order="5">
													<TimeIntervalPrice version="1.0" id="mb:metrorider@smartcard@student@1year">
														<Amount>390.00</Amount>
														<TimeIntervalRef version="1.0" ref="mb:Tariff@Metrorider@1year"/>
													</TimeIntervalPrice>
													<RowRef version="1.0" ref="mb:metrorider@1year"/>
												</Cell>
											</cells>
										</FareTable>
									</includes>
								</FareTable>
							</includes>
						</FareTable>
					</fareTables>
				</FarePriceFrame>
				<!-- ====== MB Operator resources -->
			</frames>
		</CompositeFrame>
		<!--   === COMMON UK FARE RESOURCES===  -->
		<CompositeFrame id="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
			<ValidBetween>
				<FromDate>2019-05-01T00:00:00</FromDate>
				<ToDate>2022-12-31T12:00:00</ToDate>
			</ValidBetween>
			<Name>UK FXCP Passenger Information Profile common resources</Name>
			<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc"/>
			<codespaces>
				<Codespace id="naptStop_data">
					<Xmlns>naptStop</Xmlns>
					<XmlnsUrl>http://www.naptan.org.uk/stops</XmlnsUrl>
					<Description>UK National Public Transport Access Nodes: Stops.</Description>
				</Codespace>
				<Codespace id="noc_data">
					<Xmlns>noc</Xmlns>
					<XmlnsUrl>http://www.traveline.co.uk/noc</XmlnsUrl>
					<Description>UK national operator codes</Description>
				</Codespace>
			</codespaces>
			<FrameDefaults>
				<DefaultCodespaceRef ref="fxc_metadata"/>
				<DefaultDataSourceRef ref="fxc:dft" version="fxc:v1.0"/>
				<DefaultResponsibilitySetRef ref="fxc:FXC_metadata" version="fxc:v1.0"/>
			</FrameDefaults>
			<frames>
				<!-- === Profile Frame Types ===  -->
				<ResourceFrame id="fxc:UK:DFT:ResourceFrame_UK_PI_METADATA_FRAMES:FXCP:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
					<Name>UK FXCP  Fare profile Frame types and codepaces</Name>
					<codespaces>
						<Codespace id="fxc_metadata">
							<Xmlns>fxc</Xmlns>
							<XmlnsUrl>netex.org.uk/fxc</XmlnsUrl>
							<Description>UK FareXChange Profile metadata</Description>
						</Codespace>
						<Codespace id="epd_data">
							<Xmlns>epd</Xmlns>
							<XmlnsUrl>http://fnetex-cen.eu/epd</XmlnsUrl>
							<Description>European Passenger Information profile data -use for UK frame names</Description>
						</Codespace>
					</codespaces>
					<dataSources>
						<DataSource id="fxc:dft" version="fxc:v1.0">
							<Email>standards@netex.org.uk</Email>
						</DataSource>
					</dataSources>
					<!-- ========Responsibility Sets========== -->
					<responsibilitySets>
						<ResponsibilitySet version="fxc:v1.0" id="fxc:FXC_metadata">
							<Name>Common</Name>
							<roles>
								<ResponsibilityRoleAssignment version="fxc:v1.0" id="fxc:FXC_metadata:DfT">
									<DataRoleType>creates distributes</DataRoleType>
									<StakeholderRoleType>dataRegistrar</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="nptg:DfT" versionRef="nptg:v2.1"/>
									<ResponsibleAreaRef ref="nptgUkRegion:GB" versionRef="nptg:v2.1"/>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
					</responsibilitySets>
					<typesOfValue>
						<!-- ======== TYPE S OF   FRAME========= -->
						<ValueSet version="fxc:1.0" id="fxc:Types_of_Specific_Frame_Basic" classOfValues="TypeOfFrame">
							<Name>Types of FXC Specific  Frame Basic </Name>
							<values>
								<!-- === ANCILLARY  ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_COMMON:FXCP">
									<Name>UK FXCP  common Local resources</Name>
									<FrameClassRef nameOfClass="ResourceFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_CALENDAR:FXCP">
									<Name>UK FXCP  Service calendar</Name>
									<FrameClassRef nameOfClass="ServiceCalendarFrame"/>
								</TypeOfFrame>
								<!-- === PAYLOAD  ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP:FXCP">
									<Name>UK FXCP Stops: NapTAN Stop Place  and NPTG Locations Frame</Name>
									<FrameClassRef nameOfClass="SiteFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP">
									<Name>UK FXCP Network</Name>
									<FrameClassRef nameOfClass="ServiceFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_TIMETABLE:FXCP">
									<Name>UK FXCP Tietable: N</Name>
									<FrameClassRef nameOfClass="TimetableFrame"/>
								</TypeOfFrame>
								<!-- === METADATA   ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA:FXCP">
									<Name>UK Bus Profile common resources</Name>
									<FrameClassRef nameOfClass="ResourceFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<ValueSet version="fxc::v2.4" id="fxc:Types_of_Offer_Frame_Basic" classOfValues="TypeOfFrame">
							<Name>Types of UK Offer Frame</Name>
							<values>
								<!-- === COMPOSITE ====  -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP_OFFER:FXCP">
									<Name>UK FXCP   composite container STOP OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_LINE_OFFER:FXCP">
									<Name>UK FXCP   composite container LINE OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK_OFFER:FXCP">
									<Name>UK FXCP   composite container LINE OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc">
									<Name>UK FXCP composite used to group other UKmetadta</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<!-- ======== TYPE S OF   FRAME========= -->
						<ValueSet version="fxc:1.0" id="fxc:Types_of_Specific_Frame_for_Fares" classOfValues="TypeOfFrame">
							<Name>Types of FXC Specific  Frame</Name>
							<values>
								<!-- === PAYLOAD  ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_COMMON:FXCP">
									<Name>UK Bus Profile fare common paramaters</Name>
									<FrameClassRef nameOfClass="FareFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_NETWORK:FXCP">
									<Name>UK Bus Profile fare network</Name>
									<FrameClassRef nameOfClass="ServiceFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP">
									<Name>UK FXCP Fare Porducts Frame</Name>
									<FrameClassRef nameOfClass="FareFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRICE:FXCP">
									<Name>UK FXCP Fare Prices Frame</Name>
									<FrameClassRef nameOfClass="FareFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Offer_Frame_for_Fares" classOfValues="TypeOfFrame">
							<Name>Types of UK Offer Frame</Name>
							<values>
								<!-- === COMPOSITE ====  -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP_FARE_OFFER:FXCP">
									<Name>UK FXCP   composite container STOP OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_LINE_FARE_OFFER:FXCP">
									<Name>UK FXCP   composite container LINE OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK_FARE_OFFER:FXCP">
									<Name>UK FXCP   composite container NETWORK OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Transaction_Frame" classOfValues="TypeOfFrame">
							<Name>Types of UK Trasnaction  Frame</Name>
							<values>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_TRANSACTIONS:FXCP">
									<Name>UK Bus Profile Operator sample transactions</Name>
									<FrameClassRef nameOfClass="SalesTransactionFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
					</typesOfValue>
				</ResourceFrame>
				<!-- ====COMMON UK PI Profile  RESOURCEs:  META DATA - COULD BE EXTERNALISED ===== ============ -->
				<!-- === FareXChange  Common fixed definitions  ===  -->
				<FareFrame id="fxc:UK:DFT:FareFrame_UK_PI_METADATA:FareXChange:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
					<Name>FXCP Values for Farexchange</Name>
					<FrameDefaults>
						<DefaultCodespaceRef ref="fxc_metadata"/>
						<DefaultDataSourceRef ref="fxc:dft" version="fxc:v1.0"/>
						<DefaultResponsibilitySetRef ref="fxc:FXC_metadata" version="fxc:v1.0"/>
					</FrameDefaults>
					<PricingParameterSet id="fxc:Common_Resources" version="fxc:v1.0">
						<priceUnits>
							<PriceUnit id="fxc:GBP" version="fxc:v1.0">
								<privateCodes>
									<PrivateCode>£</PrivateCode>
								</privateCodes>
								<Name>Pound Sterling</Name>
								<Precision>2</Precision>
							</PriceUnit>
							<PriceUnit id="fxc:EUR" version="fxc:v1.0">
								<privateCodes>
									<PrivateCode>€</PrivateCode>
								</privateCodes>
								<Name>Euro</Name>
								<Precision>2</Precision>
							</PriceUnit>
						</priceUnits>
					</PricingParameterSet>
					<geographicalUnits>
						<GeographicalUnit id="fxc:mi" version="fxc:v1.0">
							<Name>Distance Unit Miles</Name>
						</GeographicalUnit>
						<GeographicalUnit id="fxc:km" version="fxc:v1.0">
							<Name>Distance Unit Kilometres</Name>
						</GeographicalUnit>
						<GeographicalUnit id="fxc:unit_stage" version="fxc:v1.0">
							<Name>Distance Unit Stage</Name>
						</GeographicalUnit>
					</geographicalUnits>
					<!-- === USAGE PARAMETERS === -->
					<usageParameters>
						<UserProfile version="fxc:v1.0" id="fxc:adult">
							<Name>Adult</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:none"/>
							<UserType>adult</UserType>
							<DiscountBasis>none</DiscountBasis>
							<companionProfiles>
								<CompanionProfile version="fxc:v1.0" id="fxc:adult@infant">
									<UserProfileRef ref="fxc:infant" version="fxc:v1.0"/>
									<MinimumNumberOfPersons>0</MinimumNumberOfPersons>
									<MaximumNumberOfPersons>3</MaximumNumberOfPersons>
								</CompanionProfile>
							</companionProfiles>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:child">
							<Name>Child</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
							<UserType>child</UserType>
							<MinimumAge>5</MinimumAge>
							<MaximumAge>15</MaximumAge>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:infant">
							<Name>Infant</Name>
							<Description>Up to three children under 5 years of age, accompanied by a fare paying adult or child passenger, and not occupying a seat, may travel free of charge on the Company’s services.</Description>
							<prices>
								<UsageParameterPrice version="fxc:v1.0" id="fxc:infant">
									<Amount>0</Amount>
								</UsageParameterPrice>
							</prices>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:infant"/>
							<UserType>infant</UserType>
							<MinimumAge>0</MinimumAge>
							<MaximumAge>4</MaximumAge>
							<DiscountBasis>free</DiscountBasis>
							<companionProfiles>
								<CompanionProfile id="fxc:infant@adult" version="fxc:v1.0">
									<UserProfileRef ref="fxc:adult" version="fxc:v1.0"/>
									<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
									<MaximumNumberOfPersons>1</MaximumNumberOfPersons>
									<DiscountBasis>none</DiscountBasis>
								</CompanionProfile>
							</companionProfiles>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:student">
							<Name>Student</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:student"/>
							<UserType>student</UserType>
							<ProofRequired>membershipCard</ProofRequired>
							<DiscountBasis>discount</DiscountBasis>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:senior">
							<Name>Senior</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
							<UserType>senior</UserType>
							<MinimumAge>60</MinimumAge>
						</UserProfile>
					</usageParameters>
					<!-- ====CHANNELS -->
					<distributionChannels>
						<DistributionChannel id="fxc:online" version="fxc:v1.0">
							<ShortName>Internet sales</ShortName>
							<alternativeNames>
								<AlternativeName order="1" id="fxc:online_de" version="fxc:v1.0">
									<Name lang="de">Internetverkauf</Name>
								</AlternativeName>
								<AlternativeName order="1" id="fxc:online_fr" version="fxc:v1.0">
									<Name lang="fr">A vendre par l'internet</Name>
								</AlternativeName>
							</alternativeNames>
							<DistributionChannelType>online</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:online_subscription" version="fxc:v1.0">
							<ShortName>online autonatic subscription to renew</ShortName>
							<DistributionChannelType>online</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:at_stop" version="fxc:v1.0">
							<ShortName>In station sale by machine, counter or payg</ShortName>
							<DistributionChannelType>atStop</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:self_service_ticket_machine" version="fxc:v1.0">
							<ShortName>Automatic Ticket Machine</ShortName>
							<DistributionChannelType>atStop</DistributionChannelType>
						</DistributionChannel>
						<DistributionChannel id="fxc:pay_as_you_go_device" version="fxc:v1.0">
							<ShortName>Pay as you go device - eg smartcard</ShortName>
							<DistributionChannelType>atStop</DistributionChannelType>
						</DistributionChannel>
						<DistributionChannel id="fxc:at_counter" version="fxc:v1.0">
							<ShortName>Ticket counter sale</ShortName>
							<alternativeNames>
								<AlternativeName order="1" id="fxc:at_counter_de" version="fxc:v1.0">
									<Name lang="de">Schalter</Name>
								</AlternativeName>
								<AlternativeName order="1" id="fxc:at_counter_fr" version="fxc:v1.0">
									<Name lang="fr">A vendre par le guichet</Name>
								</AlternativeName>
							</alternativeNames>
							<DistributionChannelType>atStop</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:on_board" version="fxc:v1.0">
							<ShortName>on_board</ShortName>
							<DistributionChannelType>onBoard</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:call_centre" version="fxc:v1.0">
							<ShortName>Call Centre</ShortName>
							<DistributionChannelType>telephone</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:operator_travel_shop" version="fxc:v1.0">
							<ShortName>Operator Travel Shop</ShortName>
							<DistributionChannelType>telephone</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:travel_agent" version="fxc:v1.0">
							<ShortName>Travel Agent</ShortName>
							<DistributionChannelType>agency</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:employee_organisation" version="fxc:v1.0">
							<ShortName>Employee Organisation</ShortName>
							<DistributionChannelType>other</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
						<DistributionChannel id="fxc:statutory_organisation" version="fxc:v1.0">
							<ShortName>Statutory Organisation</ShortName>
							<DistributionChannelType>other</DistributionChannelType>
							<IsObligatory>false</IsObligatory>
						</DistributionChannel>
					</distributionChannels>
					<fulfilmentMethods>
						<FulfilmentMethod id="fxc:collect_on_board" version="fxc:v1.0">
							<Name>Collect on board</Name>
							<FulfilmentMethodType>conductor</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:hand_written_ticket" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:collect_from_machine" version="fxc:v1.0">
							<Name>Collect from machine</Name>
							<FulfilmentMethodType>ticketMachine</FulfilmentMethodType>
							<RequiresBookingReference>true</RequiresBookingReference>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:magstripe_printed_ticket" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:collect_at_counter" version="fxc:v1.0">
							<Name>Collect at counter</Name>
							<FulfilmentMethodType>ticketOffice</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:magstripe_printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:pass" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:smart_card" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:hand_written_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:smart_card" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:collect_from_agent" version="fxc:v1.0">
							<Name>Travel agent issues ticket directly</Name>
							<FulfilmentMethodType>agent</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:electronic_document" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:mobile_app" version="fxc:v1.0">
							<Name>Mobile App</Name>
							<FulfilmentMethodType>mobileApp</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:mobile_app_ticket" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:self_print" version="fxc:v1.0">
							<Name>Self Print</Name>
							<FulfilmentMethodType>selfprint</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:self_print_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:electronic_document" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:online_propagation" version="fxc:v1.0">
							<Name>Online propagation</Name>
							<FulfilmentMethodType>validator</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:mobile_app_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:smart_card" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:email" version="fxc:v1.0">
							<Name>EMAIL</Name>
							<FulfilmentMethodType>email</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:self_print_ticket" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:post" version="fxc:v1.0">
							<Name>Send ticket by post</Name>
							<FulfilmentMethodType>post</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:magstripe_printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:pass" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:smart_card" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
						<FulfilmentMethod id="fxc:courier" version="fxc:v1.0">
							<Name>Send ticket by courier</Name>
							<FulfilmentMethodType>other</FulfilmentMethodType>
							<typesOfTravelDocument>
								<TypeOfTravelDocumentRef ref="fxc:printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:magstripe_printed_ticket" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:pass" version="fxc:v1.0"/>
								<TypeOfTravelDocumentRef ref="fxc:smart_card" version="fxc:v1.0"/>
							</typesOfTravelDocument>
						</FulfilmentMethod>
					</fulfilmentMethods>
					<typesOfTravelDocuments>
						<TypeOfTravelDocument id="fxc:distribution_channel_dependent" version="fxc:v1.0">
							<Name>Depends on channel used</Name>
							<MediaType>other</MediaType>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:printed_ticket" version="fxc:v1.0">
							<Name>Printed Ticket</Name>
							<MediaType>paperTicket</MediaType>
							<MachineReadable>ocr</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:hand_written_ticket" version="fxc:v1.0">
							<Name>Hand written ticket</Name>
							<MediaType>paperTicket</MediaType>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:magstripe_printed_ticket" version="fxc:v1.0">
							<Name>Printed Ticket with magnetic Stripe</Name>
							<MediaType>paperTicket</MediaType>
							<MachineReadable>magneticStrip</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:self_print_ticket" version="fxc:v1.0">
							<MediaType>selfPrintPaperTicket</MediaType>
							<MachineReadable>ocr</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:pass" version="fxc:v1.0">
							<MediaType>card</MediaType>
							<MachineReadable>barCode</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:mobile_app_ticket" version="fxc:v1.0">
							<MediaType>mobileApp</MediaType>
							<MachineReadable>ocr</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:smart_card" version="fxc:v1.0">
							<MediaType>card</MediaType>
							<MachineReadable>nfc chip</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:contactless_card" version="fxc:v1.0">
							<MediaType>card</MediaType>
							<MachineReadable>nfc chip</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:electronic_document" version="fxc:v1.0">
							<MediaType>none</MediaType>
							<MachineReadable>ocr</MachineReadable>
						</TypeOfTravelDocument>
						<TypeOfTravelDocument id="fxc:membership_card" version="fxc:v1.0">
							<MediaType>card</MediaType>
							<MachineReadable>none</MachineReadable>
						</TypeOfTravelDocument>
					</typesOfTravelDocuments>
				</FareFrame>
				<ResourceFrame id="fxc:UK:DFT:ResourceFrame_UK_PI_METADATA:FareXChange:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
					<Name>FXCP - Fare profile  metadata</Name>
					<FrameDefaults>
						<DefaultCodespaceRef ref="fxc_metadata"/>
						<DefaultDataSourceRef ref="fxc:dft" version="fxc:v1.0"/>
						<DefaultResponsibilitySetRef ref="fxc:FXC_metadata" version="fxc:v1.0"/>
						<DefaultLocale>
							<TimeZoneOffset>0</TimeZoneOffset>
							<TimeZone>GMT</TimeZone>
							<SummerTimeZoneOffset>+1</SummerTimeZoneOffset>
							<SummerTimeZone>BST</SummerTimeZone>
							<DefaultLanguage>en</DefaultLanguage>
						</DefaultLocale>
						<DefaultLocationSystem>WGS84</DefaultLocationSystem>
						<DefaultSystemOfUnits>SiKilometresAndMetres</DefaultSystemOfUnits>
						<DefaultCurrency>GBP</DefaultCurrency>
					</FrameDefaults>
					<typesOfValue>
						<!-- ======== Code sets ========= -->
						<ValueSet version="fxc:v1.0" id="fxc:PointsOfInterest_Classifications" classOfValues="PointOfInterestClassification">
							<Name>Types of POI</Name>
							<values>
								<!--- ====Type of Product category ========= -->
								<PointOfInterestClassification version="fxc:v1.0" id="fxc:operator_travel_shop">
									<Name>Travel Shop</Name>
								</PointOfInterestClassification>
								<PointOfInterestClassification version="fxc:v1.0" id="fxc:tourist_information_centre">
									<Name>Tourist Information Centre</Name>
								</PointOfInterestClassification>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareZone" classOfValues="TypeOfZone">
							<Name>Types of FARE ZONE</Name>
							<values>
								<!--- ====Type of Product category ========= -->
								<TypeOfZone version="fxc:v1.0" id="fxc:fare_zone@operator">
									<Name>Operator defined zone</Name>
								</TypeOfZone>
								<TypeOfZone version="fxc:v1.0" id="fxc:fare_zone@multi_operator">
									<Name>MultiOperator defined zone</Name>
								</TypeOfZone>
								<TypeOfZone version="fxc:v1.0" id="fxc:fare_zone@concessionary">
									<Name>Concessionary scheme zone</Name>
								</TypeOfZone>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_ProductCategory" classOfValues="TypeOfProductCategory">
							<Name>Types of PRODUCT CATEGORY</Name>
							<values>
								<!--- ====Type of Product category ========= -->
								<TypeOfProductCategory version="fxc:v1.0" id="fxc:urban_bus">
									<Name>Urban Bus</Name>
								</TypeOfProductCategory>
								<TypeOfProductCategory version="fxc:v1.0" id="fxc:rural_bus">
									<Name>Rural Bus</Name>
								</TypeOfProductCategory>
								<TypeOfProductCategory version="fxc:v1.0" id="fxc:park_and_ride">
									<Name>Rural Bus</Name>
								</TypeOfProductCategory>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:PurposesOfGrouping" classOfValues="PurposeOfGrouping">
							<Name>Purposes of Grouping</Name>
							<values>
								<!--- ====Type of Product category ========= -->
								<PurposeOfGrouping version="fxc:v1.0" id="fxc:route_exclusion">
									<Name>Routes to be ommitted</Name>
								</PurposeOfGrouping>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:ChargingMoments" classOfValues="ChargingMoment">
							<Name>Types of CHARGING MOMENT</Name>
							<values>
								<!--- ==== TypeOfChargingMoment ========= -->
								<ChargingMoment version="fxc:v1.0" id="fxc:prepayment">
									<Name>Prepaid</Name>
								</ChargingMoment>
								<ChargingMoment version="fxc:v1.0" id="fxc:prepayment@pay_as_you_go">
									<Name>Prepaid - pay as you go</Name>
								</ChargingMoment>
								<ChargingMoment version="fxc:v1.0" id="fxc:prepayment@bundled">
									<Name>Prepaid - paid along with a base product</Name>
								</ChargingMoment>
								<ChargingMoment version="fxc:v1.0" id="fxc:prepayment@free">
									<Name>Prepaid - free issue</Name>
								</ChargingMoment>
								<ChargingMoment version="fxc:v1.0" id="fxc::post_payment">
									<Name>Postpaid</Name>
								</ChargingMoment>
								<ChargingMoment version="fxc:v1.0" id="fxc::post_payment_periodic">
									<Name>Postpaid</Name>
								</ChargingMoment>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareProduct@trip" classOfValues="TypeOfFareProduct">
							<Name>Types of FARE PRODUCT - Trip</Name>
							<values>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@trip@short_hop">
									<Name>Short hop fare</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@trip@single">
									<Name>Single fare</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:era:standard_product@trip@time_limited">
									<Name>Time Limited fare</Name>
								</TypeOfFareProduct>
								<!--- Special -->
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:special_product@trip@period_return">
									<Name>Period return fare</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:era:special_produc@trip@day_return">
									<Name>Day retirn fare</Name>
								</TypeOfFareProduct>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareProduct@pass" classOfValues="TypeOfFareProduct">
							<Name>Types of FARE PRODUCT - Pass</Name>
							<values>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@pass@day">
									<Name>day pass - till end of fare day</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@pass@24H">
									<Name>24H from time of activation</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@pass@period">
									<Name>Pass for a specifed period</Name>
								</TypeOfFareProduct>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareProduct@carnet" classOfValues="TypeOfFareProduct">
							<Name>Types Of FARE PRODUC- Pass</Name>
							<values>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@carnet@trips">
									<Name>Carnet of trips.</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@carnet@days">
									<Name>Carnet of 1 day' passes.</Name>
								</TypeOfFareProduct>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareProduct@discount" classOfValues="TypeOfFareProduct">
							<Name>Types Of FARE PRODUCT - Pass</Name>
							<values>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@discount@sales">
									<Name>Sales discount righty</Name>
								</TypeOfFareProduct>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@discount@usage">
									<Name>Usage discount rights</Name>
								</TypeOfFareProduct>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareProduct@stored_value" classOfValues="TypeOfFareProduct">
							<Name>Types of FARE PRODUCT - Epurse</Name>
							<values>
								<TypeOfFareProduct version="fxc:v1.0" id="fxc:standard_product@stored_value@epurse">
									<Name>Epurse</Name>
								</TypeOfFareProduct>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_SalesOfferPackage" classOfValues="TypeOfSalesOfferPackage">
							<Name>Types of SALES OFFER PACKAGE.</Name>
							<values>
								<TypeOfSalesOfferPackage version="fxc:v1.0" id="fxc:standard_product@all_operators">
									<Name>Product is standard and supported by all operators</Name>
								</TypeOfSalesOfferPackage>
								<TypeOfSalesOfferPackage version="fxc:v1.0" id="fxc:standard_product@multi_operator">
									<Name>Product is standrad and supported by all operators</Name>
								</TypeOfSalesOfferPackage>
								<TypeOfSalesOfferPackage version="fxc:v1.0" id="fxc:standard_product@operator">
									<Name>Single operator standard product</Name>
								</TypeOfSalesOfferPackage>
								<TypeOfSalesOfferPackage version="fxc:v1.0" id="fxc:special_product@operator">
									<Name>Single operator special product</Name>
								</TypeOfSalesOfferPackage>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Classes_of_Use" classOfValues="ClassOfUse">
							<Name>Types of CLASS OF USE.</Name>
							<values>
								<!--- ====ClassOfUse ========= -->
								<ClassOfUse version="fxc:v1.0" id="fxc:first">
									<Name>First Class</Name>
								</ClassOfUse>
								<ClassOfUse version="fxc:v1.0" id="fxc:second">
									<Name>Second Class</Name>
								</ClassOfUse>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Projection" classOfValues="TypeOfProjection">
							<Name>Types of PROJECTION</Name>
							<values>
								<!--- ====ClassOfUse ========= -->
								<TypeOfProjection version="fxc:v1.0" id="fxc:tariff_zone_border">
									<Name>The boundary stops for a fare_zone</Name>
								</TypeOfProjection>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareContractEntry" classOfValues="TypeOfFareContractEntry">
							<Name>Types of FARE CONTRACT ENTRY</Name>
							<values>
								<!--- ====TypeOfFareContractEntry ========= -->
								<TypeOfFareContractEntry version="fxc:v1.0" id="fxc:product_purchase">
									<Name>Purchase</Name>
								</TypeOfFareContractEntry>
								<TypeOfFareContractEntry version="fxc:v1.0" id="fxc:product_refund">
									<Name>Refund</Name>
								</TypeOfFareContractEntry>
								<TypeOfFareContractEntry version="fxc:v1.0" id="fxc:online_purchase">
									<Name>Online Purchase</Name>
								</TypeOfFareContractEntry>
								<TypeOfFareContractEntry version="fxc:v1.0" id="fxc:on_board_purchase">
									<Name>Cash Purchase</Name>
								</TypeOfFareContractEntry>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Concession" classOfValues="TypeOfConcession">
							<Name>Types of CONCESSION</Name>
							<values>
								<!--- ====TypeOfConcession method========= -->
								<TypeOfConcession version="fxc:v1.0" id="fxc:none">
									<Name>Adult</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:infant">
									<Name>Infant</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:child">
									<Name>Child</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:youth">
									<Name>Youth</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:school_pupil">
									<Name>School pupil</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:student">
									<Name>Student</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:young_adult">
									<Name>Youth</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:senior">
									<Name>Senior</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:registered_disabled">
									<Name>Registered disabled</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:animal">
									<Name>Animal</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:social">
									<Name>Social</Name>
								</TypeOfConcession>
								<TypeOfConcession version="fxc:v1.0" id="fxc:statutory">
									<Name>Statutory</Name>
								</TypeOfConcession>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Tariff" classOfValues="TypeOfTariff">
							<Name>Spatial Types of Tariff</Name>
							<values>
								<!--- ====Types OfTariff ========= -->
								<TypeOfTariff version="fxc:v1.0" id="fxc:Distance_kilometers">
									<Name>Kilometer Distance Kilometers</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:flat">
									<Name>Flat</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:point_to_point">
									<Name>Point to point</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:zone_to_zone">
									<Name>Zone to Zone</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:zonal">
									<Name>Zonal</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:section">
									<Name>Section</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:banded">
									<Name>Section</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:stored_value">
									<Name>Stored value</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:discount">
									<Name>Discount value</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:multitrip">
									<Name>Multitrip carnet</Name>
								</TypeOfTariff>
								<TypeOfTariff version="fxc:v1.0" id="fxc:identity_card">
									<Name>SIdentity</Name>
								</TypeOfTariff>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_FareStructureElement" classOfValues="TypeOfFareStructureElement">
							<Name>FXCP: Types of FARE STRUCTURE ELEMENT.</Name>
							<values>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:access">
									<Name>Access rights</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:access_when">
									<Name>Fare demand :peak /off peak etc access rights to use or travel during some period</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:accepted_by">
									<Name>Accepted by operator</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:eligibility">
									<Name>Eligibility to purchase</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:groups">
									<Name>Group tickets available</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:durations">
									<Name>Time intervals</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:prerequisites">
									<Name>Defines required entitlements</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:entitles">
									<Name>Gives right to other products</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:sale_conditions">
									<Name>Defines a condition or restriction on purchase</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:travel_conditions">
									<Name>Condition on use</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:carnet_units">
									<Name>Specifies units for purchase</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:outlets">
									<Name>Specifies where a purchase can be made</Name>
								</TypeOfFareStructureElement>
								<TypeOfFareStructureElement version="fxc:v1.0" id="fxc:quotas">
									<Name>Quota applies</Name>
								</TypeOfFareStructureElement>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_AccessRightAssignment" classOfValues="TypeOfAccessRightAssignment">
							<Name>Types of Access Right Assignment</Name>
							<values>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:eligible">
									<Name>Eligible for a product or discount</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_access">
									<Name>Grants access rights to use or travel on</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:cannot_access">
									<Name>Revokes access rights to use or travel on</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:must_access">
									<Name>Requires access rights to use or travel on</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_access_when">
									<Name>Grants access rights to use or travel during some period</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_access_if_purchased">
									<Name>Right defines a property that may be Accessed if purchased</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_use_with_type_of_travel_document">
									<Name>Right defines tyoe travel document condition</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:condition_of_use">
									<Name>Defines a condition or restriction on use</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:condition_of_sale">
									<Name>Defines a condition or restriction on purchase</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_purchase">
									<Name>Gives right to purchase</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_purchase_when">
									<Name>Specifies when a purchase can be made</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_purchase_where">
									<Name>Specifies where a purchase can be made</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:gives_entitlement">
									<Name>Gives right to other products</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:prerequisites">
									<Name>Requires right to other products</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:penalties">
									<Name>Penalties for misuuse</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:can_use_to_pay_for">
									<Name>Gives ability to purchase automatically using</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:payment_schedules">
									<Name>Specifices if subscription or single payment</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:reservation_condition">
									<Name>Indicates need for reservation</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:distribution_channel_restriction">
									<Name>Constrains availability for distribution by a channel</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:use_before">
									<Name>Takes properties from group package</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:quota_applies">
									<Name>Quota applies</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:promotion_applies">
									<Name>Promotion applies</Name>
								</TypeOfAccessRightAssignment>
								<TypeOfAccessRightAssignment version="fxc:v1.0" id="fxc:validity_chaining">
									<Name>Quota applies</Name>
								</TypeOfAccessRightAssignment>
							</values>
						</ValueSet>
					</typesOfValue>
					<!-- ========Operators ========== -->
					<organisations>
						<GeneralOrganisation version="fxc:v1.0" id="fxc:DfT">
							<Name>Department for Transport</Name>
							<ShortName>DfT</ShortName>
							<OrganisationType>statutoryBody</OrganisationType>
						</GeneralOrganisation>
						<!-- === UIC RUs ==== -->
						<Operator version="fxc:v1.0" id="uic:operator:1170">
							<PublicCode>ATOC</PublicCode>
							<Name>Association of Train Operating Companies Limited</Name>
							<ShortName>UIC</ShortName>
							<ValidityPeriod>
								<FromDate>2001-01-01T00:00:00Z</FromDate>
								<ToDate>2020-01-01T00:00:00Z</ToDate>
							</ValidityPeriod>
							<CountryRef ref="uk" refPrincipality="iso3166-2:GB-UKM"/>
						</Operator>
						<Operator version="fxc:v1.0" id="uicStation_Management:0070">
							<PublicCode>NR</PublicCode>
							<Name>Network Rail Limited</Name>
							<ShortName>Network Rail</ShortName>
							<ValidityPeriod>
								<FromDate>2003-09-22T00:00:00Z</FromDate>
								<ToDate>2020-01-01T00:00:00Z</ToDate>
							</ValidityPeriod>
							<CountryRef ref="uk" refPrincipality="iso3166-2:GB-UKM"/>
						</Operator>
					</organisations>
					<groupsOfEntities>
						<Layer version="fxc:v1.0" id="fxc:fare_network+fare_products+fare_prices">
							<Name>Fares and fare prices</Name>
						</Layer>
						<Layer version="fxc:v1.0" id="fxc:fare_network">
							<Name>Fares networks</Name>
						</Layer>
						<Layer version="fxc:v1.0" id="fxc:fare_products">
							<Name>Fares ad fare prices</Name>
						</Layer>
						<Layer version="fxc:v1.0" id="fxc:fare_prices">
							<Name>Fares and fare prices</Name>
						</Layer>
					</groupsOfEntities>
				</ResourceFrame>
				<!-- === NPTG Common fixed definitions  ===  -->
				<ResourceFrame version="nptg:v2.1" id="fxc:UK:DFT:ResourceFrame_UK_PI_METADATA:NPTG:nptg" responsibilitySetRef="nptg:NPTG_metadata" dataSourceRef="nptg:dft">
					<ValidBetween>
						<FromDate>2004-01-01T00:00:00</FromDate>
					</ValidBetween>
					<Name>Static code values for UK NPTG data</Name>
					<Description>This frame contains code  valuesused to validate the NPTG  </Description>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA:FXCP"/>
					<codespaces>
						<Codespace id="nptg_metadata">
							<Xmlns>nptg</Xmlns>
							<XmlnsUrl>http://www.nptg.org.uk/nptg</XmlnsUrl>
							<Description>UK National Public Transport gazetteer     fixed codes.   .</Description>
						</Codespace>
						<Codespace id="nptgLocality_data">
							<Xmlns>nptgLocality</Xmlns>
							<XmlnsUrl>http://nptg.org.uk/locations</XmlnsUrl>
							<Description>National Public Transport gazetteer locations</Description>
						</Codespace>
						<Codespace id="nptgTariffZone_data">
							<Xmlns>nptgTariffZone</Xmlns>
							<XmlnsUrl>http://nptg.org.uk/tariffZones</XmlnsUrl>
							<Description>National Public Transport gazetteer plus bus zones</Description>
						</Codespace>
						<Codespace id="nptgAdminArea_data">
							<Xmlns>nptgAdminArea</Xmlns>
							<XmlnsUrl>http://www.nptg.org.uk/adminAreas</XmlnsUrl>
							<Description>UK National Public Transport gazetteer. Codes of administrative areas, are unique within the UK.</Description>
						</Codespace>
					</codespaces>
					<FrameDefaults>
						<DefaultCodespaceRef ref="nptg_metadata"/>
						<DefaultDataSourceRef ref="nptg:dft" version="nptg:v2.1"/>
						<DefaultResponsibilitySetRef ref="nptg:NPTG_metadata" version="nptg:v2.1"/>
					</FrameDefaults>
					<dataSources>
						<DataSource id="nptg:dft" version="nptg:v2.1">
							<Email>standards@nptg.org.uk</Email>
						</DataSource>
					</dataSources>
					<!-- ========Responsibility Sets========== -->
					<responsibilitySets>
						<ResponsibilitySet version="nptg:v2.1" id="nptg:NPTG_metadata">
							<Name>Common</Name>
							<roles>
								<ResponsibilityRoleAssignment version="nptg:v2.1" id="nptg:NPTG_metadata">
									<DataRoleType>creates distributes</DataRoleType>
									<StakeholderRoleType>dataRegistrar</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="nptg:DfT" version="nptg:v2.1"/>
									<ResponsibleAreaRef ref="nptgUkRegion:GB" nameOfRefClass="TransportAdministrativeZone" versionRef="0" xsi:type="TransportAdministrativeZoneRefStructure">UK</ResponsibleAreaRef>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
						<ResponsibilitySet version="nptg:v2.1" id="nptg:NPTG_data">
							<Name>Common</Name>
							<roles>
								<ResponsibilityRoleAssignment version="nptg:v2.1" id="nptg:NPTG_data">
									<DataRoleType>creates distributes</DataRoleType>
									<StakeholderRoleType>entityLegalOwnership</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="nptg:DfT" version="nptg:v2.1"/>
									<ResponsibleAreaRef ref="nptg:UK">TODO</ResponsibleAreaRef>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
					</responsibilitySets>
					<!-- ==== Fixed values == -->
					<typesOfValue>
						<!-- ====Frame Types   TODO MERGE FRAME TYPES INTO FXC PI frame types== -->
						<ValueSet version="nptg:v2.1" id="nptg:UK_NPTG_profile@Types_of_frame" classOfValues="TypeOfFrame">
							<Name>Types of frame for UK NKTG profile</Name>
							<values>
								<TypeOfFrame version="nptg:v2.1" id="nptg:UK_NPTG_profile_payload">
									<Name>NPTG Locations and  Tariff Zones Frame</Name>
									<FrameClassRef nameOfClass="SiteFrame"/>
									<classes>
										<ClassInFrame nameOfClass="TopographicPlace">
											<!-- 	 TopographicPlace maps to  a NPTG Locality 
<NptgLocality Status="active" Modification="delete" DataRightRef="DR01" CreationDateTime="2001-12-17T09:30:47Z" BaselineVersion="1" ModificationDateTime="2001-12-17T09:30:47Z" id="E0000003"  RevisionNumber="1">
			<NptgLocalityCode>E0000003</NptgLocalityCode>
			<Descriptor Modification="delete" Status="active" DataRightRef="DR01" CreationDateTime="2001-12-17T09:30:47Z" ModificationDateTime="2001-12-17T09:30:47Z" BaselineVersion="1" id="E0000001-1"  RevisionNumber="1">
				<LocalityName>Locality Three</LocalityName>
				<ShortName>Locality 3</ShortName>
				<Qualify>
					<QualifierName>Loc 22 </QualifierName>
					<NptgLocalityRef>E0000022</NptgLocalityRef>
				</Qualify>
			</Descriptor> 
			<ParentNptgLocalityRef Status="pending" CreationDateTime="2001-12-17T09:30:47Z" ModificationDateTime="2001-12-17T09:30:47Z" BaselineVersion="1" RevisionNumber="1">E0000022</ParentNptgLocalityRef>
			<AdministrativeAreaRef>101</AdministrativeAreaRef>
			<NptgDistrictRef>111</NptgDistrictRef>
			<AdjacentLocalities>
				<NptgLocalityRef Status="active" CreationDateTime="2001-12-17T09:30:47Z" ModificationDateTime="2001-12-17T09:30:47Z" BaselineVersion="1" RevisionNumber="1">E0000001</NptgLocalityRef>
			</AdjacentLocalities>
			<SourceLocalityType> Pa</SourceLocalityType>
			<LocalityClassification> village</LocalityClassification>
			<Location id="NMTOKEN" Precision="10m">
				<GridType>UKOS</GridType>
				<Easting>999999</Easting>
				<Northing>1999999</Northing>
			</Location> 
		</NptgLocality>			-->
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="_id">
													<!--  NptgLocality.NptgLocalityCode-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_version">
													<!--  NptgLocality.RevisionNumber-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_created">
													<!--  NptgLocality.CreationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_changed">
													<!--  NptgLocality.ModificationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_modification">
													<!--  NptgLocality.Modification -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_status">
													<!--  NptgLocality.Status -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Name">
													<!--  NptgLocality.Descriptor.LocalityName -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Name.lang">
													<!--  NptgLocality.Descriptor.Name.Lang-->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Centroid.Location.Longitude">
													<!--  NptgLocality.Location.Longitude -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Centroid.Location.Latitude">
													<!--  NptgLocality.Location.Latitude -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Centroid.Location.gml.pos">
													<!-- NptgLocality.Location.GridType .  NptgLocality.Location.Easting,    NptgLocality.Location.Northing>  -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Centroid.Location.Precision">
													<!-- NptgLocality.Location.Precision.    -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Descriptor.Name">
													<!--  NptgLocality.Descriptor.LocalityName -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Descriptor.Name._lang">
													<!--  NptgLocality.Descriptor.LocalityName.Lang-->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Descriptor.ShortName">
													<!--  NptgLocality.Descriptor.ShortName -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Descriptor.ShortName._lang">
													<!--  NptgLocality.Descriptor.ShortName.Lang-->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Descriptor.Qualifier">
													<!--  NptgLocality.Descriptor.Qualify.QualifierName -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Descriptor.Qualifier.Name._lang">
													<!--  NptgLocality.Descriptor.Qualify.QualifierName.Lang-->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="TypeOfTopographicPlace">
													<!--  NptgLocality.LocalityClassification -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="responsibilitySet">
													<!--  NptgLocality.AdministrativeAreaRef -->
													<RelationshipRef nameOfClass="ResponsibilitySetRef"/>
													<Mandatory>required</Mandatory>
													<Containment>byReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="parentZone">
													<RelationshipRef nameOfClass="ParentZoneRef"/>
													<!--  NptgLocality.NptgDistrictRef-->
													<Mandatory>optional</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="placeTypes">
													<RelationshipRef nameOfClass="TypeOfPlaceRef"/>
													<!--  NptgLocality.SourceLocalityType -->
													<Mandatory>required</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="country">
													<RelationshipRef nameOfClass="CountryRef"/>
													<Mandatory>optional</Mandatory>
													<Containment>byReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="parentTopographicPlace">
													<RelationshipRef nameOfClass="ParentTopographicPlaceRef"/>
													<!--  NptgLocality.ParentNptgLocalityRef -->
													<Mandatory>optional</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="alternativeDescriptors">
													<!--  NB Only coccasionally  actually populated in current data set -->
													<RelationshipRef nameOfClass="TopographicPlaceDescriptor"/>
													<!--   NptgLocality.alternativeDeiscriptors.Descriptor -->
													<Mandatory>optional</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="adjacentLocalities">
													<!--  NB Only coccasionally  actually populated in current data set -->
													<RelationshipRef nameOfClass="TopographicPlaceRef"/>
													<!--   NptgLocality.AdjacentLocalities.NptgLocalityRef -->
													<Mandatory>optional</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="containedIn">
													<!--  NB Not  actually populated in current data set ? -->
													<RelationshipRef nameOfClass="TopographicPlaceRef"/>
													<!--   NptgLocality.Descriptor.Qualify.NptgLocalityRef -->
													<Mandatory>optional</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
										<ClassInFrame nameOfClass="TopographicPlaceDescriptor">
											<!-- 	 TopographicPlace maps to  a NPTG Locality. 		lternativeDescriptors.Descrip  -->
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="_id">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.NptgLocalityCode-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_version">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.RevisionNumber-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_created">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.CreationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_changed">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.ModificationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_modification">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.Modification -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Name">
													<!-- NptgLocality.AlternativeDescriptors.Descriptor.LocalityName -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="ShortName">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.ShortName -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Qualifier">
													<!--  NptgLocality.AlternativeDescriptors.Descriptor.Qualify.QualifierName -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="responsibilitySet">
													<!--  NptgLocality.AdministrativeAreaRef -->
													<RelationshipRef nameOfClass="ResponsibilitySetRef"/>
													<Mandatory>required</Mandatory>
													<Containment>byReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="containedIn">
													<!--  NB Not  actually populated in current data set ? -->
													<RelationshipRef nameOfClass="TopographicPlaceRef"/>
													<!--   NptgLocality.AlternativeDescriptors.Descriptor.Qualify.NptgLocalityRef -->
													<Mandatory>optional</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
										<!-- Classes for Plus Bus Zone -->
										<ClassInFrame nameOfClass="TariffZone">
											<!-- 	 TariffZone  maps to  a NPTG PlusBuzSOne -->
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="_id">
													<!--  NptgPlusBusZone.PlusBusZoneCode-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_version">
													<!--  NptgPlusBusZone.RevisionNumber-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_created">
													<!--  NptgPlusBusZone.CreationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_changed">
													<!--  NptgPlusBusZone.ModificationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_modification">
													<!--  NptgPlusBusZone.Modification -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Name">
													<!--  NptgPlusBusZone.Name-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Name._lang">
													<!--  NptgPlusBusZone.Name.Lang-->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="PrivateCode">
													<!--  NptgPlusBusZone.PlusBusZoneCode-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="types">
													<!--  Fixed    -->
													<RelationshipRef nameOfClass="TypeOfZoneRef"/>
													<Mandatory>required</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="country">
													<!--  NptgPlusBusZone.Country-->
													<RelationshipRef nameOfClass="CountryRef"/>
													<Mandatory>optional</Mandatory>
													<Containment>byReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="projection">
													<!--  NptgPlusBusZone.Mapping  ..  <Location><Easting>  .. <Northing>  -->
													<RelationshipRef nameOfClass="gml:Polygon"/>
													<Mandatory>required</Mandatory>
													<Containment>inline</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
										<ClassInFrame nameOfClass="gml:Polygon">
											<!-- 	 gml:Polygon  maps to  a NPTG PlusBusZone.Mapping  -->
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="_gml.id">
													<!--  NptgPlusBusZone.Mapping.PlusBusZoneCode -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_srsName">
													<!-- NptgPlusBusZone.Mapping.GridType -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="gml.exterior.LinearRIng.pos">
													<!-- NptgPlusBusZone.Mapping.GridType.Easting  NptgPlusBusZone.Mapping.GridType.Northng  -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
										</ClassInFrame>
									</classes>
									<ModificationSet>all</ModificationSet>
								</TypeOfFrame>
								<TypeOfFrame version="nptg:v2.1" id="nptg:UK_NPTG_profile_admin_context">
									<Name>NPTG Admin areas for NPTG </Name>
									<classes>
										<ClassInFrame nameOfClass="GeneralOrganisation">
											<!--  Fixed    -->
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="Name">
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="parts">
													<!--  NPTG Region    -->
													<RelationshipRef nameOfClass="OrganisationPart"/>
													<Mandatory>required</Mandatory>
													<Containment>inline</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
										<ClassInFrame nameOfClass="OrganisationPart">
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="Name">
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="PublicCode">
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="administrativeZones">
													<RelationshipRef nameOfClass="TransportAdministrativeZone"/>
													<Mandatory>required</Mandatory>
													<Containment>inline</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
										<ClassInFrame nameOfClass="TransportAdministrativeZone">
											<!-- Maps some aspects of  NPTG Admin Area								
	<AdministrativeArea Modification="new" Status="active" DataRightRef="DR01" CreationDateTime="2001-12-17T09:30:47Z" ModificationDateTime="2001-12-17T09:30:47Z" BaselineVersion="1"   RevisionNumber="1" >
					<AdministrativeAreaCode>101</AdministrativeAreaCode>
					<AtcoAreaCode>001</AtcoAreaCode>
					<Name>Nptg Admin area 101</Name>
					<ShortName>Nptg Admin area 101 short Name</ShortName>



		<MaximumLengthForShortNames>24</MaximumLengthForShortNames>   USE KEY LIST FOR MAPPING
					<National>false</National>       represent by TypeOf 
					<NaptanPrefixes>   <CodespaceAssignment><CodePrefix>
						<AlphaPrefix>333</AlphaPrefix>
					</NaptanPrefixes>
					<CleardownRange>   
						<CleardownStart>2</CleardownStart>   <CodespaceAssignment><StartValue>
						<CleardownEnd>4</CleardownEnd>  <CodespaceAssignment><EndValue>
					</CleardownRange>

  -->
											<Mandatory>required</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="_id">
													<!--  Nptg AdministrativeArea.AdministrativeAreaCode -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_version">
													<!--  Nptg AdministrativeArea.RevisionNumber-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_created">
													<!--  Nptg AdministrativeArea.CreationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_changed">
													<!--  Nptg AdministrativeArea.ModificationDateTime  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_modification">
													<!--  Nptg AdministrativeArea.Modification -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="Name">
													<!--  Nptg AdministrativeArea.Name -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="ShortName">
													<!--  Nptg AdministrativeArea.ShortName -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="PrivateCode">
													<!--  N ptg AdministrativeArea.AtcoAreaCode>  -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="types">
													<!--  N ptg AdministrativeArea.National>  -->
													<RelationshipRef nameOfClass="TypeOfZoneRef"/>
													<Mandatory>required</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="projections">
													<RelationshipRef nameOfClass="TopographicProjection"/>
													<Mandatory>optional</Mandatory>
													<Containment>inline</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="subzones">
													<RelationshipRef nameOfClass="TransportAdministrativeZone"/>
													<Mandatory>optional</Mandatory>
													<Containment>inline</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="codespaceAssignments">
													<!--  N ptg AdministrativeArea.NaptanPrefixes>  -->
													<RelationshipRef nameOfClass="CodespaceAssignment"/>
													<Mandatory>optional</Mandatory>
													<Containment>inline</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
										<ClassInFrame nameOfClass="CodespaceAssignment">
											<!--   NPTG  <AdministrativeArea 	 
							........
					<NaptanPrefixes>   <CodespaceAssignment><CodePrefix>
						<AlphaPrefix>333</AlphaPrefix>
					</NaptanPrefixes>
					<CleardownRange>   
						<CleardownStart>2</CleardownStart>   <CodespaceAssignment><StartValue>
						<CleardownEnd>4</CleardownEnd>  <CodespaceAssignment><EndValue>
					</CleardownRange> -->
											<Mandatory>optional</Mandatory>
											<attributes>
												<ClassAttributeInFrame name="_id">
													<!--  Nptg AdministrativeArea.AdministrativeAreaCode  + prefix -->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="_version">
													<!--  Nptg AdministrativeArea.RevisionNumber-->
													<Mandatory>required</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="CodePrefix">
													<!--  Nptg AdministrativeArea.AtcoCode  -->
													<!--  Nptg AdministrativeArea.NaptanPrefixes.AlphaPrefix   -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="StartValue">
													<!--  Nptg AdministrativeArea.CleardownRange.Start  -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
												<ClassAttributeInFrame name="EndValue">
													<!--  Nptg AdministrativeArea.CleardownRange.End -->
													<Mandatory>optional</Mandatory>
												</ClassAttributeInFrame>
											</attributes>
											<relationships>
												<ClassRelationshipInFrame name="codespace">
													<RelationshipRef nameOfClass="CodespaceRef"/>
													<Mandatory>required</Mandatory>
													<Containment>byReference</Containment>
												</ClassRelationshipInFrame>
												<ClassRelationshipInFrame name="typeOfCodespaceAssignment">
													<!--  Nptg AdministrativeArea.AtcoCode -->
													<!--  Nptg AdministrativeArea.NaptanPrefixes -->
													<!--  Nptg AdministrativeArea.CleardownRange -->
													<RelationshipRef nameOfClass="TypeOfCodespaceAssignmentRef"/>
													<Mandatory>required</Mandatory>
													<Containment>byVersionedReference</Containment>
												</ClassRelationshipInFrame>
											</relationships>
										</ClassInFrame>
									</classes>
									<ModificationSet>all</ModificationSet>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<!-- ==== Fixed values == -->
						<ValueSet version="nptg:v2.1" id="nptg:UK_NPTG_profile@Place_types" classOfValues="TypeOfPlace">
							<Name>NPTG Place Types   s</Name>
							<values>
								<TypeOfPlace version="nptg:v2.1" id="nptg:SourceLocalityType@Lo">
									<Name>NPTG Source Loc  = Lo</Name>
								</TypeOfPlace>
								<TypeOfPlace version="nptg:v2.1" id="nptg:SourceLocalityType@Co">
									<Name>NPTG Source Loc  = Co</Name>
								</TypeOfPlace>
								<TypeOfPlace version="nptg:v2.1" id="nptg:SourceLocalityType@Pa">
									<Name>NPTG Source Loc  = Pa</Name>
								</TypeOfPlace>
								<TypeOfPlace version="nptg:v2.1" id="nptg:SourceLocalityType@ar">
									<Name>NPTG Source Loc  = ar</Name>
								</TypeOfPlace>
								<TypeOfPlace version="nptg:v2.1" id="nptg:SourceLocalityType@Add">
									<Name>NPTG Source Loc  = Add</Name>
								</TypeOfPlace>
								<TypeOfPlace version="nptg:v2.1" id="nptg:SourceLocalityType@U">
									<Name>NPTG Source Loc  = U</Name>
								</TypeOfPlace>
							</values>
						</ValueSet>
						<ValueSet version="nptg:v2.1" id="nptg:UK_NPTG_profile@Organisation_part_types" classOfValues="TypeOfZone">
							<Name>NPTG Organisation Part Types   s</Name>
							<values>
								<TypeOfZone version="nptg:v2.1" id="nptg:UkRegion">
									<Name>An NPTG Region</Name>
								</TypeOfZone>
								<TypeOfZone version="nptg:v2.1" id="nptg:AdministrativeArea@National">
									<Name>An NPTG Administrative Area with National scope (e.g. 910, 920 etc)</Name>
								</TypeOfZone>
								<TypeOfZone version="nptg:v2.1" id="nptg:AdministrativeArea@Local">
									<Name>An NPTG Administrative Area with Local scope</Name>
								</TypeOfZone>
								<TypeOfZone version="nptg:v2.1" id="nptg:UkDistrict">
									<Name>An NPTG District</Name>
								</TypeOfZone>
								<TypeOfZone version="nptg:v2.1" id="nptg:UkLocality">
									<Name>An NPTG Locality</Name>
								</TypeOfZone>
								<TypeOfZone version="nptg:v2.1" id="nptg:PlusBusZone">
									<Name>An PlusBus Tariff Zone</Name>
								</TypeOfZone>
							</values>
						</ValueSet>
						<ValueSet version="nptg:v2.1" id="nptg:UK_NPTG_profile@Sms_codes" classOfValues="TypeOfCodespaceAssignment">
							<Name>NPTG Codespace Assignment Types</Name>
							<values>
								<TypeOfCodespaceAssignment version="nptg:v2.1" id="nptg:naptan_prefix">
									<Name>NPTG Stop prefix</Name>
								</TypeOfCodespaceAssignment>
								<TypeOfCodespaceAssignment version="nptg:v2.1" id="nptg:naptan_sms">
									<Name>NPTG  Stop SMS prefix</Name>
								</TypeOfCodespaceAssignment>
								<TypeOfCodespaceAssignment version="nptg:v2.1" id="nptg:naptan_cleardown">
									<Name>NPTG  stop cleardown range  </Name>
								</TypeOfCodespaceAssignment>
							</values>
						</ValueSet>
					</typesOfValue>
					<organisations>
						<!---  DFT  -->
						<GeneralOrganisation id="nptg:DfT" modification="new" status="active" responsibilitySetRef="nptg:NPTG" version="nptg:v2.1">
							<Name>Department for Transport</Name>
						</GeneralOrganisation>
					</organisations>
				</ResourceFrame>
			</frames>
		</CompositeFrame>
	</dataObjects>
</PublicationDelivery>