-
-
Notifications
You must be signed in to change notification settings - Fork 213
Host previous drafts (at least Draft 4) #59
Comments
See also #54 |
@Relequestual thanks. I understand you're looking for PRs on this. I imagine the draft 4 versions are in the history, so maybe I could pick those up and prepare something. |
@webron the previous drafts are already pulled out in folders. I think we just need to link to them. |
Maybe I'm missing something but the content of the draft-xx folders is json schemas and the html version of the spec as in |
@webron Oh you mean the HTML specification, sorry, I was thinking meta-schema (probably because I've been working on that recently). Yeah, there are some XML files in the top directory, but not all, and no generated HTML. I think we would need to generate the HTML and text forms and check them in as well since I don't think we can do that sort of dynamic thing for the web site deployment. |
For draft-4 at least, we only need to pull out https://github.com/json-schema-org/json-schema-org.github.io/tree/070e1747fbadf3e94809e5dab3e987dacbc2672a/latest and put those in the right folder. |
Sorry, I did think it would be the HTML, hence not just moving files to the right folders. (On an aside... probably steer clear of draft-5 ahem. Hop over to irc and PM me if you want to chat more.) |
@Relequestual - thanks, will try to get to it in the next few days. Hopped on IRC, will idle there. |
Note that @agebhar1 also requested Draft 3 in json-schema-org/json-schema-spec#205 |
The history for
3b759fa 2016-11-06T19:12:47-07:00 »Update references to latest draft« whereas 070e174 is the last one prior to draft-5. Unfortunately only the source for 'json-schema-core' is available (within this repository?) as draft-zyp-json-schema-04.xml. It's history is:
f643ae3 2012-09-02T17:11:23+02:00 »Draft v4: unify style« Which of these several versions is the one that is the same as in latest (the HTML transformation)? There exists no version that equals the XML version on the the IETF site 😕 ... w.r.t. to
For draft-3 draft-zyp-json-schema-03.xml@2d6f968 is the same as published on IETF
Sources for 'json-schema-validation' and 'json-schema-hypermedia' is missing (within this repository?). I suggest to redirect to the versions published on IETF
As a side effect there's no difference on the specification hosted on IETF and json-schema.org. What's your opinion? |
@agebhar1 please don't close issues until after the PRs are accepted. If there turns out to a concern about the PRs we still need the issue to track further PRs or other actions. |
@handrews - I can remove the GitHub magic from the PR description, no problem |
@agebhar1 thanks! I usually just put in "addresses #whatever" for the link to avoid auto-close. |
@agebhar1 Thanks for your effort on this.
Eeek that sounds less than ideal. To clarify, what do you mean when you say "latest"? Latest is now draft-5. I don't know how draft-4 was released. I'd hope that for draft-5, it would be whatever is found at https://github.com/json-schema-org/json-schema-spec/releases/tag/draft-wright-json-schema-00 . It doesn't look like the previous team used the github releases functionality. |
My pleasure!
@Relequestual indeed - will have a look again, what's the minimal difference is
Did you mean this one
... it's simply the directory in the root of this project
It is:
👍
It's also my impression. |
@Relequestual sure |
#76 is based on these files as @webron mentioned earlier @Relequestual at least the JSON Schema Validation/9. Security considerations is not the same as hosted on IETF - it's missing on the github file #65 is based on a simple HTML redirect which does not support anchors 😞 It might be possible to use the XML files from IETF to generate the HTML versions ... |
Of course! I'd completely forgotten that you can get the XML from the draft tracker :-P |
open #78 |
My pleasure @Relequestual |
Yup, all good! Thanks for the help, everyone! |
FYI, for anyone encountering the issue in the future, the change did break the anchors. I'll deal with for our needs. |
Long may we continue good realtions between projects =D |
In the OpenAPI/Swagger 2.0 spec, we had pointed to specific sections of the draft 4 documentation for further information. Our mistake was that we pointed directly to the
latest
documentation, but I do not think that there was an option to point it to draft-4 at the time.With the push of the latest draft (congrats!) and the replacement of the doc, our current links are all broken. We cannot simply point to the latest version because the spec does not support it.
I'm hoping you'd be willing to consider re-hosting the previous version (draft 4) at least by allowing us to link to the right sections. I do not expect that you provide direct navigation links to it, however you may want to consider a 'previous versions' section.
As a follow-up suggestion, would also suggest providing an alias link with the current draft name and not just the 'latest' to avoid future breakage as well.
The text was updated successfully, but these errors were encountered: