Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

#schema: undefined | Document
#version: Version

Accessors

Methods

  • Validate the data against CycloneDX spec of this.version.

    Promise completes with one of the following:

    • null, when data was valid
    • something representing the error details, when data was invalid representing the error details, when data was invalid

    Promise rejects with one of the following:

    Parameters

    • data: string

    Returns Promise<any>