xref: /freebsd/contrib/pkgconf/tests/lib-sbom-files/with_dependency.json (revision 592efe252472a3385acf36b1f49ecf710a7f3d9c)
1*592efe25SPierre Pronchery{
2*592efe25SPierre Pronchery    "@context": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld",
3*592efe25SPierre Pronchery    "@graph": [
4*592efe25SPierre Pronchery        {
5*592efe25SPierre Pronchery            "type": "Agent",
6*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
7*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Agent/default",
8*592efe25SPierre Pronchery            "name": "Default"
9*592efe25SPierre Pronchery        },
10*592efe25SPierre Pronchery        {
11*592efe25SPierre Pronchery            "type": "CreationInfo",
12*592efe25SPierre Pronchery            "@id": "_:creationinfo_1",
13*592efe25SPierre Pronchery            "created": "test",
14*592efe25SPierre Pronchery            "createdBy": [
15*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/default"
16*592efe25SPierre Pronchery            ],
17*592efe25SPierre Pronchery            "specVersion": "3.0.1"
18*592efe25SPierre Pronchery        },
19*592efe25SPierre Pronchery        {
20*592efe25SPierre Pronchery            "type": "Agent",
21*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
22*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Agent/test2_maintainer",
23*592efe25SPierre Pronchery            "name": "Test2 Maintainer"
24*592efe25SPierre Pronchery        },
25*592efe25SPierre Pronchery        {
26*592efe25SPierre Pronchery            "type": "Agent",
27*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
28*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Agent/test3_maintainer",
29*592efe25SPierre Pronchery            "name": "Test3 Maintainer"
30*592efe25SPierre Pronchery        },
31*592efe25SPierre Pronchery        {
32*592efe25SPierre Pronchery            "type": "simplelicensing_LicenseExpression",
33*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
34*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause",
35*592efe25SPierre Pronchery            "simplelicensing_licenseExpression": "BSD-2-Clause"
36*592efe25SPierre Pronchery        },
37*592efe25SPierre Pronchery        {
38*592efe25SPierre Pronchery            "type": "simplelicensing_LicenseExpression",
39*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
40*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause",
41*592efe25SPierre Pronchery            "simplelicensing_licenseExpression": "BSD-4-Clause"
42*592efe25SPierre Pronchery        },
43*592efe25SPierre Pronchery        {
44*592efe25SPierre Pronchery            "type": "software_Sbom",
45*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
46*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/software_Sbom/test2",
47*592efe25SPierre Pronchery            "software_sbomType": [
48*592efe25SPierre Pronchery                "build"
49*592efe25SPierre Pronchery            ],
50*592efe25SPierre Pronchery            "rootElement": [
51*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Package/test2"
52*592efe25SPierre Pronchery            ],
53*592efe25SPierre Pronchery            "element": [
54*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test2/dependsOn/test3",
55*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test2/hasDeclaredLicense",
56*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test2/hasConcludedLicense"
57*592efe25SPierre Pronchery            ]
58*592efe25SPierre Pronchery        },
59*592efe25SPierre Pronchery        {
60*592efe25SPierre Pronchery            "type": "software_Sbom",
61*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
62*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/software_Sbom/test3",
63*592efe25SPierre Pronchery            "software_sbomType": [
64*592efe25SPierre Pronchery                "build"
65*592efe25SPierre Pronchery            ],
66*592efe25SPierre Pronchery            "rootElement": [
67*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Package/test3"
68*592efe25SPierre Pronchery            ],
69*592efe25SPierre Pronchery            "element": [
70*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasDeclaredLicense",
71*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasConcludedLicense"
72*592efe25SPierre Pronchery            ]
73*592efe25SPierre Pronchery        },
74*592efe25SPierre Pronchery        {
75*592efe25SPierre Pronchery            "type": "software_Package",
76*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
77*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Package/test2",
78*592efe25SPierre Pronchery            "name": "test2",
79*592efe25SPierre Pronchery            "originatedBy": [
80*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/default"
81*592efe25SPierre Pronchery            ],
82*592efe25SPierre Pronchery            "suppliedBy": [
83*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/test2_maintainer"
84*592efe25SPierre Pronchery            ],
85*592efe25SPierre Pronchery            "software_copyrightText": "NOASSERTION",
86*592efe25SPierre Pronchery            "software_homePage": "https://github.com/pkgconf/pkgconf/",
87*592efe25SPierre Pronchery            "software_downloadLocation": "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz",
88*592efe25SPierre Pronchery            "software_packageVersion": "2.0.0"
89*592efe25SPierre Pronchery        },
90*592efe25SPierre Pronchery        {
91*592efe25SPierre Pronchery            "type": "software_Package",
92*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
93*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Package/test3",
94*592efe25SPierre Pronchery            "name": "test3",
95*592efe25SPierre Pronchery            "originatedBy": [
96*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/default"
97*592efe25SPierre Pronchery            ],
98*592efe25SPierre Pronchery            "suppliedBy": [
99*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/test3_maintainer"
100*592efe25SPierre Pronchery            ],
101*592efe25SPierre Pronchery            "software_copyrightText": "Test3 copyright text",
102*592efe25SPierre Pronchery            "software_homePage": "https://github.com/pkgconf/pkgconf/",
103*592efe25SPierre Pronchery            "software_downloadLocation": "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz",
104*592efe25SPierre Pronchery            "software_packageVersion": "3.0.0"
105*592efe25SPierre Pronchery        },
106*592efe25SPierre Pronchery        {
107*592efe25SPierre Pronchery            "type": "Relationship",
108*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
109*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test2/hasDeclaredLicense",
110*592efe25SPierre Pronchery            "from": "https://github.com/pkgconf/pkgconf/Package/test2",
111*592efe25SPierre Pronchery            "to": [
112*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause"
113*592efe25SPierre Pronchery            ],
114*592efe25SPierre Pronchery            "relationshipType": "hasDeclaredLicense"
115*592efe25SPierre Pronchery        },
116*592efe25SPierre Pronchery        {
117*592efe25SPierre Pronchery            "type": "Relationship",
118*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
119*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test2/hasConcludedLicense",
120*592efe25SPierre Pronchery            "from": "https://github.com/pkgconf/pkgconf/Package/test2",
121*592efe25SPierre Pronchery            "to": [
122*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause"
123*592efe25SPierre Pronchery            ],
124*592efe25SPierre Pronchery            "relationshipType": "hasConcludedLicense"
125*592efe25SPierre Pronchery        },
126*592efe25SPierre Pronchery        {
127*592efe25SPierre Pronchery            "type": "Relationship",
128*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
129*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test2/dependsOn/test3",
130*592efe25SPierre Pronchery            "from": "https://github.com/pkgconf/pkgconf/Package/test2",
131*592efe25SPierre Pronchery            "to": [
132*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Package/test3"
133*592efe25SPierre Pronchery            ],
134*592efe25SPierre Pronchery            "relationshipType": "dependsOn"
135*592efe25SPierre Pronchery        },
136*592efe25SPierre Pronchery        {
137*592efe25SPierre Pronchery            "type": "Relationship",
138*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
139*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test3/hasDeclaredLicense",
140*592efe25SPierre Pronchery            "from": "https://github.com/pkgconf/pkgconf/Package/test3",
141*592efe25SPierre Pronchery            "to": [
142*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause"
143*592efe25SPierre Pronchery            ],
144*592efe25SPierre Pronchery            "relationshipType": "hasDeclaredLicense"
145*592efe25SPierre Pronchery        },
146*592efe25SPierre Pronchery        {
147*592efe25SPierre Pronchery            "type": "Relationship",
148*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
149*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/Relationship/test3/hasConcludedLicense",
150*592efe25SPierre Pronchery            "from": "https://github.com/pkgconf/pkgconf/Package/test3",
151*592efe25SPierre Pronchery            "to": [
152*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause"
153*592efe25SPierre Pronchery            ],
154*592efe25SPierre Pronchery            "relationshipType": "hasConcludedLicense"
155*592efe25SPierre Pronchery        },
156*592efe25SPierre Pronchery        {
157*592efe25SPierre Pronchery            "type": "SpdxDocument",
158*592efe25SPierre Pronchery            "creationInfo": "_:creationinfo_1",
159*592efe25SPierre Pronchery            "spdxId": "https://github.com/pkgconf/pkgconf/spdxDocument/1",
160*592efe25SPierre Pronchery            "rootElement": [
161*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/software_Sbom/test2",
162*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/software_Sbom/test3"
163*592efe25SPierre Pronchery            ],
164*592efe25SPierre Pronchery            "element": [
165*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/default",
166*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/test2_maintainer",
167*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-2-Clause",
168*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Agent/test3_maintainer",
169*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/simplelicensing_LicenseExpression/BSD-4-Clause",
170*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test2/dependsOn/test3",
171*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test2/hasDeclaredLicense",
172*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test2/hasConcludedLicense",
173*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasDeclaredLicense",
174*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Relationship/test3/hasConcludedLicense",
175*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/software_Sbom/test2",
176*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Package/test2",
177*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/software_Sbom/test3",
178*592efe25SPierre Pronchery                "https://github.com/pkgconf/pkgconf/Package/test3"
179*592efe25SPierre Pronchery            ]
180*592efe25SPierre Pronchery        }
181*592efe25SPierre Pronchery    ]
182*592efe25SPierre Pronchery}
183