From 75e185912f15530c708fd4401f2a525a325fea42 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 14 Aug 2026 10:05:19 +0200 Subject: [PATCH] feat: licenses acknowledgement SHOULD be unique Signed-off-by: Jan Kowalleck --- schema/2.0/model/cyclonedx-license-2.0.schema.json | 2 +- schema/2.0/model/cyclonedx-metadata-2.0.schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/2.0/model/cyclonedx-license-2.0.schema.json b/schema/2.0/model/cyclonedx-license-2.0.schema.json index 04266739e..cd5d86e75 100644 --- a/schema/2.0/model/cyclonedx-license-2.0.schema.json +++ b/schema/2.0/model/cyclonedx-license-2.0.schema.json @@ -7,7 +7,7 @@ "$defs": { "licenseChoice": { "title": "License Choice", - "description": "A list of SPDX licenses and/or named licenses and/or SPDX License Expression.", + "description": "A list of SPDX licenses and/or named licenses and/or SPDX License Expression.\n\nFor each value of the acknowledgement enumeration, the array should contain at most one item whose acknowledgement property has that value. Items whose acknowledgement property is absent are not subject to this constraint..", "type": "array", "items": { "oneOf": [ diff --git a/schema/2.0/model/cyclonedx-metadata-2.0.schema.json b/schema/2.0/model/cyclonedx-metadata-2.0.schema.json index e9fef3d8f..6371c95c7 100644 --- a/schema/2.0/model/cyclonedx-metadata-2.0.schema.json +++ b/schema/2.0/model/cyclonedx-metadata-2.0.schema.json @@ -58,7 +58,7 @@ }, "licenses": { "title": "BOM License(s)", - "description": "The license information for the BOM document.\nThis may be different from the license(s) of the component(s) that the BOM describes.", + "description": "The license information for the BOM document.\nThis may be different from the license(s) of the component(s) that the BOM describes.\n\nFor each value of the acknowledgement enumeration, the array should contain at most one item whose acknowledgement property has that value.\nItems whose acknowledgement property is absent are not subject to this constraint.", "$ref": "cyclonedx-license-2.0.schema.json#/$defs/licenseChoice" }, "distributionConstraints": {