license_is_metadata_license_id
Description:
Tests license ID against the vetted list of licenses that can be used for metainfo metadata.
This function will not work for license expressions, if you need to test an SPDX license expression for compliance, please use as_license_is_metadata_license insread.
Parameters:
license_id |
a single SPDX license ID, e.g. "FSFAP" |
Returns:
true if the string is a valid metadata license ID. |
Namespace: AppStream
Package: appstream