vtgate v3: restructure schema data structures