import { validate } from "https://deno.land/x/windmill@v1.364.2/node_modules/@types/json-schema/index.d.ts";
To use the validator call JSONSchema.validate with an instance object and an optional schema object. If a schema is provided, it will be used to validate. If the instance object refers to a schema (self-validating), that schema will be used to validate and the schema parameter is not necessary (if both exist, both validations will occur).
Parameters
schema: JSONSchema4 | JSONSchema6 | JSONSchema7