<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== AMSY Arriva Saveres==== -->
<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">
	<!-- Arriva North West pass products Example

This example shows the encoding of a passes for a zonal fare system, using the Arriva Merseyside Ltd   passes 


It uses a simple generic encoding that uses sepaarte prdocuts for Adult,s Students and Scholars, with Sales offers,   for each ticket media.
 
Data is (C) Arriva

(C) Crown Copyright, 2020
Free to use under a Creative Commons license.
 
v1.02 2020.03.90 Corrections, add contactless
==================================
OVERVIEW OF PRODUCT OFFERINGS

A. AMSY Offerings

https://www.arrivabus.co.uk/bus-tickets/ticket-types/
https://www.arrivabus.co.uk/north-west/bus-tickets/student-travel-in-the-north-west/
https://www.arrivabus.co.uk/north-west/bus-tickets/scholar-travel-in-the-north-west/

1. ARriva North West bus offers a repeated use ticket 
	 (a) Day,  Week,  4Week  ANnual 
	 (b) Student Academic terms
	 (c) School Academic terms

1.1. Zones 
		There are   ArrivaSaver subzones within a North West zone  and a Wales zone
  North West area
	Merseyside Plus, Greater Manchester, Crew,  Chester Plus ,  Halton,
  Wales Area
	 Bangor_city, Menai, WRexham, 	

 Tickets are for a single zone 

  Student tickets are just for the NorthWest
  Scholar tickets are for  Merseyside Plus or NorthWest

1.2. Ticket materialisations

  There are different TYPES OF TRAVEL DOCUMENT; paper ticket ("cash") , mobile app (m-ticket) and smartcard and contactless card 

1.3. There are different time intervals avalaible, depending on materialisation and product
  1 day;  1 week,  4 week, 1 year  
  spring term, summer term, autumn term  etc  1 academic year (Student only), also variants with _1M and +2M

1.4. User eligibility
1.4.1. There are separate prices for different user types 
		 User Profiles: Adult; Child; Student;  Family
1.4.2.  Group tickets: A family group can consist of between 1 and 5 people (max 2 adults aged 16 or over).

1.5. Various notes and conditions attach to different elements
1.5.1  There are purchase windowsas to when each of the Student periods may be purchased

1.6. Prices 
 Not all combinations of parameters are allowed 
 
							Day		1Week 	1Month	1Year
Merseyside PLUS		Adult	£4.50	....	 ....	 ....
 more 
  
========================================================================================================
B. IMPLEMENTATION

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

1.1 FARE ZONES for each ZONE

1.2  TARIFFs for each product 
1.2.1 For each saver product (One for ArrivaSaver, One for ArrivaStudent, One for ArrivaScholar)  
1.2.1.1 TIME INTERVALS for each duration 
1.2.1.2 FARE STRUCTURE ELEMENTS for the available 
			access zones
			eligibilities
			groups of (ArrivaSaver)
			durations (as intervals) Can have separate elements for separate user ty[es
			conditions of travel
			sale conditions
1.2.1.3 USAGE PARAMETERs 
1.2.1.3.1 USER PROFILE or GROUP TICKET) for each of the eligible groups
1.2.1.3.1 PURCHASE WINDOWS for each of the student purchase windows

1.2.2 TARIFF   for 16Plus discountcard
1.2.2.1 TIME INTERVALS for each duration 
1.2.2.2 FARE STRUCTURE ELEMENTS for the available  
			eligibilities 
			conditions of travel 
1.2.2.3 USAGE PARAMETERs 
1.2.1.2.1 USER PROFILE for the eligible group 

 
1.2.3 Fare products
 1.2.3.1 PREASSIGNED FARE PRODUCTs for the one zone ArrivaSaver product 
 1.2.3.2 PREASSIGNED FARE PRODUCTs for the one zone ArrivaStudent product 
 1.2.3.3 PREASSIGNED FARE PRODUCTs for the one zone ArrivaScholar product 

 1.2.3.4 SALE DISCOUNT RIGHT for for the  16Plus discount card 
 1.2.3.5 AMOUNT OF PRICE UNIT  for the ArrivaConnect Smartcard

1.2.4 Sales Packages
 1.2.4.1 SALES OFFER PACKAGE for the one zone ArrivaSaver PREASSIGNED FARE PRODUCT limited to a zone, with TYPE OF DOCUMENT on SALES ELEMENT (paper))
 1.2.4.2 SALES OFFER PACKAGE for the one zone ArrivaSaver PREASSIGNED FARE PRODUCT limited to a zone, with TYPE OF DOCUMENT on SALES ELEMENTs (mobile app)  
 1.2.4.3 SALES OFFER PACKAGE for the one zone ArrivaSaver PREASSIGNED FARE PRODUCT limited to a zone, with TYPE OF DOCUMENT on SALES ELEMENTs (smartcard)  

 1.2.4.4 SALES OFFER PACKAGE for the  SALE DISCOUNT RIGHT 16Plus discount card
 1.2.4.5 SALES OFFER PACKAGE for the  AMOUNT OF PRICE UNIT  ArrivaConnectSmartcard

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

1.4 FARE TABLEs of prices for allowed combinations 

The Prices are separated from the elements they price so differnt alternative sets can be shown.

 - Prices can either be specifically   typed,  say using  TIME INTERVAL PRICES or  generically typed, using CELLs and CELL PRICEs
 - Prices can be nested  in FARE TABLEs so as to avoid repeating references, or flat, repreating references in each cell  

 elements.


1.5 SERVICE CALENDARs to define the Academic terms for Students and For Schools
1.5.1 AN OperatingPeriod for each term.
1.5.1 AN OperatingPeriod for whole year
::::::::::::::
 

We group the elements in separate frames

2.1  COMPOSITE FRAME of the fare definition 
2.1.1 RESOURCE FRAME with common definitions specific to the operator.  
2.1.2 SERVICE FRAME with   definitions of the network elements (LINEs, etc) used by the fare  
2.1.3 Network FARE FRAME with  definitions of the fare network  elements (FARE ZONEs etc) used in the TARIFFs and FARE PRODUCTs,
2.1.4 Product FARE FRAMEs with   the actual definitions of the fare products as TARIFF, FARE PRODUCT and SALES OFFER PACKAGE elements 
2.1.4.1 ArrivaConnect smartcard and 16Plus product definitions
2.1.4.2 ArrivaSaver product definitions
2.1.4.3 ArrivaStudent product definitions
2.1.4.4 ArrivaScholar product definitions
2.1.5 Price FARE FRAMEs with   definitions of the fare prices for fare products.  
2.1.5.1 ArrivaSaver price definitions
2.1.5.2 ArrivaStudent price definitions
2.1.5.2 ArrivaScholar price definitions

2.2  COMPOSITE FRAME of standard resources.  These are fixed classifications from the UK Fare Profile for frame types, code values, etc.
     This allows the use of classifications in the example data  to be validated automatically.
     For simplicity the contents of the  entire frame is included, even though many values are not actually referenced.
     An implementation might choose to include just the values it uses, which would be more compact.
2.2.1 Fxc Profile RESOURCE FRAME with common definitions of TYPEs OF FRAME for the UK Fare Profile  
2.2.2 Fxc Profile FARE FRAME with common definitions of Fare related Code values, etc for the UK Fare Profile  
2.2.3 Fxc Profile RESOURCE FRAME with common definitions of  general Code values for the UK Fare Profile  
2.2.4 NPTG RESOURCE FRAME with common definitions of  NPTG Code values for the UK Fare Profile  

==================================
-->
	<PublicationTimestamp>2017-12-17T09:30:47.0Z</PublicationTimestamp>
	<ParticipantRef>SYS001</ParticipantRef>
	<!-- ======WHAT WAS REQUESTED ========== -->
	<PublicationRequest version="1.0">
		<RequestTimestamp>2019-12-17T09:30:46.0Z</RequestTimestamp>
		<ParticipantRef>SYS002</ParticipantRef>
		<Description>Request for AMSY bus pass fares</Description>
		<topics>
			<NetworkFrameTopic>
				<selectionValidityConditions>
					<AvailabilityCondition version="any" id="r1">
						<FromDate>2019-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:AMSY"/>
						<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@pass@period"/>
						<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaSaver"/>
						<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaStudent"/>
					</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:AMSY:CompositeFrame_UK_PI_NETWORK_FARE_OFFER:Pass@ArrivaSaver:op" dataSourceRef="op:src" responsibilitySetRef="op:tariffs">
			<ValidBetween>
				<FromDate>2019-01-01T00:00:00</FromDate>
				<ToDate>2020-12-31T12:00:00</ToDate>
			</ValidBetween>
			<Name>ArrivaSaver - Fares Example</Name>
			<Description>This is an example showing how one might encode part of the ArrivaSaver 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="op_data"/>
			</codespaces>
			<!--==== FRAME DEFAULTS ==== -->
			<FrameDefaults>
				<!--- The default means that actually we could leave off all id s that belong to the op: namespace. -->
				<DefaultCodespaceRef ref="op_data"/>
				<DefaultDataSourceRef version="1.0" ref="op:src"/>
				<DefaultResponsibilitySetRef version="1.0" ref="op: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:AMSY:ResourceFrame_UK_PI_COMMON:AMSY:op" dataSourceRef="op:src" responsibilitySetRef="op: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="op_data">
							<Xmlns>op</Xmlns>
							<XmlnsUrl>https://www.arrivabus.co.uk/</XmlnsUrl>
							<Description>Arriva data.</Description>
						</Codespace>
					</codespaces>
					<FrameDefaults>
						<!--- The default means that actually we could leave off all id s that belong to the op: namespace. -->
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:network_data"/>
						<DefaultCurrency>GBP</DefaultCurrency>
					</FrameDefaults>
					<dataSources>
						<DataSource id="op:src" version="1.0">
							<Email>feedback@arrivabus.co.uk</Email>
						</DataSource>
					</dataSources>
					<!-- ========Responsibility Sets========== -->
					<responsibilitySets>
						<ResponsibilitySet version="1.0" id="op:tariffs">
							<Name>Operator tariff data</Name>
							<roles>
								<ResponsibilityRoleAssignment version="1.0" id="op:tariff_data@creates">
									<DataRoleType>creates</DataRoleType>
									<StakeholderRoleType>fareManagement</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="noc:AMSY" version="1.0">AMSY</ResponsibleOrganisationRef>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
						<ResponsibilitySet version="1.0" id="op:network_data">
							<Name>Operator Network data</Name>
							<roles>
								<ResponsibilityRoleAssignment version="1.0" id="op:network_data@creates">
									<DataRoleType>creates</DataRoleType>
									<StakeholderRoleType>planning</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="noc:AMSY" version="1.0">AMSY</ResponsibleOrganisationRef>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
					</responsibilitySets>
					<typesOfValue>
						<ValueSet version="1.0" id="op:Branding" classOfValues="Branding">
							<Name>Operator Branding</Name>
							<values>
								<Branding version="1.0" id="op:operator@brand">
									<Name>Arriva Merseyside Ltd</Name>
									<Url>https://commons.wikimedia.org/wiki/File:New_Logo_Arriva.png</Url>
								</Branding>
							</values>
						</ValueSet>
						<ValueSet version="1.0" id="op:TypeOfTravelDocument" nameOfClass="TypeOfTravelDocument">
							<values>
								<!--- ==== ClassOfUse========= -->
								<TypeOfTravelDocument version="1.0" id="op:p-ticket">
									<Name>Bought on the bus with Cash</Name>
									<Description>Paper ticket.</Description>
									<Url>https://www.arrivabus.co.uk/north-west/bus-tickets/</Url>
									<IsSmartCard>false</IsSmartCard>
									<MediaType>paperTicket</MediaType>
								</TypeOfTravelDocument>
								<TypeOfTravelDocument version="1.0" id="op:m-ticket">
									<Name>Stored on your mobile phone as m-tickets</Name>
									<Url>https://www.arrivabus.co.uk/bus-tickets/m-ticket/</Url>
									<IsSmartCard>false</IsSmartCard>
									<MediaType>mobileApp</MediaType>
								</TypeOfTravelDocument>
								<TypeOfTravelDocument version="1.0" id="op:smartcard">
									<Name>Stored on your smartcard s</Name>
									<Url>https://www.arrivaconnect.co.uk/home.faces</Url>
									<IsSmartCard>false</IsSmartCard>
									<MediaType>mobileApp</MediaType>
								</TypeOfTravelDocument>
								<TypeOfTravelDocument version="1.0" id="op:contactless">
									<Name>Pay with contactless payment card eg credot or debit card </Name>
									<Url>https://www.arrivabus.co.uk/bus-tickets/contactless-payment/</Url>
									<IsSmartCard>true</IsSmartCard>
									<MediaType>smartCard</MediaType>
								</TypeOfTravelDocument>
							</values>
						</ValueSet>
					</typesOfValue>
					<organisations>
						<!--==== Operators ==== -->
						<Operator version="1.0" id="noc:AMSY">
							<privateCodes>
								<PrivateCode type="nocn">nocn:</PrivateCode>
							</privateCodes>
							<PublicCode>AMSY</PublicCode>
							<Name>Arriva North West</Name>
							<ShortName>Arriva Merseyside Ltd</ShortName>
							<TradingName>Arriva Merseyside Ltd Ltd</TradingName>
							<ContactDetails>
								<Phone>0151 488 7612</Phone>
								<Url>https://www.arrivabus.co.uk/contact-us/</Url>
							</ContactDetails>
							<OrganisationType>operator</OrganisationType>
							<CountryRef ref="uk" refPrincipality="iso3166-2:GB-UKM"/>
							<Address>
								<Street>90 Laird St,  CH41 8ES</Street>
								<Town>Birkenhead</Town>
								<PostCode>CH41 8ES</PostCode>
							</Address>
							<PrimaryMode>bus</PrimaryMode>
						</Operator>
					</organisations>
				</ResourceFrame>
				<!--==== NETWORK - including lines 271 & 272 ==== -->
				<!--==== FAREs ==== -->
				<!-- Arriva Saver products -->
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_NETWORK:Arriva@pass:op" responsibilitySetRef="op:network_data">
					<Name>Arriva North  &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="op:network_data"/>
					</FrameDefaults>
					<prerequisites>
						<ResourceFrameRef version="1.0" ref="epd:UK:AMSY:ResourceFrame_UK_PI_COMMON:AMSY:op"/>
					</prerequisites>
					<!--==== Fare zones === NB These are just a guess from the map s -->
					<fareZones>
						<FareZone version="1.0" id="op:Arriva@North_West_area">
							<Name>North West</Name>
							<Description>North West zone.</Description>
							<infoLinks>
								<InfoLink typeOfInfoLink="map">https://www.arrivabus.co.uk/globalassets/documents/north-west-and-wales-services-documents/nth_west_and_wales_ticket_zones_map-jan20.pdf</InfoLink>
							</infoLinks>
							<types>
								<TypeOfZoneRef ref="fxc:fare_zone@operator" version="fxc:v1.0"/>
							</types>
							<projections>
								<TopographicProjectionRef versionRef="nptg:EXTERNAL" ref="nptgLocality:TODO">Merseyside</TopographicProjectionRef>
								<!-- etc etc -->
							</projections>
							<ZoneTopology>nested</ZoneTopology>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@MerseysidePlus">
							<Name>MerseysidePlus</Name>
							<Description>MerseysidePlus zone.</Description>
							<infoLinks>
								<InfoLink typeOfInfoLink="map">https://www.arrivabus.co.uk/globalassets/documents/north-east-services-documents/liverpool_network_map_oct19.pdf</InfoLink>
							</infoLinks>
							<types>
								<!--<members>
														TODO		ADD STOPS IN ZONE	 -->
								<TypeOfZoneRef ref="fxc:fare_zone@operator" version="fxc:v1.0"/>
							</types>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Greater_Manchester">
							<Name>Greater Manchester</Name>
							<Description>Merseyside zone.</Description>
							<infoLinks>
								<InfoLink typeOfInfoLink="map">https://www.arrivabus.co.uk/globalassets/documents/north-west-and-wales-services-documents/nth_west_and_wales_ticket_zones_map-jan20.pdf</InfoLink>
							</infoLinks>
							<members>
								<!-- THis is all teyh Naptan stops i in SHeffield -->
								<ScheduledStopPointRef versionRef="EXTERNAL" ref="naptStop:">TODO</ScheduledStopPointRef>
							</members>
							<!-- MORE TO DO -->
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Wirral">
							<Name>Wirral</Name>
							<Description>Wirral ArrivaSaver 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 versionRef="nptg:EXTERNAL" ref="nptgLocality:TODO">WIrral</TopographicProjectionRef>
								<!-- ETC TO DO -->
							</projections>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@WirralPlus">
							<Name>WirralPlus</Name>
							<Description>Wirral ArrivaSaver 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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@ChesterPlus">
							<Name>Chester Plus</Name>
							<Description>ChesterPlus ArrivaSaver 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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Crewe">
							<Name>Crewe</Name>
							<Description>Crewe ArrivaSaver 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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Halton">
							<Name>Halton</Name>
							<Description>Halton   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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<!-- Wales -->
						<FareZone version="1.0" id="op:Arriva@Wales_area">
							<Name>Wales Aea</Name>
							<Description>Wales zone.</Description>
							<infoLinks>
								<InfoLink typeOfInfoLink="map">https://www.arrivabus.co.uk/globalassets/documents/north-west-and-wales-services-documents/nth_west_and_wales_ticket_zones_map-jan20.pdf</InfoLink>
							</infoLinks>
							<types>
								<TypeOfZoneRef ref="fxc:fare_zone@operator" version="fxc:v1.0"/>
							</types>
							<projections>
								<TopographicProjectionRef versionRef="nptg:EXTERNAL" ref="nptgLocality:TODO">Merseyside</TopographicProjectionRef>
								<!-- etc etc -->
							</projections>
							<ZoneTopology>nested</ZoneTopology>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Wrexham">
							<Name>Wrexham</Name>
							<Description>Wrexham   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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@Wales_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Bangor_city">
							<Name>Bangor city</Name>
							<Description>Bangor city 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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@Wales_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
						<FareZone version="1.0" id="op:Arriva@Menai">
							<Name>Menai</Name>
							<Description>Menai 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>
							<ParentFareZoneRef version="1.0" ref="op:Arriva@Wales_area"/>
							<ZoneTopology>nested</ZoneTopology>
							<ScopingMethod>explicitStops</ScopingMethod>
						</FareZone>
					</fareZones>
				</FareFrame>
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:Arriva16Plus_card@pass:op" responsibilitySetRef="op:tariffs">
					<Name>Arriva Saver fare products and</Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_NETWORK:Arriva@pass:op"/>
					</prerequisites>
					<!--====Tariff Structure ==== -->
					<tariffs>
						<Tariff version="1.0" id="Tariff@16Plus_card">
							<validityConditions>
								<ValidBetween>
									<FromDate>2018-01-01T00:00:00Z</FromDate>
									<ToDate>2022-01-01T00:00:00Z</ToDate>
								</ValidBetween>
							</validityConditions>
							<Name>16Plus_card Discount_card - Tariff</Name>
							<documentLinks>
								<InfoLink typeOfInfoLink="info">https://www.arrivabus.co.uk/north-west/bus-tickets/16Plus/</InfoLink>
							</documentLinks>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<TypeOfTariffRef version="fxc:v1.0" ref="fxc:zonal"/>
							<!--- ====Fare Structure======= -->
							<!-- ==FARE STRUCTURE ELEMENTS -->
							<fareStructureElements>
								<FareStructureElement version="1.0" id="Tariff@16Plus_card@eligibility">
									<Name>Eligible user types</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:eligibility"/>
									<GenericParameterAssignment order="1" id="Tariff@16Plus_card@eligibility" version="1.0">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<!--- ===ELIGIBILITY USAGE PARAMETERS ========= -->
											<UserProfile version="1.0" id="op:youth">
												<Name>Youth</Name>
												<Description>From the age of 11 until 31 August after your 16th birthday, you can pay child fares if you have an igo card.</Description>
												<prices>
													<UsageParameterPrice version="1.0" id="op:youth">
														<UsageParameterPriceRef version="1.0" ref="op:adult"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
												<MinimumAge>12</MinimumAge>
												<MaximumAge>16</MaximumAge>
												<MonthDayOnWhichAgeApplies>--08-31</MonthDayOnWhichAgeApplies>
												<ProofRequired>membershipCard</ProofRequired>
											</UserProfile>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="Tariff@16Plus_card@conditions_of_travel" version="1.0">
									<Name>Conditions of travel</Name>
									<GenericParameterAssignment version="1.0" order="1" id="Tariff@16Plus_card@conditions_of_travel">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<Transferability version="1.0" id="Tariff@16Plus_card@transferability">
												<Name>Ticket is not transferable</Name>
												<CanTransfer>false</CanTransfer>
											</Transferability>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="Tariff@16Plus_card@entitlements_given">
									<Name>All period</Name>
									<GenericParameterAssignment version="1.0" order="1" id="Tariff@18-33_18-22_Discount_card@entitlements_given">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:gives_entitlement"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<EntitlementGiven version="1.0" id="Tariff@16Plus_card@entitlements_given@ArrivaSaver">
												<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaSaver"/>
											</EntitlementGiven>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
							</fareStructureElements>
						</Tariff>
					</tariffs>
					<!--==== Fare Product ==== -->
					<fareProducts>
						<!--==== Other Products ==== -->
						<SaleDiscountRight version="1.0" id="Travelcard@16Plus_card">
							<Name>16 Plus Card</Name>
							<Description>he 16Plus photocard is available to anyone aged between 16 and 21,  entitling the holder to discounted travel on Arriva bus services in Merseyside and Lancashire for 1 year (£1.80 flat fare, single trip).</Description>
							<Url>https://www.arrivabus.co.uk/north-west/bus-tickets/16Plus/</Url>
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@discount@sales"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<validableElements>
								<ValidableElement version="1.0" id="Travelcard@16Plus_card@travel">
									<Name>Unlimited rides available for specified durations</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="Tariff@16Plus_card@eligibility"/>
										<FareStructureElementRef version="1.0" ref="Tariff@16Plus_card@conditions_of_travel"/>
										<FareStructureElementRef version="1.0" ref="Tariff@16Plus_card@entitlements_given"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="Travelcard@16Plus_card@travel" order="1">
									<ValidableElementRef version="1.0" ref="Travelcard@16Plus_card@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>travelCard</ProductType>
						</SaleDiscountRight>
						<AmountOfPriceUnitProduct version="1.0" id="Smartcard@ArrivaConnect">
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<ProductType>storedValue</ProductType>
						</AmountOfPriceUnitProduct>
					</fareProducts>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<!-- Other products -->
						<SalesOfferPackage version="1.0" id="ArrivaConnect-SOP@smart_card">
							<Name>Smartcard card</Name>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="ArrivaConnect-SOP@smart_card@online_post" order="1">
									<Name>By Post</Name>
									<Description>Preorder online .</Description>
									<DistributionChannelRef ref="fxc:online" version="fxc:v1.0"/>
									<PaymentMethods>debitCard creditCard cash</PaymentMethods>
									<RequiresRegistration>true</RequiresRegistration>
									<FulfilmentMethodRef ref="fxc:post" version="fxc:v1.0"/>
								</DistributionAssignment>
								<DistributionAssignment version="1.0" id="ArrivaConnect-SOP@smart_card@at_station" order="2">
									<Name>At bss stations</Name>
									<DistributionChannelRef ref="fxc:self_service_ticket_machine" version="fxc:v1.0"/>
									<PaymentMethods>debitCard creditCard cash</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:collect_from_machine" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<!-- == Elements == -->
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="ArrivaConnect-SOP@smart_card@smartcard" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="op:smartcard"/>
									<AmountOfPriceUnitProductRef version="1.0" ref="Smartcard@ArrivaConnect"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
						<SalesOfferPackage version="1.0" id="16Plus_card-SOP@membership_card">
							<Name>18-22 Discount card</Name>
							<Description>Right to buy Travelmaster product sat a discount.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="16Plus_card-SOP@membership_card@online_post" order="1">
									<Name>By Post</Name>
									<Description>Preorder online e.</Description>
									<DistributionChannelRef ref="fxc:online" version="fxc:v1.0"/>
									<PaymentMethods>debitCard creditCard cash</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:post" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<!-- == Elements == -->
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="16Plus_card-SOP@membership_card" order="2">
									<TypeOfTravelDocumentRef version="fxc:v1.0" ref="fxc:membership_card"/>
									<SaleDiscountRightRef version="1.0" ref="Travelcard@16Plus_card"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
					</salesOfferPackages>
				</FareFrame>
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:ArrivaSaver@pass:op" responsibilitySetRef="op:tariffs">
					<Name>Arriva Saver fare products and</Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_NETWORK:Arriva@pass:op"/>
					</prerequisites>
					<PricingParameterSet version="1.0" id="op:Pass@ArrivaSaver@product">
						<pricingRules>
							<LimitingRule version="1.0" id="op:max_amount_for_Contactless">
								<Name>Maximum allowed oncontactless is 30</Name>
								<MaximumPrice>30.00</MaximumPrice>
							</LimitingRule>
						</pricingRules>
					</PricingParameterSet>
					<!--====Tariff Structure ==== -->
					<tariffs>
						<Tariff version="1.0" id="op:Tariff@ArrivaSaver">
							<validityConditions>
								<ValidBetween>
									<FromDate>2019-01-01T00:00:00Z</FromDate>
									<ToDate>2020-01-01T00:00:00Z</ToDate>
								</ValidBetween>
							</validityConditions>
							<Name>ArrivaSaver - Tariff</Name>
							<Description>Arriva Pass single zone tariff.</Description>
							<documentLinks>
								<InfoLink typeOfInfoLink="fareSheet">https://www.arrivabus.co.uk/north-west/bus-tickets/multi-journey-saver-tickets-in-the-north-west/</InfoLink>
							</documentLinks>
							<OperatorRef version="1.0" ref="noc:AMSY">AMSY</OperatorRef>
							<TypeOfTariffRef version="fxc:v1.0" ref="fxc:zonal"/>
							<!--- ====Fare Structure======= -->
							<timeIntervals>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@1day">
									<Name>1 day</Name>
									<StartTime>00:00:00</StartTime>
									<EndTime>23:59:59</EndTime>
									<Duration>P1D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@1week">
									<Name>1 week</Name>
									<Duration>P7D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@4week">
									<Name>4 week</Name>
									<Duration>P28D</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@1year">
									<Name>Annual</Name>
									<Duration>P1Y</Duration>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@autumn_term">
									<Name>Autumn term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@spring_term">
									<Name>Spring term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@summer_term">
									<Name>Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@autumn+spring_terms">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@spring+summer_terms">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@spring+summer_terms+1M">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@spring+summer_terms+2M">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@1academic_year">
									<Name>1 academic year</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@1academic_year+1M">
									<Name>1 academic year</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaSaver@1academic_year+2M">
									<Name>1 academic year</Name>
								</TimeInterval>
							</timeIntervals>
							<!-- ==FARE STRUCTURE ELEMENTS -->
							<fareStructureElements>
								<FareStructureElement version="1.0" id="Tariff@ArrivaSaver@operators@bus">
									<Name>Bus and tram operators who accept product</Name>
									<Description>single zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:accepted_by"/>
									<GenericParameterAssignment id="Tariff@ArrivaSaver@operators@bus" version="1.0" order="1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access"/>
										<ValidityParameterGroupingType>AND</ValidityParameterGroupingType>
										<validityParameters>
											<VehicleModes>bus</VehicleModes>
											<OperatorRef version="1.0" ref="noc:AMSY">AMSY</OperatorRef>
										</validityParameters>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaSaver@access_zones">
									<Name>Available zones</Name>
									<Description>single zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:access"/>
									<GenericParameterAssignment id="op:Tariff@ArrivaSaver@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="op:Arriva@North_West_area"/>
											<FareZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
											<FareZoneRef version="1.0" ref="op:Arriva@ChesterPlus"/>
											<FareZoneRef version="1.0" ref="op:Arriva@Greater_Manchester"/>
											<FareZoneRef version="1.0" ref="op:Arriva@Crewe"/>
											<FareZoneRef version="1.0" ref="op:Arriva@Halton"/>
											<FareZoneRef version="1.0" ref="op:Arriva@Wales_area"/>
											<FareZoneRef version="1.0" ref="op:Arriva@Menai"/>
											<FareZoneRef version="1.0" ref="op:Arriva@Bangor_city"/>
										</validityParameters>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaSaver@eligibility">
									<Name>Eligible user types</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:eligibility"/>
									<GenericParameterAssignment order="1" id="op:Tariff@ArrivaSaver@eligibility" version="1.0">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<!--- ===ELIGIBILITY USAGE PARAMETERS ========= -->
											<UserProfile version="1.0" id="op:adult">
												<Name>Adult</Name>
												<prices>
													<UsageParameterPrice version="1.0" id="op:adult">
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:none"/>
											</UserProfile>
											<UserProfile version="1.0" id="op:infant">
												<Name>Infant</Name>
												<Description>Children under 5 years old travel for free on buses in Greater Manchester.</Description>
												<prices>
													<UsageParameterPrice version="1.0" id="op:infant">
														<UsageParameterPriceRef version="1.0" ref="op:adult"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:infant"/>
												<MinimumAge>0</MinimumAge>
												<MaximumAge>4</MaximumAge>
												<DiscountBasis>free</DiscountBasis>
											</UserProfile>
											<UserProfile version="1.0" id="op:child">
												<Name>Child</Name>
												<Description>If you are aged 5-11 you can pay child fares on buses in Greater Manchester. From the age of 11 until 31 August after your 16th birthday, you can pay child fares if you have an igo card.</Description>
												<prices>
													<UsageParameterPrice version="1.0" id="op:child">
														<UsageParameterPriceRef version="1.0" ref="op:adult"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
												<MinimumAge>5</MinimumAge>
												<MaximumAge>11</MaximumAge>
												<DiscountBasis>discount</DiscountBasis>
											</UserProfile>
											<UserProfileRef version="1.0" ref="op:youth"/>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaSaver@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="op:Tariff@ArrivaSaver@groups" version="1.0" order="1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<GroupTicket version="1.0" id="op: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="op:family@adult">
														<UserProfileRef version="1.0" ref="op:adult"/>
														<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
														<MaximumNumberOfPersons>2</MaximumNumberOfPersons>
													</CompanionProfile>
													<CompanionProfile version="1.0" id="op:family@child">
														<UserProfileRef version="1.0" ref="op:child"/>
														<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
														<MaximumNumberOfPersons>4</MaximumNumberOfPersons>
													</CompanionProfile>
												</companionProfiles>
											</GroupTicket>
										</limitations>
										<ValidityParameterGroupingType>XOR</ValidityParameterGroupingType>
										<validityParameters>
											<TypeOfTravelDocumentRef version="1.0" ref="op:p-ticket"/>
											<TypeOfTravelDocumentRef version="1.0" ref="op:m-ticket"/>
										</validityParameters>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
									</GenericParameterAssignment>
								</FareStructureElement>
								<!-- allowed combinations of durations -->
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaSaver@durations">
									<Name>Available duration combinations.</Name>
									<Description>All periods allowed, 60 mins, but no evening - used in for some mticket, single ArrivaSaver zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:durations"/>
									<timeIntervals>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1week"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@4week"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1year"/>
									</timeIntervals>
									<GenericParameterAssignment version="1.0" id="op:Tariff@ArrivaSaver@adult_or_child" order="1">
										<Description>Adult/Child Cash ticket Only available for 1 Day or 1week</Description>
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access"/>
										<LimitationGroupingType>OR</LimitationGroupingType>
										<limitations>
											<UserProfileRef version="1.0" ref="op:adult"/>
											<UserProfileRef version="1.0" ref="op:child"/>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaSaver@durations@adult_cash">
									<Name>Available duration combinations -  walk up ticket</Name>
									<Description>All periods allowed, 60 mins, but no evening - used in for some mticket, single ArrivaSaver zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:durations"/>
									<timeIntervals>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1week"/>
									</timeIntervals>
									<GenericParameterAssignment version="1.0" id="op:Pass@ArrivaSaver@durations@1D_1W" order="1">
										<Description>Adult/Child Cash ticket Only available for 1 Day or 1week</Description>
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access"/>
										<LimitationGroupingType>OR</LimitationGroupingType>
										<limitations>
											<UserProfileRef version="1.0" ref="op:adult"/>
											<UserProfileRef version="1.0" ref="op:child"/>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaSaver@durations@group">
									<Name>Available duration combinations - group ticket</Name>
									<Description>All periods allowed, 60 mins, but no evening - used in for some mticket, single ArrivaSaver zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:durations"/>
									<timeIntervals>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
									</timeIntervals>
									<GenericParameterAssignment version="1.0" id="op:Tariff@ArrivaSaver@durations@group" order="1">
										<Description> Group ticket Only available for 1day</Description>
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access_when"/>
										<limitations>
											<GroupTicketRef version="1.0" ref="op:family"/>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaSaver@conditions_of_travel" version="1.0">
									<Name>Conditions of travel</Name>
									<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaSaver@conditions_of_travel">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<UsageValidityPeriod version="1.0" id="op:Tariff@ArrivaSaver@validity">
												<Name>User can choose start day. Duration specifed by product</Name>
												<UsageTrigger>specifiedStartDate</UsageTrigger>
												<UsageEnd>standardDuration</UsageEnd>
												<ActivationMeans>automaticByTime</ActivationMeans>
												<UsageStartConstraintType>variable</UsageStartConstraintType>
											</UsageValidityPeriod>
											<Transferability version="1.0" id="op:Tariff@ArrivaSaver@transferability">
												<Name>Ticket is not transferable</Name>
												<CanTransfer>false</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="op:Tariff@ArrivaSaver@frequency">
												<FrequencyOfUseType>unlimited</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="op:Tariff@ArrivaSaver@interchanging">
												<CanInterchange>true</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
							</fareStructureElements>
						</Tariff>
					</tariffs>
					<!--==== Fare Product ==== -->
					<fareProducts>
						<!--==== Pass Products ==== -->
						<PreassignedFareProduct version="1.0" id="op:Pass@ArrivaSaver">
							<Name>ArrivaSaver Pass</Name>
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@pass@period"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<validableElements>
								<ValidableElement version="1.0" id="op:Pass@ArrivaSaver@travel">
									<Name>Unlimited rides available for specified durations</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@access_zones"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@eligibility"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@groups"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@durations"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@durations@adult_cash"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@durations@group"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaSaver@conditions_of_travel"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="op:Pass@ArrivaSaver@travel" order="1">
									<ValidableElementRef version="1.0" ref="op:Pass@ArrivaSaver@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>periodPass</ProductType>
						</PreassignedFareProduct>
					</fareProducts>
					<!-- === FULFILMENT METHODS === -->
					<fulfilmentMethods>
						<FulfilmentMethod id="op:on_board_contactless" version="fxc:v1.0">
							<Name>Comtactless pay,emt</Name>
							<LimitingRuleRef version="1.0" ref="op:max_amount_for_Contactless"/>
							<FulfilmentMethodType>ticketMachine</FulfilmentMethodType>
						</FulfilmentMethod>
					</fulfilmentMethods>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<!-- Passes -->
						<SalesOfferPackage version="1.0" id="op:ArrivaSaver-SOP@p-ticket">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSaver - paper ticket</Name>
							<Description>Unlimited Travel in a given ArrivaSaver zon. Can be bought onbvoard e Student and child Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="op:ArrivaSaver-SOP@p-ticket@on_board_cash" order="1">
									<Name>Onboard</Name>
									<Description>Pay for ticket onboard.</Description>
									<DistributionChannelRef version="fxc:v1.0" ref="fxc:on_board"/>
									<DistributionChannelType>onBoard</DistributionChannelType>
									<PaymentMethods>cash</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:collect_on_board" version="fxc:v1.0"/>
								</DistributionAssignment>
								<DistributionAssignment version="1.0" id="op:ArrivaSaver-SOP@p-ticket@on_board@contactless" order="1">
									<Name>Onboard</Name>
									<Description>Pay for ticket onboard.</Description>
									<DistributionChannelRef version="fxc:v1.0" ref="fxc:on_board"/>
									<DistributionChannelType>onBoard</DistributionChannelType>
									<PaymentMethods>contactlessPaymentCard </PaymentMethods>
									<FulfilmentMethodRef ref="op:on_board_contactless" version="fxc:v1.0"/>
								</DistributionAssignment>
								<DistributionAssignment version="1.0" id="op:ArrivaSaver-SOP@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"/>
									<DistributionChannelType>other</DistributionChannelType>
									<TicketingServiceFacilityList>purchase collection</TicketingServiceFacilityList>
									<PaymentMethods>cashAndCard</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:collect_at_counter" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaSaver-SOP@p-ticket" order="3">
									<TypeOfTravelDocumentRef version="1.0" ref="op:p-ticket"/>
									<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaSaver"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
						<SalesOfferPackage version="1.0" id="op:ArrivaSaver-SOP@m-ticket">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSaver - mobile app</Name>
							<Description>Unlimited Travel in a ArrivaSaver area. Student and Group Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="op:ArrivaSaver-SOP@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"/>
									<DistributionChannelType>mobileDevice</DistributionChannelType>
									<PaymentMethods>debitCard creditCard mobilePhone</PaymentMethods>
									<FulfilmentMethodRef ref="fxc:mobile_app" version="fxc:v1.0"/>
								</DistributionAssignment>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaSaver-SOP@m-ticket" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="op:m-ticket"/>
									<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaSaver"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
						<SalesOfferPackage version="1.0" id="op:ArrivaSaver-SOP@smartcard">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSaver - smartcard</Name>
							<Description>Unlimited Travel in a ArrivaSaver area. Student and Group Tickets available.</Description>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaSaver-SOP@smartcard" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="op:smartcard"/>
									<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaSaver"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
					</salesOfferPackages>
					<!-- === GroupOf SALES OFFER PACKAGES === -->
				</FareFrame>
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:ArrivaStudent@pass:op" responsibilitySetRef="op:tariffs">
					<Name>Arriva Student Saver fare products and</Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_NETWORK:Arriva@pass:op"/>
						<ServiceCalendarFrameRef version="1.0" ref="epd:UK:FSYO:ServiceCalendarFrame_UK_PI_CALENDAR:Student:op"/>
					</prerequisites>
					<!--====Tariff Structure ==== -->
					<tariffs>
						<Tariff version="1.0" id="op:Tariff@ArrivaStudent">
							<validityConditions>
								<ValidBetween>
									<FromDate>2019-09-01T00:00:00Z</FromDate>
									<ToDate>2020-09-01T00:00:00Z</ToDate>
								</ValidBetween>
							</validityConditions>
							<Name>ArrivaStudent - Tariff</Name>
							<Description>Arriva STudent  Pass single zone tariff.</Description>
							<documentLinks>
								<InfoLink typeOfInfoLink="info">https://www.arrivabus.co.uk/north-west/bus-tickets/student-travel-in-the-north-west/</InfoLink>
							</documentLinks>
							<OperatorRef version="1.0" ref="noc:AMSY">AMSY</OperatorRef>
							<TypeOfTariffRef version="fxc:v1.0" ref="fxc:zonal"/>
							<!--- ====Fare Structure======= -->
							<timeIntervals>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@autumn_term">
									<Name>Autumn term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@spring_term">
									<Name>Spring term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@summer_term">
									<Name>Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@summer_term+1M">
									<Name>Summer term +1M</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@summer_term+2M">
									<Name>Summer term +2M</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@autumn+spring_terms">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@spring+summer_terms">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@spring+summer_terms+1M">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@spring+summer_terms+2M">
									<Name>Spring and Summer term</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@academic_year">
									<Name>1 academic year</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@academic_year+1M">
									<Name>1 academic year</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@academic_year+2M">
									<Name>1 academic year</Name>
								</TimeInterval>
								<TimeInterval version="1.0" id="op:Tariff@ArrivaStudent@july+august">
									<Name>July + August</Name>
								</TimeInterval>
							</timeIntervals>
							<!-- ==FARE STRUCTURE ELEMENTS -->
							<fareStructureElements>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaStudent@access_zones">
									<Name>Available zones</Name>
									<Description>single zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:access"/>
									<GenericParameterAssignment id="op:Tariff@ArrivaStudent@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="op:Arriva@North_West_area"/>
										</validityParameters>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaStudent@eligibility">
									<Name>Eligible user types</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:eligibility"/>
									<GenericParameterAssignment order="1" id="op:Tariff@ArrivaStudent@eligibility" version="1.0">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<UserProfile version="1.0" id="op:student">
												<Name>Student</Name>
												<prices>
													<UsageParameterPrice version="1.0" id="op:student">
														<UsageParameterPriceRef version="1.0" ref="op:adult"/>
													</UsageParameterPrice>
												</prices>
												<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:student"/>
												<MinimumAge>16</MinimumAge>
												<ProofRequired>membershipCard</ProofRequired>
											</UserProfile>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<!-- allowed combinations of durations -->
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaStudent@durations">
									<Name>Available duration combinations -  student ticket</Name>
									<Description>All periods allowed, 60 mins, but no evening - used in for some mticket, single ArrivaSaver zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:durations"/>
									<timeIntervals>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term+1M"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term+2M"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn+spring_terms"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms+1M"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms+2M"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year+1M"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year+2M"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@july+august"/>
									</timeIntervals>
									<GenericParameterAssignment version="1.0" id="op:Tariff@ArrivaStudent@durations@student" order="1">
										<Description>Student Cash ticket Only available for 1week</Description>
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access_when"/>
										<limitations>
											<UserProfileRef version="1.0" ref="op:student"/>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaStudent@conditions_of_travel" version="1.0">
									<Name>Conditions of travel</Name>
									<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@conditions_of_travel">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<UsageValidityPeriod version="1.0" id="op:Tariff@ArrivaStudent@validity">
												<Name>Start and end day fixed by academic terms</Name>
												<UsageTrigger>startOfPeriod</UsageTrigger>
												<UsageEnd>productExpiry</UsageEnd>
												<ActivationMeans>automaticByTime</ActivationMeans>
												<UsageStartConstraintType>fixed</UsageStartConstraintType>
											</UsageValidityPeriod>
											<Transferability version="1.0" id="op:Tariff@ArrivaStudent@transferability">
												<Name>Ticket is not transferable</Name>
												<CanTransfer>false</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="op:Tariff@ArrivaStudent@frequency">
												<FrequencyOfUseType>unlimited</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="op:Tariff@ArrivaStudent@interchanging">
												<CanInterchange>true</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaStudent@sale_conditions" version="1.0">
									<Name>Conditions of purchase</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:sale_conditions"/>
									<!-- 
Ticket								Start date	End date			Price	On sale from
Autumn Term					1 September 2019	31 December 2019	£155	15 July 2019
Autumn + Spring Terms		1 September 2019	10 April 2020		£305	17 August 2019
Academic Year				1 September 2019	30 June 2020		£395	15 July 2019
Academic Year + 1			1 September 2019	31 July 2020		£440	17 July 2019
Academic Year + 2			1 September	 2019	31 August 2020		£475	17 August 2019
Spring Term					1 January	 2020	10 April 2020		£155	21 October 2019
Spring + Summer Terms		1 January 	 2020	30 June 2020		£370	21 October 2019
Spring + Summer Terms + 1	1 January	 2020	31 July 2020		£410	21 October 2019
Spring + Summer Terms + 2	1 January 	2020	31 August 2020		£455	21 October 2019
Summer Term					10 April 	2020	30 June 2020		£120	3 February 2020
Summer Term + 1				10 April 	2020	31 July 2020		£160	3 February 2020
Summer Term + 2 			10 April 2020	31 August 2020	£205	3 February 2020
July + August				1 July 2020	31 August 2020
-->
									<validityParameterAssignments>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@autumn_window1">
											<Name>On sale from 15 July 2019 </Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket								Start date	End date			Price	On sale from
Autumn Term					1 September 2019	31 December 2019	£155	15 July 2019 
Academic Year				1 September 2019	30 June 2020		£395	15 July 2019

-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaStudent@autumn_window1">
													<ValidBetween>
														<FromDate>2019-07-15T00:00:00</FromDate>
														<ToDate>2019-12-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@autumn_window1@autumn_term">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@autumn_window1@academic_year">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@autumn_window2">
											<Name>On sale from 17July 2019 </Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket								Start date	End date			Price	On sale from  
Academic Year + 1			1 September 2019	31 July 2020		£440	17 July 2019
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaStudent@autumn_window2">
													<ValidBetween>
														<FromDate>2019-07-15T00:00:00</FromDate>
														<ToDate>2019-12-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@autumn_window2@academic_year+1M">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year+1M"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window1">
											<Name>On sale from 17 August 2019</Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket								Start date	End date			Price	On sale from  
Academic Year + 1			1 September 2019	31 July 2020		£440	17 July 2019
Academic Year + 2			1 September	 2019	31 August 2020		£475	17 August 2019
 
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaStudent@spring_window1">
													<ValidBetween>
														<FromDate>2019-08-17T00:00:00</FromDate>
														<ToDate>2020-04-10T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window1@autumn+spring_terms">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn+spring_terms"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window1@academic_year+2M">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year+2M"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window2">
											<Name>On sale from 21 October 2019</Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket								Start date	End date			Price	On sale from   
Spring Term					1 January	 2020	10 April 2020		£155	21 October 2019
Spring + Summer Terms		1 January 	 2020	30 June 2020		£370	21 October 2019
Spring + Summer Terms + 1	1 January	 2020	31 July 2020		£410	21 October 2019
Spring + Summer Terms + 2	1 January 	2020	31 August 2020		£455	21 October 2019 
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaStudent@spring_window2">
													<ValidBetween>
														<FromDate>2019-11-21T00:00:00</FromDate>
														<ToDate>2020-07-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window2@spring_term">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window2@spring+summer_terms">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window2@spring+summer_terms+1M">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms+1M"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@spring_window2@spring+summer_terms+2M">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms+2M"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@summer_window1">
											<Name>On sale from 3 February 2020</Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket								Start date	End date			Price	On sale from   
 
Summer Term					10 April 	2020	30 June 2020		£120	3 February 2020
Summer Term + 1				10 April 	2020	31 July 2020		£160	3 February 2020
Summer Term + 2 			10 April 2020	31 August 2020	£205	3 February 2020
July + August					1 July 2020	31 August 2020
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaStudent@summer_window1">
													<ValidBetween>
														<FromDate>2020-02-03T00:00:00</FromDate>
														<ToDate>2020-08-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@summer_window1@summer_term">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@summer_window1@summer_term+1M">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term+1M"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@summer_window1@summer_term+2M">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term+2M"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaStudent@summer_window1@july+august">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@july+august"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
									</validityParameterAssignments>
								</FareStructureElement>
							</fareStructureElements>
						</Tariff>
					</tariffs>
					<!--==== Fare Usage Parameters ==== -->
					<!--==== Fare Product ==== -->
					<fareProducts>
						<PreassignedFareProduct version="1.0" id="op:Pass@ArrivaStudent">
							<Name>ArrivaSaver Pass</Name>
							<Url>https://www.arrivabus.co.uk/north-west/bus-tickets/student-travel-in-the-north-west/</Url>
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@pass@period"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<validableElements>
								<ValidableElement version="1.0" id="op:Pass@ArrivaStudent@travel">
									<Name>Unlimited rides available for specified durations</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaStudent@access_zones"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaStudent@eligibility"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaStudent@durations"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaStudent@conditions_of_travel"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaStudent@sale_conditions"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="op:Pass@ArrivaStudent@travel" order="1">
									<ValidableElementRef version="1.0" ref="op:Pass@ArrivaStudent@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>periodPass</ProductType>
						</PreassignedFareProduct>
					</fareProducts>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<SalesOfferPackage version="1.0" id="op:ArrivaStudent-SOP@smartcard">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSaver -  Student smartcard</Name>
							<Description>Student Unlimited Travel in a ArrivaSaver area. </Description>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaStudent-SOP@smartcard" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="op:smartcard"/>
									<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaStudent"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
					</salesOfferPackages>
					<!-- === GroupOf SALES OFFER PACKAGES === -->
				</FareFrame>
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:ArrivaScholar@pass:op" responsibilitySetRef="op:tariffs">
					<Name>Arriva Scholar Saver fare products and</Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_NETWORK:Arriva@pass:op"/>
						<ServiceCalendarFrameRef version="1.0" ref="epd:UK:FSYO:ServiceCalendarFrame_UK_PI_CALENDAR:Scholar:op"/>
					</prerequisites>
					<!--====Tariff Structure ==== -->
					<tariffs>
						<Tariff version="1.0" id="op:Tariff@ArrivaScholar">
							<validityConditions>
								<ValidBetween>
									<FromDate>2019-09-01T00:00:00Z</FromDate>
									<ToDate>2020-09-01T00:00:00Z</ToDate>
								</ValidBetween>
							</validityConditions>
							<Name>ArrivaScholar - Tariff</Name>
							<Description>Arriva Scholar  Pass single zone tariff.</Description>
							<documentLinks>
								<InfoLink typeOfInfoLink="info">https://www.arrivabus.co.uk/north-west/bus-tickets/student-travel-in-the-north-west/</InfoLink>
							</documentLinks>
							<OperatorRef version="1.0" ref="noc:AMSY">AMSY</OperatorRef>
							<TypeOfTariffRef version="fxc:v1.0" ref="fxc:zonal"/>
							<!--- ====Fare Structure======= -->
							<timeIntervals>
								<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
								<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
								<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
								<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn+spring_terms"/>
								<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms"/>
								<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
							</timeIntervals>
							<!-- ==FARE STRUCTURE ELEMENTS -->
							<fareStructureElements>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaScholar@access_zones">
									<Name>Available zones</Name>
									<Description>single zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:access"/>
									<GenericParameterAssignment id="op:Tariff@ArrivaScholar@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="op:Arriva@North_West_area"/>
											<FareZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
										</validityParameters>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaScholar@eligibility">
									<Name>Eligible user types</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:eligibility"/>
									<GenericParameterAssignment order="1" id="op:Tariff@ArrivaScholar@eligibility" version="1.0">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:eligible"/>
										<LimitationGroupingType>XOR</LimitationGroupingType>
										<limitations>
											<UserProfile version="1.0" id="op:scholar">
												<Name>Scholar</Name>
												<MinimumAge>07</MinimumAge>
												<MaximumAge>18</MaximumAge>
												<ProofRequired>other</ProofRequired>
											</UserProfile>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<!-- allowed combinations of durations -->
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaScholar@durations">
									<Name>Available duration combinations -  Scholar ticket</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:durations"/>
									<timeIntervals>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn+spring_terms"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms"/>
										<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
									</timeIntervals>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaScholar@conditions_of_travel" version="1.0">
									<Name>Conditions of travel</Name>
									<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@conditions_of_travel">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<UsageValidityPeriod version="1.0" id="op:Tariff@ArrivaScholar@validity">
												<Name>Start and end day fixed by academic terms</Name>
												<UsageTrigger>startOfPeriod</UsageTrigger>
												<UsageEnd>productExpiry</UsageEnd>
												<ActivationMeans>automaticByTime</ActivationMeans>
												<UsageStartConstraintType>fixed</UsageStartConstraintType>
											</UsageValidityPeriod>
											<Transferability version="1.0" id="op:Pass@ArrivaScholar@transferability">
												<Name>Ticket is not transferable</Name>
												<CanTransfer>false</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="op:Pass@ArrivaScholar@frequency">
												<FrequencyOfUseType>unlimited</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="op:Pass@ArrivaScholar@interchanging">
												<CanInterchange>true</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaScholar@sale_conditions" version="1.0">
									<Name>Conditions of purchase</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:sale_conditions"/>
									<!-- 
Ticket					Start date			End date	Merseyside Zone price	North West Zone price	On sale from
Autumn Term				1 September 2019	20 December 2019	£80		£85			15 July 2019
Autumn + Spring Terms	1 September 2019	10 April 2020		£160	£170		17 August 2019
Academic Year			1 September 2019	22 July 2020		£230	£170		15 July 2019
Spring Term				20 December 2019	10 April 2020		£80		£85			21 October 2019
Spring + Summer Terms	20 December 2020	22 July 2020		£160	£170		21 October 2019
Summer Term				10 April 2020		22 July 2020		£80		£85			3 February 2020
-->
									<validityParameterAssignments>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@autumn_window1">
											<Name>On sale from 15 July 2019 </Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket					Start date			End date	Merseyside Zone price	North West Zone price	On sale from
Autumn Term				1 September 2019	20 December 2019	£80		£85			15 July 2019 
Academic Year			1 September 2019	22 July 2020		£230	£170		15 July 2019 
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaScholar@autumn_window1">
													<ValidBetween>
														<FromDate>2019-07-15T00:00:00</FromDate>
														<ToDate>2019-12-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@autumn_window1@autumn_term">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@autumn_window1@academic_year">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@spring_window1">
											<Name>On sale from 17 August 2019</Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket					Start date			End date	Merseyside Zone price	North West Zone price	On sale from 
Autumn + Spring Terms	1 September 2019	10 April 2020		£160	£170		17 August 2019 
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaScholar@spring_window1">
													<ValidBetween>
														<FromDate>2019-08-17T00:00:00</FromDate>
														<ToDate>2020-04-10T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@spring_window1@autumn+spring_terms">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn+spring_terms"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@spring_window2">
											<Name>On sale from 21 October 2019</Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket					Start date			End date	Merseyside Zone price	North West Zone price	On sale from 
Spring Term				20 December 2019	10 April 2020		£80		£85			21 October 2019
Spring + Summer Terms	20 December 2020	22 July 2020		£160	£170		21 October 2019 
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaScholar@spring_window2">
													<ValidBetween>
														<FromDate>2019-11-21T00:00:00</FromDate>
														<ToDate>2020-07-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@spring_window2@spring_term">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
												</GenericParameterAssignment>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@spring_window2@spring+summer_terms">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
										<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@summer_window1">
											<Name>On sale from 3 February 2020</Name>
											<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
											<!-- 
Ticket					Start date			End date	Merseyside Zone price	North West Zone price	On sale from 
Summer Term				10 April 2020		22 July 2020		£80		£85			3 February 2020
-->
											<LimitationGroupingType>AND</LimitationGroupingType>
											<limitations>
												<PurchaseWindow version="1.0" id="op:Pass@ArrivaScholar@summer_window1">
													<ValidBetween>
														<FromDate>2020-02-03T00:00:00</FromDate>
														<ToDate>2020-08-31T12:00:00</ToDate>
													</ValidBetween>
													<PurchaseWhen>advanceOnly</PurchaseWhen>
												</PurchaseWindow>
											</limitations>
											<IncludesGroupingType>OR</IncludesGroupingType>
											<includes>
												<GenericParameterAssignment version="1.0" order="1" id="op:Tariff@ArrivaScholar@summer_window1@summer_term">
													<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_purchase_when"/>
													<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
												</GenericParameterAssignment>
											</includes>
										</GenericParameterAssignment>
									</validityParameterAssignments>
								</FareStructureElement>
							</fareStructureElements>
						</Tariff>
					</tariffs>
					<!--==== Fare Usage Parameters ==== -->
					<!--==== Fare Product ==== -->
					<fareProducts>
						<PreassignedFareProduct version="1.0" id="op:Pass@ArrivaScholar">
							<Name>ArrivaSaver Pass</Name>
							<!--==== VALIDABLE ELEMENTs ==== -->
							<Url>https://www.arrivabus.co.uk/north-west/bus-tickets/scholar-travel-in-the-north-west/</Url>
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@pass@period"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<validableElements>
								<ValidableElement version="1.0" id="op:Pass@ArrivaScholar@travel">
									<Name>Unlimited rides available for specified durations</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaScholar@access_zones"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaScholar@eligibility"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaScholar@durations"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaScholar@conditions_of_travel"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaScholar@sale_conditions"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="op:Pass@ArrivaScholar@travel" order="1">
									<ValidableElementRef version="1.0" ref="op:Pass@ArrivaScholar@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>periodPass</ProductType>
						</PreassignedFareProduct>
					</fareProducts>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<SalesOfferPackage version="1.0" id="op:ArrivaScholar-SOP@smartcard">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSaver -  Scholar smartcard</Name>
							<Description>Scholar Unlimited Travel in a Arriva Saver area. .</Description>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaScholar-SOP@smartcard" order="1">
									<TypeOfTravelDocumentRef version="1.0" ref="op:smartcard"/>
									<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaScholar"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
					</salesOfferPackages>
					<!-- === GroupOf SALES OFFER PACKAGES === -->
				</FareFrame>
				<!--   Prices -->
				<!--   Prices -->
				<FarePriceFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRICE:ArrivaSaver-SPECIFIC-NESTED@pass:op" responsibilitySetRef="op:tariffs">
					<Name>ArrivaSaver prices - Using Nested FareTables and specifically typed prices</Name>
					<Description>This example provides an alternative set of prices that are strongly typed and nested in tables, but strips out the headings and columns.</Description>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRICE:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:ArrivaSaver@pass:op"/>
					</prerequisites>
					<!--==== Pricing Parameters ====-->
					<fareTables>
						<FareTable version="1.0" id="op:Pass-SPECIFIC-NESTED@ArrivaSaver">
							<Name>ArrivaSaver Fares</Name>
							<pricesFor>
								<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaSaver"/>
							</pricesFor>
							<usedIn>
								<TariffRef version="1.0" ref="op:Tariff@ArrivaSaver"/>
							</usedIn>
							<includes>
								<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus">
									<Name>MerseysidePlus</Name>
									<specifics>
										<TariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
									</specifics>
									<includes>
										<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@p-ticket">
											<Name>ArrivaSaver - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaSaver-SOP@p-ticket"/>
											</pricesFor>
											<includes>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@p-ticket@adult">
													<Name>ArrivaSaver - Cash - Adult</Name>
													<limitations>
														<UserProfileRef version="1.0" ref="op:adult"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@p-ticket@adult@1day">
															<Amount>4.50</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@p-ticket@adult@1week">
															<Amount>15.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@4week"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@p-ticket@family">
													<Name>ArrivaSaver - Cash - Group</Name>
													<limitations>
														<GroupTicketRef version="1.0" ref="op:family"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@p-ticket@family@1day">
															<Amount>10.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
											</includes>
										</FareTable>
										<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket">
											<Name>ArrivaSaver - Sheffield - m-ticket</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaSaver-SOP@m-ticket"/>
											</pricesFor>
											<includes>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@adult">
													<Name>ArrivaSaver - Sheffield- m-ticket - Adult</Name>
													<limitations>
														<UserProfileRef version="1.0" ref="op:adult"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@adult@1day">
															<Amount>4.50</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@adult@1week">
															<Amount>15.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1week"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@adult@4week">
															<Amount>54.50</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@4week"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@adult@1year">
															<Amount>545.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1year"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@child">
													<Name>ArrivaSaver - Sheffield - m-ticket - Child</Name>
													<limitations>
														<UserProfileRef version="1.0" ref="op:child"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@child@1week">
															<Amount>1000</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1week"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@child@4week">
															<Amount>35.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@4week"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@family">
													<Name>ArrivaSaver - Sheffield - m-ticket - family</Name>
													<limitations>
														<GroupTicketRef version="1.0" ref="op:family"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@MerseysidePlus@m-ticket@family@1day">
															<Amount>10.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
											</includes>
										</FareTable>
									</includes>
								</FareTable>
								<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area">
									<Name>ArrivaSaver - South Yorkshire</Name>
									<specifics>
										<TariffZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
										<TypeOfTravelDocumentRef version="1.0" ref="op:p-ticket"/>
									</specifics>
									<includes>
										<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket">
											<Name>ArrivaSaver - - m-ticket</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaSaver-SOP@m-ticket"/>
											</pricesFor>
											<specifics>
												<TypeOfTravelDocumentRef version="1.0" ref="op:m-ticket"/>
											</specifics>
											<includes>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@adult">
													<Name>ArrivaSaver - m-ticket - Adult</Name>
													<limitations>
														<UserProfileRef version="1.0" ref="op:adult"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@adult@1day">
															<Amount>5.50</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@adult@1week">
															<Amount>19.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1week"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@child">
													<Name>ArrivaSaver - m-ticket - Child</Name>
													<limitations>
														<UserProfileRef version="1.0" ref="op:child"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@child@1day">
															<Amount>3.50</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@child@1week">
															<Amount>12.70</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1week"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
												<FareTable version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@family">
													<Name>ArrivaSaver - m-ticket - Family</Name>
													<limitations>
														<GroupTicketRef version="1.0" ref="op:family"/>
													</limitations>
													<prices>
														<TimeIntervalPrice version="1.0" id="op:ArrivaSaver-SPECIFIC-NESTED@North_West_area@m-ticket@family@1day">
															<Amount>12.00</Amount>
															<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaSaver@1day"/>
														</TimeIntervalPrice>
													</prices>
												</FareTable>
											</includes>
										</FareTable>
									</includes>
								</FareTable>
								<!-- todo aDD pRICES FOR  OTHER zones -->
							</includes>
						</FareTable>
					</fareTables>
				</FarePriceFrame>
				<FarePriceFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRICE:ArrivaStudent-SPECIFIC-NESTED@pass:op" responsibilitySetRef="op:tariffs">
					<Name>ArrivaStudent prices - Using Nested FareTables and specifically typed prices</Name>
					<Description>Onlyone zone</Description>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRICE:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:ArrivaStudent@pass:op"/>
					</prerequisites>
					<!--==== Pricing Parameters ====-->
					<fareTables>
						<FareTable version="1.0" id="op:Pass-SPECIFIC-NESTED@ArrivaStudent">
							<Name>ArrivaStudent Fares</Name>
							<pricesFor>
								<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaStudent"/>
								<SalesOfferPackageRef version="1.0" ref="op:ArrivaStudent-SOP@smartcard"/>
							</pricesFor>
							<usedIn>
								<TariffRef version="1.0" ref="op:Tariff@ArrivaStudent"/>
							</usedIn>
							<limitations>
								<UserProfileRef version="1.0" ref="op:student"/>
							</limitations>
							<specifics>
								<TariffZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
							</specifics>
							<prices>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@autumn_term">
									<Amount>155.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@spring_term">
									<Amount>155.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@summer_term">
									<Amount>120.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@summer_term+1M">
									<Amount>160.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term+1M"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@summer_term+2M">
									<Amount>205.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term+2M"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@autumn+spring_term">
									<Amount>120.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn+spring_terms"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@spring+summer_term">
									<Amount>370.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@spring+summer_term+1M">
									<Amount>410.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms+1M"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@spring+summer_term+2M">
									<Amount>455.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring+summer_terms+2M"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@academic_year">
									<Amount>395.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@academic_year+1M">
									<Amount>440.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year+1M"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@academic_year+2M">
									<Amount>475.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year+2M"/>
								</TimeIntervalPrice>
								<TimeIntervalPrice version="1.0" id="op:ArrivaStudent-SPECIFIC-NESTED@North_West_area@July+August">
									<Amount>80.00</Amount>
									<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@july+august"/>
								</TimeIntervalPrice>
							</prices>
						</FareTable>
					</fareTables>
				</FarePriceFrame>
				<FarePriceFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRICE:ArrivaScholar-SPECIFIC-NESTED@pass:op" responsibilitySetRef="op:tariffs">
					<Name>ArrivaScholar prices - Using Nested FareTables and specifically typed prices</Name>
					<Description>Onlyone zone</Description>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRICE:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultResponsibilitySetRef version="1.0" ref="op:tariffs"/>
					</FrameDefaults>
					<prerequisites>
						<FareFrameRef version="1.0" ref="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRODUCT:ArrivaScholar@pass:op"/>
					</prerequisites>
					<!--==== Pricing Parameters ====-->
					<fareTables>
						<FareTable version="1.0" id="op:Pass-SPECIFIC-NESTED@ArrivaScholar">
							<Name>ArrivaScholar Fares</Name>
							<pricesFor>
								<PreassignedFareProductRef version="1.0" ref="op:Pass@ArrivaScholar"/>
								<SalesOfferPackageRef version="1.0" ref="op:ArrivaScholar-SOP@smartcard"/>
							</pricesFor>
							<usedIn>
								<TariffRef version="1.0" ref="op:Tariff@ArrivaScholar"/>
							</usedIn>
							<limitations>
								<UserProfileRef version="1.0" ref="op:scholar"/>
							</limitations>
							<includes>
								<FareTable version="1.0" id="op:Pass-SPECIFIC-NESTED@ArrivaScholar@North_West_area">
									<Name>ArrivaScholar Fares - Northwest</Name>
									<specifics>
										<TariffZoneRef version="1.0" ref="op:Arriva@North_West_area"/>
									</specifics>
									<prices>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@term">
											<Amount>85.00</Amount>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@autumn_term">
											<TimeIntervalPriceRef version="1.0" ref="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@term"/>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@spring_term">
											<TimeIntervalPriceRef version="1.0" ref="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@term"/>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term">
											</TimeIntervalRef>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@summer_term">
											<TimeIntervalPriceRef version="1.0" ref="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@term"/>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@North_West_area@academic_year">
											<Amount>170.00</Amount>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
										</TimeIntervalPrice>
									</prices>
								</FareTable>
								<FareTable version="1.0" id="op:Pass-SPECIFIC-NESTED@ArrivaScholar@MerseysidePlus">
									<Name>ArrivaScholar Fares - Merseyside</Name>
									<specifics>
										<TariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
									</specifics>
									<prices>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@term">
											<Amount>80.00</Amount>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@autumn_term">
											<TimeIntervalPriceRef version="1.0" ref="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@term"/>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@autumn_term"/>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@spring_term">
											<TimeIntervalPriceRef version="1.0" ref="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@term"/>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@spring_term"/>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@summer_term">
											<TimeIntervalPriceRef version="1.0" ref="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@term"/>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@summer_term"/>
										</TimeIntervalPrice>
										<TimeIntervalPrice version="1.0" id="op:ArrivaScholar-SPECIFIC-NESTED@MerseysidePlus@academic_year">
											<Amount>230.00</Amount>
											<TimeIntervalRef version="1.0" ref="op:Tariff@ArrivaStudent@academic_year"/>
										</TimeIntervalPrice>
									</prices>
								</FareTable>
							</includes>
						</FareTable>
					</fareTables>
				</FarePriceFrame>
				<!-- ======   ACademic terms - dates can be sent independent of product -->
				<ServiceCalendarFrame version="1.0" id="epd:UK:FSYO:ServiceCalendarFrame_UK_PI_CALENDAR:Student:op" responsibilitySetRef="op:tariffs">
					<Name> Specific Calendar: Academic terms - student </Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_CALENDAR:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultDataSourceRef ref="op:src" version="1.0"/>
						<DefaultResponsibilitySetRef ref="op:tariffs" version="1.0"/>
					</FrameDefaults>
					<operatingPeriods>
						<!-- 
Ticket								Start date	End date			Price	On sale from
Autumn Term					1 September 2019	31 December 2019	£155	15 July 2019
Autumn + Spring Terms		1 September 2019	10 April 2020		£305	17 August 2019
Academic Year				1 September 2019	30 June 2020		£395	15 July 2019
Academic Year + 1			1 September 2019	31 July 2020		£440	17 July 2019
Academic Year + 2			1 September	 2019	31 August 2020		£475	17 August 2019
Spring Term					1 January	 2020	10 April 2020		£155	21 October 2019
Spring + Summer Terms		1 January 	 2020	30 June 2020		£370	21 October 2019
Spring + Summer Terms + 1	1 January	 2020	31 July 2020		£410	21 October 2019
Spring + Summer Terms + 2	1 January 	2020	31 August 2020		£455	21 October 2019
Summer Term					10 April 	2020	30 June 2020		£120	3 February 2020
Summer Term + 1				10 April 	2020	31 July 2020		£160	3 February 2020
Summer Term + 2
10 April 2020	31 August 2020	£205	3 February 2020
July + August	1 July 2020	31 August 2020
-->
						<OperatingPeriod version="1.0" id="op:student@autumn_term">
							<Name>Autumn term 2019</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2019-12-31T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@spring_term">
							<Name>Spring term  2020</Name>
							<FromDate>2020-01-01T00:00:00</FromDate>
							<ToDate>2020-04-10T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@summer_term">
							<Name>Summer term  2020</Name>
							<FromDate>2020-04-10T00:00:00</FromDate>
							<ToDate>2020-06-30T12:00:00</ToDate>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@summer_term+1M">
							<Name>Summer term  + 2M 2020 </Name>
							<FromDate>2020-04-10T00:00:00</FromDate>
							<ToDate>2020-07-30T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@summer_term+2M">
							<Name>Summer term + 2M 2020 </Name>
							<FromDate>2020-04-10T00:00:00</FromDate>
							<ToDate>2020-08-30T12:00:00</ToDate>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@autumn+spring_term">
							<Name>Autumn+Spring 2019-2020</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2020-04-10T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@spring+summer_term">
							<Name>Spring+Summer 2019-2020</Name>
							<FromDate>2020-01-01T00:00:00</FromDate>
							<ToDate>2020-06-30T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@spring+summer_term+1M">
							<Name>Spring+Summer + 1M 2019-2020</Name>
							<FromDate>2020-01-01T00:00:00</FromDate>
							<ToDate>2020-07-31T12:00:00</ToDate>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@spring+summer_term+2M">
							<Name>Spring+Summer + 2M 2019-2020</Name>
							<FromDate>2020-01-01T00:00:00</FromDate>
							<ToDate>2020-08-30T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@academic_year">
							<Name>Academic Year 2019-020</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2020-06-30T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@academic_year+1M">
							<Name>Academic Year 2019-020 + 1M</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2020-07-31T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:student@academic_year+2M">
							<Name>Academic Year 2019-020 + 3M</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2020-08-30T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
					</operatingPeriods>
				</ServiceCalendarFrame>
				<ServiceCalendarFrame version="1.0" id="epd:UK:FSYO:ServiceCalendarFrame_UK_PI_CALENDAR:Scholar:op" responsibilitySetRef="op:tariffs">
					<Name> Specific Calendar: Academic terms  - Schools</Name>
					<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_CALENDAR:FXCP"/>
					<FrameDefaults>
						<DefaultCodespaceRef ref="op_data"/>
						<DefaultDataSourceRef ref="op:src" version="1.0"/>
						<DefaultResponsibilitySetRef ref="op:tariffs" version="1.0"/>
					</FrameDefaults>
					<operatingPeriods>
						<!-- 
Ticket					Start date			End date	Merseyside Zone price	North West Zone price	On sale from
Autumn Term				1 September 2019	20 December 2019	£80		£85			15 July 2019
Autumn + Spring Terms	1 September 2019	10 April 2020		£160	£170		17 August 2019
Academic Year			1 September 2019	22 July 2020		£230	£170		15 July 2019
Spring Term				20 December 2019	10 April 2020		£80		£85			21 October 2019
Spring + Summer Terms	20 December 2020	22 July 2020		£160	£170		21 October 2019
Summer Term				10 April 2020		22 July 2020		£80		£85			3 February 2020
-->
						<OperatingPeriod version="1.0" id="op:scholar@autumn_term">
							<Name>Autumn term 2019</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2019-12-20T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:scholar@spring_term">
							<Name>Spring term  2020</Name>
							<FromDate>2019-12-20T00:00:00</FromDate>
							<ToDate>2020-04-10T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:scholar@summer_term">
							<Name>Summer term  2020</Name>
							<FromDate>2020-04-10T00:00:00</FromDate>
							<ToDate>2020-07-22T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:scholar@autumn+spring_term">
							<Name>Autumn+Spring 2019-2020</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2020-04-10T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:scholar@spring+summer_term">
							<Name>Spring+Summer 2019-2020</Name>
							<FromDate>2019-12-20T00:00:00</FromDate>
							<ToDate>2020-07-22T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
						<OperatingPeriod version="1.0" id="op:scholar@academic_year">
							<Name>Academic Year 2019-020</Name>
							<FromDate>2019-09-01T00:00:00</FromDate>
							<ToDate>2020-07-22T12:00:00</ToDate>
							<HolidayType>SchoolDay</HolidayType>
						</OperatingPeriod>
					</operatingPeriods>
				</ServiceCalendarFrame>
			</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:scholar">
							<Name>Senior</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:student"/>
							<UserType>schoolPupil</UserType>
							<MinimumAge>7</MinimumAge>
						</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</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>Specifies 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>
