aboutsummaryrefslogtreecommitdiff
path: root/src/common/stop_schedule.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/stop_schedule.proto')
-rw-r--r--src/common/stop_schedule.proto41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/common/stop_schedule.proto b/src/common/stop_schedule.proto
new file mode 100644
index 0000000..e07e26c
--- /dev/null
+++ b/src/common/stop_schedule.proto
@@ -0,0 +1,41 @@
+syntax = "proto3";
+
+package proto;
+
+option csharp_namespace = "Costasdev.Busurbano.Backend.Types";
+
+message Epsg25829 {
+ double x = 1;
+ double y = 2;
+}
+
+message StopArrivals {
+ message ScheduledArrival {
+ string service_id = 1;
+ string trip_id = 2;
+ string line = 3;
+ string route = 4;
+ string shape_id = 5;
+ double shape_dist_traveled = 6;
+
+ uint32 stop_sequence = 11;
+ repeated string next_streets = 12;
+
+ string starting_code = 21;
+ string starting_name = 22;
+ string starting_time = 23;
+
+ string calling_time = 33;
+ uint32 calling_ssm = 34;
+
+ string terminus_code = 41;
+ string terminus_name = 42;
+ string terminus_time = 43;
+ }
+
+ string stop_id = 1;
+
+ Epsg25829 location = 3;
+
+ repeated ScheduledArrival arrivals = 5;
+}