github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/gosbom/formats/spdxjson/test-fixtures/spdx/example7-bin.spdx.json (about)

     1  {
     2    "spdxVersion": "SPDX-2.2",
     3    "dataLicense": "CC0-1.0",
     4    "SPDXID": "SPDXRef-DOCUMENT",
     5    "creationInfo": {
     6      "created": "2020-11-24T01:12:27Z",
     7      "creators": [ "Person: Nisha K (nishak@vmware.com)" ]
     8    },
     9    "name": "hello-go-binary.spdx.json",
    10    "documentNamespace": "https://swinslow.net/spdx-examples/example7/hello-go-binary",
    11    "externalDocumentRefs": [
    12      {
    13        "externalDocumentId": "DocumentRef-hello-go-module",
    14        "checksum": {
    15          "algorithm": "SHA1",
    16          "checksumValue": "d661f8f831a99c288a64e5843b4794ad5181224a"
    17        },
    18        "spdxDocument": "https://swinslow.net/spdx-examples/example7/hello-go-module-cfa0c58d-79db-4860-99b6-258477e4838b"
    19      },
    20      {
    21        "externalDocumentId": "DocumentRef-golang-dist",
    22        "checksum": {
    23          "algorithm": "SHA1",
    24          "checksumValue": "b6cf54a46329e7cc7610aa5d244018b80103d111"
    25        },
    26        "spdxDocument": "https://swinslow.net/spdx-examples/example7/golang-dist-492dfde4-318b-49f7-b48c-934bfafbde48"
    27      },
    28      {
    29        "externalDocumentId": "DocumentRef-hello-imports",
    30        "checksum": {
    31          "algorithm": "SHA1",
    32          "checksumValue": "14ff98203c3ddd2bd4803c00b5225d2551ca603c"
    33        },
    34        "spdxDocument": "https://swinslow.net/spdx-examples/example7/hello-imports-c2d068df-67aa-4c68-98c8-100b450fc408"
    35      }
    36    ],
    37    "documentDescribes": [
    38      "SPDXRef-go-bin-hello"
    39    ],
    40    "packages": [
    41      {
    42        "name": "hello",
    43        "SPDXID": "SPDXRef-go-bin-hello",
    44        "downloadLocation": "git@github.com:swinslow/spdx-examples.git#example7/content/build/hello",
    45        "filesAnalyzed": false,
    46        "licenseConcluded": "NOASSERTION",
    47        "licenseDeclared": "NOASSERTION",
    48        "copyrightText": "NOASSERTION"
    49      }
    50    ],
    51    "relationships": [
    52      {
    53        "spdxElementId": "DocumentRef-golang-dist:SPDXRef-golang-dist",
    54        "relatedSpdxElement": "DocumentRef-hello-go-module:SPDXRef-hello-go-module",
    55        "relationshipType": "BUILD_TOOL_OF"
    56      },
    57      {
    58        "spdxElementId": "DocumentRef-golang-dist:SPDXRef-go-compiler",
    59        "relatedSpdxElement": "SPDXRef-go-bin-hello",
    60        "relationshipType": "GENERATES"
    61      },
    62      {
    63        "spdxElementId": "DocumentRef-hello-imports:SPDXRef-hello-imports",
    64        "relatedSpdxElement": "SPDXRef-go-bin-hello",
    65        "relationshipType": "STATIC_LINK"
    66      }
    67    ]
    68  }