From 6947eb1d29307ccdc062e0905336d7936e568d9f Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Sun, 10 Sep 2017 22:36:56 -0700 Subject: [PATCH] Note that we may remove "dependencies" This was discussed in the if/then/else issue. There was significant support for removing "dependencies" as it is more straightforward, although sometimes more verbose, to implement the same funcitonality with if/then/else. Rather than going straight to ripping it out, let's give if/then/else a bit of time to gather feedback. Make a note of it to warn that "dependencies" may be removed, which will hopefully provoke some feedback on that idea as well. --- jsonschema-validation.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jsonschema-validation.xml b/jsonschema-validation.xml index ca634307..3b70a8d4 100644 --- a/jsonschema-validation.xml +++ b/jsonschema-validation.xml @@ -597,6 +597,15 @@
+ + + Now that "if", "then", and "else" are keywords, it is not clear whether + there is any benefit in keeping dependencies. It is frequently + misunderstood and seems to be rarely used. Depending on feedback + with "if", "then", and "else", this keyword may well be removed in a + future draft. + + This keyword specifies rules that are evaluated if the instance is an object and contains a certain property.