JSON Schema is the JSON-based format definition for defining the JSON data structure. It was drawn up in 2011 as part of the IETF draught. −
|Sr.No.||Keyword & Description|
It states that the schema draws out accordingly with draught v4.
Used for giving a title to the schema.
Schema’s little discription.
The type keyword defines the first constraint on our JSON Data: it has to be a JSON object.
In the JSON file, define different keys and their value categories, as well as min. and max. values.
Maintains a list of all the needed properties.
Value's constraint, that reflects the lowest allowable value.
If the variable "exclusiveMinimum" is available and has a true boolean value, the instance is legitimate if it exceeds the minimum value.
Constraint and the maximum value that can be used. It’s the final limit.
If boolean value "exclusiveMaximum" is included, the instance is valid if it is strictly less than the maximum value.
The numbered instance remains valid against "multipleOf" if the result of division by this keyword is an integer.
The length of the string instance is the maximum amount of characters.
The duration of a string instance is set to the minimal number of characters.
A string instance is considered valid if the regular expression matches it correctly.