Currently the XSD schema structs appear to be hand coded, which is good enough for the bootstrapping phase. It might make sense that the structs are generated from [the xsd schema directly](https://www.w3.org/2001/XMLSchema.xsd).