Test data for BoB-test
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.
Product categories
The following product categories are available:
singleTrip
dayPass
monthlyPass
Traveller categories
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 within 2 zones is 60 SEK for adult and 40 SEK for youth.
Trips within 3 zones is 90 SEK for adult and 60 SEK for youth.
Trips with Centertrafiken trips to Norrtrafiken (zone N) is 36 SEK for adult and 24 SEK for youth on top of the cost of zones 1, 2 and 3.
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 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 ticket is refundable before activation.
Monthly pass
Zone 1 only is 990 SEK for adult and 660 SEK for youth.
All zones (zone 1, 2 and 3) is 1980 SEK for adult and 1320 SEK for youth.
All zones (zone 1, 2,3 and N) is 2970 SEK for adult and 1980 SEK for youth.
A Monthly pass ticket is always refundable. 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 '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'
Allowed value is large