Disjunctive license with (SPDX-)ID - aka SpdxLicense.

No validation is done internally. You may validate with SPDX.isSupportedSpdxId(). You may assert valid objects with Factories.LicenseFactory.makeSpdxLicense().

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

acknowledgement?: LicenseAcknowledgement

Accessors

  • get url(): undefined | string | URL

    Returns undefined | string | URL

  • set url(value: undefined | string | URL): void

    Parameters

    • value: undefined | string | URL

    Returns void

Methods