|
| 1 | +{ |
| 2 | + "@context": "https://spdx.org/rdf/3.0.0/spdx-context.jsonld", |
| 3 | + "@graph": [ |
| 4 | + { |
| 5 | + "spdxId": "urn:uuid:6731cd26-926c-486b-8127-340c0f11a228", |
| 6 | + "type": "Person", |
| 7 | + "creationInfo": "_:creationInfo", |
| 8 | + "comment": "Person or Tool that created this document", |
| 9 | + "name": "Nisha K", |
| 10 | + "externalIdentifier": [ |
| 11 | + { |
| 12 | + "type": "ExternalIdentifier", |
| 13 | + "externalIdentifierType": "email", |
| 14 | + |
| 15 | + } |
| 16 | + ] |
| 17 | + }, |
| 18 | + { |
| 19 | + "@id": "_:creationInfo", |
| 20 | + "type": "CreationInfo", |
| 21 | + "specVersion": "3.0.0", |
| 22 | + "created": "2020-11-24T01:12:27Z", |
| 23 | + "createdBy": [ |
| 24 | + "urn:uuid:6731cd26-926c-486b-8127-340c0f11a228" |
| 25 | + ], |
| 26 | + "comment": "All objects within the graph will have this same CreationInfo" |
| 27 | + }, |
| 28 | + { |
| 29 | + "spdxId": "urn:uuid:3773937f-6db8-49f9-920f-7d1a6b0cfcbb", |
| 30 | + "type": "software_File", |
| 31 | + "name": "hello", |
| 32 | + "creationInfo": "_:creationInfo", |
| 33 | + "comment": "This binary was created by building go source code", |
| 34 | + "originatedBy": [ |
| 35 | + "urn:uuid:6731cd26-926c-486b-8127-340c0f11a228" |
| 36 | + ], |
| 37 | + "software_primaryPurpose": "executable" |
| 38 | + }, |
| 39 | + { |
| 40 | + "type": "LifecycleScopedRelationship", |
| 41 | + "scope": "build", |
| 42 | + "spdxId": "urn:uuid:98dd3b3f-6b8f-49a1-88b6-628750516f1e", |
| 43 | + "creationInfo": "_:creationInfo", |
| 44 | + "relationshipType": "usesTool", |
| 45 | + "from": "urn:uuid:e1877974-0aaa-48e6-931f-db4898c543f8", |
| 46 | + "to": [ |
| 47 | + "urn:uuid:a9f18ff3-17fa-419d-8966-abe4b992312b" |
| 48 | + ] |
| 49 | + }, |
| 50 | + { |
| 51 | + "type": "LifecycleScopedRelationship", |
| 52 | + "scope": "build", |
| 53 | + "spdxId": "urn:uuid:a7b65a78-8ed2-4b20-a91b-40f94ecdb81c", |
| 54 | + "creationInfo": "_:creationInfo", |
| 55 | + "relationshipType": "generates", |
| 56 | + "from": "urn:uuid:3b2939bf-fcce-4617-a06f-115168870b95", |
| 57 | + "to": [ |
| 58 | + "urn:uuid:3773937f-6db8-49f9-920f-7d1a6b0cfcbb" |
| 59 | + ] |
| 60 | + }, |
| 61 | + { |
| 62 | + "type": "LifecycleScopedRelationship", |
| 63 | + "scope": "build", |
| 64 | + "spdxId": "urn:uuid:5524e7dd-5d2f-44fa-86b0-ccaa3cf6fa63", |
| 65 | + "creationInfo": "_:creationInfo", |
| 66 | + "relationshipType": "hasStaticLink", |
| 67 | + "from": "urn:uuid:3773937f-6db8-49f9-920f-7d1a6b0cfcbb", |
| 68 | + "to": [ |
| 69 | + "urn:uuid:4918b993-36f8-4e75-bf94-2f017575eae5", |
| 70 | + "urn:uuid:84e4231d-fc1d-4b4e-9609-05781f81fa73" |
| 71 | + ] |
| 72 | + }, |
| 73 | + { |
| 74 | + "type": "software_Sbom", |
| 75 | + "spdxId": "urn:uuid:4c7ec5f3-875b-4f99-8c4c-f0a718da8c4f", |
| 76 | + "creationInfo": "_:creationInfo", |
| 77 | + "comment": "The SBOM communicates that this document is an SBOM", |
| 78 | + "rootElement": [ |
| 79 | + "urn:uuid:3773937f-6db8-49f9-920f-7d1a6b0cfcbb" |
| 80 | + ], |
| 81 | + "element": [ |
| 82 | + "urn:uuid:6731cd26-926c-486b-8127-340c0f11a228", |
| 83 | + "urn:uuid:3773937f-6db8-49f9-920f-7d1a6b0cfcbb", |
| 84 | + "urn:uuid:98dd3b3f-6b8f-49a1-88b6-628750516f1e", |
| 85 | + "urn:uuid:a7b65a78-8ed2-4b20-a91b-40f94ecdb81c", |
| 86 | + "urn:uuid:5524e7dd-5d2f-44fa-86b0-ccaa3cf6fa63" |
| 87 | + ] |
| 88 | + }, |
| 89 | + { |
| 90 | + "spdxId": "urn:uuid:6a1ea0da-1801-495b-9d35-2735e79eee1b", |
| 91 | + "type": "SpdxDocument", |
| 92 | + "creationInfo": "_:creationInfo", |
| 93 | + "comment": "This document's primary communication is the SBOM", |
| 94 | + "name": "example7-bin.spdx", |
| 95 | + "profileConformance": [ |
| 96 | + "core", |
| 97 | + "software" |
| 98 | + ], |
| 99 | + "rootElement": [ |
| 100 | + "urn:uuid:4c7ec5f3-875b-4f99-8c4c-f0a718da8c4f" |
| 101 | + ], |
| 102 | + "imports": [ |
| 103 | + { |
| 104 | + "type": "ExternalMap", |
| 105 | + "externalSpdxId": "urn:uuid:a9f18ff3-17fa-419d-8966-abe4b992312b", |
| 106 | + "locationHint": "https://github.com/spdx/spdx-examples/software/example7/example7-golang.spdx.jsonld", |
| 107 | + "verifiedUsing": [ |
| 108 | + { |
| 109 | + "type": "Hash", |
| 110 | + "algorithm": "sha256", |
| 111 | + "hashValue": "15ed567c36a30fb37f7d19f0f471434b9453909bf62d925194efe713ede62086" |
| 112 | + } |
| 113 | + ] |
| 114 | + }, |
| 115 | + { |
| 116 | + "type": "ExternalMap", |
| 117 | + "externalSpdxId": "urn:uuid:3b2939bf-fcce-4617-a06f-115168870b95", |
| 118 | + "locationHint": "https://github.com/spdx/spdx-examples/software/example7/example7-golang.spdx.jsonld", |
| 119 | + "verifiedUsing": [ |
| 120 | + { |
| 121 | + "type": "Hash", |
| 122 | + "algorithm": "sha256", |
| 123 | + "hashValue": "15ed567c36a30fb37f7d19f0f471434b9453909bf62d925194efe713ede62086" |
| 124 | + } |
| 125 | + ] |
| 126 | + }, |
| 127 | + { |
| 128 | + "type": "ExternalMap", |
| 129 | + "externalSpdxId": "urn:uuid:e1877974-0aaa-48e6-931f-db4898c543f8", |
| 130 | + "locationHint": "https://github.com/spdx/spdx-examples/software/example7/example7-go-module.spdx.jsonld", |
| 131 | + "verifiedUsing": [ |
| 132 | + { |
| 133 | + "type": "Hash", |
| 134 | + "algorithm": "sha256", |
| 135 | + "hashValue": "7bb2343efdccb4a2a2947219c87747673854fc6b550b2f98518af342f8dded17" |
| 136 | + } |
| 137 | + ] |
| 138 | + }, |
| 139 | + { |
| 140 | + "type": "ExternalMap", |
| 141 | + "externalSpdxId": "urn:uuid:4918b993-36f8-4e75-bf94-2f017575eae5", |
| 142 | + "locationHint": "https://github.com/spdx/spdx-examples/software/example7/example7-third-party-modules.spdx.jsonld", |
| 143 | + "verifiedUsing": [ |
| 144 | + { |
| 145 | + "type": "Hash", |
| 146 | + "algorithm": "sha256", |
| 147 | + "hashValue": "0e3532e0773d24d1a3a0a58592effd67daf22ac89282dc18805e1eef23f68dfe" |
| 148 | + } |
| 149 | + ] |
| 150 | + }, |
| 151 | + { |
| 152 | + "type": "ExternalMap", |
| 153 | + "externalSpdxId": "urn:uuid:84e4231d-fc1d-4b4e-9609-05781f81fa73", |
| 154 | + "locationHint": "https://github.com/spdx/spdx-examples/software/example7/example7-third-party-modules.spdx.jsonld", |
| 155 | + "verifiedUsing": [ |
| 156 | + { |
| 157 | + "type": "Hash", |
| 158 | + "algorithm": "sha256", |
| 159 | + "hashValue": "0e3532e0773d24d1a3a0a58592effd67daf22ac89282dc18805e1eef23f68dfe" |
| 160 | + } |
| 161 | + ] |
| 162 | + } |
| 163 | + ] |
| 164 | + } |
| 165 | + ] |
| 166 | +} |
0 commit comments