Documentation
¶
Overview ¶
Package schema provides CycloneDX BOM validation against embedded JSON schemas.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportedVersions ¶
func SupportedVersions() []string
SupportedVersions returns the list of CDX spec versions supported for validation.
func ValidateCDX ¶
ValidateCDX validates raw CycloneDX JSON against embedded schemas. It tries versions from highest (1.7) to lowest (1.4) and returns the first version that validates successfully (short-circuit).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.