FareXChange Profile - Examples

Unit Section - First West of England

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 :

  1. Fare Sheet.
  2. Features.
  3. Route.
  4. XML example.
  5. Summary.

FARESHEET:

Line 1
Line 48

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:

xmlXML document for First West of Enland line 48 Section fare example

Network 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 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:
    1. Eligibility: Permitted USER PROFILEs Adult & Child.
    2. Lines - Permitted LINE is Line 1.
    3. Zones.
    4. Units sections: .

TripPRODUCTS - 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.

SPOFFERS - 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 .
    • paper ticket.
    • smartcard.
  • 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 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

operator 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.
    • BRAND - First West of England.
    • DATA SOURCE originating data.

transactions SAMPLE TRANSACTIONS

Declared in a separate separate SALES TRANSACTION FRAME.

  • Sample transactions:
    1. On-board purchase of a single adult trip ticket on First Line 48 from Leap Bridge to Stapleton Church.
    2. 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
    Element Value

    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:136361

    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:136361

    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

    transactions SAMPLE TRANSACTIONS

    Declared in a separate separate SALES TRANSACTION FRAME.

    • 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.

    common COMMON FAREXCHANGE COMPONENTS

    Declared in a   separate "FareXChange  Common Resource" COMPOSITE FRAME


    Go to Top

    SUMMARY

    The offering can be summarised as follows:

    Summary


    Go to Top

     

    logo

    Crown Copyright  2018-19
    Page last updated: 2019/01/26