• Validate the document against the schema and returns the array of errors

    Parameters

    • validate: ValidateFunction<unknown>

      validate function, returned by Ajv.compile(jsonSchema)

    Returns Element[]

    array containing error messages (empty if there are none)

Generated using TypeDoc