Open kenloen opened 4 months ago
The schema's should be validated as a valid Draft-7 json schema in CI.
Something like this could be used:
import jsonschema from ruamel.yaml import YAML with open("../windIO/turbine/IEAontology_schema.yaml", "r") as file: wt_schema = YAML(typ="safe").load(file) jsonschema.Draft7Validator.check_schema(wt_schema)
The schema's should be validated as a valid Draft-7 json schema in CI.
Something like this could be used: