w3c / json-ld-wg

Documentation for the JSON-LD Working Group
https://www.w3.org/2018/json-ld-wg/
Other
29 stars 24 forks source link

Final fate of the json-ld short names? #103

Closed iherman closed 4 years ago

iherman commented 5 years ago

This issue came up in https://github.com/w3c/pub-manifest/issues/29 with regard to referencing our spec. What do we plan for our final spec? Will it use the json-ld short name, ie, "hiding" the previous versions, or would we want a completely new "branch" and stick to json-ld11? It is important to make clear to other specs that want to refer to json-ld...

gkellogg commented 5 years ago

We registered short-names with "json-ld11" ("json-ld11", "json-ld11-api", "json-ld11-framing"). We also reference the previous spec, so "json-ld" should continue to point to the 1.0 spec.

akuckartz commented 5 years ago

As a user I expect "json-ld" to point to the most current spec.

iherman commented 5 years ago

We registered short-names with "json-ld11" ("json-ld11", "json-ld11-api", "json-ld11-framing"). We also reference the previous spec, so "json-ld" should continue to point to the 1.0 spec.

This is the situation today indeed. However, there may be some flexibility that we can discuss with the Webmaster (maybe in Fukuoka?). (See, e.g., https://www.w3.org/2005/05/tr-versions.html#shortnames.)

I propose we try to establish a scheme that we could live with, and then see what can be implemented.

iherman commented 5 years ago

A possibility may be:

/TR/json-ld -> points to the latest published recommendation
/TR/json-ld10 -> points to the highest level of 1.0
/TR/json-ld11 -> points to the highest level of 1.1

etc.

gkellogg commented 5 years ago

Does this have implications for the short-names used in the spec? Obviously, if /TR/json-ld can simply point to the same thing as /TR/json-ld11, I'm all in support of that.

References used internally are to JSON-LD11, JSON-LD11-API, and JSON-LD11-FRAMING. Would these change to the versions without "11"?

The JSON-LD reference is for 1.0, this could be changed to JSON-LD10, but may need either a custom bibliography, or some support in the document database. (Presumably, that's based on the cumulative specs in /TR, so something would need to be keyed from the content of the document).

iherman commented 5 years ago

@gkellogg frankly, I don't know exactly. I am happy to discuss this with the Webmaster, as soon as we agree what we want...

azaroth42 commented 5 years ago

:+1: to json-ld10 / json-ld11 / (etc) and json-ld as a pointer to the most recent.

iherman commented 5 years ago

Ok. I will contact our wise people in the W3C team to see what is possible for later.

iherman commented 5 years ago

This issue was discussed in a meeting.

iherman commented 5 years ago

(Got the answer from the Webmaster)

First of all, there is already a general setup to use common short names for versioned documents: see https://github.com/w3c/tr-pages/wiki/Latest-versions-proposal-for-leveled-specifications. Looking at that page, here is what we already have:

As a WG we can decide whether https://www.w3.org/TR/json-ld/ should point to:

We can add this to our CR request. My feeling is that our preference would to to the latter, which means that once the REC is published, that one will appear as the top level.

azaroth42 commented 5 years ago

:+1: to latest, rather than upcoming