w3c / json-ld-framing

JSON-LD 1.1 Framing Specification
https://w3c.github.io/json-ld-framing/
Other
24 stars 20 forks source link

Change IANA Considerations to make the profile parameter required #154

Closed gkellogg closed 8 months ago

gkellogg commented 11 months ago

rather than optinoal, and use "frame" instead of "framed".

For #132.


Preview | Diff

TallTed commented 10 months ago

Hm. Why frame instead of framed?

gkellogg commented 10 months ago

The "framed" IRI was intended to indicate a JSON-LD document that was the result of framing, whereas the "frame" IRI was intended to describe a JSON-LD document that can be used as a frame. This is why it's a "required" parameter, as frames use different keywords than normal JSON-LD documents, and have a specific purpose. I don't expect that the world will change so that every frame document now comes with such a parameter; static site builders really have no way to do this, but it makes sense for the spec to be accurate in its description.

TallTed commented 10 months ago

I wish multiple + had already been approved.

It seems to me, this media type would be better application/frame+ld+json, being a subtype of application/ld+json, being a subtype of application/json.