Compile serde_yaml’s representation into a compiled schema that then can be used in Generator, using compile function.
serde_yaml
Generator
compile