forked from spdx/spdx-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage_sbom.json
98 lines (98 loc) · 3.29 KB
/
package_sbom.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"@context": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld",
"@graph": [
{
"type": "CreationInfo",
"@id": "_:creationinfo",
"createdBy": [
"http://spdx.example.com/Agent/JoshuaWatt"
],
"specVersion": "3.0.1",
"created": "2024-03-06T00:00:00Z"
},
{
"type": "Person",
"spdxId": "http://spdx.example.com/Agent/JoshuaWatt",
"name": "Joshua Watt",
"creationInfo": "_:creationinfo",
"externalIdentifier": [
{
"type": "ExternalIdentifier",
"externalIdentifierType": "email",
"identifier": "[email protected]"
}
]
},
{
"type": "SpdxDocument",
"spdxId": "http://spdx.example.com/Document1",
"creationInfo": "_:creationinfo",
"rootElement": [
"http://spdx.example.com/BOM1"
],
"element": [
"http://spdx.example.com/BOM1",
"http://spdx.example.com/Agent/JoshuaWatt",
"http://spdx.example.com/Package1/myprogram",
"http://spdx.example.com/Relationship/1"
],
"profileConformance": [
"core",
"software"
]
},
{
"type": "software_Sbom",
"spdxId": "http://spdx.example.com/BOM1",
"creationInfo": "_:creationinfo",
"rootElement": [
"http://spdx.example.com/Package1"
],
"element": [
"http://spdx.example.com/Package1/myprogram",
"http://spdx.example.com/Package1"
],
"software_sbomType": [
"build"
]
},
{
"type": "software_Package",
"spdxId": "http://spdx.example.com/Package1",
"creationInfo": "_:creationinfo",
"name": "my-package",
"software_packageVersion": "1.0.0",
"software_downloadLocation": "http://dl.example.com/my-package_1.0.0.tar",
"builtTime": "2024-03-06T00:00:00Z",
"originatedBy": [
"http://spdx.example.com/Agent/JoshuaWatt"
]
},
{
"type": "software_File",
"spdxId": "http://spdx.example.com/Package1/myprogram",
"creationInfo": "_:creationinfo",
"name": "myprogram",
"software_primaryPurpose": "executable",
"software_additionalPurpose": [
"application"
],
"software_copyrightText": "Copyright 2024, Joshua Watt",
"builtTime": "2024-03-06T00:00:00Z",
"originatedBy": [
"http://spdx.example.com/Agent/JoshuaWatt"
]
},
{
"type": "Relationship",
"spdxId": "http://spdx.example.com/Relationship/1",
"creationInfo": "_:creationinfo",
"from": "http://spdx.example.com/Package1",
"relationshipType": "contains",
"to": [
"http://spdx.example.com/Package1/myprogram"
],
"completeness": "complete"
}
]
}