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
baseUrlhttps://samtrafiken.atlassian.net/wiki
namediagramNameZonkarta Centertrafiken
pageid1948811293
timestamp1608112031767

...

.drawio
tempPreviewZonkarta Centertrafiken.png
width500
zoom1
pageId1948811293
custContentId3639312456
lbox1
contentVer1
height500
revision1

Product categories

The following product categories are available:

  • singleTrip

  • dayPass

  • monthlyPass

Traveller categories

...

  • adult (id: a)

  • youth (id: h)

Fare categories for Centertrafiken

<none>

...

The following traveller categories are available:

  • a (adult)

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

...

Trips with Centertrafiken trips to Norrtrafiken (zone N) is 72 SEK for adult and 48 SEK for youth on top of the cost of zones 1, 2 and 3.

A Single trips are trip ticket is never refundable.

Day pass

All zones (zone 1, 2 and 3) is 150 SEK for adult and 100 SEK for youth.

A Day pass are ticket is refundable before activation.

...

All zones (zone 1, 2,3 and N) is 2970 SEK for adult and 1980 SEK for youth.

A Monthly pass are ticket is always refundable. The . Before activation the full amount is refunded. If activated, the refund amount is reduced by a certain amount for every day passed since activation.

Relative validity

A single trip is valid for 75 minutes, 90 minutes or 120 minutes in one, two or three-or-more zones.

A day pass is valid for 24 hours.

A monthly pass is valid for 30 days.

Product Properties

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’ and '3’

  • traveller category: 'a'

or

  • product category: ‘monthlyPass’

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

  • traveller category: 'a'

Allowed values are: large and small

hamburger

Product property hamburger Available 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

Available values are:

  • large

Relative validity

A single trip is valid for 75 minutes, 90 minutes or 120 minutes in one, two or three-or-more zones.

A day pass is valid for 24 hours.

A montly pass is valid for 30 days.is available for products with the following configuration:

  • product category: ‘dayPass’

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

  • traveller category: ‘a'

Allowed value is large