Skip to content

Vehicle accessibility_attributes type inconsistency #947

@johnzuk

Description

@johnzuk

Describe the bug
Vehicle accessibility_attributes is inconsistent between different modes

To Reproduce
accessibility_attributes is Enum[] in all modes except delivery-robots where it is an object with bool only attributes

Expected behavior
accessibility_attributes should be consistent between all modes as a Enum[]

Instead of:

The accessibility_attributes object may have the following key value pairs:

  • audio_cue (boolean, Optional): is the device equipped with audio cues upon delivery
  • visual_cue (boolean, Optional): is the device equipped with visual cues upon delivery
  • remote_open (boolean, Optional): can the device door be remotely opened to retrieve cargo upon delivery

It should be:

Accessibility Attributes

This accessibility_attributes enum represents the accessibility attributes available on a given vehicle, or the accessibility attributes utilized for a given trip.

accessibility_attributes Description
audio_cue is the device equipped with audio cues upon delivery
visual_cue is the device equipped with visual cues upon delivery
remote_open can the device door be remotely opened to retrieve cargo upon delivery

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeliveryDelivery mode: sidewalk, autonomous, remote, goods, food, freightModesNew modes that MDS can support (carshare, passenger services, delivery robots, etc)adminAdministrative chores etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions