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

     1  {
     2    "bomFormat": "CycloneDX",
     3    "specVersion": "1.5",
     4    "version": 1,
     5    "serialNumber": "urn:uuid:1a2b3c4d-1234-abcd-9876-a3b4c5d6e7f9",
     6    "components": [
     7      {
     8        "type": "library",
     9        "bom-ref": "pkg:npm/sample@2.0.0",
    10        "purl": "pkg:npm/sample@2.0.0",
    11        "name": "sample",
    12        "version": "2.0.0",
    13        "description": "Node.js Sampler package",
    14        "properties": [
    15          {
    16            "name": "foo",
    17            "value": "bar"
    18          }
    19        ]
    20      },
    21      {
    22        "type": "library",
    23        "bom-ref": "pkg:npm/body-parser@1.19.0",
    24        "purl": "pkg:npm/body-parser@1.19.0",
    25        "name": "body-parser",
    26        "version": "1.19.0",
    27        "description": "Node.js body parsing middleware",
    28        "hashes": [
    29          {
    30            "alg": "SHA-1",
    31            "content": "96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
    32          }
    33        ]
    34      }
    35    ],
    36    "properties": [
    37      {
    38        "name": "abc",
    39        "value": "123"
    40      }
    41    ]
    42  }