The dependentRequiredkeyword conditionally requires that certain properties must be present if a given property is present in an object. This conditional requirement is used for example to return an error if terms_url is defined but terms_last_updated is missing.
Context
The
dependentRequired
keyword conditionally requires that certain properties must be present if a given property is present in an object. This conditional requirement is used for example to return an error ifterms_url
is defined butterms_last_updated
is missing.Problem
According to the JSON Schema doc:
Since we're using a version of JSON Schema prior to Draft 2019-09, we must use the keyword
dependencies
.What's Changed
This PR replaces
dependentRequired
keywords bydependencies
in system_information.json for v2.3, v3.0 and v3.1-RC.terms_url
was defined butterms_last_updated
was missing.terms_url
is defined butterms_last_updated
is missing (as expected).