swimdrinkfish/opendata

Remove minItems property from #/properties/records/

Opened this issue · 1 comments

MinItems property for records Array does not allow for a schema compliant way to show that no records have been returned. This could happen when working with APIs, and there are no records responsive to a query.

This violates spec:
{ "$schema": "https://raw.githubusercontent.com/swimdrinkfish/opendata/master/v1.0.1/schema.json#", "documentTime": "2020-09-02T18:33:28.095921+00:00", "records": [] }

This change should be incorporated into data standard v1.1.