DCAT-AP icon indicating copy to clipboard operation
DCAT-AP copied to clipboard

cardinality of accessURL and downloadURL

Open idevisser opened this issue 1 year ago • 3 comments

In DCAT-AP 2.1.1 accessURL is mandatory and has the cardinality of 1..n, downloadURL is optional and has the cardinality of 0..n.

In practice, accessURL does not always occur with a distribution, in that case only a download URL is available. Conversely, the downloadURL is not always present either.

What I now see is that as a workaround it is indicated in the various national profiles that in the case there is no accessURL, the downloadURL must also be included in the accessURL, because this property is mandatory. As a result, there will be URLs in the property accessURL that are not accessURL.

I would suggest to include a constraint that one of accessURL or downloadURL is mandatory. The cardinality for both is then 0..n

idevisser avatar Jun 14 '23 14:06 idevisser