MatchingLicense
data class MatchingLicense(val licenseId: String? = null, val licenseUrl: String? = null, val normalizedUrl: String? = null, val matchType: LicenseMatchType? = null, val confidence: Double? = null, val spdxId: String? = null, val matchedName: String? = null, val matchedCatalogUrl: String? = null, val matchedSource: String? = null, val notes: String? = null, val regionalId: String? = null)(source)
One catalog license that matched a submitted URL.
Constructors
Link copied to clipboard
constructor(licenseId: String? = null, licenseUrl: String? = null, normalizedUrl: String? = null, matchType: LicenseMatchType? = null, confidence: Double? = null, spdxId: String? = null, matchedName: String? = null, matchedCatalogUrl: String? = null, matchedSource: String? = null, notes: String? = null, regionalId: String? = null)
Properties
Link copied to clipboard
Match confidence from 0.0 to 1.0.
Link copied to clipboard
Catalog license id, often an SPDX id.
Link copied to clipboard
License URL submitted for matching.
Link copied to clipboard
Canonical catalog URL for the matched license.
Link copied to clipboard
User-facing name of the matched license.
Link copied to clipboard
Source that produced the match.
Link copied to clipboard
How the catalog matched the URL.
Link copied to clipboard
Normalized form of licenseUrl.
Link copied to clipboard
Regional or jurisdictional variant id.
Link copied to clipboard
SPDX identifier when the match resolved to one.