I have two parameters, say number_1
and number_2
. The value of number_2
should be greater than the value of number_1
. How can this be done in jsonschema?
5
votes
1 Answers
1
votes
This cannot be done with plain jsonschema. There is no greater than
or similar in the draft. Other constraints could be possible since you can have access to another value.