Skip to content

Commit fa6f111

Browse files
authored
Merge pull request json-schema-org#1 from json-schema-org/master
pull in updates
2 parents f1c91c8 + a01892c commit fa6f111

File tree

5 files changed

+231
-74
lines changed

5 files changed

+231
-74
lines changed

hyper-schema.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"$schema": "http://json-schema.org/draft-08/hyper-schema#",
3-
"$id": "http://json-schema.org/draft-08/hyper-schema",
2+
"$schema": "http://json-schema.org/draft/2019-04/hyper-schema#",
3+
"$id": "http://json-schema.org/draft/2019-04/hyper-schema",
4+
"$vocabulary": {
5+
"https://json-schema.org/draft/2019-04/vocab/core": true,
6+
"https://json-schema.org/draft/2019-04/vocab/applicator": true,
7+
"https://json-schema.org/draft/2019-04/vocab/validation": true,
8+
"https://json-schema.org/draft/2019-04/vocab/meta-data": true,
9+
"https://json-schema.org/draft/2019-04/vocab/format": true,
10+
"https://json-schema.org/draft/2019-04/vocab/content": true,
11+
"https://json-schema.org/draft/2019-04/vocab/hyper-schema": true
12+
},
413
"$recursiveAnchor": true,
514

615
"title": "JSON Hyper-Schema",
7-
"$ref": "http://json-schema.org/draft-08/schema",
8-
"properties": {
9-
"base": {
10-
"type": "string",
11-
"format": "uri-template"
12-
},
13-
"links": {
14-
"type": "array",
15-
"items": {
16-
"$ref": "http://json-schema.org/draft-08/links"
17-
}
18-
}
19-
},
16+
"allOf": [
17+
{"$ref": "http://json-schema.org/draft/2019-04/schema"},
18+
{"$ref": "http://json-schema.org/draft/2019-04/meta/hyper-schema"}
19+
],
2020
"links": [
2121
{
2222
"rel": "self",

0 commit comments

Comments
 (0)