I 24 Add rules for minimum number of passengers (Offline Only) - UnionInternationalCheminsdeFer/OSDM GitHub Wiki

Description

The passenger constraint allows to define restrictions on the maximum number of passengers of a given type to be combined (e.g. to limit the number of free children). This should be extended with the option to define a minimum number rule e.g. to define rules like "min. 1 Adult per Child"

Owner

  • Sören Meyer (DB)

Business Value

Rules on passenger combinations can be defined also for minimal required combinations in a generic way.

Business Outcomes

Leading Indicators

Nonfunctional Requirements

Context

The PassengerConstraint in the Offline Json is extended by a minNumber alternatively to the existing maxNumber

see branch I24_minimum_passenger_rule

Merged: https://github.com/UnionInternationalCheminsdeFer/OSDM/pull/143