json-ld/json-ld.org

RFCs

davidlehn opened this issue · 5 comments

I've long had an idea for starting a JSON-LD Request For Comment "RFC" system. Similar to PEPs, JEPs, XEPs, EIPs, and so on in other projects. The idea being to have a collection of docs that propose and work on new features, ideas, implementation conventions, and other related items. In some cases features may move into specs in the future. It's worked pretty well in other communities and I imagine we could grow some new ideas here too.

I don't know what name would be best... so was just thinking of being old school with RFC.

Location would perhaps be rfcs.json-ld.org, so use a new repo, make some meta rfcs and indexes, and get github pages to host it.

Not sure what file formats to suggest. Probably support both respec and markdown. Markdown because it seems a bit more lightweight when just throwing new ideas out there.

As for topics, I've got some things queued up and it's unclear where best to document them.

  • benchmarking: Recommendations for common implementation standards for benchmarking so we can more easily compete compare code.
  • custom API flags: Recommendations for how to pass implementation specific flags to API calls.
  • safe mode: Spec for a "safe" mode to avoid common pitfalls in use cases like digital signatures. jsonld.js is getting this feature soon and it seems worthwhile to document it and collaborate with other implementations on the idea.
  • well-formed mode: Ideas for higher performance when you know your input is good.

I can come up with more. I assume others can too. Some of these things seem too small to handle with their own repos and big spec docs. But a light weight RFC doc seems right.

Thoughts?

Yes, IETF does use RFCs, but I was aiming more at how Rust has RFCs, Python has PEPs, XMPP has XEPs, Java uses JEPs, Ethereum has EIPs, Bitcoin uses BIPs, etc. Linked this time so people can browse what I'm proposing. It could be called JEP or JIP or something if people prefer layers of acronyms.

I'm specifically looking for space and a less formal process to start the documentation ing and discuss ideas. Maybe crazy ideas that go nowhere. Maybe just guidelines. Maybe they will target spec updates, maybe not. Something between a github PR/issue and a one spec repo. I'm unsure how the W3 process docs above apply here. It seems we could have CG RFC docs that interested people can work on. Some may work out, some may not. If the RFCs turn out to be good ideas that need formalization, they could then be sent to the more formal WG process and hopefully will already be a bit more cooked than raw.

Perhaps there are not enough ideas at this level for this to be worth it? I'm not sure. If not, where would these sorts of small docs go now?

I assume we'll have more to talk about on calls than time to do so. Would be nice to get more feedback on this concept sooner rather than later. I hope to write some of these sorts of docs soon and don't know where they should go.

I was thinking that we should probably fork the WG spec repos in json-lid.org and work on updates via PR, at least for things that are updates to those specs. When we think the WG is read to move these towards an updated CR state, we can merge back into the WG repos. Issues and PRs could be tagged as RFC.

For other things, we may want to create new repos.

this would be a good topic of conversation for the upcoming CG call.