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?
Asked
Active
Viewed 3,942 times
11
1 Answers
2
This cannot be done with plain jsonschema. There is no greater than
or similar in the draft. Other constraints could be possible once you can have access to another value.

colidyre
- 4,170
- 12
- 37
- 53