-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
OTM 5.4This ticket is included in OTM 5.4This ticket is included in OTM 5.4enhancementNew feature or requestNew feature or request
Milestone
Description
Type of request
- I'd like to add something to the OTM 5 spec
- I'd like to change something in the OTM 5 spec
Is your feature request related to a problem?
I need to be able to add multiple types of time window constraints on a stop some way to determine the type of window.
Describe the solution you'd like
Support a description (or name) field to the constraint. For instance:
{
"type": "andConstraint",
"and: [
{
"description": "block times"
"type": "timeWindowConstraint",
"startDateTime": "2021-06-23T10:00:00.000Z",
"endDateTime": "2021-06-23T13:00:00.000Z",
},
{
"description": "alert thresholds"
"type": "timeWindowConstraint",
"startDateTime": "2021-06-23T09:45:00.000Z",
"endDateTime": "2021-06-23T13:15:00.000Z",
}
]
}
Describe alternatives you've considered
Use a "windowType" attribute instead of description. This will likely be very implementation specific. Also this same approach can also be used to specify a constraint on the start (or end) time using a {"type": "startDateTimeConstraint"}
Metadata
Metadata
Assignees
Labels
OTM 5.4This ticket is included in OTM 5.4This ticket is included in OTM 5.4enhancementNew feature or requestNew feature or request