-
-
Notifications
You must be signed in to change notification settings - Fork 349
Document minimal process necessary for the interim release #1368
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
Changes from 3 commits
04b07a8
5a16e2d
f019cfd
3cea497
7bc8307
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# JSON Schema Specification Development Process | ||
This document formally defines the process used to evolve the JSON Schema | ||
specification as of the first stable release in 2023. It applies to the core | ||
specification and the specifications for any dialects and vocabularies | ||
maintained by the JSON Schema Org, but it doesn't necessarily apply to | ||
everything the JSON Schema Org maintains. For example, media type registration | ||
follows the IETF process. Certain components used within JSON Schema, such as | ||
Relative JSON Pointer, may also follow a separate process. | ||
|
||
This process doesn't apply to third-party dialects, vocabularies, or other | ||
extensions. However, third-parties are welcome to use this as a basis for the | ||
process they use for their specifications. | ||
|
||
_**This process is under development. The details will evolve over time, but | ||
changes will remain compatible with previous versions of this document.**_ | ||
|
||
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", | ||
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be | ||
interpreted as described in [RFC 2119](https://www.rfc-editor.org/rfc/rfc2119). | ||
|
||
## Canonical URLs | ||
There MUST be a stable canonical URL for referencing any specification that | ||
follows this process. If the specification is made available from any other | ||
URLs, they SHOULD redirect to the canonical URL. If the canonical URL is changed | ||
in the future, all previous canonical URLs MUST remain accessible as redirects | ||
to the current URL. | ||
|
||
|
||
## Compatible Releases | ||
Everything in the specification is considered "stable" by default and subject to | ||
compatibility guarantees. Any changes to stable behaviors in the specification | ||
|
||
MUST be backward-compatible with previous versions of the specification and MUST | ||
NOT change in ways that could be problematic for forward compatibility. | ||
Comment on lines
+31
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really sure how you're defining forward- and backward-compatible here. Some examples might help. |
||
|
||
_Note: How, when, and how often the specification will be updated are all open | ||
questions that will be decided before any changes are issued following the | ||
initial release._ | ||
Comment on lines
+34
to
+36
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could instead just say "new specification versions shall be released from time to time on a schedule still to be determined", which leaves us much more flexibility later as to what process to adopt. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not seeing how that's different than what the text already says. |
||
|
||
### Experimental Behaviors | ||
The specification MAY include sections that introduce experimental behaviors. | ||
These sections MUST be clearly marked and aren't subject to the compatibility | ||
guarantees of stable behaviors. Experimental behaviors MUST be compatible with | ||
all current stable behaviors. | ||
|
||
_Note: How and when experimental behaviors are promoted to stable behaviors is | ||
an open discussion and will be defined before a promotion is considered. The | ||
process of how an experimental behavior goes from proposal to stable will be | ||
defined in more detail and is likely to evolve as we learn what works best. Such | ||
evolution will always be compatible with previous versions of this document._ | ||
|
||
### Compliance | ||
An implementation is compliant with a given release if it implements all of the | ||
required stable behaviors defined in that release. Experimental behaviors are | ||
|
||
not required to be considered compliant, but implementing them is highly | ||
encouraged. An implementation that implements behaviors that are not compatible | ||
with the given release is considered compliant only if those behaviors are | ||
disabled by default. | ||
|
||
Because releases are compatible, expressing support for a given release implies | ||
support for all previous releases (excluding "draft" releases). Support for | ||
|
||
previous releases might have limitations if an implementation chooses not to | ||
support a deprecated behavior. | ||
|
||
### Deprecation | ||
Stable behaviors MAY be marked as "deprecated". Implementations are expected to | ||
support these behaviors to maintain backward compatibility and schema authors | ||
should migrate away from using these behaviors. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "stable" mean here? That the URL should never change for a given specification version? or is it also saying that the contents of that URL (the schema itself) must not change? I would tend towards the former, and explicitly state that the contents MAY change from time to time, but only to reflect corrections to mistakes (or to add further refinement to things already in the spec), never to revise the actual intent of validation.
That is:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only referring to the URL, not the content of what the URL identifies. I'll make an update to try to make that more clear.
All of those points are important for us to decide on and document, but I was expecting to discuss and document those details separately. My goal here is to get down the parts that we can all agree on without major discussion and build from there in separate discussions/PRs. So, at this point, I expect most of this document to be underspecified. In those cases, we are unconstrained for now.