Closed ddeboer closed 1 year ago
Suggested change to specification of schema:usageInfo
:
Publishers SHOULD link to documentation URLs via the schema:usageInfo attribute. For datadumps this should be documentation about the data model. For API's this should be documentation about the specific capabilities of the API (like content-type support) AND the generic specification of the protocol which also 'types' the distribution.
Recommended URI's for typing: Protocol URI specification OAI-PMH http://www.openarchives.org/pmh/ SPARQL https://www.w3.org/TR/sparql11-query/ TPF https://linkeddatafragments.org/specification/triple-pattern-fragments/ (unofficial draft!!) REST https://developers.arcgis.com/rest/ WMS http://www.opengeospatial.org/standards/wms GraphQL https://spec.graphql.org/
Note: Currently the fact that the spec says "if non-standard API and MUST publish" we cannot make the property required (in spec and SHACL). The suggested change says SHOULD, indicating a recommendation which leads to a warning if ommited (and not an error).
Currently the spec says:
However, it may help to disambiguate distributions if we recommend to use
schema:usageInfo
more widely, or even require it for all data APIs (but not for dumps), with a selection of predefined values: