Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions examples/jsonld/package_sbom.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"type": "CreationInfo",
"@id": "_:creationinfo",
"createdBy": [
"http://spdx.example.com/Agent/JoshuaWatt"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#JoshuaWatt"
],
"specVersion": "3.0.1",
"created": "2024-03-06T00:00:00Z"
},
{
"type": "Person",
"spdxId": "http://spdx.example.com/Agent/JoshuaWatt",
"spdxId": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#JoshuaWatt",
"name": "Joshua Watt",
"creationInfo": "_:creationinfo",
"externalIdentifier": [
Expand All @@ -25,16 +25,16 @@
},
{
"type": "SpdxDocument",
"spdxId": "http://spdx.example.com/Document1",
"spdxId": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8",
"creationInfo": "_:creationinfo",
"rootElement": [
"http://spdx.example.com/BOM1"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#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"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#BOM1",
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#JoshuaWatt",
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#myprogram",
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#Relationship1"
],
"profileConformance": [
"core",
Expand All @@ -43,34 +43,34 @@
},
{
"type": "software_Sbom",
"spdxId": "http://spdx.example.com/BOM1",
"spdxId": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#BOM1",
"creationInfo": "_:creationinfo",
"rootElement": [
"http://spdx.example.com/Package1"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#Package1"
],
"element": [
"http://spdx.example.com/Package1/myprogram",
"http://spdx.example.com/Package1"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#myprogram",
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#Package1"
],
"software_sbomType": [
"build"
]
},
{
"type": "software_Package",
"spdxId": "http://spdx.example.com/Package1",
"spdxId": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#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"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#JoshuaWatt"
]
},
{
"type": "software_File",
"spdxId": "http://spdx.example.com/Package1/myprogram",
"spdxId": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#myprogram",
"creationInfo": "_:creationinfo",
"name": "myprogram",
"software_primaryPurpose": "executable",
Expand All @@ -80,17 +80,17 @@
"software_copyrightText": "Copyright 2024, Joshua Watt",
"builtTime": "2024-03-06T00:00:00Z",
"originatedBy": [
"http://spdx.example.com/Agent/JoshuaWatt"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#JoshuaWatt"
]
},
{
"type": "Relationship",
"spdxId": "http://spdx.example.com/Relationship/1",
"spdxId": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#Relationship1",
"creationInfo": "_:creationinfo",
"from": "http://spdx.example.com/Package1",
"from": "https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#Package1",
"relationshipType": "contains",
"to": [
"http://spdx.example.com/Package1/myprogram"
"https://spdx.org/spdxdocs/my-package-a665fd93-4eb4-4675-aa8a-6098b7ba7dc8#myprogram"
],
"completeness": "complete"
}
Expand Down
Loading