Closed bendbennett closed 12 months ago
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
The
schema
required thatattributes
be present for data sources and resources.This PR modifies the schema to require that data sources and resources have
attributes
and/orblocks
.minProperties
has been used for this purpose because usinganyOf
gives rise to a misleading error message. For instance, updating the schema to use:Results in the following error message if both
attributes
andblocks
are omitted from a data source or resource: