Skip to content

draft-bhutton-json-schema-00 is deprecated , Should the specification point to the 01 ? #3934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LasneF opened this issue Jun 27, 2024 · 10 comments · Fixed by #4467
Closed
Assignees
Labels
editorial Wording and stylistic issues schema-object
Milestone

Comments

@LasneF
Copy link
Member

LasneF commented Jun 27, 2024

in many places of the 3.2 it is using the Link https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-4.2.1

However the status of the document is set as Document type | Expired Internet-Draft (individual)

with a newer version

https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-01

should it be used instead ? if yes should it be backported to older 3.1.X and / or 3.0.X

@handrews
Copy link
Member

I'd really like to deal with this, #2951, and #3800 iin a unified way, and document it under #3785.

@AxelNennker
Copy link
Contributor

I created an issue at json-schema github repo. Please see json-schema-org/json-schema-spec#1539 (comment)

Maybe OAI can reference https://json-schema.org/draft/2020-12 instead of the IETF drafts?

@ralfhandl
Copy link
Contributor

We are ultimately using Specref for the normative references in the OpenAPI specification documents, and for v3.1.x these are

Both entries currently point to the corresponding IETF drafts -00.

These Specref entries are owned by the JSON Schema team, and if they decide to update them, our spec build process will pick that up the next time it runs.

Whether these entries will then point to the -01 IETF drafts or to the JSON Schema site is totally up to the JSON Schema team.

I propose closing this issue as we don't have to do anything.

@handrews
Copy link
Member

@ralfhandl there is no functional difference between the -00 and -01 drafts. The -01 draft is like a patch release. That is why it is also "2020-12" even though it was released in 2021. There is no way to tell any implementation to distinguish between these.

However, it would be better to point readers to the -01 draft for the same reason that it is better to point our readers to 3.1.1 than to 3.1.0.

@ralfhandl
Copy link
Contributor

Ok, created

to update the Specref entries. @Relequestual should cross-check whether this is ok.

Side note: if the Specref entries are changed, the next rebuild of the OAS specs will make 3.1.0 and 3.1.1 also reference the "-01" drafts.

@handrews
Copy link
Member

@ralfhandl

Side note: if the Specref entries are changed, the next rebuild of the OAS specs will make 3.1.0 and 3.1.1 also reference the "-01" drafts.

That does not seem desirable, any more than having 3.1.0 and 3.1.1 suddenly point to RFC9110 instead of RFC7231.

@handrews
Copy link
Member

@ralfhandl actually I guess that analogy is not entirely perfect as the RFCs have changes to some degree... it does feel strange though.

@ralfhandl
Copy link
Contributor

ralfhandl commented Mar 19, 2025

The Specref entries for the JSON Schema 2020-12 drafts have now been updated, which means on the next respec rebuild the 3.1.0 and 3.1.1 specs will list the newer drafts in the "Normative References" section.

Direct links to sections of these drafts remain unchanged in the 3.1.0 and 3.1.1 specs, which is a bit odd, but nothing we can reasonably do about. (The unreasonable solution would be to add even more hyperlink fiddling to the md2html.js script 😎)

For 3.2.0 the direct links are updated in

@ralfhandl ralfhandl self-assigned this Mar 19, 2025
@karenetheridge
Copy link
Member

These Specref entries are owned by the JSON Schema team, and if they decide to update them, our spec build process will pick that up the next time it runs.

I've talked to the rest of the JSON Schema team and none of us have heard of Specref or knew anything about these entries.

@ralfhandl
Copy link
Contributor

@karenetheridge I just assumed that whoever originally created the Specref entries for JSON Schema was affiliated with the JSON Schema team at the time 🤷‍♂

@Relequestual is an editor of these IETF drafts and commented positively on

This apparently was good enough for the Specref maintainers to merge my pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Wording and stylistic issues schema-object
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants