Click here to load reader
Upload
ankush-sharma
View
268
Download
0
Embed Size (px)
Citation preview
Mule JSON Schema ValidatorBy – Ankush Sharma
What is schema validator?
A schema validator is a mechanism which is used to validate some data against its defined schema. That schema may be from a web address, from file system or anywhere.
Mule JSON Schema Validator
The JSON Schema validator evaluates JSON payloads at runtime and verifies that they match a referenced JSON schema. You can match against schemas that exist in a local file or in an external URI. If the validation fails, an exception is raised with feedback about what went wrong and a reference to the original invalid payload.
Mule JSON Schema Validator – Configuration Wizard (General Tab)(Cont.)
Mule JSON Schema Validator – Configuration Wizard (General Tab) Following are the properties on general tab –
Display Name – The display name of the connector used for display purposes in Mule flow.
Schema Location – Location of the schema. It may be a web URL, file system URL etc.
Dereferencing - Draft v4 defines two dereferencing modes, canonical (default) and inline. This attribute is ignored if validating a v3 draft.
Mule JSON Schema Validator – Configuration Wizard (Notes and Meta-data Tab)
Notes Tab – Notes tab is used to add special notes for Mule JSON Schema validator filter.
Meta-data Tab – This tab is used to add Meta-data to Mule JSON schema validator component.
Flow screenshot
Thank You!