Search offers - the 'What' part - Trip based - 20260702#67
Search offers - the 'What' part - Trip based - 20260702#67edwinvandenbelt wants to merge 1 commit into
Conversation
| duration: | ||
| type: integer | ||
| description: Duration of the leg in minutes | ||
| individualMode: |
There was a problem hiding this comment.
@Ulf9 What is this? I don't see it in TM.
There was a problem hiding this comment.
It should be PersonalModeofOperations
| individualMode: | ||
| type: string | ||
| enum: [] | ||
| start: |
There was a problem hiding this comment.
startPlace?
There was a problem hiding this comment.
keep consistent with TimedLeg
| start: | ||
| type: string | ||
| format: place-ref | ||
| end: |
There was a problem hiding this comment.
and endPlace?
| type: string | ||
| description: discriminator for the leg type | ||
| const: continuous | ||
| continuousMode: |
There was a problem hiding this comment.
I don't know this one.
| mode: | ||
| type: string | ||
| description: Mode of transportation for the leg (e.g., bus, train, walking). See modes as specified in NeTEx. | ||
| enum: [] |
There was a problem hiding this comment.
should be a ref to Mode.yaml
There was a problem hiding this comment.
Yes, it would be clearer.
| @@ -0,0 +1,28 @@ | |||
| type: object | |||
| properties: | |||
| searchOfferId: | |||
There was a problem hiding this comment.
should be 'allOf' + request.yaml. The searchOfferId = requestId
| description: Reference to the operating day associated with this leg | ||
| format: day-of-week | ||
| enum: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday] | ||
| privateMode: |
There was a problem hiding this comment.
Again, what does this mean?
There was a problem hiding this comment.
To make consistent with Transmodel: PersonalModesOfOperationEnumeration
There was a problem hiding this comment.
Though it might not be needed in the TimedLeg
| privateMode: | ||
| type: string | ||
| enum: [] | ||
| ptMode: |
There was a problem hiding this comment.
Why isn't 'mode' on the Leg level (as specified) enough?
| type: string | ||
| description: discriminator for the leg type | ||
| const: transfer | ||
| continuousMode: |
There was a problem hiding this comment.
And again, I don't know what should be in here. There is already 'mode' at leg level, what does this mode mean?
| duration: | ||
| type: integer | ||
| description: Duration of the leg in minutes | ||
| transferMode: |
There was a problem hiding this comment.
And again, I don't know what should be in here. There is already 'mode' at leg level, what does this mode mean?
| transferMode: | ||
| type: string | ||
| enum: [] | ||
| start: |
There was a problem hiding this comment.
startPlace?
| start: | ||
| type: string | ||
| format: place-ref | ||
| end: |
|
If there is a trip pattern section, is the retailer supposed to provide to the distributor the complete trip, even sections that are not covered by the distributor (in case of multi-distributor trip) ? |
| - "ISO/IEC 7816-4" # NFC, MIFARE DESFire | ||
| - "GATT" # Bluetooth Low Energy | ||
| - "AXA Bike lock" # AXA Bike lock | ||
| - "OTHER" # Other content standard |
There was a problem hiding this comment.
is calypso card somewhere in that list ?
| - "ISO/IEC 7816-4" # NFC, MIFARE DESFire | ||
| - "GATT" # Bluetooth Low Energy | ||
| - "AXA Bike lock" # AXA Bike lock | ||
| - "OTHER" # Other content standard |
There was a problem hiding this comment.
could be interesting to avec an object for the Fulfillment Storage Location (or something more accurate): ON_MEDIA, ON_SYSTEM. Indicating if the ticket is technically stored in the media or in system.
| description: The channel of the offer. | ||
| x-enum-values: | ||
| - "web" | ||
| - "mobile" |
| allOf: | ||
| - $ref: .\Leg.yaml | ||
| - type: object | ||
| properties: |
There was a problem hiding this comment.
to add:
- modeOfOperation: enum, to be found in OJP/NeTEx. (fixed)
| enum: [] | ||
| sequenceNumber: | ||
| type: integer | ||
| description: The order of the leg in the overall journey. In case of parallel legs, the sequence number should be the same for those legs. |
There was a problem hiding this comment.
Further discussion / modelling is needed on the concept of parallel leg especially if we are taking into account parking
Summary
The request:

The Trip concepts:
