nmfta-repo / nmfta-opentelematics-api

API Blueprint for Open Telematics API
Apache License 2.0
14 stars 6 forks source link

support annotations and log events made by someone other than driver #187

Closed BenGardiner closed 5 years ago

BenGardiner commented 5 years ago

right now an annotation must have a 'driverId'. But annotations may have been made by someone other than the driver.

We don't have anything in the data model for users other than drivers. We could have a 'source' enum indicating either driver-originated or 'other'. then make the driverId optional and add an optional 'otherId' opaque field for cases where the annotation originated from someone other than driver.

BenGardiner commented 5 years ago

OTAPI does not have producing audit trails in its list of goals; so the fields to be added to support this should be optional.

An identity for the purposes of ELDs is