Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update transitlog-server schemas #785

Open
ahjyrkia opened this issue Feb 8, 2023 · 1 comment
Open

Update transitlog-server schemas #785

ahjyrkia opened this issue Feb 8, 2023 · 1 comment

Comments

@ahjyrkia
Copy link
Contributor

ahjyrkia commented Feb 8, 2023

Schemas seem to be out of date. For example schema/Alerts.ts is missing CHARGING_SERVICE from alertCategory. Investigate what else might be missing and update accordingly

@ahjyrkia
Copy link
Contributor Author

ahjyrkia commented Feb 8, 2023

Currently in use in OMM/JORE:

  1. Main reasons (left OMM, right JORE):
    VEHICLE_BREAKDOWN=1
    ACCIDENT=2
    NO_DRIVER=3
    ASSAULT=5
    WEATHER=8
    VEHICLE_OFF_THE_ROAD=9
    SEIZURE=10
    ITS_SYSTEM_ERROR=11
    OTHER_DRIVER_ERROR=12
    TOO_MANY_PASSENGERS=13
    STRIKE=14
    OTHER=15
    CHARGING_SERVICE=16
  2. Sub reasons (left OMM, right JORE):
    DOOR_MALFUNCTION=1.11
    BREAK_MALFUNCTION=1.12
    OUT_OF_FUEL=1.13
    FLUID_LEAKAGE=1.14
    ELECTRIC_MALFUNCTION=1.15
    ENGINE_MALFUNCTION=1.16
    OTHER_MALFUNCTION=1.17
    OWN_FAULT=2.21
    OPPOSITE_FAULT=2.22
    FAULT_UNKNOWN=2.23
    STAFF_SHORTAGE=3.31
    ND_OPERATOR_PLANNING_ERROR=3.32
    DRIVER_LATE=3.33
    INSUFFICIENT_INSTRUCTIONS_BY_OPERATOR=3.34
    INSUFFICIENT_INSTRUCTIONS_BY_AUTHORITY=3.35
    NO_VEHICLE_AVAILABLE=3.36
    ASSAULT_ON_DRIVER=5.51
    ASSAULT_ON_PASSENGER=5.52
    ASSAULT_ON_VEHICLE=5.53
    PASSED_OUT_PASSENGER=5.54
    OTHER_ASSAULT=5.55
    UNDRIVEABLE_CONDITIONS=8.81
    STUCK_CAUSED_BY_SLIPPERY=8.82
    CONGESTION_CAUSED_BY_WEATHER=8.83
    SLIPPERY_TRACK=8.84
    ROAD_BLOCKED=9.91
    VEHICLE_OFF_THE_ROAD_BY_DRIVER_ERROR=9.92
    VEHICLE_OFF_THE_ROAD_BY_OTHER_REASON=9.93
    MISSPARKED_VEHICLE=9.94
    CONGESTION_REASON_UKNOWN=9.95
    CONGESTION_CAUSED_BY_ACCIDENT=9.96
    DRIVER_SEIZURE=10.101
    PASSENGER_SEIZURE=10.102
    PASSENGER_INJURED=10.103
    OTHER_SEIZURE=10.104
    DEVICE_ERROR=11.111
    OPERATOR_DEVICE_ERROR=11.112
    WRONG_INFORMATION_IN_DEVICE=11.113
    ITS_SYSTEM_NOT_INSTALLED=11.114
    USER_ERROR=11.115
    FALSE_ALARM=11.116
    OTHER_ITS_ERROR=11.117
    DRIVER_ERROR=12.123
    INSUFFICIENT_CAPASITY=13.131
    OPERATOR_PERSONNEL_ON_STRIKE=14.141
    OTHER_STRIKE=14.142
    OTHER_OPERATOR_REASON=15.151
    UNKNOWN_CAUSE=15.152
    OPERATOR_CHARGING_SERVICE=16.161
    OTHER_CHARGING_SERVICE=16.162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant