Similar to the existing csharp classes that is generated when DDI 4 (https://github.com/ddialliance/ddimodel)
The build process with https://github.com/colectica/cogs does the code generation.
It could also be done by using jsonSchema.json (after #17 is resolved) or dctap.csv (Dublin Core Tabular Application Profile)