Skip to content

Commit

Permalink
test data
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Mar 18, 2024
1 parent 742326b commit 29c993f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
9 changes: 9 additions & 0 deletions tools/src/test/resources/1.6/valid-metadata-license-1.6.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -9,6 +10,14 @@
"license": {
"id": "Apache-2.0"
}
},
{
"license": {
"name": "My License",
"text": {
"content": "My License Text"
}
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ metadata {
id: "Apache-2.0"
}
}
licenses {
license {
name: "My License"
text {
value: "My License Text"
}
}
}
}
10 changes: 8 additions & 2 deletions tools/src/test/resources/1.6/valid-metadata-license-1.6.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
<?xml version="1.0"?>
<bom serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1" xmlns="http://cyclonedx.org/schema/bom/1.6">
<bom xmlns="http://cyclonedx.org/schema/bom/1.6"
serialNumber="urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" version="1"
>
<metadata>
<licenses>
<license>
<id>Apache-2.0</id>
</license>
<license>
<name>My License</name>
<text>My License Text</text>
</license>
</licenses>
</metadata>
<components />
<components/>
</bom>

0 comments on commit 29c993f

Please sign in to comment.