Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d94d409

Browse files
awwrightadamvoss
authored andcommitted
Remove everything except the current draft text
1 parent 7a2c648 commit d94d409

File tree

106 files changed

+81
-41425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+81
-41425
lines changed

‎.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jsonschema-*.html
2+
jsonschema-*.txt

‎CNAME

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

‎Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
XML2RFC=xml2rfc
2+
3+
OUT = \
4+
jsonschema-core.html jsonschema-core.txt \
5+
jsonschema-schema.html jsonschema-schema.txt \
6+
jsonschema-hyperschema.html jsonschema-hyperschema.txt
7+
8+
9+
all: $(OUT)
10+
11+
%.txt: %.xml
12+
$(XML2RFC) --text $< -o $@
13+
14+
%.html: %.xml
15+
$(XML2RFC) --html $< -o $@
16+
17+
clean:
18+
rm -f $(OUT)
19+
20+
.PHONY: clean

‎README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,18 @@
11
## Welcome to JSON Schema
22

33
This repository contains the current, and historical, JSON Schema
4-
specifications, along wit a CommonJS implementation (authored by Kris Zyp, one
5-
of the initiators of JSON Schema).
4+
specifications.
65

76
## Call for reviews
87

98
Specifications are starting to get written. Reviews, comments and suggestions
109
are of paramount importance to JSON Schema. It is humbly asked to you, dear
1110
reader, that you bring your contribution.
1211

13-
Proposed specifications are here:
14-
15-
https://github.com/json-schema/json-schema/tree/next/proposals
16-
17-
Pull requests _will_ be considered.
18-
19-
## The wiki
20-
21-
The <a href="https://github.com/json-schema/json-schema/wiki">wiki</a> contains
22-
a detailed description of JSON Schema, and discussion about the next version of
23-
the specification.
24-
2512
## The website
2613

27-
The JSON Schema web site is at http://json-schema.org
28-
29-
Note that the content of the aforementioned web site is available from this
30-
repository (branch <tt>gh-pages</tt>). Pull requests to improve the content of
31-
the site will be considered.
14+
The JSON Schema web site is at http://json-schema.org/
3215

3316
## License
3417

35-
The source material in this repository is licensed under the AFL or BSD license.
36-
18+
The source material in this repository is licensed under the AFL or BSD license.

‎address

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

‎archive/draft-03/hyper-schema.json

Whitespace-only changes.

‎archive/draft-03/schema.json

Whitespace-only changes.

‎hyper-schema renamed to ‎archive/draft-04/hyper-schema.json

Lines changed: 56 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,52 +3,86 @@
33
"id": "http://json-schema.org/draft-04/hyper-schema#",
44
"title": "JSON Hyper-Schema",
55
"allOf": [
6-
{"$ref": "http://json-schema.org/draft-04/schema#"}
6+
{
7+
"$ref": "http://json-schema.org/draft-04/schema#"
8+
}
79
],
810
"properties": {
911
"additionalItems": {
1012
"anyOf": [
11-
{"type": "boolean"},
12-
{"$ref": "#"}
13+
{
14+
"type": "boolean"
15+
},
16+
{
17+
"$ref": "#"
18+
}
1319
]
1420
},
1521
"additionalProperties": {
1622
"anyOf": [
17-
{"type": "boolean"},
18-
{"$ref": "#"}
23+
{
24+
"type": "boolean"
25+
},
26+
{
27+
"$ref": "#"
28+
}
1929
]
2030
},
2131
"dependencies": {
2232
"additionalProperties": {
2333
"anyOf": [
24-
{"$ref": "#"},
25-
{"type": "array"}
34+
{
35+
"$ref": "#"
36+
},
37+
{
38+
"type": "array"
39+
}
2640
]
2741
}
2842
},
2943
"items": {
3044
"anyOf": [
31-
{"$ref": "#"},
32-
{"$ref": "#/definitions/schemaArray"}
45+
{
46+
"$ref": "#"
47+
},
48+
{
49+
"$ref": "#/definitions/schemaArray"
50+
}
3351
]
3452
},
3553
"definitions": {
36-
"additionalProperties": {"$ref": "#"}
54+
"additionalProperties": {
55+
"$ref": "#"
56+
}
3757
},
3858
"patternProperties": {
39-
"additionalProperties": {"$ref": "#"}
59+
"additionalProperties": {
60+
"$ref": "#"
61+
}
4062
},
4163
"properties": {
42-
"additionalProperties": {"$ref": "#"}
64+
"additionalProperties": {
65+
"$ref": "#"
66+
}
67+
},
68+
"allOf": {
69+
"$ref": "#/definitions/schemaArray"
70+
},
71+
"anyOf": {
72+
"$ref": "#/definitions/schemaArray"
73+
},
74+
"oneOf": {
75+
"$ref": "#/definitions/schemaArray"
76+
},
77+
"not": {
78+
"$ref": "#"
4379
},
44-
"allOf": {"$ref": "#/definitions/schemaArray"},
45-
"anyOf": {"$ref": "#/definitions/schemaArray"},
46-
"oneOf": {"$ref": "#/definitions/schemaArray"},
47-
"not": { "$ref": "#" },
4880

4981
"links": {
5082
"type": "array",
51-
"items": {"$ref": "#/definitions/linkDescription"}
83+
"items": {
84+
"$ref": "#/definitions/linkDescription"
85+
}
5286
},
5387
"fragmentResolution": {
5488
"type": "string"
@@ -75,12 +109,14 @@
75109
"definitions": {
76110
"schemaArray": {
77111
"type": "array",
78-
"items": {"$ref": "#"}
112+
"items": {
113+
"$ref": "#"
114+
}
79115
},
80116
"linkDescription": {
81117
"title": "Link Description Object",
82118
"type": "object",
83-
"required": ["href", "rel"],
119+
"required": ["href", "rel"],
84120
"properties": {
85121
"href": {
86122
"description": "a URI template, as defined by RFC 6570, with the addition of the ,ドル ( and ) characters for pre-processing",
@@ -129,3 +165,4 @@
129165
}
130166
]
131167
}
168+

‎archive/draft-04/schema.json

Whitespace-only changes.

‎calendar

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /