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 ca799d6

Browse files
committed
Add meta-schema version numbers, fix reference.
We are not using "latest"-style URIs anymore. schemaArray in hyper-schema is intended to reference the schemaArray in schema and just "allOf" the hyper-schema {"$ref": "#"} into the "items".
1 parent bfd26aa commit ca799d6

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

‎hyper-schema.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"$schema": "http://json-schema.org/draft/hyper-schema#",
3-
"$id": "http://json-schema.org/draft/hyper-schema#",
2+
"$schema": "http://json-schema.org/draft-06/hyper-schema#",
3+
"$id": "http://json-schema.org/draft-06/hyper-schema#",
44
"title": "JSON Hyper-Schema",
55
"definitions": {
66
"schemaArray": {
77
"allOf": [
8-
{ "$ref": "http://json-schema.org/drafts/schema" },
8+
{ "$ref": "http://json-schema.org/draft-06/schema#/definitions/schemaArray" },
99
{
1010
"items": { "$ref": "#" }
1111
}
@@ -57,7 +57,7 @@
5757
}
5858
}
5959
},
60-
"allOf": [ { "$ref": "http://json-schema.org/draft/schema#" } ],
60+
"allOf": [ { "$ref": "http://json-schema.org/draft-06/schema#" } ],
6161
"properties": {
6262
"additionalItems": {
6363
"anyOf": [

‎links.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft/hyper-schema#",
3-
"$id": "http://json-schema.org/draft/links#",
2+
"$schema": "http://json-schema.org/draft-06/hyper-schema#",
3+
"$id": "http://json-schema.org/draft-06/links#",
44
"title": "Link Description Object",
55
"type": "object",
66
"required": [ "href" ],

‎schema.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft/schema#",
3-
"$id": "http://json-schema.org/draft/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
3+
"$id": "http://json-schema.org/draft-06/schema#",
44
"title": "Core schema meta-schema",
55
"definitions": {
66
"schemaArray": {

0 commit comments

Comments
(0)

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