dependentRequires #281
Unanswered
k-channon-PA
asked this question in
Q&A
Replies: 1 comment
-
Not known by draft7, which this library supports, so not implemented. Sorry. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is the "dependentRequired" keyword implemented? I have an example that works in the online validator at www.jsonschemavalidator.net, but I can't seem to get it to work in C++ using this library (which I'm successfully using for a bunch of other things):
So, this should allow
{"foo":"hello!"}
and{"foo": "hello!", "bar": "howdy!"}
, but not a thing withbar
on its own, like:{"bar": "howdy!"}
Am I just holding it wrong?
using v2.1.0
Here's an example (using Catch2)
Beta Was this translation helpful? Give feedback.
All reactions