json-ld / yaml-ld

CG specification for YAML-LD and UCR
https://json-ld.github.io/yaml-ld/spec
Other
22 stars 8 forks source link

File extension #25

Closed juusoautiosalo closed 2 years ago

juusoautiosalo commented 2 years ago

JSON-LD uses .jsonld as the (recommended) file extension as can be seen from the IANA considerations and elsewhere in the specification. So I would like to bring up an obvious question (because I am selecting the "main" file extension for a project):

What will be the (recommended) file extension for YAML-LD?

I suggest .yamlld for consistency and the "no surprises" principle.

Previous materials on the topic:

gkellogg commented 2 years ago

".jsonld" instead of ".json" for application/ld+json would imply ".yamlld" instead of ".yaml" for application/ld+yaml. This should go in the media-type application, which is typically part of the spec.