Skip to content

Commit 29c993f

Browse files
committed
test data
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 742326b commit 29c993f

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

tools/src/test/resources/1.6/valid-metadata-license-1.6.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "CycloneDX",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -9,6 +10,14 @@
910
"license": {
1011
"id": "Apache-2.0"
1112
}
13+
},
14+
{
15+
"license": {
16+
"name": "My License",
17+
"text": {
18+
"content": "My License Text"
19+
}
20+
}
1221
}
1322
]
1423
},

tools/src/test/resources/1.6/valid-metadata-license-1.6.textproto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,12 @@ metadata {
1010
id: "Apache-2.0"
1111
}
1212
}
13+
licenses {
14+
license {
15+
name: "My License"
16+
text {
17+
value: "My License Text"
18+
}
19+
}
20+
}
1321
}
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
<?xml version="1.0"?>
2-
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.6">
2+
<bom xmlns="http://cyclonedx.org/schema/bom/1.6"
3+
serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1"
4+
>
35
<metadata>
46
<licenses>
57
<license>
68
<id>Apache-2.0</id>
79
</license>
10+
<license>
11+
<name>My License</name>
12+
<text>My License Text</text>
13+
</license>
814
</licenses>
915
</metadata>
10-
<components />
16+
<components/>
1117
</bom>

0 commit comments

Comments
 (0)