the javascript object to be parsed.
the [JOI.schema object](https://joi.dev/api/)
an object with a message value. See example.
the objected converted to the given type
import { validate } from "@eng-automation/js";
import { configSchema } from "./utils";
const myConfig: unknown = JSON.parse(jsonString);
const config: ConfigurationFile validate<ConfigurationFile>(config, configSchema, { message: "Configuration file is invalid" });
Validates an object against to a JOI schema