Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit d8f6975

Browse files
authored
Merge pull request #276 from json-schema-org/release-notes
WIP go at WIP Release Notes
2 parents b99ca52 + 61af29b commit d8f6975

File tree

2 files changed

+60
-8
lines changed

2 files changed

+60
-8
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: JSON Schema Draft-07 Release Notes
3+
layout: page
4+
---
5+
6+
There are a few non-breaking changes with keywords being deprecated and slates
7+
for removal, and a few newer keywords based on community feedback. Internally
8+
there has been a lot of restructuring through a new concept called vocabularies,
9+
but on the whole things are mostly the same.
10+
11+
* TOC
12+
{:toc}
13+
14+
- Update to RFC 8359 for JSON specification
15+
- Add the concept of formal vocabularies, and how they can be recognized through meta-schemas
16+
- Formalized annotation collection
17+
- Moved applicator keywords from the Validation specification as their own vocabulary
18+
- Define "$ref" behavior in terms of the assertion, applicator, and annotation model
19+
- Note undefined behavior for "$ref" targets involving unknown keywords
20+
- Additional guidance on initial base URIs beyond network retrieval
21+
- Allow "schema" media type parameter for "application/schema+json"
22+
23+
### Keywords
24+
25+
* Eight brand new keywords were added
26+
* One keyword was renamed
27+
* One keyword was split in half
28+
* One keyword in Core changed behavior
29+
* One keyword in Hyper-Schema changed behavior
30+
31+
keyword | change | notes
32+
---- | ---- | ----
33+
[`"definitions"`](json-schema-core.html#rfc.section.TODO) | **renamed** | use new "$defs" core keyword
34+
[`"unevaluatedProperties" and "unevaluatedItems"`](json-schema-core.html#rfc.section.TODO) | **added** |
35+
[`"$ref"`](json-schema-core.html#rfc.section.TODO) | **changed** | can now have siblings (keywords next to it)
36+
[`"$defs"`](json-schema-core.html#rfc.section.10.TODO) | **added** | moved over to core from validation
37+
`"dependencies"` | **removed** | use "dependentRequired" or "dependentSchemas"
38+
[`"dependentRequired"`](json-schema-core.html#rfc.section.10.TODO) | **added** | added to core schema
39+
[`"dependentSchemas"`](json-schema-core.html#rfc.section.10.TODO) | **added** | added to core schema
40+
[`"minContains" and "maxContains"`](json-schema-validation.html#rfc.section.TODO) | added |
41+
[`"contentSchema"`](json-schema-validation.html#rfc.section.TODO) | added | allows applying a schema to a string-encoded document
42+
[`"deprecated"`](json-schema-validation.html#rfc.section.TODO) | added |
43+
[`"rel"`](json-schema-hyperschema.html#rfc.section.TODO) | **changed** | Can now be an array of values instead of just a string
44+
45+
### Formats
46+
47+
Two formats were added.
48+
49+
format | change | notes
50+
---- | ---- | ----
51+
[`"uuid"`](json-schema-validation.html#rfc.section.7.3.5) | added | A string instance is valid against this attribute if it is a valid string representation of a UUID, according to RFC4122
52+
[`"duration"`](json-schema-validation.html#rfc.section.7.3.5) | added | The duration format is from the ISO 8601 ABNF as given in Appendix A of RFC 3339

work-in-progress/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@ permalink: /work-in-progress
77
* TOC
88
{:toc}
99

10-
## The Next Draft (by whatever name) Is Ready for Final Pre-Publication Review!
10+
## The Next Draft is Ready for Final Pre-Publication Review!
1111

1212
The forthcoming draft is now feature-frozen and has gone through the initial four-week pre-publication review period.
1313

1414
_**UPDATE: July 28th, 2019** We continue to incorporate feedback and clarify sections of the new draft. We expect to finally publish the draft during August._
1515

16+
To see what changes are involved, read the [release notes](./WIP-json-schema-release-notes.md).
17+
1618
The following sorts of feedback are particularly desired:
1719

1820
* Clarity, readability, and accessibility to new readers
1921
* Contradictions, inconsistencies and other bugs
2022
* Anything so egregious that implementation would be infeasible or impossible
2123

22-
New features or major changes to existing features will be deferred to a future draft,
23-
and work on the next draft will begin immediately after this one is published.
24+
Work on the next draft will begin immediately after this one is published.
2425

2526
## What Is This Draft Called, Anyway?
2627

@@ -88,9 +89,9 @@ _**NOTE:** when published, the `.json` will be removed from the final URI_
8889
* [WIP: meta/meta-data.json](/work-in-progress/meta/WIP-meta-data.json) (meta-data annotations, from the validation spec)
8990
* [WIP: meta/format.json](/work-in-progress/meta/WIP-format.json) (the format keyword, from the validation spec)
9091
* [WIP: meta/content.json](/work-in-progress/meta/WIP-content.json) (content keywords, from the validation spec)
91-
* [WIP: meta/hyper-schema.json](/work-in-progress/meta/WIP-hyper-schema.json) (hyper-schema keywords, from the hyper-shema spec)
92+
* [WIP: meta/hyper-schema.json](/work-in-progress/meta/WIP-hyper-schema.json) (hyper-schema keywords, from the hyper-schema spec)
9293

93-
### Output schema:
94+
### Output Schema
9495

9596
The new draft also introduces recommended output formats for reporting errors and annotations.
9697

@@ -100,12 +101,12 @@ _**NOTE:** when published, the `.json` will be removed from the final URI_
100101
* [WIP: verbose-example.json](/work-in-progress/output/WIP-verbose-example.json) (example of the most verbose output format)
101102
* [WIP: hyper-schema.json](/work-in-progress/output/WIP-hyper-schema.json) (format used by the proposed hyper-schema test suite, and used in examples in the specification)
102103

103-
## Providing Feedback and Tracking Progress in GitHub
104+
## Get Involved
104105

105106
We are **particularly interested** in feedback on whether the wording and concepts is an
106107
improvement in terms of how easy it is to understand and learn the specifications.
107108

108-
Note that _all drafts have Changelog appendicies_, for a concise list of notable changes.
109+
Note that _all drafts have Changelog appendices_, for a concise list of notable changes.
109110

110111
* The active sources are on the
111112
["master" branch of json-schema-org/json-schema-spec](https://github.com/json-schema-org/json-schema-spec)
@@ -117,4 +118,3 @@ Note that _all drafts have Changelog appendicies_, for a concise list of notable
117118
* [file an issue](https://github.com/json-schema-org/json-schema-spec/issues/new?milestone=draft-08)
118119
or [join us on Slack](https://join.slack.com/t/json-schema/shared_invite/enQtMjk1NDcyNDI2NTAwLTcyYmYwMjdmMmUxNzZjYzIxNGU2YjdkNzdlOGZiNjIwNDI2M2Y3NmRkYjA4YmMwODMwYjgyOTFlNWZjZjAyNjg) to submit feedback
119120
_(technically there is also a [mailing list](https://groups.google.com/forum/#!forum/json-schema) but it gets very little traffic and is not closely monitored)_
120-

0 commit comments

Comments
 (0)