Skip to content

TransportEquipmentTypeConstraint #46

Closed

Description

@thomaskolmans

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?
Not able to create a constraint for a TransportEquipmentType

Describe the solution you'd like
A new ConstraintValue type namely TransportEquipmentTypeConstraint with an array of possible types. Just like VehicleTypeConstraint and FuelTypeConstraint are constructed.

So a Constraint with that type it will look something like:

{
   "name": "Name of constraint", 
   "value": {
       "type": "transportEquipmentTypeConstraint",
       "transportEquipmentTypes": ["trailer"]
   }
}

Describe alternatives you've considered
None - don't see a valid alternative to be honest.

Activity

  1. bmeesters commented on Dec 10, 2021

    @bmeesters
    Contributor

    Hello Thomas, thanks for your contribution again. I will discuss it, but I also don't really see an alternative, so I expect this can go in. Though note that everything for OTM5.3 is closed since we are going to release it next week and this will not have had enough time for others to provide alternatives or counter arguments.

  2. bmeesters commented on Jan 14, 2022

    @bmeesters
    Contributor

    Hello @thomaskolmans, we discussed it and it makes sense to add this constraint. If possible, can you elaborate how you would use this addition? Is this for transport orders? For trips that need some trailer? I also assume we also want to leverage equipmentSubType so you can indicate what kind of trailer(s)?

  3. added this to the OTM 5.4 milestone on Jan 14, 2022
  4. thomaskolmans commented on Jan 14, 2022

    @thomaskolmans
    Author

    This is for Consignment and Trip maybe even Location. Yes, the equipmentSubType would also come in handy

  5. bmeesters commented on May 9, 2022

    @bmeesters
    Contributor

    This is now part of OTM5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OTM 5.4This ticket is included in OTM 5.4enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions