Consider the following json:
"test": {
"required_key" : ["a", "b"],
"a": {
"key": "val"
}
}
I want using json-schema-validator to require that the values of "required_key" that is: "a", "b" will be required under the "test" tag.
That is, I want to declare required tags based on value of other tag ("required_key")
In my example the validation should fail since "b" appear on the "required_key" but is not defined inside the "test" tag