UNPKG

gtfs-types

Version:

🚂 Typescript definitions for the GTFS Standard

85 lines (84 loc) • 5.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Incrementality = exports.VehicleStopStatus = exports.SeverityLevel = exports.Effect = exports.Cause = exports.StopTimeUpdateScheduleRelationship = exports.TripScheduleRelationship = exports.Congestion = exports.Occupancy = void 0; var Occupancy; (function (Occupancy) { Occupancy[Occupancy["EMPTY"] = 0] = "EMPTY"; Occupancy[Occupancy["MANY_SEATS_AVAILABLE"] = 1] = "MANY_SEATS_AVAILABLE"; Occupancy[Occupancy["FEW_SEATS_AVAILABLE"] = 2] = "FEW_SEATS_AVAILABLE"; Occupancy[Occupancy["STANDING_ROOM_ONLY"] = 3] = "STANDING_ROOM_ONLY"; Occupancy[Occupancy["CRUSHED_STANDING_ROOM_ONLY"] = 4] = "CRUSHED_STANDING_ROOM_ONLY"; Occupancy[Occupancy["FULL"] = 5] = "FULL"; Occupancy[Occupancy["NOT_ACCEPTING_PASSENGERS"] = 6] = "NOT_ACCEPTING_PASSENGERS"; Occupancy[Occupancy["NO_DATA_AVAILABLE"] = 7] = "NO_DATA_AVAILABLE"; Occupancy[Occupancy["NOT_BOARDABLE"] = 8] = "NOT_BOARDABLE"; Occupancy[Occupancy["UNKNOWN"] = -1] = "UNKNOWN"; })(Occupancy || (exports.Occupancy = Occupancy = {})); var Congestion; (function (Congestion) { Congestion[Congestion["UNKNOWN_CONGESTION_LEVEL"] = 0] = "UNKNOWN_CONGESTION_LEVEL"; Congestion[Congestion["RUNNING_SMOOTHLY"] = 1] = "RUNNING_SMOOTHLY"; Congestion[Congestion["STOP_AND_GO"] = 2] = "STOP_AND_GO"; Congestion[Congestion["CONGESTION"] = 3] = "CONGESTION"; Congestion[Congestion["SEVERE_CONGESTION"] = 4] = "SEVERE_CONGESTION"; })(Congestion || (exports.Congestion = Congestion = {})); var TripScheduleRelationship; (function (TripScheduleRelationship) { TripScheduleRelationship[TripScheduleRelationship["SCHEDULED"] = 0] = "SCHEDULED"; TripScheduleRelationship[TripScheduleRelationship["ADDED"] = 1] = "ADDED"; TripScheduleRelationship[TripScheduleRelationship["UNSCHEDULED"] = 2] = "UNSCHEDULED"; TripScheduleRelationship[TripScheduleRelationship["CANCELED"] = 3] = "CANCELED"; })(TripScheduleRelationship || (exports.TripScheduleRelationship = TripScheduleRelationship = {})); var StopTimeUpdateScheduleRelationship; (function (StopTimeUpdateScheduleRelationship) { StopTimeUpdateScheduleRelationship[StopTimeUpdateScheduleRelationship["SCHEDULED"] = 0] = "SCHEDULED"; StopTimeUpdateScheduleRelationship[StopTimeUpdateScheduleRelationship["SKIPPED"] = 1] = "SKIPPED"; StopTimeUpdateScheduleRelationship[StopTimeUpdateScheduleRelationship["NO_DATA"] = 2] = "NO_DATA"; })(StopTimeUpdateScheduleRelationship || (exports.StopTimeUpdateScheduleRelationship = StopTimeUpdateScheduleRelationship = {})); var Cause; (function (Cause) { Cause[Cause["UNKNOWN_CAUSE"] = 0] = "UNKNOWN_CAUSE"; Cause[Cause["OTHER_CAUSE"] = 1] = "OTHER_CAUSE"; Cause[Cause["TECHNICAL_PROBLEM"] = 2] = "TECHNICAL_PROBLEM"; Cause[Cause["STRIKE"] = 3] = "STRIKE"; Cause[Cause["DEMONSTRATION"] = 4] = "DEMONSTRATION"; Cause[Cause["ACCIDENT"] = 5] = "ACCIDENT"; Cause[Cause["HOLIDAY"] = 6] = "HOLIDAY"; Cause[Cause["WEATHER"] = 7] = "WEATHER"; Cause[Cause["MAINTENANCE"] = 8] = "MAINTENANCE"; Cause[Cause["CONSTRUCTION"] = 9] = "CONSTRUCTION"; Cause[Cause["POLICE_ACTIVITY"] = 10] = "POLICE_ACTIVITY"; Cause[Cause["MEDICAL_EMERGENCY"] = 11] = "MEDICAL_EMERGENCY"; })(Cause || (exports.Cause = Cause = {})); var Effect; (function (Effect) { Effect[Effect["NO_SERVICE"] = 0] = "NO_SERVICE"; Effect[Effect["REDUCED_SERVICE"] = 1] = "REDUCED_SERVICE"; Effect[Effect["SIGNIFICANT_DELAYS"] = 2] = "SIGNIFICANT_DELAYS"; Effect[Effect["DETOUR"] = 3] = "DETOUR"; Effect[Effect["ADDITIONAL_SERVICE"] = 4] = "ADDITIONAL_SERVICE"; Effect[Effect["MODIFIED_SERVICE"] = 5] = "MODIFIED_SERVICE"; Effect[Effect["OTHER_EFFECT"] = 6] = "OTHER_EFFECT"; Effect[Effect["UNKNOWN_EFFECT"] = 7] = "UNKNOWN_EFFECT"; Effect[Effect["STOP_MOVED"] = 8] = "STOP_MOVED"; Effect[Effect["NO_EFFECT"] = 9] = "NO_EFFECT"; Effect[Effect["ACCESSIBILITY_ISSUE"] = 10] = "ACCESSIBILITY_ISSUE"; })(Effect || (exports.Effect = Effect = {})); var SeverityLevel; (function (SeverityLevel) { SeverityLevel[SeverityLevel["UNKNOWN_SEVERITY"] = 0] = "UNKNOWN_SEVERITY"; SeverityLevel[SeverityLevel["INFO"] = 1] = "INFO"; SeverityLevel[SeverityLevel["WARNING"] = 2] = "WARNING"; SeverityLevel[SeverityLevel["SEVERE"] = 3] = "SEVERE"; })(SeverityLevel || (exports.SeverityLevel = SeverityLevel = {})); var VehicleStopStatus; (function (VehicleStopStatus) { VehicleStopStatus[VehicleStopStatus["INCOMING_AT"] = 0] = "INCOMING_AT"; VehicleStopStatus[VehicleStopStatus["STOPPED_AT"] = 1] = "STOPPED_AT"; VehicleStopStatus[VehicleStopStatus["IN_TRANSIT_TO"] = 2] = "IN_TRANSIT_TO"; })(VehicleStopStatus || (exports.VehicleStopStatus = VehicleStopStatus = {})); var Incrementality; (function (Incrementality) { Incrementality[Incrementality["FULL_DATASET"] = 0] = "FULL_DATASET"; Incrementality[Incrementality["DIFFERENTIAL"] = 1] = "DIFFERENTIAL"; })(Incrementality || (exports.Incrementality = Incrementality = {}));