-
Is there the possibility of defining the min/max of a property based on the value of other properties? Ex: {
"lowerValue": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"upperValue": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"targetValue": {
"type": "integer",
"minimum": "#lowerValue ?!?",
"maximum": "#upperValue ?!?"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
Julian
Oct 21, 2021
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Julian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
$ref
keyword is essentially what you use for this sort of thing.