mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-08-04 22:06:34 +00:00
24 lines
391 B
Protocol Buffer
24 lines
391 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "github.com/cjdenio/uta-trax-api/proto";
|
|
|
|
message VehicleFeed {
|
|
enum Line {
|
|
LINE_UNSPECIFIED = 0;
|
|
GREEN = 1;
|
|
RED = 2;
|
|
BLUE = 3;
|
|
STREETCAR = 4;
|
|
FRONTRUNNER = 5;
|
|
}
|
|
|
|
message Vehicle {
|
|
float lat = 1;
|
|
float lon = 2;
|
|
Line line = 3;
|
|
int32 direction = 4;
|
|
string id = 5;
|
|
}
|
|
|
|
repeated Vehicle vehicles = 1;
|
|
}
|