diff options
| author | Pierre Pronchery <khorben@FreeBSD.org> | 2026-06-24 19:47:19 +0000 |
|---|---|---|
| committer | Pierre Pronchery <khorben@FreeBSD.org> | 2026-06-29 05:21:29 +0000 |
| commit | ebcc78644e0cbc4141807c0887ef8d902cb91bb4 (patch) | |
| tree | da5efe7c3c9ae0f140e24a1b69833a476fb09f01 /tests/lib-sbom-files/basic-use-uri.json | |
| parent | 6294b6ab217a2d5f1d2bc23a64505a228294c508 (diff) | |
Diffstat (limited to 'tests/lib-sbom-files/basic-use-uri.json')
| -rw-r--r-- | tests/lib-sbom-files/basic-use-uri.json | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/tests/lib-sbom-files/basic-use-uri.json b/tests/lib-sbom-files/basic-use-uri.json new file mode 100644 index 000000000000..e9913a92a764 --- /dev/null +++ b/tests/lib-sbom-files/basic-use-uri.json @@ -0,0 +1,90 @@ +{ + "@context": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld", + "@graph": [ + { + "type": "Agent", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Agent:default", + "name": "Default" + }, + { + "type": "CreationInfo", + "@id": "_:creationinfo_1", + "created": "test", + "createdBy": [ + "github.com:pkgconf:pkgconf:Agent:default" + ], + "specVersion": "3.0.1" + }, + { + "type": "simplelicensing_LicenseExpression", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause", + "simplelicensing_licenseExpression": "BSD-4-Clause" + }, + { + "type": "software_Sbom", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:software_Sbom:test3", + "software_sbomType": [ + "build" + ], + "rootElement": [ + "github.com:pkgconf:pkgconf:Package:test3" + ], + "element": [ + "github.com:pkgconf:pkgconf:Relationship:test3:hasDeclaredLicense", + "github.com:pkgconf:pkgconf:Relationship:test3:hasConcludedLicense" + ] + }, + { + "type": "software_Package", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Package:test3", + "name": "test3", + "originatedBy": [ + "github.com:pkgconf:pkgconf:Agent:default" + ], + "software_copyrightText": "Test3 copyright text", + "software_homePage": "https://github.com/pkgconf/pkgconf/", + "software_downloadLocation": "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz", + "software_packageVersion": "3.0.0" + }, + { + "type": "Relationship", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Relationship:test3:hasDeclaredLicense", + "from": "github.com:pkgconf:pkgconf:Package:test3", + "to": [ + "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause" + ], + "relationshipType": "hasDeclaredLicense" + }, + { + "type": "Relationship", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:Relationship:test3:hasConcludedLicense", + "from": "github.com:pkgconf:pkgconf:Package:test3", + "to": [ + "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause" + ], + "relationshipType": "hasConcludedLicense" + }, + { + "type": "SpdxDocument", + "creationInfo": "_:creationinfo_1", + "spdxId": "github.com:pkgconf:pkgconf:spdxDocument:1", + "rootElement": [ + "github.com:pkgconf:pkgconf:software_Sbom:test3" + ], + "element": [ + "github.com:pkgconf:pkgconf:Agent:default", + "github.com:pkgconf:pkgconf:simplelicensing_LicenseExpression:BSD-4-Clause", + "github.com:pkgconf:pkgconf:Relationship:test3:hasDeclaredLicense", + "github.com:pkgconf:pkgconf:Relationship:test3:hasConcludedLicense", + "github.com:pkgconf:pkgconf:software_Sbom:test3", + "github.com:pkgconf:pkgconf:Package:test3" + ] + } + ] +} |
