nmfta-repo / nmfta-opentelematics-api

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

driver object updates from Aussie EWD rules #73

Closed BenGardiner closed 5 years ago

BenGardiner commented 5 years ago

update the driver object definition to be LCD with Aussie EWD rules driver object

BenGardiner commented 5 years ago

The schema from the Australian EWD standard fits-into the current model we have. for reference:

"driverData": {
 "description": "A representation of driver.",
 "properties": {
 "driverId": {
 "description": "The Unique Driver Identifier",
 "type": "string"
 },
 "driverLicenceIssued": {
 "$ref": "#/definitions/stateSelector"
 },
National Heavy Vehicle Regulator | Electronic Work Diary (EWD) Standard
www.nhvr.gov.au 25 of 38
 "driverLicenceNumber": {
 "description": "The driver licence number.",
 "type": "string"
 },
 "driverName": {
 "description": "The name as it appears on the driver licence.",
 "type": "string"
 }
 },
 "type": "object"
 }