CycloneDX / cyclonedx-go

Go library to consume and produce CycloneDX Software Bill of Materials (SBOM)

Home Page:https://cyclonedx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: JSON schema on JSON output

mcombuechen opened this issue · comments

The CycloneDX JS lib adds a $schema field to the JSON output, linking to the respective JSON schema definition file at cyclonedx.org. It would be nice to also get this on the output from this library.

Example

{
  "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.4",
  "version": 1,
  ...
}
commented

Implemented in #80, thanks @mcombuechen!