Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

Version 1 Current »

This is a write up to demonstrate how we can validate any given JSON payload against a well defined schema corresponding to it.

Idea here is to see if we can run this application against an identified question payload with its corresponding JSON schema.

This will help us uncover the current deviations and can become as a repeatable test to see if the sample payload adhere to the specification.

A video recording of the test carried out is embedded here.

validating_against_spec_recording_1.mkvvalidating_against_spec_recording_2.mkv

Sample code used for test is here

https://github.com/sajeshkayyath/json-validator-prev-leadpony

Observation

  • There are deviations from the QuML (v1) specification in the inQuiry

  • Corrective action to fix the existing payload needs to be taken and re-validated against the specification.

  • Assuming similar deviations may be there from other adopters as well.

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.