diff --git a/tests/_data/schemaTestData/1.6/invalid-bomformat-1.6.json b/tests/_data/schemaTestData/1.6/invalid-bomformat-1.6.json
index ee8df941..f4874069 100644
--- a/tests/_data/schemaTestData/1.6/invalid-bomformat-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-bomformat-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "AnotherFormat",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.json b/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.json
index 46c971c0..b4856c5d 100644
--- a/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -10,12 +11,6 @@
"name": "acme-library",
"version": "1.0.0"
},
- {
- "type": "library",
- "bom-ref": "123",
- "name": "acme-library",
- "version": "1.0.0"
- },
{
"type": "library",
"bom-ref": "",
diff --git a/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.xml b/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.xml
index 78467e36..770efd83 100644
--- a/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.xml
+++ b/tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.xml
@@ -10,6 +10,10 @@
acme-library
1.0.0
+
+ acme-library2
+ 1.0.0
+
acme-library
diff --git a/tests/_data/schemaTestData/1.6/invalid-component-swid-1.6.json b/tests/_data/schemaTestData/1.6/invalid-component-swid-1.6.json
index b4aed947..7acf18d4 100644
--- a/tests/_data/schemaTestData/1.6/invalid-component-swid-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-component-swid-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-component-type-1.6.json b/tests/_data/schemaTestData/1.6/invalid-component-type-1.6.json
index 9404400c..bc5dd16a 100644
--- a/tests/_data/schemaTestData/1.6/invalid-component-type-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-component-type-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-dependency-1.6.json b/tests/_data/schemaTestData/1.6/invalid-dependency-1.6.json
index 6d6993ac..e46c5ca2 100644
--- a/tests/_data/schemaTestData/1.6/invalid-dependency-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-dependency-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-empty-component-1.6.json b/tests/_data/schemaTestData/1.6/invalid-empty-component-1.6.json
index 76d2edd6..ced677ee 100644
--- a/tests/_data/schemaTestData/1.6/invalid-empty-component-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-empty-component-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-hash-alg-1.6.json b/tests/_data/schemaTestData/1.6/invalid-hash-alg-1.6.json
index b21fc921..a841909f 100644
--- a/tests/_data/schemaTestData/1.6/invalid-hash-alg-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-hash-alg-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-hash-md5-1.6.json b/tests/_data/schemaTestData/1.6/invalid-hash-md5-1.6.json
index 5c493847..37140dfe 100644
--- a/tests/_data/schemaTestData/1.6/invalid-hash-md5-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-hash-md5-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-hash-sha1-1.6.json b/tests/_data/schemaTestData/1.6/invalid-hash-sha1-1.6.json
index 441fec3e..ba3ef962 100644
--- a/tests/_data/schemaTestData/1.6/invalid-hash-sha1-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-hash-sha1-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-hash-sha256-1.6.json b/tests/_data/schemaTestData/1.6/invalid-hash-sha256-1.6.json
index b7f8d1de..1944c51d 100644
--- a/tests/_data/schemaTestData/1.6/invalid-hash-sha256-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-hash-sha256-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-hash-sha512-1.6.json b/tests/_data/schemaTestData/1.6/invalid-hash-sha512-1.6.json
index 0b56c35a..3065415c 100644
--- a/tests/_data/schemaTestData/1.6/invalid-hash-sha512-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-hash-sha512-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-issue-type-1.6.json b/tests/_data/schemaTestData/1.6/invalid-issue-type-1.6.json
index ef1c08b5..4e05dae0 100644
--- a/tests/_data/schemaTestData/1.6/invalid-issue-type-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-issue-type-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-license-choice-1.6.json b/tests/_data/schemaTestData/1.6/invalid-license-choice-1.6.json
index 48399473..8977bdad 100644
--- a/tests/_data/schemaTestData/1.6/invalid-license-choice-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-license-choice-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-license-encoding-1.6.json b/tests/_data/schemaTestData/1.6/invalid-license-encoding-1.6.json
index 794c566c..2c6c074f 100644
--- a/tests/_data/schemaTestData/1.6/invalid-license-encoding-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-license-encoding-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-license-id-1.6.json b/tests/_data/schemaTestData/1.6/invalid-license-id-1.6.json
index 907d5581..c183abc6 100644
--- a/tests/_data/schemaTestData/1.6/invalid-license-id-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-license-id-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-license-missing-id-and-name-1.6.json b/tests/_data/schemaTestData/1.6/invalid-license-missing-id-and-name-1.6.json
index 65b72d31..b70f8f6d 100644
--- a/tests/_data/schemaTestData/1.6/invalid-license-missing-id-and-name-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-license-missing-id-and-name-1.6.json
@@ -1,10 +1,12 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
"version": 1,
"components": [
{
+ "type": "library",
"name": "license-with-no-id-nor-name",
"version": "23",
"description": "testcase for issue#288",
diff --git a/tests/_data/schemaTestData/1.6/invalid-metadata-license-1.6.json b/tests/_data/schemaTestData/1.6/invalid-metadata-license-1.6.json
index a510758b..9db03c94 100644
--- a/tests/_data/schemaTestData/1.6/invalid-metadata-license-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-metadata-license-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-metadata-timestamp-1.6.json b/tests/_data/schemaTestData/1.6/invalid-metadata-timestamp-1.6.json
index e3f1884b..14bbdee5 100644
--- a/tests/_data/schemaTestData/1.6/invalid-metadata-timestamp-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-metadata-timestamp-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-missing-component-type-1.6.json b/tests/_data/schemaTestData/1.6/invalid-missing-component-type-1.6.json
index ec0b081e..ea53406f 100644
--- a/tests/_data/schemaTestData/1.6/invalid-missing-component-type-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-missing-component-type-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-patch-type-1.6.json b/tests/_data/schemaTestData/1.6/invalid-patch-type-1.6.json
index a71680e3..51de20b1 100644
--- a/tests/_data/schemaTestData/1.6/invalid-patch-type-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-patch-type-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-properties-1.6.json b/tests/_data/schemaTestData/1.6/invalid-properties-1.6.json
index 06985035..219544f3 100644
--- a/tests/_data/schemaTestData/1.6/invalid-properties-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-properties-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:bcb403ae-91fa-436e-bc93-84d1078cdeed",
diff --git a/tests/_data/schemaTestData/1.6/invalid-scope-1.6.json b/tests/_data/schemaTestData/1.6/invalid-scope-1.6.json
index cbb68fa2..dcc78ab5 100644
--- a/tests/_data/schemaTestData/1.6/invalid-scope-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-scope-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/invalid-serialnumber-1.6.json b/tests/_data/schemaTestData/1.6/invalid-serialnumber-1.6.json
index fdc34e3d..9aea4ae4 100644
--- a/tests/_data/schemaTestData/1.6/invalid-serialnumber-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-serialnumber-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f",
diff --git a/tests/_data/schemaTestData/1.6/invalid-service-data-1.6.json b/tests/_data/schemaTestData/1.6/invalid-service-data-1.6.json
index 9f028594..9fb86ef6 100644
--- a/tests/_data/schemaTestData/1.6/invalid-service-data-1.6.json
+++ b/tests/_data/schemaTestData/1.6/invalid-service-data-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-annotation-1.6.json b/tests/_data/schemaTestData/1.6/valid-annotation-1.6.json
index 790fc280..b0e8ec7d 100644
--- a/tests/_data/schemaTestData/1.6/valid-annotation-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-annotation-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-assembly-1.6.json b/tests/_data/schemaTestData/1.6/valid-assembly-1.6.json
index 681c10e6..864e0e4f 100644
--- a/tests/_data/schemaTestData/1.6/valid-assembly-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-assembly-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-attestation-1.6.json b/tests/_data/schemaTestData/1.6/valid-attestation-1.6.json
index 57a04972..9caa455d 100644
--- a/tests/_data/schemaTestData/1.6/valid-attestation-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-attestation-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-bom-1.6.json b/tests/_data/schemaTestData/1.6/valid-bom-1.6.json
index 6244850f..c07ab7b0 100644
--- a/tests/_data/schemaTestData/1.6/valid-bom-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-bom-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-component-data-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-data-1.6.json
new file mode 100644
index 00000000..f78163f9
--- /dev/null
+++ b/tests/_data/schemaTestData/1.6/valid-component-data-1.6.json
@@ -0,0 +1,30 @@
+{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.6",
+ "serialNumber": "urn:uuid:1b1bff0e-fdb9-4088-8b9a-1a9f2d9006da",
+ "version": 1,
+ "components": [
+ {
+ "type": "data",
+ "name": "my-configs",
+ "version": "1337",
+ "data": [
+ {
+ "type": "configuration",
+ "name": "app.ini",
+ "contents": {
+ "url": "https://example.com/cfg/1337/app.ini"
+ }
+ },
+ {
+ "type": "other",
+ "name": ".env",
+ "contents": {
+ "url": "https://example.com/cfg/1337/env"
+ }
+ }
+ ]
+ }
+ ]
+}
diff --git a/tests/_data/schemaTestData/1.6/valid-component-data-1.6.xml b/tests/_data/schemaTestData/1.6/valid-component-data-1.6.xml
new file mode 100644
index 00000000..fe89d803
--- /dev/null
+++ b/tests/_data/schemaTestData/1.6/valid-component-data-1.6.xml
@@ -0,0 +1,24 @@
+
+
+
+
+ my-configs
+ 1337
+
+ configuration
+ app.ini
+
+ https://example.com/cfg/1337/app.ini
+
+
+
+ other
+ .env
+
+ https://example.com/cfg/1337/env
+
+
+
+
+
diff --git a/tests/_data/schemaTestData/1.6/valid-component-hashes-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-hashes-1.6.json
index fcb58a93..91d15f58 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-hashes-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-component-hashes-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-component-identifiers-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-identifiers-1.6.json
index 37175a6e..de0d2a09 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-identifiers-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-component-identifiers-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-component-ref-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-ref-1.6.json
index 977fb1eb..73cf35cf 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-ref-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-component-ref-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-component-swid-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-swid-1.6.json
index 9b63b942..bff17b97 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-swid-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-component-swid-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-component-swid-full-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-swid-full-1.6.json
index 576131ce..e0e83115 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-swid-full-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-component-swid-full-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-component-types-1.6.json b/tests/_data/schemaTestData/1.6/valid-component-types-1.6.json
index 782e701b..8b1abd7e 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-types-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-component-types-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -43,6 +44,11 @@
"type": "file",
"name": "file-a",
"version": "1.0"
+ },
+ {
+ "type": "data",
+ "name": "data-a",
+ "version": "1.0"
}
]
}
diff --git a/tests/_data/schemaTestData/1.6/valid-component-types-1.6.xml b/tests/_data/schemaTestData/1.6/valid-component-types-1.6.xml
index b66c396e..d8c70784 100644
--- a/tests/_data/schemaTestData/1.6/valid-component-types-1.6.xml
+++ b/tests/_data/schemaTestData/1.6/valid-component-types-1.6.xml
@@ -33,5 +33,9 @@
file-a
1.0
+
+ data-a
+ 1.0
+
diff --git a/tests/_data/schemaTestData/1.6/valid-compositions-1.6.json b/tests/_data/schemaTestData/1.6/valid-compositions-1.6.json
index 9cdbfe98..8b8dcbf3 100644
--- a/tests/_data/schemaTestData/1.6/valid-compositions-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-compositions-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-cryptography-full-1.6.json b/tests/_data/schemaTestData/1.6/valid-cryptography-full-1.6.json
index e25d4dd9..ac134465 100644
--- a/tests/_data/schemaTestData/1.6/valid-cryptography-full-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-cryptography-full-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-cryptography-implementation-1.6.json b/tests/_data/schemaTestData/1.6/valid-cryptography-implementation-1.6.json
index 3bff0945..a143b9b3 100644
--- a/tests/_data/schemaTestData/1.6/valid-cryptography-implementation-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-cryptography-implementation-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-dependency-1.6.json b/tests/_data/schemaTestData/1.6/valid-dependency-1.6.json
index 3d246547..1e87f38e 100644
--- a/tests/_data/schemaTestData/1.6/valid-dependency-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-dependency-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-empty-components-1.6.json b/tests/_data/schemaTestData/1.6/valid-empty-components-1.6.json
index 572b398c..a634de3f 100644
--- a/tests/_data/schemaTestData/1.6/valid-empty-components-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-empty-components-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-evidence-1.6.json b/tests/_data/schemaTestData/1.6/valid-evidence-1.6.json
index b80656bb..9bb4ebc3 100644
--- a/tests/_data/schemaTestData/1.6/valid-evidence-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-evidence-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.json b/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.json
index e3913d84..f5e24561 100644
--- a/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -33,6 +34,185 @@
"comment": "Vendor provided documentation for the product"
}
]
+ },
+ {
+ "type": "application",
+ "name": "dummy",
+ "description": "this component has all external reference types possible",
+ "externalReferences": [
+ {
+ "type": "vcs",
+ "url": "http://example.com/extref/vcs"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "http://example.com/extref/issue-tracker"
+ },
+ {
+ "type": "website",
+ "url": "http://example.com/extref/website"
+ },
+ {
+ "type": "advisories",
+ "url": "http://example.com/extref/advisories"
+ },
+ {
+ "type": "bom",
+ "url": "http://example.com/extref/bom"
+ },
+ {
+ "type": "mailing-list",
+ "url": "http://example.com/extref/mailing-list"
+ },
+ {
+ "type": "social",
+ "url": "http://example.com/extref/social"
+ },
+ {
+ "type": "chat",
+ "url": "http://example.com/extref/chat"
+ },
+ {
+ "type": "documentation",
+ "url": "http://example.com/extref/documentation"
+ },
+ {
+ "type": "support",
+ "url": "http://example.com/extref/support"
+ },
+ {
+ "type": "source-distribution",
+ "url": "http://example.com/extref/source-distribution"
+ },
+ {
+ "type": "distribution",
+ "url": "http://example.com/extref/distribution"
+ },
+ {
+ "type": "distribution-intake",
+ "url": "http://example.com/extref/distribution-intake"
+ },
+ {
+ "type": "license",
+ "url": "http://example.com/extref/license"
+ },
+ {
+ "type": "build-meta",
+ "url": "http://example.com/extref/build-meta"
+ },
+ {
+ "type": "build-system",
+ "url": "http://example.com/extref/build-system"
+ },
+ {
+ "type": "release-notes",
+ "url": "http://example.com/extref/release-notes"
+ },
+ {
+ "type": "security-contact",
+ "url": "http://example.com/extref/security-contact"
+ },
+ {
+ "type": "model-card",
+ "url": "http://example.com/extref/model-card"
+ },
+ {
+ "type": "log",
+ "url": "http://example.com/extref/log"
+ },
+ {
+ "type": "configuration",
+ "url": "http://example.com/extref/configuration"
+ },
+ {
+ "type": "evidence",
+ "url": "http://example.com/extref/evidence"
+ },
+ {
+ "type": "formulation",
+ "url": "http://example.com/extref/formulation"
+ },
+ {
+ "type": "attestation",
+ "url": "http://example.com/extref/attestation"
+ },
+ {
+ "type": "threat-model",
+ "url": "http://example.com/extref/threat-model"
+ },
+ {
+ "type": "adversary-model",
+ "url": "http://example.com/extref/adversary-model"
+ },
+ {
+ "type": "risk-assessment",
+ "url": "http://example.com/extref/risk-assessment"
+ },
+ {
+ "type": "vulnerability-assertion",
+ "url": "http://example.com/extref/vulnerability-assertion"
+ },
+ {
+ "type": "exploitability-statement",
+ "url": "http://example.com/extref/exploitability-statement"
+ },
+ {
+ "type": "pentest-report",
+ "url": "http://example.com/extref/pentest-report"
+ },
+ {
+ "type": "static-analysis-report",
+ "url": "http://example.com/extref/static-analysis-report"
+ },
+ {
+ "type": "dynamic-analysis-report",
+ "url": "http://example.com/extref/dynamic-analysis-report"
+ },
+ {
+ "type": "runtime-analysis-report",
+ "url": "http://example.com/extref/runtime-analysis-report"
+ },
+ {
+ "type": "component-analysis-report",
+ "url": "http://example.com/extref/component-analysis-report"
+ },
+ {
+ "type": "maturity-report",
+ "url": "http://example.com/extref/maturity-report"
+ },
+ {
+ "type": "certification-report",
+ "url": "http://example.com/extref/certification-report"
+ },
+ {
+ "type": "quality-metrics",
+ "url": "http://example.com/extref/quality-metrics"
+ },
+ {
+ "type": "codified-infrastructure",
+ "url": "http://example.com/extref/codified-infrastructure"
+ },
+ {
+ "type": "poam",
+ "url": "http://example.com/extref/poam"
+ },
+ {
+ "type": "electronic-signature",
+ "url": "http://example.com/extref/electronic-signature"
+ },
+ {
+ "type": "digital-signature",
+ "url": "http://example.com/extref/digital-signature"
+ },
+ {
+ "type": "rfc-9116",
+ "url": "http://example.com/extref/rfc-9116"
+ },
+ {
+ "type": "other",
+ "url": "http://example.com/extref/other"
+ }
+ ]
}
]
}
diff --git a/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.xml b/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.xml
index 21810f3c..f30782f7 100644
--- a/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.xml
+++ b/tests/_data/schemaTestData/1.6/valid-external-reference-1.6.xml
@@ -23,5 +23,54 @@
+
+ dummy
+ this component has all external reference types possible
+
+ http://example.com/extref/vcs
+ http://example.com/extref/issue-tracker
+ http://example.com/extref/website
+ http://example.com/extref/advisories
+ http://example.com/extref/bom
+ http://example.com/extref/mailing-list
+ http://example.com/extref/social
+ http://example.com/extref/chat
+ http://example.com/extref/documentation
+ http://example.com/extref/support
+ http://example.com/extref/source-distribution
+ http://example.com/extref/distribution
+ http://example.com/extref/distribution-intake
+ http://example.com/extref/license
+ http://example.com/extref/build-meta
+ http://example.com/extref/build-system
+ http://example.com/extref/release-notes
+ http://example.com/extref/security-contact
+ http://example.com/extref/model-card
+ http://example.com/extref/log
+ http://example.com/extref/configuration
+ http://example.com/extref/evidence
+ http://example.com/extref/formulation
+ http://example.com/extref/attestation
+ http://example.com/extref/threat-model
+ http://example.com/extref/adversary-model
+ http://example.com/extref/risk-assessment
+ http://example.com/extref/vulnerability-assertion
+ http://example.com/extref/exploitability-statement
+ http://example.com/extref/pentest-report
+ http://example.com/extref/static-analysis-report
+ http://example.com/extref/dynamic-analysis-report
+ http://example.com/extref/runtime-analysis-report
+ http://example.com/extref/component-analysis-report
+ http://example.com/extref/maturity-report
+ http://example.com/extref/certification-report
+ http://example.com/extref/quality-metrics
+ http://example.com/extref/codified-infrastructure
+ http://example.com/extref/poam
+ http://example.com/extref/electronic-signature
+ http://example.com/extref/digital-signature
+ http://example.com/extref/rfc-9116
+ http://example.com/extref/other
+
+
diff --git a/tests/_data/schemaTestData/1.6/valid-formulation-1.6.json b/tests/_data/schemaTestData/1.6/valid-formulation-1.6.json
index 9169d9ca..26a9a4b6 100644
--- a/tests/_data/schemaTestData/1.6/valid-formulation-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-formulation-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-license-expression-1.6.json b/tests/_data/schemaTestData/1.6/valid-license-expression-1.6.json
index 057ad915..38055471 100644
--- a/tests/_data/schemaTestData/1.6/valid-license-expression-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-license-expression-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-license-id-1.6.json b/tests/_data/schemaTestData/1.6/valid-license-id-1.6.json
index 07ec492d..76419c50 100644
--- a/tests/_data/schemaTestData/1.6/valid-license-id-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-license-id-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-license-licensing-1.6.json b/tests/_data/schemaTestData/1.6/valid-license-licensing-1.6.json
index f3a8d3ad..613e38a0 100644
--- a/tests/_data/schemaTestData/1.6/valid-license-licensing-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-license-licensing-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-license-name-1.6.json b/tests/_data/schemaTestData/1.6/valid-license-name-1.6.json
index dab01719..9de0228e 100644
--- a/tests/_data/schemaTestData/1.6/valid-license-name-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-license-name-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-machine-learning-1.6.json b/tests/_data/schemaTestData/1.6/valid-machine-learning-1.6.json
index 0aeef9be..491385e9 100644
--- a/tests/_data/schemaTestData/1.6/valid-machine-learning-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-machine-learning-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -89,4 +90,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/tests/_data/schemaTestData/1.6/valid-machine-learning-considerations-env-1.6.json b/tests/_data/schemaTestData/1.6/valid-machine-learning-considerations-env-1.6.json
index a7a0dbf5..07637f75 100644
--- a/tests/_data/schemaTestData/1.6/valid-machine-learning-considerations-env-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-machine-learning-considerations-env-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:ed5c5ba0-2be6-4b58-ac29-01a7fd375123",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-author-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-author-1.6.json
index c63b7065..196c0eca 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-author-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-author-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-license-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-license-1.6.json
index 3ee6eebf..4861f5ab 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-license-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-license-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-lifecycle-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-lifecycle-1.6.json
index fb39301a..275ba3da 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-lifecycle-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-lifecycle-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-manufacture-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-manufacture-1.6.json
index bee88561..2c9b204a 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-manufacture-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-manufacture-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-manufacturer-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-manufacturer-1.6.json
index 7fc82b90..0b373b3b 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-manufacturer-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-manufacturer-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-supplier-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-supplier-1.6.json
index 42f98110..e212c7a1 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-supplier-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-supplier-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-timestamp-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-timestamp-1.6.json
index 90200211..90c8f4ce 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-timestamp-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-timestamp-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-tool-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-tool-1.6.json
index 42f18480..9c7b8b58 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-tool-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-tool-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-metadata-tool-deprecated-1.6.json b/tests/_data/schemaTestData/1.6/valid-metadata-tool-deprecated-1.6.json
index 47c16bd9..485bdd11 100644
--- a/tests/_data/schemaTestData/1.6/valid-metadata-tool-deprecated-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-metadata-tool-deprecated-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-minimal-viable-1.6.json b/tests/_data/schemaTestData/1.6/valid-minimal-viable-1.6.json
index 14bdabab..0ee56744 100644
--- a/tests/_data/schemaTestData/1.6/valid-minimal-viable-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-minimal-viable-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-patch-1.6.json b/tests/_data/schemaTestData/1.6/valid-patch-1.6.json
index 56f3dec4..2bb68e50 100644
--- a/tests/_data/schemaTestData/1.6/valid-patch-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-patch-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-properties-1.6.json b/tests/_data/schemaTestData/1.6/valid-properties-1.6.json
index 68c47f86..ad62c6f9 100644
--- a/tests/_data/schemaTestData/1.6/valid-properties-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-properties-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.json b/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.json
index 759a710e..46c5a7c3 100644
--- a/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -8,6 +9,12 @@
"type": "library",
"name": "acme-example",
"version": "1.0.0",
+ "externalReferences": [
+ {
+ "type": "release-notes",
+ "url": "https://example.com/releases/1.0.0"
+ }
+ ],
"releaseNotes": {
"type": "major",
"title": "My new release",
diff --git a/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.xml b/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.xml
index f7ce16b0..b25986bc 100644
--- a/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.xml
+++ b/tests/_data/schemaTestData/1.6/valid-release-notes-1.6.xml
@@ -4,6 +4,11 @@
acme-example
1.0.0
+
+
+ https://example.com/releases/1.0.0
+
+
major
My new release
diff --git a/tests/_data/schemaTestData/1.6/valid-saasbom-1.6.json b/tests/_data/schemaTestData/1.6/valid-saasbom-1.6.json
index 20709de8..157e742f 100644
--- a/tests/_data/schemaTestData/1.6/valid-saasbom-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-saasbom-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -300,4 +301,4 @@
"dependsOn": [ "s3-example.amazon.com" ]
}
]
-}
\ No newline at end of file
+}
diff --git a/tests/_data/schemaTestData/1.6/valid-service-1.6.json b/tests/_data/schemaTestData/1.6/valid-service-1.6.json
index e48157b7..d8684179 100644
--- a/tests/_data/schemaTestData/1.6/valid-service-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-service-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-service-empty-objects-1.6.json b/tests/_data/schemaTestData/1.6/valid-service-empty-objects-1.6.json
index d77ba2dc..7338836d 100644
--- a/tests/_data/schemaTestData/1.6/valid-service-empty-objects-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-service-empty-objects-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-signatures-1.6.json b/tests/_data/schemaTestData/1.6/valid-signatures-1.6.json
index b5630f6d..5542c90e 100644
--- a/tests/_data/schemaTestData/1.6/valid-signatures-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-signatures-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-standard-1.6.json b/tests/_data/schemaTestData/1.6/valid-standard-1.6.json
index ad6b4bab..3150227b 100644
--- a/tests/_data/schemaTestData/1.6/valid-standard-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-standard-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -21,6 +22,11 @@
"bom-ref": "requirement-1.1",
"identifier": "v1.1",
"title": "Title here",
+ "text": "Text here",
+ "descriptions": [
+ "Requirement is described here",
+ "and here"
+ ],
"parent": "requirement-1"
},
{
@@ -70,4 +76,4 @@
}
]
}
-}
\ No newline at end of file
+}
diff --git a/tests/_data/schemaTestData/1.6/valid-standard-1.6.xml b/tests/_data/schemaTestData/1.6/valid-standard-1.6.xml
index 7a36430a..cdf5c037 100644
--- a/tests/_data/schemaTestData/1.6/valid-standard-1.6.xml
+++ b/tests/_data/schemaTestData/1.6/valid-standard-1.6.xml
@@ -15,6 +15,11 @@
v1.1
Title here
+ Text here
+
+ Requirement is described here
+ and here
+
requirement-1
diff --git a/tests/_data/schemaTestData/1.6/valid-tags-1.6.json b/tests/_data/schemaTestData/1.6/valid-tags-1.6.json
index 0a4b286c..1052997b 100644
--- a/tests/_data/schemaTestData/1.6/valid-tags-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-tags-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
diff --git a/tests/_data/schemaTestData/1.6/valid-vulnerability-1.6.json b/tests/_data/schemaTestData/1.6/valid-vulnerability-1.6.json
index c0f77d36..52bb70f1 100644
--- a/tests/_data/schemaTestData/1.6/valid-vulnerability-1.6.json
+++ b/tests/_data/schemaTestData/1.6/valid-vulnerability-1.6.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",