namespace Yesstr; // FilterSync table RequestSync { filter: string; // only required for first in a sequence reqsEncoded: [ubyte]; } table ResponseSync { respsEncoded: [ubyte]; } // Request/Response wrappers union RequestPayload { RequestSync, } union ResponsePayload { ResponseSync, } table Request { requestId: uint64; payload: RequestPayload; } table Response { requestId: uint64; payload: ResponsePayload; } table Empty {} root_type Empty;