From da318f9cb3320073740722665cdc67fdfbf2b01d Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Tue, 26 Jun 2018 21:58:07 -0700 Subject: [PATCH] Undo incorrect "propertyNames" change But leave the other minor formatting improvements --- 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 f4f86621..7ed18bc5 100644 --- a/hyper-schema.json +++ b/hyper-schema.json @@ -47,10 +47,7 @@ "oneOf": { "$ref": "#/definitions/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 0eea0ea5..85079d89 100644 --- a/schema.json +++ b/schema.json @@ -134,10 +134,7 @@ ] } }, - "propertyNames": { - "type": "object", - "additionalProperties": { "$ref": "#" } - }, + "propertyNames": { "$ref": "#" }, "const": true, "enum": { "type": "array",