How can I perform JSON schema validation for my JSON response using libraries like dojox.json.schema
or JSV or JSON Schema by writing Javascript code that sources these JS libraries.
I want to use let feature to assign a variable called is_valid
which will run a JS code that validates the response against a JSON schema.
The JS code might look like this.