From 4516a076a709c43efb9eac3891cb4da7dce2eb35 Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Tekuri Date: Mon, 19 Jun 2017 20:07:57 +0530 Subject: [PATCH] validate property names in patternProperties --- draft-06/schema | 1 + 1 file changed, 1 insertion(+) diff --git a/draft-06/schema b/draft-06/schema index 621cc510..5c414473 100644 --- a/draft-06/schema +++ b/draft-06/schema @@ -110,6 +110,7 @@ }, "patternProperties": { "type": "object", + "propertyNames": { "format": "regex" }, "additionalProperties": { "$ref": "#" }, "default": {} },