Skip to content

Commit 59ed5f6

Browse files
authored
Merge pull request #704 from json-schema-org/propertyPatterns
Add in the missing check that patternProperties are regexen.
2 parents 00e25c0 + c97da08 commit 59ed5f6

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)