docs: def validate_yaml_file(schema: dict, yaml_file: Path):
      """Validates yaml data against the defined schema
  
      :param schema: schema in json format
      :param yaml_file: path to yaml_file
      :return:
      """
  
      with yaml_file.open() as f:
          data = yaml.load(f)
  
      jsonschema.validate(data, schema)