This example, based on the published fare sheet
for First West of England's Line 48 in Bristol, encodes a unit
section based fare, where the price depends on the number of
sections traversed (but not on any specific section).
Contents :
- Fare Sheet.
- Features.
- Route.
- XML example.
- Summary.
Go to Top
|
FEATURES:
- Network defined as a number of zones, each with number
of stops.
- The price depends on the number of sections traversed.
- Available for different types of user:
- Adult, Child, Youth.
- 50% discount rule for children.
- Paper ticket only.
- On-board and Mobile app purchase.
Go to Top
|
XML example:
XML document for First West of England line 48
Section fare example
NETWORK - First West of England stops and zones
Declared in separate "First West of England
Network" SERVICE FRAME and FARE FRAMEs:
- The LINE is declared.
- SCHEDULED STOP POINTs are declared with their
NaPTAN stop identifiers and names.
- FARE ZONEs are defined for each zone along the
route. Each zone references NaPTAN stop
identifiers of the stops in it. .
|
TARIFF
-- First West of England Line 48: unit section
Declared in a "First West of England Trip
Product" FARE FRAME.
- The TARIFF is for the specified LINE.
- GEOGRAPHICAL INTERVALs are specified for each
band of section units:
- 0-3 units
- 3-6 units
- 6-9 units
- 9-12 units
- 12+ units
.
- The TARIFF for Line 1 has FARE STRUCTURE
ELEMENTs for each of the tariff features:
- Eligibility: Permitted USER PROFILEs Adult
& Child.
- Lines - Permitted LINE is Line 1.
- Zones.
- Units sections: .
|
PRODUCTS
- First West of England Single trip
Declared in a "First West of England Trip
Product" FARE FRAME alongside the TARIFF. Note
that if the same product is offered for other
lines then it could be placed in a separate frame
and reused with different tariffs.
- A PREASSIGNED FARE PRODUCT is defined for the
single trip.
- It has a VALIDABLE ELEMENT that references the
various types of FARE STRUCTURE ELEMENTs above
as valid choices that may be selected when
purchasing a ticket.
|
OFFERS
- First West of England Single trip
Declared in a "First West of England Trip
Product" FARE FRAME alongside the REASSIGNED FARE
PRODUCT. .
- There is a SALES OFFER PACKAGE defined for
each available media.
- Each SALES OFFER PACKAGE has a SALES OFFER
PACKAGE ELEMENT that references the single trip
PREASSIGNED FARE PRODUCT, and the TYPE OF TRAVEL
DOCUMENT .
- A BRAND is assigned - Metrobus.
- DISTRIBUTION ASSIGNMENTs specify on-board
and at stop DELIVERY CHANNELs, with
specific PAYMENT METHODs.
Thus
FARE PRODUCT |
SALES OFFER PACKAGE |
single |
printed ticket |
single |
smartcard |
|
PRICES - First West of England Single trip
Declared in a separate "First West of England
Trip Prices" FARE FRAME.
- A nested FARE TABLE holds the adult fare
prices.
- Each nested table contains a CELL for each
GEOGRAPHICAL INTERVAL PRICE.
Thus prices depend on :
PREASSIGNED FARE PRODUCT
|
x
|
GEOGRAPHICAL INTERVAL
|
x
|
USER PROFILE
|
|
COMMON OPERATOR COMPONENTS for First West of
England
Declared in a separate separate "First West of
England Common Operator" FARE FRAME and RESOURCE
FRAMEs.
- A RESOURCE FRAME containing the common
operator definitions for First West of England
including:
- OPERATOR First West of England , with
contact details . Identified by NOC
code.(First Bristol: FBRI)
- BRAND - First West of England.
- DATA SOURCE originating data.
|
SAMPLE TRANSACTIONS
Declared in a separate separate SALES TRANSACTION
FRAME. In practice sales transactions, which are
generated by sales of products, are generated by
different systems and are exchanged separately.
Examples are included here only to help understand
the use of NeTEx.
A SALES TRANSACTION FRAME containing examples of the
data elements referenced to make various types of
purchase:
- FARE CONTRACT indicating the user.
- SALES TRANSACTION for each purchase.
- TRAVEL SPECIFICATION indicating the scope of
each purchase.
Sample transactions:
- On-board purchase of a single adult trip
ticket on First Line 48 from
Leap Bridge to Stapleton Church.
- Mobile app purchase of a single Student trip
ticket on First Bristol Line 48 from
Emersons Green to Rupert Street.
Specific examples of parameters representing
ticket purchases
Description |
Reference
|
On-board purchase of a single adult trip
ticket on First Line 48 from
Leap Bridge to Stapleton
Church.
|
SalesOfferPackage:
|
frst:WoE_Distance@Trip-SOP@p-ticket
|
TypeOfTravelDocument:
|
frst:paper-ticket
|
PreassignedFareProduct:
|
frst:WoE_Distance@Trip
|
TypeOfFareProduct:
|
fxc:standard_product@trip@single
|
ValidableElement:
|
frst:WoE_Distance@Trip@travel
|
Operator:
|
noc:FBRI
|
Line:
|
frst:WoE@Bristol@48
|
StartStopPoint:
|
naptanStop:0170SGP90547
|
StartStopPointName:
|
Leap Bridge<
|
EndStopPoint:
|
naptanStop:0100BRP90225
|
EndStopPointName:
|
Stapleton Church<
|
UserProfile:
|
frst:adult
|
GeographicalInterval:
|
frst:Tariff@WoE_Distance@03_to_06
|
StartOfValidity:
|
2017-07-08T01:07:00
|
UsageParameterPrice:
|
frst:WoE_Distance@Trip@section@03_to_06@adult
|
Amount:
|
3.50
|
PaymentMethod:
|
cash
|
DistributionChannel:
|
fxc:on_board
|
|
Mobile app purchase of a single Student
trip ticket on First Bristol Line 48
from Emersons Green to Rupert
Street.
|
SalesOfferPackage:
|
frst:WoE_Distance@Trip-SOP@m-ticket
|
TypeOfTravelDocument:
|
frst:m-ticket
|
PreassignedFareProduct:
|
frst:WoE_Distance@Trip
|
TypeOfFareProduct:
|
fxc:standard_product@trip@single
|
ValidableElement:
|
frst:WoE_Distance@Trip@travel
|
Operator:
|
noc:FBRI
|
Line:
|
frst:WoE@Bristol@48
|
StartStopPoint:
|
naptanStop:017000062
|
StartStopPointName:
|
Emersons Green
|
EndStopPoint:
|
naptanStop:0100BRA16911
|
EndStopPointName:
|
Rupert Street
|
UserProfile:
|
frst:adult
|
GeographicalInterval:
|
frst:Tariff@WoE_Distance@06_to_09
|
StartOfValidity:
|
2017-07-08T01:08:00
|
UsageParameterPrice:
|
frst:WoE_Distance@Trip@section@06_to_09@student
|
Amount:
|
3.50
|
PaymentMethod:
|
card
|
DistributionChannel:
|
fxc:online
|
|
|
|
COMMON FAREXCHANGE COMPONENTS
Declared within a separate "FareXChange Common
Resource" COMPOSITE FRAME. Declares UK Profile
TYPEs of FRAME, NaPTAN and other CODESPACES and a
number of recommended code values (e.g. for user
types) for the UK. These are the same for all UK
Profile Fares. We include it here so data values
can be validated automatically against the given
values, but external references to the values
could also be used.
|
Go to Top
|
SUMMARY
The offering can be summarised as follows:
Go to Top
|
|