License information for the exposed API.

interface LicenseObject {
    identifier?: string;
    name: string;
    url?: string;
}

Hierarchy (view full)

Properties

Properties

identifier?: string

An SPDX license expression for the API. The identifier field is mutually exclusive of the url field.

name: string

The license name used for the API.

url?: string

A URL to the license used for the API. This MUST be in the form of a URL. The url field is mutually exclusive of the identifier field.