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

Commit 43a571a

Browse files
committed
Updated all pages for draft 2020-12
1 parent 9f02305 commit 43a571a

9 files changed

+147
-70
lines changed

README.md

+28-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,36 @@ For the current status of issues and pull requests, please see the following bad
1212
[![Available](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Status:%20Available.svg?color=brightgreen)](https://github.com/json-schema-org/json-schema-org.github.io/issues?q=is%3Aopen+is%3Aissue+label%3A%22Status%3A+Available%22) [![In Progress](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Status:%20In%20Progress.svg)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Status:%20In%20Progress) [![Review Needed](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Status:%20Review%20Needed.svg)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Status%3A%20Review%20Needed)
1313

1414
[![Critical](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20Critical.svg?color=critical
15-
)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20Critical) [![High](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20High.svg?color=important)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20High) [![Medium](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20Medium.svg)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20Medium) [![Low](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20Low.svg)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20Low)
15+
)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20Critical) [![High](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20High.svg?color=important)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20High) [![Medium](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20Medium.svg)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20Medium) [![Low](https://img.shields.io/github/issues/json-schema-org/json-schema-org.github.io/Priority:%20Low.svg)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Priority%3A%20Low)
1616

1717
Labels are assigned based on [Sensible Github Labels](https://github.com/Relequestual/sensible-github-labels).
1818

19+
## Compile and run locally
20+
21+
This site runs via github pages, with automatically building PR previews via netlify.
22+
If you wish to compile and run this site locally, you will need to have ruby installed.
23+
24+
If you're not familiar with ruby, consider using `rvm` (https://rvm.io/).
25+
Once you have Ruby installed, follow these instructions while in the project directory
26+
27+
> Instructions
28+
>
29+
> 1. Install the jekyll and bundler gems.
30+
>
31+
> `gem install jekyll bundler`
32+
>
33+
> 2. Create a new Jekyll site at ./myblog.
34+
>
35+
> ...
36+
>
37+
> 3. Build the site and make it available on a local server.
38+
>
39+
> `bundle exec jekyll serve`
40+
>
41+
> 4. Browse to http://localhost:4000
42+
43+
Adapted from https://jekyllrb.com/docs/
44+
1945
## License
2046

21-
The source material in this repository is licensed under the AFL or BSD license.
47+
The source material in this repository is licensed under the AFL or BSD license.

hyper-schema.md

-3
This file was deleted.

index.md

+41-22
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ permalink: /
88
**JSON Schema** is a vocabulary that allows you to **annotate** and **validate** JSON documents.
99

1010

11-
## Advantages
11+
## Benefits
1212

13-
<div class="block" style="float:left;width:50%;" markdown="1">
14-
15-
### JSON Schema
13+
<div class="block" markdown="1">
1614

1715
* Describes your existing data format(s).
1816
* Provides clear human- and machine- readable documentation.
@@ -22,43 +20,56 @@ permalink: /
2220

2321
</div>
2422

25-
<div class="block" style="float:right;width:50%;" markdown="1">
23+
## New to JSON Schema?
2624

27-
### JSON Hyper-Schema
25+
Learning a new specification can be daunting.
2826

29-
* Make any JSON format a hypermedia format with no constraints on document structure
30-
* Allows use of [URI Templates](https://tools.ietf.org/html/rfc6570) with instance data
31-
* Describe client data for use with links using JSON Schema.
32-
* Recognizes collections and collection items.
27+
Luckily, we created this [getting started guide](/learn/getting-started-step-by-step)!
3328

34-
</div>
29+
After that, you could check out all our [learning resources](/learn).
30+
31+
### Got questions?
32+
33+
We're here to help!
34+
35+
At any point, feel free to join our Slack server using the link in the menu.
36+
37+
We also monitor the `jsonschema` tag on StackOverflow.
3538

3639
## Project Status
3740

38-
16 September 2019: Draft 2019-09 (formerly known as draft-08) has been published!
41+
2021-02-01: Draft 2020-12 has been published!
3942

40-
The IETF document IDs are of the form `draft-handrews-*-02`. We are now using dates
41-
for meta-schemas, which are what implementations should use to determine behavior,
42-
so we will usually refer to `2019-09` (without the word "draft") on this web site.
43+
The IETF document IDs are of the form `draft-bhutton-*-00`.
44+
45+
We are using dates for meta-schemas, which are what implementations should use to determine behavior,
46+
so we will usually refer to `2020-12` (without the word "draft") on this web site.
4347

4448
See the [Specification page](specification.html) for details about naming and numbering.
4549

50+
4651
### The Path to Standardization
4752

48-
The JSON Schema project intends to shepherd all four draft series to RFC status. Currently, we are continuing to improve our self-published Internet-Drafts. The next step will be to get the drafts adopted by an IETF Working Group. We are actively investigating how to accomplish this.
53+
The JSON Schema project intends to shepherd all three draft series to either: RFC status, the equivilent within another standards body, or join a foundation and establish self publication rules.
4954

50-
If you have experience with such things and would like to help, please contact us!
55+
<details markdown="1">
56+
<summary>Read more</summary>
57+
58+
Currently, we are continuing to improve our self-published Internet-Drafts. We are not activly pursuing joining a standards organisation.
59+
60+
We have a few contacts related to each potential path, but if you have experience with such things and would like to help, please still contact us!
5161

5262
In the meantime, publication of Internet-Draft documents can be tracked through the IETF:
53-
* [JSON Schema (core)](https://datatracker.ietf.org/doc/draft-handrews-json-schema/)
54-
* [JSON Schema Validation](https://datatracker.ietf.org/doc/draft-handrews-json-schema-validation/)
55-
* [JSON Hyper-Schema](https://datatracker.ietf.org/doc/draft-handrews-json-schema-hyperschema/)
56-
* [Relative JSON Pointers](https://datatracker.ietf.org/doc/draft-handrews-relative-json-pointer/)
63+
* [JSON Schema (core)](https://datatracker.ietf.org/doc/draft-bhutton-json-schema/)
64+
* [JSON Schema Validation](https://datatracker.ietf.org/doc/draft-bhutton-json-schema-validation/)
65+
* [Relative JSON Pointers](https://datatracker.ietf.org/doc/draft-bhutton-relative-json-pointer/)
5766

5867
Internet-Drafts expire after six months, so our goal is to publish often enough to always have a set of unexpired drafts available. There may be brief gaps as we wrap up each draft and finalize the text.
5968

6069
The intention, particularly for vocabularies such as validation which have been widely implemented, is to remain as compatible as possible from draft to draft. However, these are still drafts, and given a clear enough need validated with the user community, major changes can occur.
6170

71+
</details>
72+
6273
## Quickstart
6374

6475
The JSON document being validated or described we call the *instance*, and the document containing the description is called the *schema*.
@@ -77,6 +88,14 @@ You can apply constraints on an instance by adding validation keywords to the sc
7788

7889
JSON Schema is hypermedia ready, and ideal for annotating your existing JSON-based HTTP API. JSON Schema documents are identified by URIs, which can be used in HTTP Link headers, and inside JSON Schema documents to allow recursive definitions.
7990

91+
## JSON Hyper-Schema
92+
93+
JSON Hyper-Schema is on hiatus / not currently maintained as of 2021.
94+
95+
This allows the team to focus the little time they do donate on JSON Schema core and validation.
96+
97+
We may revisit JSON Hyper-Schema at a later date.
98+
8099
## More
81100

82101
Interested? Check out:
@@ -86,7 +105,7 @@ Interested? Check out:
86105
* [Learning resources](./learn/index.md)
87106
* the growing list of [JSON (Hyper-)Schema software](./implementations.md)
88107

89-
We encourage updating to the latest specification, as described by the draft-07 meta-schemas.
108+
We encourage updating to the latest specification where possible, which is 2020-12.
90109

91110
Questions? Feeling helpful? Get involved on:
92111

latest/json-schema-core.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
redirect_to: "/draft/2019-09/json-schema-core.html"
2+
redirect_to: "/draft/2020-12/json-schema-core.html"
33
title: "JSON Schema: A Media Type for Describing JSON Documents"
44
---
55

latest/json-schema-hypermedia.md

-4
This file was deleted.

latest/json-schema-validation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
redirect_to: "/draft/2019-09/json-schema-validation.html"
2+
redirect_to: "/draft/2020-12/json-schema-validation.html"
33
title: "JSON Schema Validation: A Vocabulary for Structural Validation of JSON"
44
---

latest/relative-json-pointer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
redirect_to: "/draft/2019-09/relative-json-pointer.html"
2+
redirect_to: "/draft/2020-12/relative-json-pointer.html"
33
title: "Relative JSON Pointers"
44
---

specification-links.md

+47-9
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ For links to the somewhat more readably formatted versions on this web site, and
225225
draft&#8209;handrews&#8209;relative&#8209;json&#8209;pointer&#8209;02
226226
</a></small></tt><br>
227227
</td>
228-
<td rowspan="2">
228+
<td>
229229
<tt><small>2019&#8209;09</small></tt>
230230
</td>
231-
<td rowspan="2">
232-
Draft 8
231+
<td>
232+
Draft 2019-09
233233
</td>
234234
<td>
235235
<small>Milestone:
@@ -239,14 +239,28 @@ For links to the somewhat more readably formatted versions on this web site, and
239239
</tr>
240240
<tr>
241241
<td>
242-
<small><i>(TBD, probably only a subset of the documents)</i></small>
242+
<tt><small><a href="https://tools.ietf.org/html/draft-bhutton-json-schema-00">
243+
draft&#8209;bhutton&#8209;json&#8209;schema&#8209;00
244+
</a></small></tt><br>
245+
<tt><small><a href="https://tools.ietf.org/html/draft-bhutton-json-schema-validation-00">
246+
draft&#8209;bhutton&#8209;json&#8209;schema&#8209;validation&#8209;00
247+
</a></small></tt><br>
248+
<tt><small><a href="https://tools.ietf.org/html/draft-bhutton-relative-json-pointer-00">
249+
draft&#8209;bhutton&#8209;relative&#8209;json&#8209;pointer&#8209;00
250+
</a></small></tt><br>
251+
</td>
252+
<td>
253+
<tt><small>2020&#8209;12</small></tt>
254+
</td>
255+
<td>
256+
Draft 2020-12
243257
</td>
244258
<td>
245259
<small>
246-
bugfixes and/or clarifications, no functional changes
247-
<br />
248260
Milestone:
249261
<a href="https://github.com/json-schema-org/json-schema-spec/milestone/8">draft-08-patch-1</a>
262+
<br/>
263+
Changes and fixes as a result of discussion with the OpenAPI community. (Includes breaking changes.)
250264
</small>
251265
</td>
252266
</tr>
@@ -258,23 +272,47 @@ For links to the somewhat more readably formatted versions on this web site, and
258272
<small><i>(TBD)</i></small>
259273
</td>
260274
<td>
261-
Draft 9
275+
Draft 2021-NN
262276
</td>
263277
<td>
264278
<small>Milestone:
265-
<a href="https://github.com/json-schema-org/json-schema-spec/milestone/7">draft-09</a>
279+
<a href="https://github.com/json-schema-org/json-schema-spec/milestone/7">Draft 2021-NN</a>
266280
</small>
267281
</td>
268282
</tr>
269-
283+
270284
</table>
271285

272286
## Published Drafts
273287

288+
### 2020-12
289+
290+
- Specifications
291+
- Core: [draft-bhutton-json-schema-00](https://tools.ietf.org/html/draft-bhutton-json-schema-00) ([changes](https://tools.ietf.org/html/draft-bhutton-json-schema-00#appendix-G))
292+
- Validation: [draft-bhutton-json-schema-validation-00](https://tools.ietf.org/html/draft-bhutton-json-schema-validation-00) ([changes](https://tools.ietf.org/html/draft-bhutton-json-schema-validation-00#appendix-C))
293+
- Relative JSON Pointer: [draft-bhutton-relative-json-pointer-00](https://tools.ietf.org/html/draft-bhutton-relative-json-pointer-00) ([changes](https://tools.ietf.org/html/draft-bhutton-relative-json-pointer-00#appendix-A))
294+
- General use meta-schemas
295+
- [JSON Schema meta-schema](draft/2020-12/schema)
296+
- Individual vocablary meta-schemas
297+
- [Core Vocabulary meta-schema](draft/2020-12/meta/core)
298+
- [Applicator Vocabulary meta-schema](draft/2020-12/meta/applicator)
299+
- [Validation Vocabulary meta-schema](draft/2020-12/meta/validation)
300+
- [Unevaluated Vocabulary meta-schema](draft/2020-12/meta/unevaluated)
301+
- [Format Annotation Vocabulary meta-schema](draft/2020-12/meta/format-annotation)
302+
- [Format Assertion Vocabulary meta-schema](draft/2020-12/meta/format-assertion)
303+
- [Content Vocabulary meta-schema](draft/2020-12/meta/content)
304+
- [Meta-Data Vocabulary meta-schema](draft/2020-12/meta/meta-data)
305+
- Output schemas
306+
- [JSON Schema recommended output schema](draft/2020-12/output/schema)
307+
- Output examples
308+
- [JSON Schema verbose output example](draft/2020-12/output/verbose-example)
309+
274310
### 2019-09 (formerly known as Draft 8)
275311

276312
_**NOTE:** All meta-schema URIs now use `https://`. While currently also available over plain HTTP due to the limitations of GitHub pages and the need to keep prior drafts available over HTTP, only the HTTPS URIs should be used._
277313

314+
### Draft 2019-09
315+
278316
- Specifications
279317
- Core: [draft-handrews-json-schema-02](https://tools.ietf.org/html/draft-handrews-json-schema-02) ([changes](https://tools.ietf.org/html/draft-handrews-json-schema-02#appendix-G))
280318
- Validation: [draft-handrews-json-schema-validation-02](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02) ([changes](https://tools.ietf.org/html/draft-handrews-json-schema-validation-02#appendix-C))

0 commit comments

Comments
 (0)