Open kilianpaquier opened 3 months ago
It seems we can have if then conditions in JSON schemas. Could be useful for release mode !
if
then
https://json-schema.org/understanding-json-schema/reference/conditionals#ifthenelse
Testing and investigation can be done here: https://tour.json-schema.org/
https://tour.json-schema.org/content/05-Conditional-Validation/01-Ensuring-Conditional-Property-Presence
https://tour.json-schema.org/content/05-Conditional-Validation/02-Ensuring-Mutual-Dependency
It seems we can have
if
then
conditions in JSON schemas. Could be useful for release mode !https://json-schema.org/understanding-json-schema/reference/conditionals#ifthenelse
Testing and investigation can be done here: https://tour.json-schema.org/