Skip to content

Commit c97da08

Browse files
committed
Add in the missing check that patternProperties are regexen.
This seems to already appear in Draft 7.
1 parent 00e25c0 commit c97da08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"patternProperties": {
116116
"type": "object",
117117
"additionalProperties": { "$ref": "#" },
118+
"propertyNames": { "format": "regex" },
118119
"default": {}
119120
},
120121
"dependencies": {

0 commit comments

Comments
 (0)