* Replaced Response union with nullable fields * "Ok" code replaced with a boolean and a separate structure for a error code and message. * Inlined geometry, thus removing one layer of indirection.
23 lines
378 B
Plaintext
23 lines
378 B
Plaintext
include "match.fbs";
|
|
include "nearest.fbs";
|
|
include "route.fbs";
|
|
include "table.fbs";
|
|
include "trip.fbs";
|
|
|
|
namespace osrm.engine.api.fbresult;
|
|
|
|
table Error {
|
|
code: string;
|
|
message: string;
|
|
}
|
|
|
|
table FBResult {
|
|
error: bool = false;
|
|
code: Error;
|
|
data_version: string;
|
|
match: Match;
|
|
nearest: Nearest;
|
|
route: Route;
|
|
table: Table;
|
|
trip: Trip;
|
|
} |