Closed acka47 closed 8 years ago
I'm :+1: on allowing both .json
and .jsonld
. CC @no-reply @aisaac
If we allow both, we still will have to decide where to link to in the HTML and in the Content-Location header.
:+1: to both; treating .json
as the canonical link, following e.g. IIIF.
How about allowing both extensions and media types. application/ld+json with .jsonld application/json with .json The content of the file served would be the same of course, which would make it only a minor change to our original spec (and one that avoids long discussions about the matter :-) )
Important point: this is being proposed while @no-reply is actually in my office :-)
:+1:, but in that case, I think we want to use .jsonld
when linking, in general. Some parsers may not like the application/json
media-type (notably, it is not supported by Ruby-RDF's Reader#for(media_type)
interface).
Agreed with @no-reply and @aisaac.
Resolved. Closing.
The example on page 5 of the technical white paper (
/data/NoCCR/1.0.json
) suggests that.json
should be used. In the IANA registration for the media type "application/ld+json".jsonld
is named as file extension. Currently, one can find both versions in the rights-app issues.We should clarify which extension should be used by the rightsstatement application:
.json
or.jsonld
?