Optional
ajvOptional Ajv instance to use for validation, if not provided a new instance will be created.
Optional
envelopeOptional JMESPATH expression to use as envelope for the payload.
Optional
externalOptional external references for validation.
Optional
formatsOptional formats for validation.
The data to validate.
The JSON schema for validation.
Options to customize the JSON Schema validation.
Param: payload
The data to validate.
Param: schema
The JSON schema for validation.
Param: envelope
Optional JMESPATH expression to use as envelope for the payload.
Param: formats
Optional formats for validation.
Param: externalRefs
Optional external references for validation.
Param: ajv
Optional Ajv instance to use for validation, if not provided a new instance will be created.