Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In BoB-test, we use a fictitious PTA called Centertrafiken which has a zone map over a number of zones. There are stop areas with local numbers. In the north there is a neighboring PTA called Norrtrafiken for test cases covering cross county travel.

Gliffydrawio
namepageid
baseUrlhttps://samtrafiken.atlassian.net/wiki
diagramNameZonkarta Centertrafiken.drawio
tempPreviewZonkarta Centertrafiken.png
width500
zoom1
pageId1948811293
timestamp1608112031767

...

custContentId3639312456
lbox1
contentVer1
height500
revision1

Product categories

The following product categories are available:

  • singleTrip

  • dayPass

  • monthlyPass

Traveller categories

The following traveller categories are available:

  • a (adult (id: a)

  • youth (id: h)

Fare categories

...

  • )

  • b (retiree)

    • Is older that 65 years of age. Proved by an identity document.

    • Is an early retiree. Proved by a retirement certificate and an idendity document.

  • e (student)

    • Is between 18 and 50 years of age. A valid student card and an identity document is needed as proofs that the traveller are entitled to a student discount.

  • h (youth)

    • Is between 0 and 18 years of age. An identity document is needed as proof of age.

Transport mode and fare class

All products have transport submode, e.g. localBus or regionalTrain.

Bus products do not have to any fare class.

A single train product has fare class firstClass or secondClass.

A single train product has higher fare than buses on the same route, i.e. the same zone validity.

Transport mode and fare class must written in the MTB. An inspector must be able to se both the transport mode and fare class upon inspection or validation. Also, during automatic offline validation, the barrier validator must be able to read the transport mode and make a decision to let the passenger through or not.

  • Local bus

    • transportMode: ‘bus’

    • transportSubmode: ‘localBus’

  • Express bus

    • transportMode: ‘bus’

    • transportSubmode: ‘expressBus’

  • Train

    • transportMode: 'train'

    • transportSubmode: ‘regionalTrain’

    • fareClass: firstClass or secondClass with different fares

Fare categories

There are no fare categories available. Fare categories were deprecated in BoB Product v3 when generic categories were introduced.

Generic categories

These are the generic categories.

Generic category name

Generic category value

transportMode

bus

On product for all zones

rail

On products for trips through zones 1, 2, 3 and N.

transportSubmode

localBus

On bus products for zone 1 exclusively.

regionalBus

On bus products for all zones

expressBus

On bus products for trips through zones 1, 2 and 3.

fareClass

firstClass

On rail products.

secondClass

On rail products.

Since fare class is not applicable on bus trips there have to be separate product templates for bus and rail.

Fares

Single trip

Trips within 1 zone is 30 SEK for adult and 20 SEK for youth.

...

A day pass is valid for 24 hours.

A montly monthly pass is valid for 30 days.

...

There are a few product properties available for certain products:

bike

Product property bike is available for products with the following configuration:

...

  • product category: ‘monthlyPass’

  • zones: ‘1', ‘2’, ‘3’ and 'N’

  • traveller category: 'a'

Allowed values are: large and small

hamburger

Product property hamburger is available for products with the following configuration:

  • product category: ‘dayPass’

  • zones: ‘1', ‘2’ , and '3’

  • traveller category: ‘a' or 'h’

Allowed values are: meat and veggie

herringAndSnaps

Product property herringAndSnaps is available for products with the following configuration:

  • product category: ‘dayPass’

  • zones: ‘1', ‘2’ , and '3’

  • traveller category: ‘a'

Available values are:

Allowed value is large