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

Commit a365c0b

Browse files
authored
Merge branch 'master' into master
2 parents 67712a7 + c684535 commit a365c0b

17 files changed

+500
-207
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: ruby
2+
dist: trusty
3+
sudo: false
4+
script:
5+
- bundle exec jekyll build

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
permalink: /404.html
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Thank you for your interest in contributing to JSON Schema! Your participation is appreciated!
2+
3+
If your question/request/change concerns the [JSON Schema Website](json-schema.org) you are in the right place. If your question/request/change concerns the JSON Schema specification drafts or meta-schemas, please go to [the JSON Schema specification repository](https://github.com/json-schema-org/json-schema-spec).

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
## Repo for the JSON Schema website!
1+
# JSON Schema Website
22

3-
This repo is currently undergoing a complete restructuring and removing of content not related to the website.
4-
It was a copy of the gh-pages branch over on the old org repo.
3+
This is the repository for the [JSON Schema website](http://json-schema.org).
54

6-
For current work on JSON Schema, please see https://github.com/json-schema-org/json-schema-spec
7-
8-
The JSON Schema web site is at http://json-schema.org
5+
For issues, discussion, and changes to the JSON Schema specification, please use the [json-schema-spec](https://github.com/json-schema-org/json-schema-spec) repository.
96

107
## Status
11-
For the current status of issues and pull requests, please see the following labels
8+
For the current status of issues and pull requests, please see the following badges
9+
10+
[![Issues](https://img.shields.io/github/issues-raw/json-schema-org/json-schema-org.github.io.svg)](https://github.com/json-schema-org/json-schema-org.github.io/issues)
1211

1312
[![Available](https://img.shields.io/waffle/label/json-schema-org/json-schema-org.github.io/Status:%20Available.svg?style=flat)](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/waffle/label/json-schema-org/json-schema-org.github.io/Status:%20In%20Progress.svg?style=flat)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Status:%20In%20Progress) [![Review Needed](https://img.shields.io/waffle/label/json-schema-org/json-schema-org.github.io/Status:%20Review%20Needed.svg?style=flat)](https://github.com/json-schema-org/json-schema-org.github.io/labels/Status%3A%20Review%20Needed)
1413

_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,17 @@ baseurl: "" # the subpath of your site, e.g. /blog
2020
url: "" # the base hostname & protocol for your site
2121
#twitter_username: jekyllrb
2222
github_username: json-schema-org
23+
google_analytics: UA-99695987-1
2324

2425
# Build settings
2526
markdown: kramdown
2627
theme: minima
2728

29+
header_pages:
30+
- documentation.md
31+
- examples.md
32+
- implementations.md
33+
2834
collections:
2935
docs:
3036
output: true

_includes/header.html

Lines changed: 0 additions & 35 deletions
This file was deleted.

_sass/minima.scss

Lines changed: 0 additions & 52 deletions
This file was deleted.

_sass/minima/_syntax-highlighting.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ cyan #2aa198 strings, numbers
1818
green #859900 operators, other keywords
1919
*/
2020

21+
.highlight{
22+
.highlighter-rouge & {
23+
background: #fdf6e3;
24+
}
25+
}
2126
.highlight { background-color: #fdf6e3; color: #586e75 }
2227
.highlight .c { color: #93a1a1 } /* Comment */
2328
.highlight .err { color: #586e75 } /* Error */

assets/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55

66
// Import partials from the `minima` theme.
77
@import "minima";
8+
@import "minima/syntax-highlighting";
89

910
// Import navigation partial for Software page
1011
@import "intra-navigation";
1112

1213
// _base.scss overrides
1314
pre,
1415
code {
15-
background-color: inherit;
16+
background-color: unset;
1617
}
1718

1819
.wrapper {

documentation.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ layout: page
33
title: Specification
44
---
55

6-
The latest Internet-Drafts at the IETF are the draft-wright-json-schema\*-01 documents, which correspond to the draft-06 meta-schemas. These were published on 2017-04-15. (Due to a change in authorship the I-D numbering was reset with the previous draft). The specification is split into three parts, Core, Validation, and Hyper-Schema:
6+
The latest Internet-Drafts at the IETF are the draft-wright-json-schema\*-01 documents, which correspond to the draft-06 meta-schemas. These were published on 2017-04-15. (Due to a change in authorship the I-D numbering was reset with the previous draft). Please see the [release notes](draft-06/README.md) for more information on this release and information on migrating from previous drafts.
7+
8+
The specification is split into three parts, Core, Validation, and Hyper-Schema:
79

810
|--------------------------------------------------------------|-------------------------------------------------|
911
| [JSON Schema Core](latest/json-schema-core.html) | defines the basic foundation of JSON Schema |
@@ -12,7 +14,9 @@ The latest Internet-Drafts at the IETF are the draft-wright-json-schema\*-01 doc
1214

1315
They are also available on the IETF main site: [core (draft-wright-json-schema-01)](http://tools.ietf.org/html/draft-wright-json-schema-01), [validation (draft-wright-json-schema-validation-01)](http://tools.ietf.org/html/draft-wright-json-schema-validation-01) and [hyper-schema (draft-wright-json-schema-hyperschema-01)](http://tools.ietf.org/html/draft-wright-json-schema-hyperschema-01).
1416

15-
For previous versions of the specification, please see the [Specification Links](https://github.com/json-schema-org/json-schema-spec/wiki/Specification-Links) page on our github wiki.
17+
### Other versions
18+
19+
Please see [Specification Links](specification-links.md) for older drafts and the latest unreleased version of the specification.
1620

1721
Meta-schemas
1822
------------

draft-05/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: default
3+
---
4+
15
## Explanation for lack of draft-05 meta-schemas
26

37
"Draft-05" in the sequential meta-schema numbering would have

draft-06/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: default
3+
---
4+
5+
# Draft 6 Release Notes
6+
7+
- [JSON Schema Release FAQ](json-schema-migration-faq.md)
8+
- [JSON Hyper-Schema Release FAQ](json-hyper-schema-migration-faq.md)
9+
- **A note on draft naming and numbering:**
10+
<!-- This note should be incorporated into **specification-links.md**, but there are outstanding PR changes against that file. Leaving here to prevent merge conflicts. -->
11+
12+
IETF Internet-Drafts (I-Ds) are named with the editor's name and a sequential number which resets with each new editor. Meta-schemas are numbered sequentially. Additionally, drafts 00-03 used one document for all three current specs. Most people find it easier to remember the sequential meta-schema numbers, so those are used throughout the site.
13+
14+
For JSON Schema, the correspondences are:
15+
16+
Core/Validation IETF Drafts | Meta-Schema URI
17+
---- | ----
18+
[draft-zyp-json-schema-00](https://tools.ietf.org/html/draft-zyp-json-schema-00) | [http://json-schema.org/draft-00/schema](http://json-schema.org/draft-00/hyper-schema)
19+
[draft-zyp-json-schema-01](https://tools.ietf.org/html/draft-zyp-json-schema-01) | [http://json-schema.org/draft-01/schema](http://json-schema.org/draft-01/hyper-schema)
20+
[draft-zyp-json-schema-02](https://tools.ietf.org/html/draft-zyp-json-schema-02) | [http://json-schema.org/draft-02/schema](http://json-schema.org/draft-02/hyper-schema)
21+
[draft-zyp-json-schema-03](https://tools.ietf.org/html/draft-zyp-json-schema-03) | [http://json-schema.org/draft-03/schema](http://json-schema.org/draft-03/hyper-schema)
22+
[draft-zyp-json-schema-04](https://tools.ietf.org/html/draft-zyp-json-schema-04) and [draft-fge-json-schema-validation-00](https://tools.ietf.org/html/draft-fge-json-schema-validation-00) | [http://json-schema.org/draft-04/hyper-schema](http://json-schema.org/draft-04/schema)
23+
[draft-wright-json-schema-00](https://tools.ietf.org/html/draft-wright-json-schema-00) and [draft-wright-json-schema-validation-00](https://tools.ietf.org/html/draft-wright-json-schema-validation-00) | draft-05; [not published](../draft-05/README.md)
24+
[draft-wright-json-schema-01](https://tools.ietf.org/html/draft-wright-json-schema-01) and [draft-wright-json-schema-validation-01](https://tools.ietf.org/html/draft-wright-json-schema-validation-01) | [http://json-schema.org/draft-06/schema](http://json-schema.org/draft-06/hyper-schema)
25+
26+
27+
For JSON Hyper-Schema, the correspondences are:
28+
29+
Hyper-Schema IETF Draft | Hyper-Schema Meta-Schema URI
30+
---- | ----
31+
[draft-zyp-json-schema-00](https://tools.ietf.org/html/draft-zyp-json-schema-00) | [http://json-schema.org/draft-00/hyper-schema](http://json-schema.org/draft-00/hyper-schema)
32+
[draft-zyp-json-schema-01](https://tools.ietf.org/html/draft-zyp-json-schema-01) | [http://json-schema.org/draft-01/hyper-schema](http://json-schema.org/draft-01/hyper-schema)
33+
[draft-zyp-json-schema-02](https://tools.ietf.org/html/draft-zyp-json-schema-02) | [http://json-schema.org/draft-02/hyper-schema](http://json-schema.org/draft-02/hyper-schema)
34+
[draft-zyp-json-schema-03](https://tools.ietf.org/html/draft-zyp-json-schema-03) | [http://json-schema.org/draft-03/hyper-schema](http://json-schema.org/draft-03/hyper-schema)
35+
[draft-luff-json-hyper-schema-00](https://tools.ietf.org/html/draft-luff-json-hyper-schema-00) | [http://json-schema.org/draft-04/hyper-schema](http://json-schema.org/draft-04/hyper-schema)
36+
[draft-wright-json-schema-hyperschema-00](https://tools.ietf.org/html/draft-wright-json-schema-hyperschema-00) | draft-05; [not published](../draft-05/README.md)
37+
[draft-wright-json-schema-hyperschema-01](https://tools.ietf.org/html/draft-wright-json-schema-hyperschema-01) | [http://json-schema.org/draft-06/hyper-schema](http://json-schema.org/draft-06/hyper-schema)

0 commit comments

Comments
 (0)