Cross-Domain-Interoperability-Framework / Discovery

Repository for work on CDIF Discoverability workstream
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

MIME type profiling #9

Closed hvdsomp closed 1 year ago

hvdsomp commented 1 year ago

The spec shows the following approach to express a profile of the JSON-LD media type:

application/ld+json;type=CDIF1.0

As per the JSON-LD specification, the correct way to do this is:

application/ld+json;profile="a-profile-URI-to-express-CDIF1.0"

smrgeoinfo commented 1 year ago

Thanks, I was under the impression that the spec limited the profile vocabulary to the 6 values in the https://www.w3.org/TR/json-ld11/#iana-considerations section, but closer reading makes it clear that other URIs can be used. This is good. I'll fix in doc.