namespace order; enum Relation : byte { War = 0, Peace = 1 } table CommandRaceQuit {} table CommandRaceVote { for: string; } table CommandRaceRelation { relation: Relation; for: string; } table CommandShipClassCreate { drive: float32; weapons: float32; shields: float32; cargo: float32; armament: uint16; name: string; } union Commands { CommandRaceQuit, CommandRaceVote, CommandRaceRelation, CommandShipClassCreate } struct uuid { high: int64; low: int64; } table CommandItem { id: uuid; command: Commands; } table Order { updated_at: uint64; // utc timestamp commands: [CommandItem]; } root_type Order;