From adbd4c2c8bb17f2439ff7c44d4a87563b98f9f34 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Thu, 12 Nov 2026 11:21:48 +0100 Subject: [PATCH] 2.0-dev fix object strictness Signed-off-by: Jan Kowalleck --- schema/2.0/modules/cyclonedx-common-2.0.schema.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/schema/2.0/modules/cyclonedx-common-2.0.schema.json b/schema/2.0/modules/cyclonedx-common-2.0.schema.json index 8786ae3c4..bca10c350 100644 --- a/schema/2.0/modules/cyclonedx-common-2.0.schema.json +++ b/schema/2.0/modules/cyclonedx-common-2.0.schema.json @@ -1259,7 +1259,6 @@ "allOf": [ {"$ref": "#/$defs/measure"}, { - "type": "object", "required": ["unit"], "properties": { "unit": {"$ref": "#/$defs/energyUnits"} @@ -1273,7 +1272,6 @@ "allOf": [ {"$ref": "#/$defs/measure"}, { - "type": "object", "required": ["unit"], "properties": { "unit": {"$ref": "#/$defs/co2Units"}