<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== AMSY Arriva Flat fare Trip Product example==== -->
<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 Flat fare Trip  products Example

This example shows the encoding of a trip  with a "flat" fare" for a simgle trip within a zonal fare system, (ie there are differet float fares for different zones)
Based on  the Arriva Merseyside Ltd    
 
It uses a simple generic encoding that uses just two Sales offers, one 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.  Arriva North West Offerings

https://www.arrivabus.co.uk/bus-tickets/ticket-types/
https://www.arrivabus.co.uk/north-west/Latest/changes-to-arriva-bus-fares-in-the-north-west/
https://tfgm.com/news/school-bus-fare-structure-simplified

1. Arriva North West bus offers a single trip ticket  with flat fare within  a single zone.  
	   For demo purposes we also define a ReturnTrip

1.1. Zones 
	Assume possible zones are based on those in  as for Pass
  North West area
	Merseyside Plus,  
 	Merseyside Plus, + Halton,  aka  "Cross river"

1.2  Lines
    For demo purposes, also shows how access can be limted to certain lines,
         either by explicit inclusion
         or by explicit exclusion.


1.3. Ticket materialisations

  Sing and returns are only available on one TYPES OF TRAVEL DOCUMENT; paper ticket, available  onboard,  

 
1.4. User eligibility
1.4.1. There are separate prices for different user types 
		 User Profiles: Adult; Child; Youth,  ;    

1.5. Various notes and conditions attach to different elements 

1.6. Prices 

Prices only visible on web for flat fare in Merseyside zone  and for "Crossriver" with Halton
? - others could be added easily
 Have made up prices for return trips
 
 
							Single					Return
							Adult   Child  16Plus	Adult   Child  16Plus
Merseyside Plus			 	£2.30	£1.15	£1.15 .	£4.00	£2.20	£2.20 
Merseyside & Halton			£3.30	£1.65	£1.65 .	£6.00	£3.00	£3.00 
....

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

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

1.1 FARE ZONES for each ZONE

1.2 TARIFFs 
 
1.2.1 TARIFFs One for ArrivaTrip,  
1.2.1.1 FARE STRUCTURE ELEMENTS for the available 
			access zones
			access lines
			eligibilities 
			conditions of travel
			sale conditions
1.2.2 TARIFF  for 16Plus card
1.2.2.1 FARE STRUCTURE ELEMENTS for the available  
			eligibilities 
			conditions of travel 

1.2.2 USAGE PARAMETERs (USER PROFILEs) for each of the eligible groups
 
1.2.3 Fare products
 1.2.3.1 PREASSIGNED FARE PRODUCTs for the one zone ArrivaSingleTrip product  
 1.2.3.2 PREASSIGNED FARE PRODUCTs for the one zone ArrivaSingleTrip return product  
 1.2.3.3 SALE DISCOUNT RIGHT for for the  16Plus discount card   

1.2.4 Sales Packages
 1.2.4.1 SALES OFFER PACKAGE for the one zone ArrivaSingleTrip product limited to a zone, with TYPE OF DOCUMENT on SALES ELEMENT  paper
 1.2.4.2 SALES OFFER PACKAGE for the one zone ArrivaReturnTrip product limited to a zone, with TYPE OF DOCUMENT on SALES ELEMENTs paper  
 1.2.4.3 SALES OFFER PACKAGE for the  SALE DISCOUNT RIGHT 16Plus discount card 

1.3 TYPES OF TRAVEL DOCUMENT; paper ticket ("cash")  

1.4 FARE TABLEs of prices for allowed combinations 

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

 elements.
    
:::::::::::::: 

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.5 Price FARE FRAME with   definitions of the fare prices for fare products.   
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 Single Trip 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@singleTrip"/>
						<PreassignedFareProductRef version="1.0" ref="op:Trip@ArrivaSingleTrip"/>
					</objectReferences>
				</NetworkFilterByValue>
			</NetworkFrameTopic>
		</topics>
		<RequestPolicy>
			<RequestDetail>AllWithXref</RequestDetail>
		</RequestPolicy>
	</PublicationRequest>
	<PublicationRefreshInterval>P1M</PublicationRefreshInterval>
	<Description>Example of simple zonal trip fares.</Description>
	<!-- =============== RESULTS =========== -->
	<dataObjects>
		<CompositeFrame version="1.0" id="epd:UK:AMSY:CompositeFrame_UK_PI_NETWORK_FARE_OFFER:Trip@ArrivaSingleTrip:op" dataSourceRef="op:src" responsibilitySetRef="op:tariffs">
			<ValidBetween>
				<FromDate>2019-01-01T00:00:00</FromDate>
				<ToDate>2020-12-31T12:00:00</ToDate>
			</ValidBetween>
			<Name>ArrivaSingleTrip - Fares Example</Name>
			<Description>This is an example showing how one might encode part of the ArrivaSingleTrip fare table for a  falat fare per zone 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>
						<DataSource id="operator" version="1.0"/>
					</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 ==== -->
				<!--==== NETWORK - including lines 271 & 272 ==== -->
				<ServiceFrame version="1.0" id="epd:UK:TMSTR:ServiceFrame_UK_PI_NETWORK:TravelMaster:op" dataSourceRef="operator" responsibilitySetRef="tariffs">
					<Name>Extra Lines included in Travelmaster product</Name>
					<Description>This frame contains the stop and line definitions for the service. It Could also be exchanged separately.</Description>
					<TypeOfFrameRef ref="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP" version="fxc:v1.0"/>
					<codespaces>
						<Codespace id="fsyo_data">
							<Xmlns>fsyo</Xmlns>
							<XmlnsUrl>https://www.firstgroup.com/</XmlnsUrl>
							<Description>First data.</Description>
						</Codespace>
					</codespaces>
					<prerequisites>
						<ResourceFrameRef version="1.0" ref="epd:UK:AMSY:ResourceFrame_UK_PI_COMMON:AMSY:op"/>
					</prerequisites>
					<lines>
						<Line version="1.0" id="op:10">
							<Name>Line 10</Name>
							<Description>St Helens to Liverpool</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/10-10a---st-helens-to-liverpool/?direction=outbound</Url>
							<PublicCode>10</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
						<Line version="1.0" id="op:12">
							<Name>Line 12</Name>
							<Description>Stockbridge Village to Liverpool</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/12---stockbridge-village-to-liverpool/?direction=outbound</Url>
							<PublicCode>12</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
						<Line version="1.0" id="op:15">
							<Name>Line 15</Name>
							<Description>Huyton to Liverpool</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/15---huyton-to-liverpool/?direction=outbound/</Url>
							<PublicCode>15</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
						<Line version="1.0" id="op:18">
							<Name>Line 18</Name>
							<Description>Croxteth Park to Liverpool</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/18---croxteth-park-to-liverpool/?direction=outbound</Url>
							<PublicCode>18</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
						<Line version="1.0" id="op:201">
							<Name>Line 201</Name>
							<Description>Speke to Royal Liverpool Hospital</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/201---speke-to-royal-liverpool-hospital/</Url>
							<PublicCode>201</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
						<Line version="1.0" id="op:300">
							<Name>Line 300</Name>
							<Description>Southport to Liverpool</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/300---southport-to-liverpool/?direction=outbound</Url>
							<PublicCode>300</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
						<Line version="1.0" id="op:464">
							<Name>Line 464</Name>
							<Description>Liverpool to New Ferry</Description>
							<Url>https://www.arrivabus.co.uk/north-west/services/464---liverpool-to-new-ferry/?direction=outbound</Url>
							<PublicCode>464</PublicCode>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
						</Line>
					</lines>
					<groupsOfLines>
						<GroupOfLines version="1.0" id="op:ArrivaTrip@included_lines">
							<UseToExclude>false</UseToExclude>
							<members>
								<LineRef version="1.0" ref="op:10"/>
								<LineRef version="1.0" ref="op:12"/>
								<LineRef version="1.0" ref="op:15"/>
								<LineRef version="1.0" ref="op:18"/>
							</members>
						</GroupOfLines>
						<GroupOfLines version="1.0" id="op:ArrivaTrip@excluded_lines">
							<UseToExclude>true</UseToExclude>
							<members>
								<LineRef version="1.0" ref="op:201"/>
								<LineRef version="1.0" ref="op:300"/>
								<LineRef version="1.0" ref="op:464"/>
							</members>
						</GroupOfLines>
					</groupsOfLines>
				</ServiceFrame>
				<!--==== FAREs ==== -->
				<!-- Arriva Trip products -->
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_NETWORK:Arriva@trip: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@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>
					</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@trip: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 id="Tariff@16Plus_card@eligibility-1" 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" id="Tariff@16Plus_card@conditions_of_travel-1">
										<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" id="Tariff@18-33_18-22_Discount_card@entitlements_given-1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:gives_entitlement"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<EntitlementGiven version="1.0" id="Tariff@16Plus_card@entitlements_given@ArrivaSingleTrip">
												<PreassignedFareProductRef version="1.0" ref="op:Trip@ArrivaSingleTrip"/>
											</EntitlementGiven>
											<EntitlementGiven version="1.0" id="Tariff@16Plus_card@entitlements_given@ArrivaSaver">
												<PreassignedFareProductRef versionRef="1.0" ref="op:Pass@ArrivaSaver">EXTERNAL</PreassignedFareProductRef>
											</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-1">
									<ValidableElementRef version="1.0" ref="Travelcard@16Plus_card@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>travelCard</ProductType>
						</SaleDiscountRight>
					</fareProducts>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<!-- Other products -->
						<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-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-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:ArrivaTrip@trip:op" responsibilitySetRef="op:tariffs">
					<Name>Arriva Trip 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@trip:op"/>
					</prerequisites>
					<tariffs>
						<Tariff version="1.0" id="op:Tariff@ArrivaTrip">
							<validityConditions>
								<ValidBetween>
									<FromDate>2019-01-01T00:00:00Z</FromDate>
									<ToDate>2020-12-31T00:00:00Z</ToDate>
								</ValidBetween>
							</validityConditions>
							<Name>ArrivaSingleTrip - Tariff</Name>
							<Description>Arriva Trip single zone tariff.</Description>
							<documentLinks>
								<InfoLink typeOfInfoLink="fareSheet">https://www.arrivabus.co.uk/north-west/Latest/changes-to-arriva-bus-fares-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 ELEMENTS -->
							<fareStructureElements>
								<FareStructureElement version="1.0" id="Tariff@ArrivaTrip@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@ArrivaTrip@operators@bus-1" version="1.0">
										<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@ArrivaTrip@access_zones">
									<Name>Available zones</Name>
									<Description>single zone.</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:access"/>
									<distanceMatrixElements>
										<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
										<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
									</distanceMatrixElements>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaTrip@access_lines">
									<Name>Available Lines</Name>
									<Description>If ACcess was limited to specifc lines or excluded s[pecifc, could do as follows .</Description>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:access"/>
									<GenericParameterAssignment id="Tariff@ArrivaTrip@access_lines-1" version="1.0">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:can_access"/>
										<ValidityParameterGroupingType>AND</ValidityParameterGroupingType>
										<validityParameters>
											<GroupOfLinesRef version="1.0" ref="op:ArrivaTrip@included_lines"/>
											<GroupOfLinesRef version="1.0" ref="op:ArrivaTrip@excluded_lines"/>
										</validityParameters>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement version="1.0" id="op:Tariff@ArrivaTrip@eligibility">
									<Name>Eligible user types</Name>
									<TypeOfFareStructureElementRef version="fxc:v1.0" ref="fxc:eligibility"/>
									<GenericParameterAssignment id="op:Tariff@ArrivaTrip@eligibility-1" 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">16 Plus card holder</UserProfileRef>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<!-- allowed combinations of durations -->
								<FareStructureElement id="op:Tariff@ArrivaTrip@conditions_of_travel" version="1.0">
									<Name>Conditions of travel</Name>
									<Description>One ride no changes</Description>
									<GenericParameterAssignment version="1.0" id="op:Tariff@ArrivaTrip@conditions_of_travel-1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<Transferability version="1.0" id="op:Trip@ArrivaSingleTrip@transferability">
												<Name>Ticket is   transferable</Name>
												<CanTransfer>true</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="op:Trip@ArrivaSingleTrip@frequency">
												<FrequencyOfUseType>single</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="op:Trip@ArrivaSingleTrip@interchanging">
												<CanInterchange>false</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaReturnTrip@conditions_of_travel@outbound" version="1.0">
									<Name>Conditions of travel</Name>
									<Description>One ride no changes</Description>
									<GenericParameterAssignment version="1.0" id="op:Tariff@ArrivaReturnTrip@conditions_of_travel@outbound-1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<RoundTrip version="1.0" id="op:Trip@ArrivaReturnTrip@outbound@round_trip">
												<TripType>returnOut</TripType>
											</RoundTrip>
											<UsageValidityPeriod version="1.0" id="op:Trip@ArrivaReturnTrip@outbound@frequency">
												<UsageTrigger>startOutboundRide</UsageTrigger>
												<UsageEnd>endOfFareDay</UsageEnd>
												<ActivationMeans>noneRequired</ActivationMeans>
												<UsageStartConstraintType>variable</UsageStartConstraintType>
											</UsageValidityPeriod>
											<Transferability version="1.0" id="op:Trip@ArrivaReturnTrip@outbound@transferability">
												<Name>Ticket is   transferable</Name>
												<CanTransfer>true</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="op:Trip@ArrivaReturnTrip@outbound@frequency">
												<FrequencyOfUseType>single</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="op:Trip@ArrivaReturnTrip@outbound@interchanging">
												<CanInterchange>false</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
								<FareStructureElement id="op:Tariff@ArrivaReturnTrip@conditions_of_travel@back" version="1.0">
									<Name>Conditions of travel</Name>
									<Description>One ride no changes</Description>
									<GenericParameterAssignment version="1.0" id="op:Tariff@ArrivaReturnTrip@conditions_of_travel@back-1">
										<TypeOfAccessRightAssignmentRef version="fxc:v1.0" ref="fxc:condition_of_use"/>
										<LimitationGroupingType>AND</LimitationGroupingType>
										<limitations>
											<RoundTrip version="1.0" id="op:Trip@ArrivaReturnTrip@back@round_trip">
												<TripType>returnBack</TripType>
											</RoundTrip>
											<UsageValidityPeriod version="1.0" id="op:Trip@ArrivaReturnTrip@back@frequency">
												<UsageTrigger>startReturnRide</UsageTrigger>
												<UsageEnd>endOfFareDay</UsageEnd>
												<ActivationMeans>noneRequired</ActivationMeans>
											</UsageValidityPeriod>
											<Transferability version="1.0" id="op:Trip@ArrivaReturnTrip@back@transferability">
												<Name>Ticket is   transferable</Name>
												<CanTransfer>true</CanTransfer>
											</Transferability>
											<FrequencyOfUse version="1.0" id="op:Trip@ArrivaReturnTrip@back@frequency">
												<FrequencyOfUseType>single</FrequencyOfUseType>
											</FrequencyOfUse>
											<Interchanging version="1.0" id="op:Trip@ArrivaReturnTrip@back@interchanging">
												<CanInterchange>false</CanInterchange>
											</Interchanging>
										</limitations>
									</GenericParameterAssignment>
								</FareStructureElement>
							</fareStructureElements>
							<!-- == Flat Fare AReas === -->
							<distanceMatrixElements>
								<DistanceMatrixElement version="1.0" id="op:MerseysidePlus+MerseysidePlus">
									<StartTariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
									<EndTariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
								</DistanceMatrixElement>
								<DistanceMatrixElement version="1.0" id="op:MerseysidePlus+Halton">
									<StartTariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
									<EndTariffZoneRef version="1.0" ref="op:Arriva@Halton"/>
								</DistanceMatrixElement>
							</distanceMatrixElements>
						</Tariff>
					</tariffs>
					<!--==== Fare Product ==== -->
					<fareProducts>
						<!--==== Other Products ==== -->
						<PreassignedFareProduct version="1.0" id="op:Trip@ArrivaSingleTrip">
							<Name>ArrivaSingleTrip  </Name>
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@trip@single"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<validableElements>
								<ValidableElement version="1.0" id="op:Trip@ArrivaSingleTrip@travel">
									<Name>Single trip</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="Tariff@ArrivaTrip@operators@bus"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaTrip@access_zones"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaTrip@eligibility"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaTrip@conditions_of_travel"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="op:Trip@ArrivaSingleTrip@travel-1">
									<ValidableElementRef version="1.0" ref="op:Trip@ArrivaSingleTrip@travel"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>singleTrip</ProductType>
						</PreassignedFareProduct>
						<PreassignedFareProduct version="1.0" id="op:Trip@ArrivaReturnTrip">
							<Name>ArrivaReturnTrip</Name>
							<!--==== VALIDABLE ELEMENTs ==== -->
							<ChargingMomentType>beforeTravel</ChargingMomentType>
							<typesOfFareProduct>
								<TypeOfFareProductRef version="fxc:v1.0" ref="fxc:standard_product@trip@return"/>
							</typesOfFareProduct>
							<OperatorRef version="1.0" ref="noc:AMSY"/>
							<validableElements>
								<ValidableElement version="1.0" id="op:Trip@ArrivaReturnTrip@travel_outbound">
									<Name>Single trip</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="Tariff@ArrivaTrip@operators@bus"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaTrip@access_zones"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaTrip@eligibility"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaReturnTrip@conditions_of_travel@outbound"/>
									</fareStructureElements>
								</ValidableElement>
								<ValidableElement version="1.0" id="op:Trip@ArrivaReturnTrip@travel_back">
									<Name>Single trip</Name>
									<fareStructureElements>
										<FareStructureElementRef version="1.0" ref="Tariff@ArrivaTrip@operators@bus"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaTrip@access_zones"/>
										<FareStructureElementRef version="1.0" ref="op:Tariff@ArrivaReturnTrip@conditions_of_travel@back"/>
									</fareStructureElements>
								</ValidableElement>
							</validableElements>
							<!--==== ACCESS RIGHTs ===== -->
							<accessRightsInProduct>
								<AccessRightInProduct version="1.0" id="op:Trip@ArrivaReturnTrip@travel-1">
									<ValidableElementRef version="1.0" ref="op:Trip@ArrivaReturnTrip@travel_outbound"/>
								</AccessRightInProduct>
								<AccessRightInProduct version="1.0" id="op:Trip@ArrivaReturnTrip@travel-2">
									<ValidableElementRef version="1.0" ref="op:Trip@ArrivaReturnTrip@travel_back"/>
								</AccessRightInProduct>
							</accessRightsInProduct>
							<ProductType>dayReturnTrip</ProductType>
						</PreassignedFareProduct>
					</fareProducts>
					<!-- === FULFILMENT METHODS === -->
					<fulfilmentMethods>
						<FulfilmentMethod id="op:on_board_contactless" version="fxc:v1.0">
							<Name>Contactless payment</Name>
							<FulfilmentMethodType>ticketMachine</FulfilmentMethodType>
						</FulfilmentMethod>
					</fulfilmentMethods>
					<!-- === SALES OFFER PACKAGES === -->
					<salesOfferPackages>
						<SalesOfferPackage version="1.0" id="op:ArrivaSingleTrip-SOP@p-ticket">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSingleTrip - paper ticket</Name>
							<Description>Simgle trip  Travel in a given ArrivaSingleTrip zone. Can be bought onboar.  Youth and child Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="op:ArrivaSingleTrip-SOP@p-ticket@on_board_cash-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:ArrivaSingleTrip-SOP@p-ticket@on_board@contactless-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>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaSingleTrip-SOP@p-ticket-3">
									<TypeOfTravelDocumentRef version="1.0" ref="op:p-ticket"/>
									<PreassignedFareProductRef version="1.0" ref="op:Trip@ArrivaSingleTrip"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
						<SalesOfferPackage version="1.0" id="op:ArrivaReturnTrip-SOP@p-ticket">
							<BrandingRef version="1.0" ref="op:operator@brand"/>
							<Name>ArrivaSingleTrip - paper ticket</Name>
							<Description>Day Return trip  Travel in a given ArrivaSingleTrip zone. Can be bought onboar.  Youth and child Tickets available.</Description>
							<distributionAssignments>
								<DistributionAssignment version="1.0" id="op:ArrivaReturnTrip-SOP@p-ticket@on_board_cash-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:ArrivaReturnTrip-SOP@p-ticket@on_board@contactless-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>
							</distributionAssignments>
							<salesOfferPackageElements>
								<SalesOfferPackageElement version="1.0" id="op:ArrivaReturnTrip-SOP@p-ticket-3">
									<TypeOfTravelDocumentRef version="1.0" ref="op:p-ticket"/>
									<PreassignedFareProductRef version="1.0" ref="op:Trip@ArrivaReturnTrip"/>
								</SalesOfferPackageElement>
							</salesOfferPackageElements>
						</SalesOfferPackage>
					</salesOfferPackages>
					<!-- === GroupOf SALES OFFER PACKAGES === -->
				</FareFrame>
				<!--   === Prices === -->
				<FareFrame version="1.0" id="epd:UK:AMSY:FareFrame_UK_PI_FARE_PRICE:ArrivaTrip-SPECIFIC-NESTED@trip:op" responsibilitySetRef="op:tariffs">
					<Name>ArrivaSingleTrip 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:ArrivaTrip@trip:op"/>
					</prerequisites>
					<!--==== Pricing Parameters ====-->
					<!--==== Prices ====-->
					<fareTables>
						<FareTable version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED">
							<Name>ArrivaSingleTrip Fares - North West</Name>
							<pricesFor>
								<PreassignedFareProductRef version="1.0" ref="op:Trip@ArrivaSingleTrip"/>
							</pricesFor>
							<usedIn>
								<TariffRef version="1.0" ref="op:Tariff@ArrivaTrip"/>
							</usedIn>
							<includes>
								<FareTable version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus">
									<Name>MerseysidePlus</Name>
									<specifics>
										<TariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
									</specifics>
									<includes>
										<FareTable version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@p-ticket@adult">
											<Name>ArrivaSingleTrip - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaSingleTrip-SOP@p-ticket"/>
											</pricesFor>
											<limitations>
												<UserProfileRef version="1.0" ref="op:adult"/>
											</limitations>
											<prices>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@adult">
													<Amount>2.30</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
												</DistanceMatrixElementPrice>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@adult">
													<Amount>3.30</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
												</DistanceMatrixElementPrice>
											</prices>
										</FareTable>
										<FareTable version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@p-ticket@child">
											<Name>ArrivaSingleTrip - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaSingleTrip-SOP@p-ticket"/>
											</pricesFor>
											<limitations>
												<UserProfileRef version="1.0" ref="op:child"/>
											</limitations>
											<prices>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@child">
													<Amount>1.15</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
												</DistanceMatrixElementPrice>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@child">
													<Amount>1.65</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
												</DistanceMatrixElementPrice>
											</prices>
										</FareTable>
										<FareTable version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@p-ticket@youth">
											<Name>ArrivaSingleTrip - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaSingleTrip-SOP@p-ticket"/>
											</pricesFor>
											<limitations>
												<UserProfileRef version="1.0" ref="op:youth"/>
											</limitations>
											<prices>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@youth">
													<DistanceMatrixElementPriceRef version="1.0" ref="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@child"/>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
												</DistanceMatrixElementPrice>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@youth">
													<DistanceMatrixElementPriceRef version="1.0" ref="op:ArrivaSingleTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@child"/>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
												</DistanceMatrixElementPrice>
											</prices>
										</FareTable>
									</includes>
								</FareTable>
								<!-- todo aDD pRICES FOR  OTHER zones -->
							</includes>
						</FareTable>
						<FareTable version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED">
							<Name>ArrivaReturnTrip Fares - Flat zone - MerseysidePlus</Name>
							<pricesFor>
								<PreassignedFareProductRef version="1.0" ref="op:Trip@ArrivaReturnTrip"/>
							</pricesFor>
							<usedIn>
								<TariffRef version="1.0" ref="op:Tariff@ArrivaTrip"/>
							</usedIn>
							<includes>
								<FareTable version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus">
									<Name>MerseysidePlus</Name>
									<specifics>
										<TariffZoneRef version="1.0" ref="op:Arriva@MerseysidePlus"/>
									</specifics>
									<includes>
										<FareTable version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@p-ticket@adult">
											<Name>ArrivaReturnTrip - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaReturnTrip-SOP@p-ticket"/>
											</pricesFor>
											<limitations>
												<UserProfileRef version="1.0" ref="op:adult"/>
											</limitations>
											<prices>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@adult">
													<Amount>4.00</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
												</DistanceMatrixElementPrice>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@adult">
													<Amount>6.00</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
												</DistanceMatrixElementPrice>
											</prices>
										</FareTable>
										<FareTable version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@p-ticket@child">
											<Name>ArrivaReturnTrip - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaReturnTrip-SOP@p-ticket"/>
											</pricesFor>
											<limitations>
												<UserProfileRef version="1.0" ref="op:child"/>
											</limitations>
											<prices>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@child">
													<Amount>2.20</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
												</DistanceMatrixElementPrice>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@child">
													<Amount>3.40</Amount>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
												</DistanceMatrixElementPrice>
											</prices>
										</FareTable>
										<FareTable version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@p-ticket@youth">
											<Name>ArrivaReturnTrip - Cash</Name>
											<pricesFor>
												<SalesOfferPackageRef version="1.0" ref="op:ArrivaReturnTrip-SOP@p-ticket"/>
											</pricesFor>
											<limitations>
												<UserProfileRef version="1.0" ref="op:youth"/>
											</limitations>
											<prices>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@youth">
													<DistanceMatrixElementPriceRef version="1.0" ref="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+MerseysidePlus@p-ticket@child"/>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+MerseysidePlus"/>
												</DistanceMatrixElementPrice>
												<DistanceMatrixElementPrice version="1.0" id="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@youth">
													<DistanceMatrixElementPriceRef version="1.0" ref="op:ArrivaReturnTrip-SPECIFIC-NESTED@MerseysidePlus+Halton@p-ticket@child"/>
													<DistanceMatrixElementRef version="1.0" ref="op:MerseysidePlus+Halton"/>
												</DistanceMatrixElementPrice>
											</prices>
										</FareTable>
									</includes>
								</FareTable>
								<!-- todo aDD pRICES FOR  OTHER zones -->
							</includes>
						</FareTable>
					</fareTables>
				</FareFrame>
				<!-- ====== Travel shops Advanced stuff - This just to show that we can capture access sdetails about travel shops -->
			</frames>
		</CompositeFrame>
		<!--  === COMMON UK FARE RESOURCES=== -->
		<CompositeFrame id="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
			<ValidBetween>
				<FromDate>2019-05-01T00:00:00</FromDate>
				<ToDate>2022-12-31T12:00:00</ToDate>
			</ValidBetween>
			<Name>UK FXCP Passenger Information Profile common resources</Name>
			<TypeOfFrameRef version="fxc:v1.0" ref="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc"/>
			<codespaces>
				<Codespace id="naptStop_data">
					<Xmlns>naptStop</Xmlns>
					<XmlnsUrl>http://www.naptan.org.uk/stops</XmlnsUrl>
					<Description>UK National Public Transport Access Nodes: Stops.</Description>
				</Codespace>
				<Codespace id="noc_data">
					<Xmlns>noc</Xmlns>
					<XmlnsUrl>http://www.traveline.co.uk/noc</XmlnsUrl>
					<Description>UK national operator codes</Description>
				</Codespace>
			</codespaces>
			<FrameDefaults>
				<DefaultCodespaceRef ref="fxc_metadata"/>
				<DefaultDataSourceRef ref="fxc:dft" version="fxc:v1.0"/>
				<DefaultResponsibilitySetRef ref="fxc:FXC_metadata" version="fxc:v1.0"/>
			</FrameDefaults>
			<frames>
				<!-- === Profile Frame Types === -->
				<ResourceFrame id="fxc:UK:DFT:ResourceFrame_UK_PI_METADATA_FRAMES:FXCP:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
					<Name>UK FXCP Fare profile Frame types and codepaces</Name>
					<codespaces>
						<Codespace id="fxc_metadata">
							<Xmlns>fxc</Xmlns>
							<XmlnsUrl>netex.org.uk/fxc</XmlnsUrl>
							<Description>UK FareXChange Profile metadata</Description>
						</Codespace>
						<Codespace id="epd_data">
							<Xmlns>epd</Xmlns>
							<XmlnsUrl>http://fnetex-cen.eu/epd</XmlnsUrl>
							<Description>European Passenger Information profile data -use for UK frame names</Description>
						</Codespace>
					</codespaces>
					<dataSources>
						<DataSource id="fxc:dft" version="fxc:v1.0">
							<Email>standards@netex.org.uk</Email>
						</DataSource>
					</dataSources>
					<!-- ========Responsibility Sets========== -->
					<responsibilitySets>
						<ResponsibilitySet version="fxc:v1.0" id="fxc:FXC_metadata">
							<Name>Common</Name>
							<roles>
								<ResponsibilityRoleAssignment version="fxc:v1.0" id="fxc:FXC_metadata:DfT">
									<DataRoleType>creates distributes</DataRoleType>
									<StakeholderRoleType>dataRegistrar</StakeholderRoleType>
									<ResponsibleOrganisationRef ref="nptg:DfT" versionRef="nptg:v2.1"/>
									<ResponsibleAreaRef ref="nptgUkRegion:GB" versionRef="nptg:v2.1"/>
								</ResponsibilityRoleAssignment>
							</roles>
						</ResponsibilitySet>
					</responsibilitySets>
					<typesOfValue>
						<!-- ======== TYPE S OF  FRAME========= -->
						<ValueSet version="fxc:1.0" id="fxc:Types_of_Specific_Frame_Basic" classOfValues="TypeOfFrame">
							<Name>Types of FXC Specific Frame Basic</Name>
							<values>
								<!-- === ANCILLARY ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_COMMON:FXCP">
									<Name>UK FXCP common Local resources</Name>
									<FrameClassRef nameOfClass="ResourceFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_CALENDAR:FXCP">
									<Name>UK FXCP Service calendar</Name>
									<FrameClassRef nameOfClass="ServiceCalendarFrame"/>
								</TypeOfFrame>
								<!-- === PAYLOAD ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP:FXCP">
									<Name>UK FXCP Stops: NapTAN Stop Place and NPTG Locations Frame</Name>
									<FrameClassRef nameOfClass="SiteFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK:FXCP">
									<Name>UK FXCP Network</Name>
									<FrameClassRef nameOfClass="ServiceFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_TIMETABLE:FXCP">
									<Name>UK FXCP Tietable: N</Name>
									<FrameClassRef nameOfClass="TimetableFrame"/>
								</TypeOfFrame>
								<!-- === METADATA  ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA:FXCP">
									<Name>UK Bus Profile common resources</Name>
									<FrameClassRef nameOfClass="ResourceFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<ValueSet version="fxc::v2.4" id="fxc:Types_of_Offer_Frame_Basic" classOfValues="TypeOfFrame">
							<Name>Types of UK Offer Frame</Name>
							<values>
								<!-- === COMPOSITE ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP_OFFER:FXCP">
									<Name>UK FXCP  composite container STOP OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_LINE_OFFER:FXCP">
									<Name>UK FXCP  composite container LINE OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK_OFFER:FXCP">
									<Name>UK FXCP  composite container LINE OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_METADATA_OFFER:FXCP:fxc">
									<Name>UK FXCP composite used to group other UKmetadta</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<!-- ======== TYPE S OF  FRAME========= -->
						<ValueSet version="fxc:1.0" id="fxc:Types_of_Specific_Frame_for_Fares" classOfValues="TypeOfFrame">
							<Name>Types of FXC Specific Frame</Name>
							<values>
								<!-- === PAYLOAD ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_COMMON:FXCP">
									<Name>UK Bus Profile fare common paramaters</Name>
									<FrameClassRef nameOfClass="FareFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_NETWORK:FXCP">
									<Name>UK Bus Profile fare network</Name>
									<FrameClassRef nameOfClass="ServiceFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRODUCT:FXCP">
									<Name>UK FXCP Fare Porducts Frame</Name>
									<FrameClassRef nameOfClass="FareFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_PRICE:FXCP">
									<Name>UK FXCP Fare Prices Frame</Name>
									<FrameClassRef nameOfClass="FareFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Offer_Frame_for_Fares" classOfValues="TypeOfFrame">
							<Name>Types of UK Offer Frame</Name>
							<values>
								<!-- === COMPOSITE ==== -->
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_STOP_FARE_OFFER:FXCP">
									<Name>UK FXCP  composite container STOP OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_LINE_FARE_OFFER:FXCP">
									<Name>UK FXCP  composite container LINE OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_NETWORK_FARE_OFFER:FXCP">
									<Name>UK FXCP  composite container NETWORK OFFER</Name>
									<FrameClassRef nameOfClass="CompositeFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
						<ValueSet version="fxc:v1.0" id="fxc:Types_of_Transaction_Frame" classOfValues="TypeOfFrame">
							<Name>Types of UK Trasnaction Frame</Name>
							<values>
								<TypeOfFrame version="fxc:v1.0" id="fxc:UK:DFT:TypeOfFrame_UK_PI_FARE_TRANSACTIONS:FXCP">
									<Name>UK Bus Profile Operator sample transactions</Name>
									<FrameClassRef nameOfClass="SalesTransactionFrame"/>
								</TypeOfFrame>
							</values>
						</ValueSet>
					</typesOfValue>
				</ResourceFrame>
				<!-- ====COMMON UK PI Profile RESOURCEs: META DATA - COULD BE EXTERNALISED ===== ============ -->
				<!-- === FareXChange Common fixed definitions === -->
				<FareFrame id="fxc:UK:DFT:FareFrame_UK_PI_METADATA:FareXChange:fxc" version="fxc:v1.0" responsibilitySetRef="fxc:FXC_metadata" dataSourceRef="fxc:dft">
					<Name>FXCP Values for Farexchange</Name>
					<FrameDefaults>
						<DefaultCodespaceRef ref="fxc_metadata"/>
						<DefaultDataSourceRef ref="fxc:dft" version="fxc:v1.0"/>
						<DefaultResponsibilitySetRef ref="fxc:FXC_metadata" version="fxc:v1.0"/>
					</FrameDefaults>
					<PricingParameterSet id="fxc:Common_Resources" version="fxc:v1.0">
						<priceUnits>
							<PriceUnit id="fxc:GBP" version="fxc:v1.0">
								<privateCodes>
									<PrivateCode>£</PrivateCode>
								</privateCodes>
								<Name>Pound Sterling</Name>
								<Precision>2</Precision>
							</PriceUnit>
							<PriceUnit id="fxc:EUR" version="fxc:v1.0">
								<privateCodes>
									<PrivateCode>€</PrivateCode>
								</privateCodes>
								<Name>Euro</Name>
								<Precision>2</Precision>
							</PriceUnit>
						</priceUnits>
					</PricingParameterSet>
					<geographicalUnits>
						<GeographicalUnit id="fxc:mi" version="fxc:v1.0">
							<Name>Distance Unit Miles</Name>
						</GeographicalUnit>
						<GeographicalUnit id="fxc:km" version="fxc:v1.0">
							<Name>Distance Unit Kilometres</Name>
						</GeographicalUnit>
						<GeographicalUnit id="fxc:unit_stage" version="fxc:v1.0">
							<Name>Distance Unit Stage</Name>
						</GeographicalUnit>
					</geographicalUnits>
					<!-- === USAGE PARAMETERS === -->
					<usageParameters>
						<UserProfile version="fxc:v1.0" id="fxc:adult">
							<Name>Adult</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:none"/>
							<UserType>adult</UserType>
							<DiscountBasis>none</DiscountBasis>
							<companionProfiles>
								<CompanionProfile version="fxc:v1.0" id="fxc:adult@infant">
									<UserProfileRef ref="fxc:infant" version="fxc:v1.0"/>
									<MinimumNumberOfPersons>0</MinimumNumberOfPersons>
									<MaximumNumberOfPersons>3</MaximumNumberOfPersons>
								</CompanionProfile>
							</companionProfiles>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:child">
							<Name>Child</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
							<UserType>child</UserType>
							<MinimumAge>5</MinimumAge>
							<MaximumAge>15</MaximumAge>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:infant">
							<Name>Infant</Name>
							<Description>Up to three children under 5 years of age, accompanied by a fare paying adult or child passenger, and not occupying a seat, may travel free of charge on the Company’s services.</Description>
							<prices>
								<UsageParameterPrice version="fxc:v1.0" id="fxc:infant">
									<Amount>0</Amount>
								</UsageParameterPrice>
							</prices>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:infant"/>
							<UserType>infant</UserType>
							<MinimumAge>0</MinimumAge>
							<MaximumAge>4</MaximumAge>
							<DiscountBasis>free</DiscountBasis>
							<companionProfiles>
								<CompanionProfile id="fxc:infant@adult" version="fxc:v1.0">
									<UserProfileRef ref="fxc:adult" version="fxc:v1.0"/>
									<MinimumNumberOfPersons>1</MinimumNumberOfPersons>
									<MaximumNumberOfPersons>1</MaximumNumberOfPersons>
									<DiscountBasis>none</DiscountBasis>
								</CompanionProfile>
							</companionProfiles>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:student">
							<Name>Student</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:student"/>
							<UserType>student</UserType>
							<ProofRequired>membershipCard</ProofRequired>
							<DiscountBasis>discount</DiscountBasis>
						</UserProfile>
						<UserProfile version="fxc:v1.0" id="fxc:senior">
							<Name>Senior</Name>
							<TypeOfConcessionRef version="fxc:v1.0" ref="fxc:child"/>
							<UserType>senior</UserType>
							<MinimumAge>60</MinimumAge>
						</UserProfile>
					</usageParameters>
					<!-- ====CHANNELS -->
					<distributionChannels>
						<DistributionChannel id="fxc:online" version="fxc:v1.0">
							<ShortName>Internet sales</ShortName>
							<alternativeNames>
								<AlternativeName id="fxc:online_de-1" version="fxc:v1.0">
									<Name lang="de">Internetverkauf</Name>
								</AlternativeName>
								<AlternativeName id="fxc:online_fr-1" 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 id="fxc:at_counter_de-1" version="fxc:v1.0">
									<Name lang="de">Schalter</Name>
								</AlternativeName>
								<AlternativeName id="fxc:at_counter_fr-1" 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>
