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",