format response

This commit is contained in:
sbriat
2023-09-26 14:03:34 +02:00
parent 528ecfb3f9
commit d0285e265e
30 changed files with 903 additions and 79 deletions

View File

@@ -57,34 +57,36 @@ message Match {
string id = 1;
string adId = 2;
string role = 3;
int32 duration = 4;
int32 distance = 5;
repeated Journey journeys = 6;
int32 distance = 4;
int32 duration = 5;
int32 initialDistance = 6;
int32 initialDuration = 7;
int32 distanceDetour = 8;
int32 durationDetour = 9;
double distanceDetourPercentage = 10;
double durationDetourPercentage = 11;
repeated Journey journeys = 12;
}
message Journey {
string firstDate = 1;
string lastDate = 2;
repeated Step steps = 3;
int32 weekday = 1;
string firstDate = 2;
string lastDate = 3;
repeated Step steps = 4;
}
message Step {
int32 duration = 1;
int32 distance = 2;
int32 distance = 1;
int32 duration = 2;
double lon = 3;
double lat = 4;
repeated Actor actors = 5;
string time = 5;
repeated Actor actors = 6;
}
message Actor {
string role = 1;
string target = 2;
string firstDatetime = 3;
string firstMinDatetime = 4;
string firstMaxDatetime = 5;
string lastDatetime = 6;
string lastMinDatetime = 7;
string lastMaxDatetime = 8;
}
message Matches {