From f65e046af3f852a781489aa164eb548519cdcc10 Mon Sep 17 00:00:00 2001 From: Matt Rutkowski Date: Mon, 18 Nov 2024 16:10:45 -0600 Subject: [PATCH] Assure v1.2 and v1.3 schemas include their dep. schemas Signed-off-by: Matt Rutkowski --- resources/config/config.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/resources/config/config.json b/resources/config/config.json index d247b68..54c2e16 100644 --- a/resources/config/config.json +++ b/resources/config/config.json @@ -83,7 +83,8 @@ "file": "schema/cyclonedx/1.2/bom-1.2.schema.json", "development": "https://github.com/CycloneDX/specification/blob/master/schema/bom-1.2.schema.json", "url": "https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.2.schema.json", - "default": false + "default": false, + "dependencies": ["spdx.schema.json"] }, { "version": "1.2", @@ -92,7 +93,8 @@ "file": "schema/cyclonedx/1.2/bom-1.2-strict.schema.json", "development": "https://github.com/CycloneDX/specification/blob/master/schema/bom-1.2-strict.schema.json", "url": "https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.2-strict.schema.json", - "default": false + "default": false, + "dependencies": ["spdx.schema.json"] }, { "version": "1.3", @@ -101,7 +103,8 @@ "file": "schema/cyclonedx/1.3/bom-1.3.schema.json", "development": "https://github.com/CycloneDX/specification/blob/master/schema/bom-1.3.schema.json", "url": "https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.3.schema.json", - "default": false + "default": false, + "dependencies": ["spdx.schema.json"] }, { "version": "1.3", @@ -110,7 +113,8 @@ "file": "schema/cyclonedx/1.3/bom-1.3-strict.schema.json", "development": "https://github.com/CycloneDX/specification/blob/master/schema/bom-1.3-strict.schema.json", "url": "https://raw.githubusercontent.com/CycloneDX/specification/master/schema/bom-1.3-strict.schema.json", - "default": false + "default": false, + "dependencies": ["spdx.schema.json"] }, { "version": "1.4", @@ -149,7 +153,8 @@ "file": "schema/test/bom-1.3-custom.schema.json", "development":"https://github.com/CycloneDX/sbom-utility/blob/main/resources/schema/test/bom-1.3-custom.schema.json", "url": "", - "default": false + "default": false, + "dependencies": ["spdx.schema.json"] }, { "version": "1.4",