osdm-sys 0.1.0-alpha.3

Specifications for the OSDM API standard. The OSDM specification supports two modes of operation: Retailer Mode and Distributor Mode. The API works identically in both modes, except that in distributor mode the API also returns fare information. The following resources are key to get started: - [Processes](https://osdm.io/spec/processes/) - [Models](https://osdm.io/spec/models/) - [Getting started](https://osdm.io/spec/getting-started/)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# TripAllocationConstraint

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allocation_unit** | **String** | Values from the [Trip Allocation Unit Code List](https://osdm.io/spec/catalog-of-code-lists/#TripAllocationUnit) Unit to allocate trips in a multi-trip fare. Trips can be allocated per day (e.g. Eurail) or per duration (e.g. multiples of a duration unit to cover the trip) or as single trips (e.g. carnet)) Known Values: - NONE: Individual trips don't need to be allocated.  - TRIP: allocation per individual trip. - DAY: The allocation is per travel day. - DURATION: the allocation is per duration.  | 
**max_units** | Option<**i32**> | maximum number of allowed units to be allocated  | [optional]
**duration_unit** | Option<**String**> | multiples of this duration can be allocated  | [optional]
**required_processes** | **Vec<String>** | one of the listed processes is required for the allocation of a single trip  | 

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)