validate
Validates a JSON message against a predefined schema.
Parameters
json Message
The JSON message to validate.
schema Name
The name of the schema to use for validation.
Throws
if validation fails, including a list of validation errors.
Validates a JSON message against a predefined schema.
The JSON message to validate.
The name of the schema to use for validation.
if validation fails, including a list of validation errors.