From ac584dc2d21bc4d08754208f5f4043be35360412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sun, 19 Jan 2025 01:54:09 +0100 Subject: [PATCH] scope required may be another version --- schema/bom-1.6.proto | 2 +- schema/bom-1.6.schema.json | 2 +- schema/bom-1.6.xsd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/schema/bom-1.6.proto b/schema/bom-1.6.proto index b2d318ad..bcb7b7f8 100644 --- a/schema/bom-1.6.proto +++ b/schema/bom-1.6.proto @@ -612,7 +612,7 @@ message Pedigree { enum Scope { // Default SCOPE_UNSPECIFIED = 0; - // The component is required for runtime + // The component is required for runtime, or another version. SCOPE_REQUIRED = 1; // The component is optional at runtime. Optional components are components that are not capable of being called due to them not being installed or otherwise accessible by any means. Components that are installed but, due to configuration or other restrictions, are prohibited from being called must be scoped as 'required'. SCOPE_OPTIONAL = 2; diff --git a/schema/bom-1.6.schema.json b/schema/bom-1.6.schema.json index 9fdb97f7..b3fc1214 100644 --- a/schema/bom-1.6.schema.json +++ b/schema/bom-1.6.schema.json @@ -938,7 +938,7 @@ "excluded" ], "meta:enum": { - "required": "The component is required for runtime", + "required": "The component is required for runtime, or another version.", "optional": "The component is optional at runtime. Optional components are components that are not capable of being called due to them not being installed or otherwise accessible by any means. Components that are installed but due to configuration or other restrictions are prohibited from being called must be scoped as 'required'.", "excluded": "Components that are excluded provide the ability to document component usage for test and other non-runtime purposes. Excluded components are not reachable within a call graph at runtime." }, diff --git a/schema/bom-1.6.xsd b/schema/bom-1.6.xsd index 89edc4af..8f7f7cc6 100644 --- a/schema/bom-1.6.xsd +++ b/schema/bom-1.6.xsd @@ -1010,7 +1010,7 @@ limitations under the License. - The component is required for runtime + The component is required for runtime, or another version.