Skip to content

Commit 39fbcb2

Browse files
authored
Merge pull request #621 from handrews/pnames-draft-06
DRAFT-06 Fix propertyNames and contains meta-schema
2 parents d2c5912 + 48771a8 commit 39fbcb2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

hyper-schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@
9595
"oneOf": { "$ref": "#/definitions/schemaArray" },
9696
"not": { "$ref": "#" },
9797

98+
"contains": { "$ref": "#" },
99+
"propertyNames": {
100+
"type": "object",
101+
"additionalProperties": { "$ref": "#" }
102+
},
98103
"base": {
99104
"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.",
100105
"type": "string"

schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@
126126
]
127127
}
128128
},
129-
"propertyNames": { "$ref": "#" },
129+
"propertyNames": {
130+
"type": "object",
131+
"additionalProperties": { "$ref": "#" }
132+
},
130133
"const": {},
131134
"enum": {
132135
"type": "array",

0 commit comments

Comments
 (0)