opendata-swiss / dcat_ap_ch

Examples for geocat and DCAT data-catalogs are given here
5 stars 3 forks source link

dcat:mediaType must use the IANA media types as URIs #111

Open sabinem opened 3 years ago

sabinem commented 3 years ago

Property: dct:mediaType Class: dcat:Distribution Conformance Problem: The media type must use IANA media types as a controlled vocabulary. Media types should be provided as URIs. Details:

Proposal:

p1d1d1 commented 3 years ago

@sabinem what if a media type for a specific format is not available in IANA?

sabinem commented 3 years ago

@p1d1d1 a non existing media type can be registered at IANA.

This is a rule regarding this from the DCAT-AP.de Konventionenhandbuch, see here https://www.dcat-ap.de/def/ Konv 31: Hat die Datei, die die Daten einer Distribution beinhaltet, einen in der MDR authority file table17 geführten mediaType, so MUSS auf diesen mittels dct:format verwiesen werden. Andernfalls MUSS via dcat:mediaType auf die IANA Liste18 verwiesen und ein ggf. fehlender mediaType dort angelegt werden.

See also this issue on the DCAT-AP, where the expectation that media type should be registered at IANA is also stated: https://github.com/SEMICeu/DCAT-AP/issues/26

This here is the IANA form for the registration of new media types: https://www.iana.org/form/media-types

p1d1d1 commented 3 years ago

Not easy when you have vendors behind a media type to be registered.

Juan-Juan-1 commented 2 years ago

Vorschlag: Adapt the usage note of the property in DCAT AP CH to explicitly demand that the IANA Media Type should be provided as an URI

Provide input opendata.swiss to correct implementation