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 full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

#id: string

See

id

#url?: string | URL
acknowledgement?: LicenseAcknowledgement

Accessors

  • get url(): undefined | string | URL
  • Returns undefined | string | URL

  • set url(value): void
  • Parameters

    • value: undefined | string | URL

    Returns void

Methods