-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathkirin.proto
43 lines (36 loc) · 1.14 KB
/
kirin.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
syntax = "proto2";
package kirin;
import "gtfs-realtime.proto";
extend transit_realtime.TripUpdate {
optional string trip_message = 1000;
optional transit_realtime.Alert.Effect effect = 1001;
optional string headsign = 1002;
optional string trip_short_name = 1003;
}
extend transit_realtime.TripDescriptor {
optional string contributor = 1000;
optional string company_id = 1001;
optional string dataset_id = 1002;
optional string network_id = 1003;
optional string commercial_mode_id = 1004;
optional string line_id = 1005;
optional string route_id = 1006;
}
extend transit_realtime.TripUpdate.StopTimeUpdate {
optional string stoptime_message = 1000;
}
enum StopTimeEventStatus {
SCHEDULED = 0;
DELETED = 1;
NO_DATA = 2;
ADDED = 3;
DELETED_FOR_DETOUR = 4;
ADDED_FOR_DETOUR = 5;
}
extend transit_realtime.TripUpdate.StopTimeEvent {
optional transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship stop_time_event_relationship = 1000;
optional StopTimeEventStatus stop_time_event_status = 1001;
}
extend transit_realtime.VehicleDescriptor {
optional string physical_mode_id = 1000;
}