In some metadata schema, URL is used for license. Have to convert it to license ID. For example, these URLs - https://opensource.org/license/Apache-2.0 - https://opensource.org/license/apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0 - https://spdx.org/licenses/Apache-2.0 - https://spdx.org/licenses/Apache-2.0.html - https://scancode-licensedb.aboutcode.org/apache-2.0.html - spdx:Apache-2.0 should all be converted to `Apache-2.0`
In some metadata schema, URL is used for license.
Have to convert it to license ID.
For example, these URLs
should all be converted to
Apache-2.0