github.com/CycloneDX/sbom-utility@v0.16.0/examples/spdx/example2/example2-bin.json (about) 1 { 2 "SPDXID" : "SPDXRef-DOCUMENT", 3 "spdxVersion" : "SPDX-2.2", 4 "creationInfo" : { 5 "created" : "2021-08-26T01:49:00Z", 6 "creators" : [ "Person: Steve Winslow (steve@swinslow.net)", "Tool: github.com/spdx/tools-golang/builder", "Tool: github.com/spdx/tools-golang/idsearcher" ] 7 }, 8 "name" : "hello-bin", 9 "dataLicense" : "CC0-1.0", 10 "externalDocumentRefs" : [ { 11 "externalDocumentId" : "DocumentRef-hello-src", 12 "checksum" : { 13 "algorithm" : "SHA1", 14 "checksumValue" : "bb991e91fc62ce239d7baf30783c678506f9d17b" 15 }, 16 "spdxDocument" : "https://swinslow.net/spdx-examples/example2-hello-src-v3" 17 } ], 18 "documentNamespace" : "https://swinslow.net/spdx-examples/example2/hello-bin-v4", 19 "documentDescribes" : [ "SPDXRef-Package-hello-bin" ], 20 "packages" : [ { 21 "SPDXID" : "SPDXRef-Package-hello-bin", 22 "copyrightText" : "NOASSERTION", 23 "downloadLocation" : "git+https://github.com/swinslow/spdx-examples.git#example2/content/build", 24 "filesAnalyzed" : true, 25 "hasFiles" : [ "SPDXRef-hello-binary" ], 26 "licenseConcluded" : "GPL-3.0-or-later", 27 "licenseDeclared" : "NOASSERTION", 28 "licenseInfoFromFiles" : [ "NOASSERTION" ], 29 "name" : "hello-bin", 30 "packageVerificationCode" : { 31 "packageVerificationCodeValue" : "d7aa17dad30d1d1d468a10ea1ec5e100e471c064" 32 } 33 } ], 34 "files" : [ { 35 "SPDXID" : "SPDXRef-hello-binary", 36 "checksums" : [ { 37 "algorithm" : "SHA1", 38 "checksumValue" : "20291a81ef065ff891b537b64d4fdccaf6f5ac02" 39 }, { 40 "algorithm" : "SHA256", 41 "checksumValue" : "83a33ff09648bb5fc5272baca88cf2b59fd81ac4cc6817b86998136af368708e" 42 }, { 43 "algorithm" : "MD5", 44 "checksumValue" : "08a12c966d776864cc1eb41fd03c3c3d" 45 } ], 46 "copyrightText" : "NOASSERTION", 47 "fileName" : "/hello", 48 "fileTypes" : [ "BINARY" ], 49 "licenseConcluded" : "GPL-3.0-or-later", 50 "licenseInfoInFiles" : [ "NOASSERTION" ] 51 } ], 52 "relationships" : [ { 53 "spdxElementId" : "SPDXRef-DOCUMENT", 54 "relatedSpdxElement" : "SPDXRef-Package-hello-bin", 55 "relationshipType" : "DESCRIBES" 56 }, { 57 "spdxElementId" : "SPDXRef-hello-binary", 58 "relatedSpdxElement" : "DocumentRef-hello-src:SPDXRef-hello-src", 59 "relationshipType" : "GENERATED_FROM" 60 }, { 61 "spdxElementId" : "SPDXRef-hello-binary", 62 "relatedSpdxElement" : "DocumentRef-hello-src:SPDXRef-Makefile", 63 "relationshipType" : "GENERATED_FROM" 64 } ] 65 }