To determine whether a config file syntax matches the current config syntax version, right now VyOS uses files in /opt/vyatta/etc/config-migrate/current/
Each file lives in its own package now, so without a live system next to you, it's very hard to find what the current versions are.
It would be better to move them into a single file in a simple format (e.g. JSON) and add library functions and utilities for reading them.