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 1 month ago

DavidFichtmueller commented 1 month 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 2 weeks 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.