Closed
Description
@handrews could you please point me to the discussion about adding the note about the possibility of removing dependencies?
If it wasn't discussed, I would propose to remove this note from the spec until such possibility is agreed.
Without "dependencies", a concise schema:
{
"dependencies": {
"foo": ["bar"],
"baz": ["quux"]
}
}
will have to be replaced with:
{
"allOf": [
{
"if": {"required": ["foo"]},
"then": {"required": ["bar"]},
},
{
"if": {"required": ["baz"]},
"then": {"required": ["quux"]},
}
]
}
which seems both more verbose and more difficult to understand.
So I am not sure what could be the motivation to remove it.