From af3cf2ddb5bbb4f833f56437d7f89be3a8c40876 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Wed, 27 Jun 2018 15:52:35 -0700 Subject: [PATCH] Undo incorrect "fix" of propertyNames --- hyper-schema.json | 5 +---- schema.json | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/hyper-schema.json b/hyper-schema.json index 5112eb09..e9f0e8f2 100644 --- a/hyper-schema.json +++ b/hyper-schema.json @@ -51,10 +51,7 @@ "oneOf": { "$ref": "#/$defs/schemaArray" }, "not": { "$ref": "#" }, "contains": { "$ref": "#" }, - "propertyNames": { - "type": "object", - "additionalProperties": { "$ref": "#" } - }, + "propertyNames": { "$ref": "#" }, "base": { "type": "string", "format": "uri-template" diff --git a/schema.json b/schema.json index 545dd093..56bfb53d 100644 --- a/schema.json +++ b/schema.json @@ -140,10 +140,7 @@ ] } }, - "propertyNames": { - "type": "object", - "additionalProperties": { "$ref": "#" } - }, + "propertyNames": { "$ref": "#" }, "const": true, "enum": { "type": "array",