DiSSCo / openDS

The home of the open Digital Specimen (openDS) specification
Apache License 2.0
17 stars 9 forks source link

dcterms:format: how to handle content negotiation support #174

Open DavidFichtmueller opened 2 months ago

DavidFichtmueller commented 2 months ago

Term Name

dcterms:format

Digital Object Name

DigitalSpecimen: Identifier

Feedback

Definition: "Mime type of content returned by identifier in case the identifier is resolvable."

Which mime type is returned could also depend if the hosting server supports content negotiation and serves the data in multiple formats. The definition (or potentially the usage notes) should cover how to handle this. Our recommendation would be to allow for multiple formats in form of an array (thus changing the data type of this property) and list all the ones, that the server is known to provide.

samleeflang commented 1 month ago

Fair point, there might be multiple Mime types in which servers can respond. I will make this an array. This will mean that we deviate from the DWCA Extension for Alternative Identifiers in which this is a single text field. However, I don't see any issues in deviating slightly on this property.