Construct a validator of YAML files.
The JSON schema file object.
Validate the input config.
The input config file path (string) or parsed config (Object).
The default config options.
The input config with defaults applied.
On validation errors
Static
Construct a validator of YAML files.