When a field is required conditionally and that is expressed via anyOf in the JSON schema, the 'required' column in the generated table is not populated. Eg. in BODS, one or both of scheme and schemeName are required for Identifier, and on Annotationurl is required iff the motivation is linking.
When a field is required conditionally and that is expressed via
anyOf
in the JSON schema, the 'required' column in the generated table is not populated. Eg. in BODS, one or both ofscheme
andschemeName
are required for Identifier, and on Annotationurl
is required iff themotivation
islinking
.See also: https://github.com/openownership/data-standard/issues/333