summaryrefslogtreecommitdiff
path: root/tests/lib-sbom-files/define_variable.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib-sbom-files/define_variable.json')
-rw-r--r--tests/lib-sbom-files/define_variable.json90
1 files changed, 90 insertions, 0 deletions
diff --git a/tests/lib-sbom-files/define_variable.json b/tests/lib-sbom-files/define_variable.json
new file mode 100644
index 000000000000..bef19f2f3de1
--- /dev/null
+++ b/tests/lib-sbom-files/define_variable.json
@@ -0,0 +1,90 @@
+{
+ "@context": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld",
+ "@graph": [
+ {
+ "type": "Agent",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/Agent/default",
+ "name": "Default"
+ },
+ {
+ "type": "CreationInfo",
+ "@id": "_:creationinfo_1",
+ "created": "test",
+ "createdBy": [
+ "https://github.com/pkgconf/pkgconf/Agent/default"
+ ],
+ "specVersion": "3.0.1"
+ },
+ {
+ "type": "simplelicensing_LicenseExpression",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause",
+ "simplelicensing_licenseExpression": "BSD-2-Clause"
+ },
+ {
+ "type": "software_Sbom",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/software_Sbom/variable-test1",
+ "software_sbomType": [
+ "build"
+ ],
+ "rootElement": [
+ "https://github.com/pkgconf/pkgconf/Package/variable-test1"
+ ],
+ "element": [
+ "https://github.com/pkgconf/pkgconf/Relationship/variable-test1/hasDeclaredLicense",
+ "https://github.com/pkgconf/pkgconf/Relationship/variable-test1/hasConcludedLicense"
+ ]
+ },
+ {
+ "type": "software_Package",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/Package/variable-test1",
+ "name": "variable-test1",
+ "originatedBy": [
+ "https://github.com/pkgconf/pkgconf/Agent/default"
+ ],
+ "software_copyrightText": "NOASSERTION",
+ "software_homePage": "https://github.com/pkgconf/pkgconf/releases/",
+ "software_downloadLocation": "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz",
+ "software_packageVersion": "1.0-123"
+ },
+ {
+ "type": "Relationship",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/variable-test1/hasDeclaredLicense",
+ "from": "https://github.com/pkgconf/pkgconf/Package/variable-test1",
+ "to": [
+ "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause"
+ ],
+ "relationshipType": "hasDeclaredLicense"
+ },
+ {
+ "type": "Relationship",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/variable-test1/hasConcludedLicense",
+ "from": "https://github.com/pkgconf/pkgconf/Package/variable-test1",
+ "to": [
+ "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause"
+ ],
+ "relationshipType": "hasConcludedLicense"
+ },
+ {
+ "type": "SpdxDocument",
+ "creationInfo": "_:creationinfo_1",
+ "spdxId": "https://github.com/pkgconf/pkgconf/spdxDocument/1",
+ "rootElement": [
+ "https://github.com/pkgconf/pkgconf/software_Sbom/variable-test1"
+ ],
+ "element": [
+ "https://github.com/pkgconf/pkgconf/Agent/default",
+ "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause",
+ "https://github.com/pkgconf/pkgconf/Relationship/variable-test1/hasDeclaredLicense",
+ "https://github.com/pkgconf/pkgconf/Relationship/variable-test1/hasConcludedLicense",
+ "https://github.com/pkgconf/pkgconf/software_Sbom/variable-test1",
+ "https://github.com/pkgconf/pkgconf/Package/variable-test1"
+ ]
+ }
+ ]
+}