Skip to content

Commit 0f22800

Browse files
authored
Merge pull request #397 from levbishop/patch-1
Fix recursion in hyper-schema.json
2 parents ce3403c + 7a28469 commit 0f22800

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

hyper-schema.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,8 @@
6767
},
6868
"allOf": [ { "$ref": "http://json-schema.org/draft-06/schema#" } ],
6969
"properties": {
70-
"additionalItems": {
71-
"anyOf": [
72-
{ "type": "boolean" },
73-
{ "$ref": "#" }
74-
]
75-
},
76-
"additionalProperties": {
77-
"anyOf": [
78-
{ "type": "boolean" },
79-
{ "$ref": "#" }
80-
]
81-
},
70+
"additionalItems": { "$ref": "#" },
71+
"additionalProperties": { "$ref": "#"},
8272
"dependencies": {
8373
"additionalProperties": {
8474
"anyOf": [
@@ -106,6 +96,8 @@
10696
"anyOf": { "$ref": "#/definitions/schemaArray" },
10797
"oneOf": { "$ref": "#/definitions/schemaArray" },
10898
"not": { "$ref": "#" },
99+
"contains": { "$ref": "#" },
100+
"propertyNames": { "$ref": "#" },
109101

110102
"base": {
111103
"description": "URI Template resolved as for the 'href' keyword in the Link Description Object. The resulting URI Reference is resolved against the current URI base and sets the new URI base for URI references within the instance.",

0 commit comments

Comments
 (0)