github.com/CycloneDX/sbom-utility@v0.16.0/test/trim/trim-cdx-1-5-sample-components-normalize.sbom.json (about)

     1  {
     2    "bomFormat": "CycloneDX",
     3    "specVersion": "1.5",
     4    "components": [
     5      {
     6        "type": "library",
     7        "bom-ref": "pkg:npm/sample@2.0.0",
     8        "purl": "pkg:npm/sample@2.0.0",
     9        "name": "sample",
    10        "version": "2.0.0",
    11        "licenses": [
    12          {
    13            "license": {
    14              "id": "GPL-2.0-or-later"
    15            }
    16          },
    17          {
    18            "license": {
    19              "id": "LGPL-2.0-or-later"
    20            }
    21          },
    22          {
    23            "license": {
    24              "id": "GPL-2.0-only"
    25            }
    26          }
    27        ],
    28        "properties": [
    29          {
    30            "name": "moo",
    31            "value": "cow"
    32          },
    33          {
    34            "name": "foo",
    35            "value": "bar"
    36          }
    37        ]
    38      },
    39      {
    40        "type": "library",
    41        "bom-ref": "pkg:npm/body-parser@1.19.0",
    42        "purl": "pkg:npm/body-parser@1.19.0",
    43        "name": "body-parser",
    44        "version": "1.19.0",
    45        "hashes": [
    46          {
    47            "alg": "SHA-256",
    48            "content": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"
    49          },
    50          {
    51            "alg": "SHA-1",
    52            "content": "96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
    53          }
    54        ],
    55        "licenses": [
    56          {
    57            "license": {
    58              "id": "MIT"
    59            }
    60          },
    61          {
    62            "license": {
    63              "id": "Apache-2.0"
    64            }
    65          }
    66        ],
    67        "externalReferences": [
    68          {
    69            "type": "website",
    70            "url": "https://example.com/website"
    71          },
    72          {
    73            "type": "support",
    74            "url": "https://example.com/support"
    75          }
    76        ]
    77      }
    78    ]
    79  }