This repository was archived by the owner on Jun 18, 2024. It is now read-only.
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
v1.1 JSON Schema should enforce conditional requirements #434
Open
Description
Currently the v1.1 JSON Schema doesn't enforce some of the more complicated conditional requirements like rights
only being required when accessLevel
is non-public
or restricted public
It is possible to do conditional requirements like this with JSON Schema, but from what I can tell it looks like it would mean duplicating all the other fields on the dataset level. (unless there's some other way to include partial $refs
for the object)
See: