xref: /freebsd/contrib/pkgconf/tests/lib-sbom-files/basic.json (revision 592efe252472a3385acf36b1f49ecf710a7f3d9c)
1{
2    "@context": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld",
3    "@graph": [
4        {
5            "type": "Agent",
6            "creationInfo": "_:creationinfo_1",
7            "spdxId": "https://github.com/pkgconf/pkgconf/Agent/default",
8            "name": "Default"
9        },
10        {
11            "type": "CreationInfo",
12            "@id": "_:creationinfo_1",
13            "created": "test",
14            "createdBy": [
15                "https://github.com/pkgconf/pkgconf/Agent/default"
16            ],
17            "specVersion": "3.0.1"
18        },
19        {
20            "type": "Agent",
21            "creationInfo": "_:creationinfo_1",
22            "spdxId": "https://github.com/pkgconf/pkgconf/Agent/test3_maintainer",
23            "name": "Test3 Maintainer"
24        },
25        {
26            "type": "simplelicensing_LicenseExpression",
27            "creationInfo": "_:creationinfo_1",
28            "spdxId": "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause",
29            "simplelicensing_licenseExpression": "BSD-4-Clause"
30        },
31        {
32            "type": "software_Sbom",
33            "creationInfo": "_:creationinfo_1",
34            "spdxId": "https://github.com/pkgconf/pkgconf/software_Sbom/test3",
35            "software_sbomType": [
36                "build"
37            ],
38            "rootElement": [
39                "https://github.com/pkgconf/pkgconf/Package/test3"
40            ],
41            "element": [
42                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasDeclaredLicense",
43                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasConcludedLicense"
44            ]
45        },
46        {
47            "type": "software_Package",
48            "creationInfo": "_:creationinfo_1",
49            "spdxId": "https://github.com/pkgconf/pkgconf/Package/test3",
50            "name": "test3",
51            "originatedBy": [
52                "https://github.com/pkgconf/pkgconf/Agent/default"
53            ],
54            "suppliedBy": [
55                "https://github.com/pkgconf/pkgconf/Agent/test3_maintainer"
56            ],
57            "software_copyrightText": "Test3 copyright text",
58            "software_homePage": "https://github.com/pkgconf/pkgconf/",
59            "software_downloadLocation": "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz",
60            "software_packageVersion": "3.0.0"
61        },
62        {
63            "type": "Relationship",
64            "creationInfo": "_:creationinfo_1",
65            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test3/hasDeclaredLicense",
66            "from": "https://github.com/pkgconf/pkgconf/Package/test3",
67            "to": [
68                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause"
69            ],
70            "relationshipType": "hasDeclaredLicense"
71        },
72        {
73            "type": "Relationship",
74            "creationInfo": "_:creationinfo_1",
75            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test3/hasConcludedLicense",
76            "from": "https://github.com/pkgconf/pkgconf/Package/test3",
77            "to": [
78                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause"
79            ],
80            "relationshipType": "hasConcludedLicense"
81        },
82        {
83            "type": "SpdxDocument",
84            "creationInfo": "_:creationinfo_1",
85            "spdxId": "https://github.com/pkgconf/pkgconf/spdxDocument/1",
86            "rootElement": [
87                "https://github.com/pkgconf/pkgconf/software_Sbom/test3"
88            ],
89            "element": [
90                "https://github.com/pkgconf/pkgconf/Agent/default",
91                "https://github.com/pkgconf/pkgconf/Agent/test3_maintainer",
92                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause",
93                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasDeclaredLicense",
94                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasConcludedLicense",
95                "https://github.com/pkgconf/pkgconf/software_Sbom/test3",
96                "https://github.com/pkgconf/pkgconf/Package/test3"
97            ]
98        }
99    ]
100}
101