osrm-backend/include/engine/api/flatbuffers/fbresult.fbs
Denis Chaplygin 13287d9970 Optimizing FB schema:
* 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.
2019-08-26 11:08:56 +03:00

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;
}