I have a draft7
schema.
Two required properties are totalSizeOfFarm
and totalAreaGrass
, both are type number
and have exclusiveMinimum
of 0.
I want the maximum of totalAreaGrass
not to exceed the value of totalSizeOfFarm
.
Can this be done?
I've been looking at if..then
but don't understand how to get the value of totalSizeOfFarm
.
Please advice.