Validate the document against the schema and returns the array of errors
validate function, returned by Ajv.compile(jsonSchema)
array containing error messages (empty if there are none)
Generated using TypeDoc
Validate the document against the schema and returns the array of errors