I want to validate YAML files in Python with my own scheme. A valid YAML shall look like this:
input:
- name1
split_to:
windows:
- split1
other:
- split2
While [windows, other] are dynamic, any name shall allowed there (i.e. "solaris", "mac", "templeOS")
I'm using validate from jsonschema like described here: Validating a yaml document in python
Any other module where this works would be also okay.