Skip to content

Commit 86ee080

Browse files
authored
Merge pull request #498 from handrews/draft-07
draft-07 meta-schemas, no longer -wip
2 parents 80c1d4c + 5f3f798 commit 86ee080

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

hyper-schema-output.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$id": "http://json-schema.org/draft-7-wip/hyper-schema-output",
3-
"$schema": "http://json-schema.org/draft-07-wip/schema#",
2+
"$id": "http://json-schema.org/draft-7/hyper-schema-output",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
44
"type": "array",
55
"items": {
66
"allOf": [

hyper-schema.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07-wip/hyper-schema#",
3-
"$id": "http://json-schema.org/draft-07-wip/hyper-schema#",
2+
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
3+
"$id": "http://json-schema.org/draft-07/hyper-schema#",
44
"title": "JSON Hyper-Schema",
55
"definitions": {
66
"schemaArray": {
77
"allOf": [
8-
{ "$ref": "http://json-schema.org/draft-07-wip/schema#/definitions/schemaArray" },
8+
{ "$ref": "http://json-schema.org/draft-07/schema#/definitions/schemaArray" },
99
{
1010
"items": { "$ref": "#" }
1111
}
1212
]
1313
}
1414
},
15-
"allOf": [ { "$ref": "http://json-schema.org/draft-07-wip/schema#" } ],
15+
"allOf": [ { "$ref": "http://json-schema.org/draft-07/schema#" } ],
1616
"properties": {
1717
"additionalItems": { "$ref": "#" },
1818
"additionalProperties": { "$ref": "#"},
@@ -56,7 +56,7 @@
5656
"links": {
5757
"type": "array",
5858
"items": {
59-
"$ref": "http://json-schema.org/draft-07-wip/links#"
59+
"$ref": "http://json-schema.org/draft-07/links#"
6060
}
6161
}
6262
},

links.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07-wip/hyper-schema#",
3-
"$id": "http://json-schema.org/draft-07-wip/links#",
2+
"$schema": "http://json-schema.org/draft-07/hyper-schema#",
3+
"$id": "http://json-schema.org/draft-07/links#",
44
"title": "Link Description Object",
55
"allOf": [
66
{ "required": [ "rel", "href" ] },
@@ -30,7 +30,7 @@
3030
},
3131
"hrefSchema": {
3232
"allOf": [
33-
{ "$ref": "http://json-schema.org/draft-07-wip/hyper-schema#" }
33+
{ "$ref": "http://json-schema.org/draft-07/hyper-schema#" }
3434
]
3535
},
3636
"templatePointers": {
@@ -57,24 +57,24 @@
5757
"type": "string"
5858
},
5959
"targetSchema": {
60-
"$ref": "http://json-schema.org/draft-07-wip/hyper-schema#"
60+
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
6161
},
6262
"targetMediaType": {
6363
"type": "string"
6464
},
6565
"targetHints": { },
6666
"hrefSchema": {
67-
"$ref": "http://json-schema.org/draft-07-wip/hyper-schema#"
67+
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
6868
},
6969
"headerSchema": {
70-
"$ref": "http://json-schema.org/draft-07-wip/hyper-schema#"
70+
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
7171
},
7272
"submissionMediaType": {
7373
"type": "string",
7474
"default": "application/json"
7575
},
7676
"submissionSchema": {
77-
"$ref": "http://json-schema.org/draft-07-wip/hyper-schema#"
77+
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
7878
},
7979
"$comment": {
8080
"type": "string"

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-07-wip/schema#",
3-
"$id": "http://json-schema.org/draft-07-wip/schema#",
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "http://json-schema.org/draft-07/schema#",
44
"title": "Core schema meta-schema",
55
"definitions": {
66
"schemaArray": {

0 commit comments

Comments
 (0)