Starting from a designated list of root types, you can use enumAllSerializedFields and Nim's signatureHash to automatically generate a "checksum" that uniquely identifies the version of the type schemas used in a particular build of a project (please note that this will also include all transitively reached types that may appear as record fields).
This checksum can be used in file formats and network protocols to quickly detect situations where you are dealing with an older incompatible version of your software (for formats such as SSZ which don't provide backwards compatibility).