diff --git a/Makefile b/Makefile index 28f336ce..919b8c4a 100644 --- a/Makefile +++ b/Makefile @@ -207,6 +207,15 @@ format-code: ## Reformat Python and JS files docker-compose exec nodejs npm run-script format .PHONY: format-code +generate-spdx: ## Generate a new SPDX data file + docker-compose exec web sh -c " \ + poetry run python3 toolhub/apps/toolinfo/generate_spdx.py > \ + toolhub/apps/toolinfo/spdx.py && \ + poetry run black toolhub/apps/toolinfo/spdx.py && \ + cat toolhub/apps/toolinfo/spdx.py \ + " +.PHONY: generate-spdx + clean: ## Clean up Docker images and containers yes | docker image prune yes | docker container prune diff --git a/poetry.lock b/poetry.lock index 81a6c34a..690c2e81 100644 --- a/poetry.lock +++ b/poetry.lock @@ -36,9 +36,6 @@ files = [ {file = "asgiref-3.5.0.tar.gz", hash = "sha256:2f8abc20f7248433085eda803936d98992f1343ddb022065779f37c5da0181d0"}, ] -[package.dependencies] -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} - [package.extras] tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] @@ -57,7 +54,6 @@ files = [ [package.dependencies] lazy-object-proxy = ">=1.4.0" setuptools = ">=20.0" -typed-ast = {version = ">=1.4.0,<2.0", markers = "implementation_name == \"cpython\" and python_version < \"3.8\""} typing-extensions = {version = ">=3.10", markers = "python_version < \"3.10\""} wrapt = ">=1.11,<2" @@ -163,7 +159,6 @@ mypy-extensions = ">=0.4.3" pathspec = ">=0.9.0" platformdirs = ">=2" tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} -typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\" and implementation_name == \"cpython\""} typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} [package.extras] @@ -368,7 +363,6 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "platform_system == \"Windows\""} -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} [[package]] name = "colorama" @@ -867,7 +861,6 @@ djangorestframework = ">=3.10" inflection = ">=0.3.1" jsonschema = ">=2.6.0" PyYAML = ">=5.1" -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} uritemplate = ">=2.0.0" [package.extras] @@ -973,7 +966,6 @@ files = [ ] [package.dependencies] -importlib-metadata = {version = ">=1.1.0,<4.3", markers = "python_version < \"3.8\""} mccabe = ">=0.7.0,<0.8.0" pycodestyle = ">=2.9.0,<2.10.0" pyflakes = ">=2.5.0,<2.6.0" @@ -1040,7 +1032,6 @@ files = [ [package.dependencies] flake8 = ">=3.0,<3.2.0 || >3.2.0" -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} [[package]] name = "flake8-docstrings" @@ -1179,7 +1170,6 @@ files = [ [package.dependencies] gitdb = ">=4.0.1,<5" -typing-extensions = {version = ">=3.7.4.3", markers = "python_version < \"3.8\""} [[package]] name = "httpretty" @@ -1220,7 +1210,7 @@ files = [ name = "importlib-metadata" version = "4.2.0" description = "Read metadata from Python packages" -category = "main" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1229,7 +1219,6 @@ files = [ ] [package.dependencies] -typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} zipp = ">=0.5" [package.extras] @@ -1364,7 +1353,6 @@ files = [ [package.dependencies] attrs = ">=17.4.0" -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} pyrsistent = ">=0.14.0" setuptools = "*" six = ">=1.11.0" @@ -1456,6 +1444,7 @@ category = "dev" optional = false python-versions = "*" files = [ + {file = "livereload-2.6.3-py2.py3-none-any.whl", hash = "sha256:ad4ac6f53b2d62bb6ce1a5e6e96f1f00976a32348afedcb4b6d68df2a1d346e4"}, {file = "livereload-2.6.3.tar.gz", hash = "sha256:776f2f865e59fde56490a56bcc6773b6917366bce0c267c60ee8aaf1a0959869"}, ] @@ -1636,9 +1625,6 @@ files = [ {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, ] -[package.dependencies] -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} - [package.extras] dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] @@ -1864,7 +1850,6 @@ files = [ attrs = ">=19.2.0" colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" @@ -2175,18 +2160,6 @@ azuread = ["cryptography (>=2.1.1)"] openidconnect = ["python-jose (>=3.0.0)"] saml = ["lxml (<4.7)", "python3-saml (>=1.2.1)"] -[[package]] -name = "spdx-license-list" -version = "0.5.2" -description = "A simple tool/library for working with SPDX license definitions." -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "spdx_license_list-0.5.2-py3-none-any.whl", hash = "sha256:1b338470c7b403dbecceca563a316382c7977516128ca6c1e8f7078e3ed6e7b0"}, - {file = "spdx_license_list-0.5.2.tar.gz", hash = "sha256:952996f72ab807972dc2278bb9b91e5294767211e51f09aad9c0e2ff5b82a31b"}, -] - [[package]] name = "sphinx" version = "4.3.2" @@ -2413,7 +2386,6 @@ files = [ ] [package.dependencies] -importlib-metadata = {version = ">=1.7.0", markers = "python_version < \"3.8\""} pbr = ">=2.0.0,<2.1.0 || >2.1.0" [[package]] @@ -2494,45 +2466,11 @@ files = [ [package.dependencies] linecache2 = "*" -[[package]] -name = "typed-ast" -version = "1.5.2" -description = "a fork of Python 2 and 3 ast modules with type comment support" -category = "dev" -optional = false -python-versions = ">=3.6" -files = [ - {file = "typed_ast-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:183b183b7771a508395d2cbffd6db67d6ad52958a5fdc99f450d954003900266"}, - {file = "typed_ast-1.5.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:676d051b1da67a852c0447621fdd11c4e104827417bf216092ec3e286f7da596"}, - {file = "typed_ast-1.5.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bc2542e83ac8399752bc16e0b35e038bdb659ba237f4222616b4e83fb9654985"}, - {file = "typed_ast-1.5.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74cac86cc586db8dfda0ce65d8bcd2bf17b58668dfcc3652762f3ef0e6677e76"}, - {file = "typed_ast-1.5.2-cp310-cp310-win_amd64.whl", hash = "sha256:18fe320f354d6f9ad3147859b6e16649a0781425268c4dde596093177660e71a"}, - {file = "typed_ast-1.5.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:31d8c6b2df19a777bc8826770b872a45a1f30cfefcfd729491baa5237faae837"}, - {file = "typed_ast-1.5.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:963a0ccc9a4188524e6e6d39b12c9ca24cc2d45a71cfdd04a26d883c922b4b78"}, - {file = "typed_ast-1.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0eb77764ea470f14fcbb89d51bc6bbf5e7623446ac4ed06cbd9ca9495b62e36e"}, - {file = "typed_ast-1.5.2-cp36-cp36m-win_amd64.whl", hash = "sha256:294a6903a4d087db805a7656989f613371915fc45c8cc0ddc5c5a0a8ad9bea4d"}, - {file = "typed_ast-1.5.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:26a432dc219c6b6f38be20a958cbe1abffcc5492821d7e27f08606ef99e0dffd"}, - {file = "typed_ast-1.5.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7407cfcad702f0b6c0e0f3e7ab876cd1d2c13b14ce770e412c0c4b9728a0f88"}, - {file = "typed_ast-1.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f30ddd110634c2d7534b2d4e0e22967e88366b0d356b24de87419cc4410c41b7"}, - {file = "typed_ast-1.5.2-cp37-cp37m-win_amd64.whl", hash = "sha256:8c08d6625bb258179b6e512f55ad20f9dfef019bbfbe3095247401e053a3ea30"}, - {file = "typed_ast-1.5.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:90904d889ab8e81a956f2c0935a523cc4e077c7847a836abee832f868d5c26a4"}, - {file = "typed_ast-1.5.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:bbebc31bf11762b63bf61aaae232becb41c5bf6b3461b80a4df7e791fabb3aca"}, - {file = "typed_ast-1.5.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c29dd9a3a9d259c9fa19d19738d021632d673f6ed9b35a739f48e5f807f264fb"}, - {file = "typed_ast-1.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:58ae097a325e9bb7a684572d20eb3e1809802c5c9ec7108e85da1eb6c1a3331b"}, - {file = "typed_ast-1.5.2-cp38-cp38-win_amd64.whl", hash = "sha256:da0a98d458010bf4fe535f2d1e367a2e2060e105978873c04c04212fb20543f7"}, - {file = "typed_ast-1.5.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:33b4a19ddc9fc551ebabca9765d54d04600c4a50eda13893dadf67ed81d9a098"}, - {file = "typed_ast-1.5.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1098df9a0592dd4c8c0ccfc2e98931278a6c6c53cb3a3e2cf7e9ee3b06153344"}, - {file = "typed_ast-1.5.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42c47c3b43fe3a39ddf8de1d40dbbfca60ac8530a36c9b198ea5b9efac75c09e"}, - {file = "typed_ast-1.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f290617f74a610849bd8f5514e34ae3d09eafd521dceaa6cf68b3f4414266d4e"}, - {file = "typed_ast-1.5.2-cp39-cp39-win_amd64.whl", hash = "sha256:df05aa5b241e2e8045f5f4367a9f6187b09c4cdf8578bb219861c4e27c443db5"}, - {file = "typed_ast-1.5.2.tar.gz", hash = "sha256:525a2d4088e70a9f75b08b3f87a51acc9cde640e19cc523c7e41aa355564ae27"}, -] - [[package]] name = "typing-extensions" version = "4.1.1" description = "Backported and Experimental Type Hints for Python 3.6+" -category = "main" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -2697,7 +2635,7 @@ files = [ name = "zipp" version = "3.8.0" description = "Backport of pathlib-compatible object wrapper for zip files" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -2711,5 +2649,5 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=6)", "pytest-black (>= [metadata] lock-version = "2.0" -python-versions = "^3.7" -content-hash = "4654d9710518065d2aee9319feedd5a0885e330394c50bbd03b908dd94a4300e" +python-versions = "^3.9" +content-hash = "7cee10f09926c881b5db0ddbcb757624c37b1bd35d970fb417aa5970abe07eb5" diff --git a/pyproject.toml b/pyproject.toml index 38312bd5..dd287c03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,6 @@ whitenoise = {extras = ["brotli"], version = "^5.2.0"} django-oauth-toolkit = "^1.3.3" jsonschema = "^3.2.0" django-reversion = "^4.0.0" -spdx-license-list = "^0.5.2" jsonpatch = "^1.28" django-reversion-compare = "^0.14.1" elasticsearch-dsl = ">=7.3.0,<7.4.0" diff --git a/toolhub/apps/toolinfo/generate_spdx.py b/toolhub/apps/toolinfo/generate_spdx.py new file mode 100644 index 00000000..0eb51322 --- /dev/null +++ b/toolhub/apps/toolinfo/generate_spdx.py @@ -0,0 +1,98 @@ +# Copyright (c) 2022 Wikimedia Foundation and contributors. +# All Rights Reserved. +# +# This file is part of Toolhub. +# +# Toolhub is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Toolhub is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Toolhub. If not, see . +import datetime +import pkg_resources +import pprint +import sys + +import requests + + +TEMPLATE = """\ +# Copyright (c) {year} Wikimedia Foundation and contributors. +# All Rights Reserved. +# +# This file is part of Toolhub. +# +# Toolhub is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Toolhub is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Toolhub. If not, see . + +SPDX_GIT_TAG = "{git_tag}" + +SPDX_LICENSES = {licenses} +""" + + +def get_latest_release_tag(): + """Get the latest release tag for spdx/license-list-data.""" + url = "https://api.github.com/repos/spdx/license-list-data/tags" + r = requests.get(url) + tags = r.json() + latest = "0" + for tag in tags: + if pkg_resources.parse_version( + tag["name"] + ) > pkg_resources.parse_version(latest): + latest = tag["name"] + return latest + + +def main(): + """Generate a module containing a dict of SPDX license data. + + Borrows heavily from Michael Pöhn's defunct spdx-license-list package + found at . + """ + git_tag = get_latest_release_tag() + url = "https://github.com/{project}/raw/{tag}/json/licenses.json".format( + project="spdx/license-list-data", tag=git_tag + ) + r = requests.get(url) + + licenses = {} + for entry in r.json()["licenses"]: + del entry["detailsUrl"] + del entry["reference"] + del entry["seeAlso"] + if "isOsiApproved" not in entry: + entry["isOsiApproved"] = False + if "isFsfLibre" not in entry: + entry["isFsfLibre"] = False + entry["referenceNumber"] = int(entry["referenceNumber"]) + licenses[entry["licenseId"]] = entry + + raw = TEMPLATE.format( + year=datetime.datetime.now().year, + git_tag=git_tag, + licenses=pprint.pformat(licenses), + ) + print(raw) + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/toolhub/apps/toolinfo/spdx.py b/toolhub/apps/toolinfo/spdx.py new file mode 100644 index 00000000..ee3c6460 --- /dev/null +++ b/toolhub/apps/toolinfo/spdx.py @@ -0,0 +1,4055 @@ +# Copyright (c) 2022 Wikimedia Foundation and contributors. +# All Rights Reserved. +# +# This file is part of Toolhub. +# +# Toolhub is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Toolhub is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Toolhub. If not, see . + +SPDX_GIT_TAG = "v3.19" + +SPDX_LICENSES = { + "0BSD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "0BSD", + "name": "BSD Zero Clause License", + "referenceNumber": 280, + }, + "AAL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "AAL", + "name": "Attribution Assurance License", + "referenceNumber": 340, + }, + "ADSL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ADSL", + "name": "Amazon Digital Services License", + "referenceNumber": 173, + }, + "AFL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AFL-1.1", + "name": "Academic Free License v1.1", + "referenceNumber": 245, + }, + "AFL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AFL-1.2", + "name": "Academic Free License v1.2", + "referenceNumber": 447, + }, + "AFL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AFL-2.0", + "name": "Academic Free License v2.0", + "referenceNumber": 476, + }, + "AFL-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AFL-2.1", + "name": "Academic Free License v2.1", + "referenceNumber": 358, + }, + "AFL-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AFL-3.0", + "name": "Academic Free License v3.0", + "referenceNumber": 444, + }, + "AGPL-1.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "AGPL-1.0", + "name": "Affero General Public License v1.0", + "referenceNumber": 78, + }, + "AGPL-1.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "AGPL-1.0-only", + "name": "Affero General Public License v1.0 only", + "referenceNumber": 350, + }, + "AGPL-1.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "AGPL-1.0-or-later", + "name": "Affero General Public License v1.0 or later", + "referenceNumber": 360, + }, + "AGPL-3.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AGPL-3.0", + "name": "GNU Affero General Public License v3.0", + "referenceNumber": 180, + }, + "AGPL-3.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AGPL-3.0-only", + "name": "GNU Affero General Public License v3.0 only", + "referenceNumber": 404, + }, + "AGPL-3.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "AGPL-3.0-or-later", + "name": "GNU Affero General Public License v3.0 or " "later", + "referenceNumber": 306, + }, + "AMDPLPA": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "AMDPLPA", + "name": "AMD's plpa_map.c License", + "referenceNumber": 74, + }, + "AML": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "AML", + "name": "Apple MIT License", + "referenceNumber": 204, + }, + "AMPAS": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "AMPAS", + "name": "Academy of Motion Picture Arts and Sciences BSD", + "referenceNumber": 250, + }, + "ANTLR-PD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ANTLR-PD", + "name": "ANTLR Software Rights Notice", + "referenceNumber": 326, + }, + "ANTLR-PD-fallback": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ANTLR-PD-fallback", + "name": "ANTLR Software Rights Notice with license " "fallback", + "referenceNumber": 72, + }, + "APAFML": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "APAFML", + "name": "Adobe Postscript AFM License", + "referenceNumber": 4, + }, + "APL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "APL-1.0", + "name": "Adaptive Public License 1.0", + "referenceNumber": 483, + }, + "APSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "APSL-1.0", + "name": "Apple Public Source License 1.0", + "referenceNumber": 244, + }, + "APSL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "APSL-1.1", + "name": "Apple Public Source License 1.1", + "referenceNumber": 425, + }, + "APSL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "APSL-1.2", + "name": "Apple Public Source License 1.2", + "referenceNumber": 209, + }, + "APSL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "APSL-2.0", + "name": "Apple Public Source License 2.0", + "referenceNumber": 451, + }, + "Abstyles": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Abstyles", + "name": "Abstyles License", + "referenceNumber": 418, + }, + "Adobe-2006": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Adobe-2006", + "name": "Adobe Systems Incorporated Source Code License " "Agreement", + "referenceNumber": 243, + }, + "Adobe-Glyph": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Adobe-Glyph", + "name": "Adobe Glyph List License", + "referenceNumber": 246, + }, + "Afmparse": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Afmparse", + "name": "Afmparse License", + "referenceNumber": 310, + }, + "Aladdin": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Aladdin", + "name": "Aladdin Free Public License", + "referenceNumber": 80, + }, + "Apache-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Apache-1.0", + "name": "Apache License 1.0", + "referenceNumber": 238, + }, + "Apache-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Apache-1.1", + "name": "Apache License 1.1", + "referenceNumber": 202, + }, + "Apache-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Apache-2.0", + "name": "Apache License 2.0", + "referenceNumber": 347, + }, + "App-s2p": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "App-s2p", + "name": "App::s2p License", + "referenceNumber": 334, + }, + "Arphic-1999": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Arphic-1999", + "name": "Arphic Public License", + "referenceNumber": 149, + }, + "Artistic-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Artistic-1.0", + "name": "Artistic License 1.0", + "referenceNumber": 213, + }, + "Artistic-1.0-Perl": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Artistic-1.0-Perl", + "name": "Artistic License 1.0 (Perl)", + "referenceNumber": 459, + }, + "Artistic-1.0-cl8": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Artistic-1.0-cl8", + "name": "Artistic License 1.0 w/clause 8", + "referenceNumber": 227, + }, + "Artistic-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Artistic-2.0", + "name": "Artistic License 2.0", + "referenceNumber": 452, + }, + "BSD-1-Clause": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "BSD-1-Clause", + "name": "BSD 1-Clause License", + "referenceNumber": 186, + }, + "BSD-2-Clause": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "BSD-2-Clause", + "name": 'BSD 2-Clause "Simplified" License', + "referenceNumber": 408, + }, + "BSD-2-Clause-FreeBSD": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "BSD-2-Clause-FreeBSD", + "name": "BSD 2-Clause FreeBSD License", + "referenceNumber": 82, + }, + "BSD-2-Clause-NetBSD": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "BSD-2-Clause-NetBSD", + "name": "BSD 2-Clause NetBSD License", + "referenceNumber": 464, + }, + "BSD-2-Clause-Patent": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "BSD-2-Clause-Patent", + "name": "BSD-2-Clause Plus Patent License", + "referenceNumber": 236, + }, + "BSD-2-Clause-Views": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-2-Clause-Views", + "name": "BSD 2-Clause with views sentence", + "referenceNumber": 184, + }, + "BSD-3-Clause": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "BSD-3-Clause", + "name": 'BSD 3-Clause "New" or "Revised" License', + "referenceNumber": 303, + }, + "BSD-3-Clause-Attribution": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-Attribution", + "name": "BSD with attribution", + "referenceNumber": 111, + }, + "BSD-3-Clause-Clear": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-Clear", + "name": "BSD 3-Clause Clear License", + "referenceNumber": 490, + }, + "BSD-3-Clause-LBNL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "BSD-3-Clause-LBNL", + "name": "Lawrence Berkeley National Labs BSD variant " "license", + "referenceNumber": 489, + }, + "BSD-3-Clause-Modification": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-Modification", + "name": "BSD 3-Clause Modification", + "referenceNumber": 88, + }, + "BSD-3-Clause-No-Military-License": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-No-Military-License", + "name": "BSD 3-Clause No Military " "License", + "referenceNumber": 270, + }, + "BSD-3-Clause-No-Nuclear-License": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-No-Nuclear-License", + "name": "BSD 3-Clause No Nuclear License", + "referenceNumber": 466, + }, + "BSD-3-Clause-No-Nuclear-License-2014": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-No-Nuclear-License-2014", + "name": "BSD 3-Clause No Nuclear " "License 2014", + "referenceNumber": 256, + }, + "BSD-3-Clause-No-Nuclear-Warranty": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-No-Nuclear-Warranty", + "name": "BSD 3-Clause No Nuclear " "Warranty", + "referenceNumber": 472, + }, + "BSD-3-Clause-Open-MPI": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-3-Clause-Open-MPI", + "name": "BSD 3-Clause Open MPI variant", + "referenceNumber": 435, + }, + "BSD-4-Clause": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "BSD-4-Clause", + "name": 'BSD 4-Clause "Original" or "Old" License', + "referenceNumber": 498, + }, + "BSD-4-Clause-Shortened": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-4-Clause-Shortened", + "name": "BSD 4 Clause Shortened", + "referenceNumber": 190, + }, + "BSD-4-Clause-UC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-4-Clause-UC", + "name": "BSD-4-Clause (University of California-Specific)", + "referenceNumber": 344, + }, + "BSD-Protection": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-Protection", + "name": "BSD Protection License", + "referenceNumber": 364, + }, + "BSD-Source-Code": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BSD-Source-Code", + "name": "BSD Source Code Attribution", + "referenceNumber": 266, + }, + "BSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "BSL-1.0", + "name": "Boost Software License 1.0", + "referenceNumber": 203, + }, + "BUSL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BUSL-1.1", + "name": "Business Source License 1.1", + "referenceNumber": 165, + }, + "Baekmuk": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Baekmuk", + "name": "Baekmuk License", + "referenceNumber": 81, + }, + "Bahyph": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Bahyph", + "name": "Bahyph License", + "referenceNumber": 417, + }, + "Barr": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Barr", + "name": "Barr License", + "referenceNumber": 156, + }, + "Beerware": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Beerware", + "name": "Beerware License", + "referenceNumber": 76, + }, + "BitTorrent-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BitTorrent-1.0", + "name": "BitTorrent Open Source License v1.0", + "referenceNumber": 442, + }, + "BitTorrent-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "BitTorrent-1.1", + "name": "BitTorrent Open Source License v1.1", + "referenceNumber": 393, + }, + "Bitstream-Vera": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Bitstream-Vera", + "name": "Bitstream Vera Font License", + "referenceNumber": 31, + }, + "BlueOak-1.0.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "BlueOak-1.0.0", + "name": "Blue Oak Model License 1.0.0", + "referenceNumber": 485, + }, + "Borceux": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Borceux", + "name": "Borceux license", + "referenceNumber": 130, + }, + "C-UDA-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "C-UDA-1.0", + "name": "Computational Use of Data Agreement v1.0", + "referenceNumber": 212, + }, + "CAL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CAL-1.0", + "name": "Cryptographic Autonomy License 1.0", + "referenceNumber": 499, + }, + "CAL-1.0-Combined-Work-Exception": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CAL-1.0-Combined-Work-Exception", + "name": "Cryptographic Autonomy License " + "1.0 (Combined Work Exception)", + "referenceNumber": 429, + }, + "CATOSL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CATOSL-1.1", + "name": "Computer Associates Trusted Open Source License 1.1", + "referenceNumber": 122, + }, + "CC-BY-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-1.0", + "name": "Creative Commons Attribution 1.0 Generic", + "referenceNumber": 21, + }, + "CC-BY-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-2.0", + "name": "Creative Commons Attribution 2.0 Generic", + "referenceNumber": 383, + }, + "CC-BY-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-2.5", + "name": "Creative Commons Attribution 2.5 Generic", + "referenceNumber": 372, + }, + "CC-BY-2.5-AU": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-2.5-AU", + "name": "Creative Commons Attribution 2.5 Australia", + "referenceNumber": 49, + }, + "CC-BY-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-3.0", + "name": "Creative Commons Attribution 3.0 Unported", + "referenceNumber": 394, + }, + "CC-BY-3.0-AT": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-3.0-AT", + "name": "Creative Commons Attribution 3.0 Austria", + "referenceNumber": 147, + }, + "CC-BY-3.0-DE": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-3.0-DE", + "name": "Creative Commons Attribution 3.0 Germany", + "referenceNumber": 426, + }, + "CC-BY-3.0-IGO": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-3.0-IGO", + "name": "Creative Commons Attribution 3.0 IGO", + "referenceNumber": 70, + }, + "CC-BY-3.0-NL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-3.0-NL", + "name": "Creative Commons Attribution 3.0 Netherlands", + "referenceNumber": 313, + }, + "CC-BY-3.0-US": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-3.0-US", + "name": "Creative Commons Attribution 3.0 United States", + "referenceNumber": 42, + }, + "CC-BY-4.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "CC-BY-4.0", + "name": "Creative Commons Attribution 4.0 International", + "referenceNumber": 309, + }, + "CC-BY-NC-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-1.0", + "name": "Creative Commons Attribution Non Commercial 1.0 " "Generic", + "referenceNumber": 56, + }, + "CC-BY-NC-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-2.0", + "name": "Creative Commons Attribution Non Commercial 2.0 " "Generic", + "referenceNumber": 355, + }, + "CC-BY-NC-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-2.5", + "name": "Creative Commons Attribution Non Commercial 2.5 " "Generic", + "referenceNumber": 127, + }, + "CC-BY-NC-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-3.0", + "name": "Creative Commons Attribution Non Commercial 3.0 " "Unported", + "referenceNumber": 491, + }, + "CC-BY-NC-3.0-DE": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-3.0-DE", + "name": "Creative Commons Attribution Non Commercial 3.0 " "Germany", + "referenceNumber": 172, + }, + "CC-BY-NC-4.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-4.0", + "name": "Creative Commons Attribution Non Commercial 4.0 " + "International", + "referenceNumber": 443, + }, + "CC-BY-NC-ND-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-1.0", + "name": "Creative Commons Attribution Non Commercial No " + "Derivatives 1.0 Generic", + "referenceNumber": 201, + }, + "CC-BY-NC-ND-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-2.0", + "name": "Creative Commons Attribution Non Commercial No " + "Derivatives 2.0 Generic", + "referenceNumber": 456, + }, + "CC-BY-NC-ND-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-2.5", + "name": "Creative Commons Attribution Non Commercial No " + "Derivatives 2.5 Generic", + "referenceNumber": 225, + }, + "CC-BY-NC-ND-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-3.0", + "name": "Creative Commons Attribution Non Commercial No " + "Derivatives 3.0 Unported", + "referenceNumber": 28, + }, + "CC-BY-NC-ND-3.0-DE": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-3.0-DE", + "name": "Creative Commons Attribution Non Commercial " + "No Derivatives 3.0 Germany", + "referenceNumber": 415, + }, + "CC-BY-NC-ND-3.0-IGO": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-3.0-IGO", + "name": "Creative Commons Attribution Non Commercial " + "No Derivatives 3.0 IGO", + "referenceNumber": 216, + }, + "CC-BY-NC-ND-4.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-ND-4.0", + "name": "Creative Commons Attribution Non Commercial No " + "Derivatives 4.0 International", + "referenceNumber": 369, + }, + "CC-BY-NC-SA-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-1.0", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 1.0 Generic", + "referenceNumber": 33, + }, + "CC-BY-NC-SA-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-2.0", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 2.0 Generic", + "referenceNumber": 110, + }, + "CC-BY-NC-SA-2.0-FR": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-2.0-FR", + "name": "Creative Commons " + "Attribution-NonCommercial-ShareAlike 2.0 " + "France", + "referenceNumber": 382, + }, + "CC-BY-NC-SA-2.0-UK": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-2.0-UK", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 2.0 England and Wales", + "referenceNumber": 311, + }, + "CC-BY-NC-SA-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-2.5", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 2.5 Generic", + "referenceNumber": 354, + }, + "CC-BY-NC-SA-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-3.0", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 3.0 Unported", + "referenceNumber": 45, + }, + "CC-BY-NC-SA-3.0-DE": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-3.0-DE", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 3.0 Germany", + "referenceNumber": 282, + }, + "CC-BY-NC-SA-3.0-IGO": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-3.0-IGO", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 3.0 IGO", + "referenceNumber": 337, + }, + "CC-BY-NC-SA-4.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-NC-SA-4.0", + "name": "Creative Commons Attribution Non Commercial " + "Share Alike 4.0 International", + "referenceNumber": 254, + }, + "CC-BY-ND-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-ND-1.0", + "name": "Creative Commons Attribution No Derivatives 1.0 " "Generic", + "referenceNumber": 219, + }, + "CC-BY-ND-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-ND-2.0", + "name": "Creative Commons Attribution No Derivatives 2.0 " "Generic", + "referenceNumber": 187, + }, + "CC-BY-ND-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-ND-2.5", + "name": "Creative Commons Attribution No Derivatives 2.5 " "Generic", + "referenceNumber": 100, + }, + "CC-BY-ND-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-ND-3.0", + "name": "Creative Commons Attribution No Derivatives 3.0 " "Unported", + "referenceNumber": 330, + }, + "CC-BY-ND-3.0-DE": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-ND-3.0-DE", + "name": "Creative Commons Attribution No Derivatives 3.0 " "Germany", + "referenceNumber": 121, + }, + "CC-BY-ND-4.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-ND-4.0", + "name": "Creative Commons Attribution No Derivatives 4.0 " + "International", + "referenceNumber": 467, + }, + "CC-BY-SA-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-1.0", + "name": "Creative Commons Attribution Share Alike 1.0 " "Generic", + "referenceNumber": 160, + }, + "CC-BY-SA-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-2.0", + "name": "Creative Commons Attribution Share Alike 2.0 " "Generic", + "referenceNumber": 305, + }, + "CC-BY-SA-2.0-UK": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-2.0-UK", + "name": "Creative Commons Attribution Share Alike 2.0 " + "England and Wales", + "referenceNumber": 285, + }, + "CC-BY-SA-2.1-JP": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-2.1-JP", + "name": "Creative Commons Attribution Share Alike 2.1 " "Japan", + "referenceNumber": 362, + }, + "CC-BY-SA-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-2.5", + "name": "Creative Commons Attribution Share Alike 2.5 " "Generic", + "referenceNumber": 241, + }, + "CC-BY-SA-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-3.0", + "name": "Creative Commons Attribution Share Alike 3.0 " "Unported", + "referenceNumber": 385, + }, + "CC-BY-SA-3.0-AT": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-3.0-AT", + "name": "Creative Commons Attribution Share Alike 3.0 " "Austria", + "referenceNumber": 153, + }, + "CC-BY-SA-3.0-DE": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-3.0-DE", + "name": "Creative Commons Attribution Share Alike 3.0 " "Germany", + "referenceNumber": 349, + }, + "CC-BY-SA-4.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "CC-BY-SA-4.0", + "name": "Creative Commons Attribution Share Alike 4.0 " + "International", + "referenceNumber": 307, + }, + "CC-PDDC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CC-PDDC", + "name": "Creative Commons Public Domain Dedication and " + "Certification", + "referenceNumber": 129, + }, + "CC0-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "CC0-1.0", + "name": "Creative Commons Zero v1.0 Universal", + "referenceNumber": 191, + }, + "CDDL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "CDDL-1.0", + "name": "Common Development and Distribution License 1.0", + "referenceNumber": 359, + }, + "CDDL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CDDL-1.1", + "name": "Common Development and Distribution License 1.1", + "referenceNumber": 351, + }, + "CDL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CDL-1.0", + "name": "Common Documentation License 1.0", + "referenceNumber": 269, + }, + "CDLA-Permissive-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CDLA-Permissive-1.0", + "name": "Community Data License Agreement Permissive " "1.0", + "referenceNumber": 154, + }, + "CDLA-Permissive-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CDLA-Permissive-2.0", + "name": "Community Data License Agreement Permissive " "2.0", + "referenceNumber": 109, + }, + "CDLA-Sharing-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CDLA-Sharing-1.0", + "name": "Community Data License Agreement Sharing 1.0", + "referenceNumber": 343, + }, + "CECILL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CECILL-1.0", + "name": "CeCILL Free Software License Agreement v1.0", + "referenceNumber": 10, + }, + "CECILL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CECILL-1.1", + "name": "CeCILL Free Software License Agreement v1.1", + "referenceNumber": 38, + }, + "CECILL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "CECILL-2.0", + "name": "CeCILL Free Software License Agreement v2.0", + "referenceNumber": 144, + }, + "CECILL-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CECILL-2.1", + "name": "CeCILL Free Software License Agreement v2.1", + "referenceNumber": 423, + }, + "CECILL-B": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "CECILL-B", + "name": "CeCILL-B Free Software License Agreement", + "referenceNumber": 249, + }, + "CECILL-C": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "CECILL-C", + "name": "CeCILL-C Free Software License Agreement", + "referenceNumber": 117, + }, + "CERN-OHL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CERN-OHL-1.1", + "name": "CERN Open Hardware Licence v1.1", + "referenceNumber": 302, + }, + "CERN-OHL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CERN-OHL-1.2", + "name": "CERN Open Hardware Licence v1.2", + "referenceNumber": 92, + }, + "CERN-OHL-P-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CERN-OHL-P-2.0", + "name": "CERN Open Hardware Licence Version 2 - Permissive", + "referenceNumber": 136, + }, + "CERN-OHL-S-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CERN-OHL-S-2.0", + "name": "CERN Open Hardware Licence Version 2 - Strongly " + "Reciprocal", + "referenceNumber": 342, + }, + "CERN-OHL-W-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CERN-OHL-W-2.0", + "name": "CERN Open Hardware Licence Version 2 - Weakly " "Reciprocal", + "referenceNumber": 91, + }, + "CNRI-Jython": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CNRI-Jython", + "name": "CNRI Jython License", + "referenceNumber": 234, + }, + "CNRI-Python": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CNRI-Python", + "name": "CNRI Python License", + "referenceNumber": 346, + }, + "CNRI-Python-GPL-Compatible": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CNRI-Python-GPL-Compatible", + "name": "CNRI Python Open Source GPL " "Compatible License Agreement", + "referenceNumber": 263, + }, + "COIL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "COIL-1.0", + "name": "Copyfree Open Innovation License", + "referenceNumber": 492, + }, + "CPAL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "CPAL-1.0", + "name": "Common Public Attribution License 1.0", + "referenceNumber": 159, + }, + "CPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "CPL-1.0", + "name": "Common Public License 1.0", + "referenceNumber": 432, + }, + "CPOL-1.02": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CPOL-1.02", + "name": "Code Project Open License 1.02", + "referenceNumber": 406, + }, + "CUA-OPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "CUA-OPL-1.0", + "name": "CUA Office Public License v1.0", + "referenceNumber": 341, + }, + "Caldera": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Caldera", + "name": "Caldera License", + "referenceNumber": 123, + }, + "ClArtistic": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "ClArtistic", + "name": "Clarified Artistic License", + "referenceNumber": 390, + }, + "Community-Spec-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Community-Spec-1.0", + "name": "Community Specification License 1.0", + "referenceNumber": 107, + }, + "Condor-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Condor-1.1", + "name": "Condor Public License v1.1", + "referenceNumber": 237, + }, + "Crossword": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Crossword", + "name": "Crossword License", + "referenceNumber": 268, + }, + "CrystalStacker": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "CrystalStacker", + "name": "CrystalStacker License", + "referenceNumber": 169, + }, + "Cube": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Cube", + "name": "Cube License", + "referenceNumber": 135, + }, + "D-FSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "D-FSL-1.0", + "name": "Deutsche Freie Software Lizenz", + "referenceNumber": 8, + }, + "DL-DE-BY-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "DL-DE-BY-2.0", + "name": "Data licence Germany – attribution – version 2.0", + "referenceNumber": 365, + }, + "DOC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "DOC", + "name": "DOC License", + "referenceNumber": 1, + }, + "DRL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "DRL-1.0", + "name": "Detection Rule License 1.0", + "referenceNumber": 345, + }, + "DSDP": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "DSDP", + "name": "DSDP License", + "referenceNumber": 25, + }, + "Dotseqn": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Dotseqn", + "name": "Dotseqn License", + "referenceNumber": 20, + }, + "ECL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "ECL-1.0", + "name": "Educational Community License v1.0", + "referenceNumber": 375, + }, + "ECL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "ECL-2.0", + "name": "Educational Community License v2.0", + "referenceNumber": 133, + }, + "EFL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "EFL-1.0", + "name": "Eiffel Forum License v1.0", + "referenceNumber": 189, + }, + "EFL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "EFL-2.0", + "name": "Eiffel Forum License v2.0", + "referenceNumber": 416, + }, + "EPICS": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "EPICS", + "name": "EPICS Open License", + "referenceNumber": 271, + }, + "EPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "EPL-1.0", + "name": "Eclipse Public License 1.0", + "referenceNumber": 207, + }, + "EPL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "EPL-2.0", + "name": "Eclipse Public License 2.0", + "referenceNumber": 434, + }, + "EUDatagrid": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "EUDatagrid", + "name": "EU DataGrid Software License", + "referenceNumber": 419, + }, + "EUPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "EUPL-1.0", + "name": "European Union Public License 1.0", + "referenceNumber": 232, + }, + "EUPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "EUPL-1.1", + "name": "European Union Public License 1.1", + "referenceNumber": 410, + }, + "EUPL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "EUPL-1.2", + "name": "European Union Public License 1.2", + "referenceNumber": 286, + }, + "Elastic-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Elastic-2.0", + "name": "Elastic License 2.0", + "referenceNumber": 193, + }, + "Entessa": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Entessa", + "name": "Entessa Public License v1.0", + "referenceNumber": 468, + }, + "ErlPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ErlPL-1.1", + "name": "Erlang Public License v1.1", + "referenceNumber": 41, + }, + "Eurosym": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Eurosym", + "name": "Eurosym License", + "referenceNumber": 79, + }, + "FDK-AAC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "FDK-AAC", + "name": "Fraunhofer FDK AAC Codec Library", + "referenceNumber": 296, + }, + "FSFAP": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "FSFAP", + "name": "FSF All Permissive License", + "referenceNumber": 368, + }, + "FSFUL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "FSFUL", + "name": "FSF Unlimited License", + "referenceNumber": 327, + }, + "FSFULLR": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "FSFULLR", + "name": "FSF Unlimited License (with License Retention)", + "referenceNumber": 242, + }, + "FSFULLRWD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "FSFULLRWD", + "name": "FSF Unlimited License (With License Retention and " + "Warranty Disclaimer)", + "referenceNumber": 448, + }, + "FTL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "FTL", + "name": "Freetype Project License", + "referenceNumber": 199, + }, + "Fair": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Fair", + "name": "Fair License", + "referenceNumber": 125, + }, + "Frameworx-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Frameworx-1.0", + "name": "Frameworx Open License 1.0", + "referenceNumber": 315, + }, + "FreeBSD-DOC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "FreeBSD-DOC", + "name": "FreeBSD Documentation License", + "referenceNumber": 228, + }, + "FreeImage": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "FreeImage", + "name": "FreeImage Public License v1.0", + "referenceNumber": 377, + }, + "GD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GD", + "name": "GD License", + "referenceNumber": 150, + }, + "GFDL-1.1": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.1", + "name": "GNU Free Documentation License v1.1", + "referenceNumber": 438, + }, + "GFDL-1.1-invariants-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.1-invariants-only", + "name": "GNU Free Documentation License v1.1 " "only - invariants", + "referenceNumber": 58, + }, + "GFDL-1.1-invariants-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.1-invariants-or-later", + "name": "GNU Free Documentation License v1.1 " "or later - invariants", + "referenceNumber": 284, + }, + "GFDL-1.1-no-invariants-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.1-no-invariants-only", + "name": "GNU Free Documentation License v1.1 " "only - no invariants", + "referenceNumber": 34, + }, + "GFDL-1.1-no-invariants-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.1-no-invariants-or-later", + "name": "GNU Free Documentation License " + "v1.1 or later - no invariants", + "referenceNumber": 9, + }, + "GFDL-1.1-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.1-only", + "name": "GNU Free Documentation License v1.1 only", + "referenceNumber": 2, + }, + "GFDL-1.1-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.1-or-later", + "name": "GNU Free Documentation License v1.1 or later", + "referenceNumber": 96, + }, + "GFDL-1.2": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.2", + "name": "GNU Free Documentation License v1.2", + "referenceNumber": 328, + }, + "GFDL-1.2-invariants-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.2-invariants-only", + "name": "GNU Free Documentation License v1.2 " "only - invariants", + "referenceNumber": 463, + }, + "GFDL-1.2-invariants-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.2-invariants-or-later", + "name": "GNU Free Documentation License v1.2 " "or later - invariants", + "referenceNumber": 381, + }, + "GFDL-1.2-no-invariants-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.2-no-invariants-only", + "name": "GNU Free Documentation License v1.2 " "only - no invariants", + "referenceNumber": 361, + }, + "GFDL-1.2-no-invariants-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.2-no-invariants-or-later", + "name": "GNU Free Documentation License " + "v1.2 or later - no invariants", + "referenceNumber": 387, + }, + "GFDL-1.2-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.2-only", + "name": "GNU Free Documentation License v1.2 only", + "referenceNumber": 379, + }, + "GFDL-1.2-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.2-or-later", + "name": "GNU Free Documentation License v1.2 or later", + "referenceNumber": 332, + }, + "GFDL-1.3": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.3", + "name": "GNU Free Documentation License v1.3", + "referenceNumber": 90, + }, + "GFDL-1.3-invariants-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.3-invariants-only", + "name": "GNU Free Documentation License v1.3 " "only - invariants", + "referenceNumber": 206, + }, + "GFDL-1.3-invariants-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.3-invariants-or-later", + "name": "GNU Free Documentation License v1.3 " "or later - invariants", + "referenceNumber": 97, + }, + "GFDL-1.3-no-invariants-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.3-no-invariants-only", + "name": "GNU Free Documentation License v1.3 " "only - no invariants", + "referenceNumber": 176, + }, + "GFDL-1.3-no-invariants-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GFDL-1.3-no-invariants-or-later", + "name": "GNU Free Documentation License " + "v1.3 or later - no invariants", + "referenceNumber": 420, + }, + "GFDL-1.3-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.3-only", + "name": "GNU Free Documentation License v1.3 only", + "referenceNumber": 214, + }, + "GFDL-1.3-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "GFDL-1.3-or-later", + "name": "GNU Free Documentation License v1.3 or later", + "referenceNumber": 486, + }, + "GL2PS": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GL2PS", + "name": "GL2PS License", + "referenceNumber": 297, + }, + "GLWTPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GLWTPL", + "name": "Good Luck With That Public License", + "referenceNumber": 396, + }, + "GPL-1.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-1.0", + "name": "GNU General Public License v1.0 only", + "referenceNumber": 402, + }, + "GPL-1.0+": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-1.0+", + "name": "GNU General Public License v1.0 or later", + "referenceNumber": 430, + }, + "GPL-1.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-1.0-only", + "name": "GNU General Public License v1.0 only", + "referenceNumber": 299, + }, + "GPL-1.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-1.0-or-later", + "name": "GNU General Public License v1.0 or later", + "referenceNumber": 275, + }, + "GPL-2.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-2.0", + "name": "GNU General Public License v2.0 only", + "referenceNumber": 283, + }, + "GPL-2.0+": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-2.0+", + "name": "GNU General Public License v2.0 or later", + "referenceNumber": 166, + }, + "GPL-2.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-2.0-only", + "name": "GNU General Public License v2.0 only", + "referenceNumber": 318, + }, + "GPL-2.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-2.0-or-later", + "name": "GNU General Public License v2.0 or later", + "referenceNumber": 392, + }, + "GPL-2.0-with-GCC-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-2.0-with-GCC-exception", + "name": "GNU General Public License v2.0 w/GCC " + "Runtime Library exception", + "referenceNumber": 473, + }, + "GPL-2.0-with-autoconf-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-2.0-with-autoconf-exception", + "name": "GNU General Public License v2.0 " "w/Autoconf exception", + "referenceNumber": 183, + }, + "GPL-2.0-with-bison-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-2.0-with-bison-exception", + "name": "GNU General Public License v2.0 " "w/Bison exception", + "referenceNumber": 316, + }, + "GPL-2.0-with-classpath-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-2.0-with-classpath-exception", + "name": "GNU General Public License v2.0 " "w/Classpath exception", + "referenceNumber": 295, + }, + "GPL-2.0-with-font-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-2.0-with-font-exception", + "name": "GNU General Public License v2.0 " "w/Font exception", + "referenceNumber": 226, + }, + "GPL-3.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-3.0", + "name": "GNU General Public License v3.0 only", + "referenceNumber": 458, + }, + "GPL-3.0+": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-3.0+", + "name": "GNU General Public License v3.0 or later", + "referenceNumber": 376, + }, + "GPL-3.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-3.0-only", + "name": "GNU General Public License v3.0 only", + "referenceNumber": 16, + }, + "GPL-3.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "GPL-3.0-or-later", + "name": "GNU General Public License v3.0 or later", + "referenceNumber": 321, + }, + "GPL-3.0-with-GCC-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "GPL-3.0-with-GCC-exception", + "name": "GNU General Public License v3.0 w/GCC " + "Runtime Library exception", + "referenceNumber": 319, + }, + "GPL-3.0-with-autoconf-exception": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "GPL-3.0-with-autoconf-exception", + "name": "GNU General Public License v3.0 " "w/Autoconf exception", + "referenceNumber": 357, + }, + "Giftware": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Giftware", + "name": "Giftware License", + "referenceNumber": 336, + }, + "Glide": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Glide", + "name": "3dfx Glide License", + "referenceNumber": 146, + }, + "Glulxe": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Glulxe", + "name": "Glulxe License", + "referenceNumber": 14, + }, + "HPND": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "HPND", + "name": "Historical Permission Notice and Disclaimer", + "referenceNumber": 163, + }, + "HPND-sell-variant": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "HPND-sell-variant", + "name": "Historical Permission Notice and Disclaimer - " + "sell variant", + "referenceNumber": 143, + }, + "HTMLTIDY": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "HTMLTIDY", + "name": "HTML Tidy License", + "referenceNumber": 427, + }, + "HaskellReport": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "HaskellReport", + "name": "Haskell Language Report License", + "referenceNumber": 437, + }, + "Hippocratic-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Hippocratic-2.1", + "name": "Hippocratic License 2.1", + "referenceNumber": 53, + }, + "IBM-pibs": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "IBM-pibs", + "name": "IBM PowerPC Initialization and Boot Software", + "referenceNumber": 119, + }, + "ICU": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ICU", + "name": "ICU License", + "referenceNumber": 374, + }, + "IJG": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "IJG", + "name": "Independent JPEG Group License", + "referenceNumber": 211, + }, + "IPA": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "IPA", + "name": "IPA Font License", + "referenceNumber": 177, + }, + "IPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "IPL-1.0", + "name": "IBM Public License v1.0", + "referenceNumber": 480, + }, + "ISC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "ISC", + "name": "ISC License", + "referenceNumber": 323, + }, + "ImageMagick": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ImageMagick", + "name": "ImageMagick License", + "referenceNumber": 407, + }, + "Imlib2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Imlib2", + "name": "Imlib2 License", + "referenceNumber": 167, + }, + "Info-ZIP": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Info-ZIP", + "name": "Info-ZIP License", + "referenceNumber": 132, + }, + "Intel": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Intel", + "name": "Intel Open Source License", + "referenceNumber": 395, + }, + "Intel-ACPI": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Intel-ACPI", + "name": "Intel ACPI Software License Agreement", + "referenceNumber": 87, + }, + "Interbase-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Interbase-1.0", + "name": "Interbase Public License v1.0", + "referenceNumber": 494, + }, + "JPNIC": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "JPNIC", + "name": "Japan Network Information Center License", + "referenceNumber": 488, + }, + "JSON": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "JSON", + "name": "JSON License", + "referenceNumber": 152, + }, + "Jam": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Jam", + "name": "Jam License", + "referenceNumber": 71, + }, + "JasPer-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "JasPer-2.0", + "name": "JasPer License", + "referenceNumber": 43, + }, + "Knuth-CTAN": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Knuth-CTAN", + "name": "Knuth CTAN License", + "referenceNumber": 450, + }, + "LAL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LAL-1.2", + "name": "Licence Art Libre 1.2", + "referenceNumber": 208, + }, + "LAL-1.3": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LAL-1.3", + "name": "Licence Art Libre 1.3", + "referenceNumber": 30, + }, + "LGPL-2.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LGPL-2.0", + "name": "GNU Library General Public License v2 only", + "referenceNumber": 320, + }, + "LGPL-2.0+": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LGPL-2.0+", + "name": "GNU Library General Public License v2 or later", + "referenceNumber": 188, + }, + "LGPL-2.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LGPL-2.0-only", + "name": "GNU Library General Public License v2 only", + "referenceNumber": 57, + }, + "LGPL-2.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LGPL-2.0-or-later", + "name": "GNU Library General Public License v2 or later", + "referenceNumber": 287, + }, + "LGPL-2.1": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-2.1", + "name": "GNU Lesser General Public License v2.1 only", + "referenceNumber": 496, + }, + "LGPL-2.1+": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-2.1+", + "name": "GNU Library General Public License v2.1 or later", + "referenceNumber": 411, + }, + "LGPL-2.1-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-2.1-only", + "name": "GNU Lesser General Public License v2.1 only", + "referenceNumber": 371, + }, + "LGPL-2.1-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-2.1-or-later", + "name": "GNU Lesser General Public License v2.1 or " "later", + "referenceNumber": 139, + }, + "LGPL-3.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-3.0", + "name": "GNU Lesser General Public License v3.0 only", + "referenceNumber": 247, + }, + "LGPL-3.0+": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-3.0+", + "name": "GNU Lesser General Public License v3.0 or later", + "referenceNumber": 258, + }, + "LGPL-3.0-only": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-3.0-only", + "name": "GNU Lesser General Public License v3.0 only", + "referenceNumber": 65, + }, + "LGPL-3.0-or-later": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LGPL-3.0-or-later", + "name": "GNU Lesser General Public License v3.0 or " "later", + "referenceNumber": 195, + }, + "LGPLLR": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LGPLLR", + "name": "Lesser General Public License For Linguistic Resources", + "referenceNumber": 224, + }, + "LPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LPL-1.0", + "name": "Lucent Public License Version 1.0", + "referenceNumber": 292, + }, + "LPL-1.02": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "LPL-1.02", + "name": "Lucent Public License v1.02", + "referenceNumber": 0, + }, + "LPPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LPPL-1.0", + "name": "LaTeX Project Public License v1.0", + "referenceNumber": 462, + }, + "LPPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LPPL-1.1", + "name": "LaTeX Project Public License v1.1", + "referenceNumber": 239, + }, + "LPPL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "LPPL-1.2", + "name": "LaTeX Project Public License v1.2", + "referenceNumber": 424, + }, + "LPPL-1.3a": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "LPPL-1.3a", + "name": "LaTeX Project Public License v1.3a", + "referenceNumber": 218, + }, + "LPPL-1.3c": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LPPL-1.3c", + "name": "LaTeX Project Public License v1.3c", + "referenceNumber": 145, + }, + "LZMA-SDK-9.11-to-9.20": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LZMA-SDK-9.11-to-9.20", + "name": "LZMA SDK License (versions 9.11 to 9.20)", + "referenceNumber": 370, + }, + "LZMA-SDK-9.22": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "LZMA-SDK-9.22", + "name": "LZMA SDK License (versions 9.22 and beyond)", + "referenceNumber": 449, + }, + "Latex2e": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Latex2e", + "name": "Latex2e License", + "referenceNumber": 86, + }, + "Leptonica": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Leptonica", + "name": "Leptonica License", + "referenceNumber": 104, + }, + "LiLiQ-P-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LiLiQ-P-1.1", + "name": "Licence Libre du Québec – Permissive version 1.1", + "referenceNumber": 6, + }, + "LiLiQ-R-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LiLiQ-R-1.1", + "name": "Licence Libre du Québec – Réciprocité version 1.1", + "referenceNumber": 52, + }, + "LiLiQ-Rplus-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "LiLiQ-Rplus-1.1", + "name": "Licence Libre du Québec – Réciprocité forte " "version 1.1", + "referenceNumber": 231, + }, + "Libpng": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Libpng", + "name": "libpng License", + "referenceNumber": 446, + }, + "Linux-OpenIB": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Linux-OpenIB", + "name": "Linux Kernel Variant of OpenIB.org license", + "referenceNumber": 399, + }, + "Linux-man-pages-copyleft": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Linux-man-pages-copyleft", + "name": "Linux man-pages Copyleft", + "referenceNumber": 403, + }, + "MIT": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "MIT", + "name": "MIT License", + "referenceNumber": 141, + }, + "MIT-0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "MIT-0", + "name": "MIT No Attribution", + "referenceNumber": 487, + }, + "MIT-CMU": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MIT-CMU", + "name": "CMU License", + "referenceNumber": 84, + }, + "MIT-Modern-Variant": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "MIT-Modern-Variant", + "name": "MIT License Modern Variant", + "referenceNumber": 475, + }, + "MIT-advertising": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MIT-advertising", + "name": "Enlightenment License (e16)", + "referenceNumber": 44, + }, + "MIT-enna": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MIT-enna", + "name": "enna License", + "referenceNumber": 401, + }, + "MIT-feh": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MIT-feh", + "name": "feh License", + "referenceNumber": 55, + }, + "MIT-open-group": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MIT-open-group", + "name": "MIT Open Group variant", + "referenceNumber": 481, + }, + "MITNFA": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MITNFA", + "name": "MIT +no-false-attribs license", + "referenceNumber": 62, + }, + "MPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "MPL-1.0", + "name": "Mozilla Public License 1.0", + "referenceNumber": 210, + }, + "MPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "MPL-1.1", + "name": "Mozilla Public License 1.1", + "referenceNumber": 83, + }, + "MPL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "MPL-2.0", + "name": "Mozilla Public License 2.0", + "referenceNumber": 331, + }, + "MPL-2.0-no-copyleft-exception": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "MPL-2.0-no-copyleft-exception", + "name": "Mozilla Public License 2.0 (no " "copyleft exception)", + "referenceNumber": 108, + }, + "MS-LPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MS-LPL", + "name": "Microsoft Limited Public License", + "referenceNumber": 148, + }, + "MS-PL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "MS-PL", + "name": "Microsoft Public License", + "referenceNumber": 293, + }, + "MS-RL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "MS-RL", + "name": "Microsoft Reciprocal License", + "referenceNumber": 267, + }, + "MTLL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MTLL", + "name": "Matrix Template Library License", + "referenceNumber": 194, + }, + "MakeIndex": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MakeIndex", + "name": "MakeIndex License", + "referenceNumber": 356, + }, + "Minpack": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Minpack", + "name": "Minpack License", + "referenceNumber": 495, + }, + "MirOS": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "MirOS", + "name": "The MirOS Licence", + "referenceNumber": 391, + }, + "Motosoto": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Motosoto", + "name": "Motosoto License", + "referenceNumber": 386, + }, + "MulanPSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "MulanPSL-1.0", + "name": "Mulan Permissive Software License, Version 1", + "referenceNumber": 235, + }, + "MulanPSL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "MulanPSL-2.0", + "name": "Mulan Permissive Software License, Version 2", + "referenceNumber": 23, + }, + "Multics": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Multics", + "name": "Multics License", + "referenceNumber": 215, + }, + "Mup": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Mup", + "name": "Mup License", + "referenceNumber": 63, + }, + "NAIST-2003": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NAIST-2003", + "name": "Nara Institute of Science and Technology License " "(2003)", + "referenceNumber": 471, + }, + "NASA-1.3": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "NASA-1.3", + "name": "NASA Open Source Agreement 1.3", + "referenceNumber": 380, + }, + "NBPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NBPL-1.0", + "name": "Net Boolean Public License v1", + "referenceNumber": 373, + }, + "NCGL-UK-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NCGL-UK-2.0", + "name": "Non-Commercial Government Licence", + "referenceNumber": 140, + }, + "NCSA": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "NCSA", + "name": "University of Illinois/NCSA Open Source License", + "referenceNumber": 229, + }, + "NGPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "NGPL", + "name": "Nethack General Public License", + "referenceNumber": 200, + }, + "NICTA-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NICTA-1.0", + "name": "NICTA Public Software License, Version 1.0", + "referenceNumber": 120, + }, + "NIST-PD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NIST-PD", + "name": "NIST Public Domain Notice", + "referenceNumber": 142, + }, + "NIST-PD-fallback": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NIST-PD-fallback", + "name": "NIST Public Domain Notice with license fallback", + "referenceNumber": 24, + }, + "NLOD-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NLOD-1.0", + "name": "Norwegian Licence for Open Government Data (NLOD) 1.0", + "referenceNumber": 412, + }, + "NLOD-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NLOD-2.0", + "name": "Norwegian Licence for Open Government Data (NLOD) 2.0", + "referenceNumber": 113, + }, + "NLPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NLPL", + "name": "No Limit Public License", + "referenceNumber": 162, + }, + "NOSL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "NOSL", + "name": "Netizen Open Source License", + "referenceNumber": 291, + }, + "NPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "NPL-1.0", + "name": "Netscape Public License v1.0", + "referenceNumber": 222, + }, + "NPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "NPL-1.1", + "name": "Netscape Public License v1.1", + "referenceNumber": 50, + }, + "NPOSL-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "NPOSL-3.0", + "name": "Non-Profit Open Software License 3.0", + "referenceNumber": 493, + }, + "NRL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NRL", + "name": "NRL License", + "referenceNumber": 217, + }, + "NTP": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "NTP", + "name": "NTP License", + "referenceNumber": 179, + }, + "NTP-0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NTP-0", + "name": "NTP No Attribution", + "referenceNumber": 274, + }, + "Naumen": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Naumen", + "name": "Naumen Public License", + "referenceNumber": 233, + }, + "Net-SNMP": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Net-SNMP", + "name": "Net-SNMP License", + "referenceNumber": 101, + }, + "NetCDF": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "NetCDF", + "name": "NetCDF license", + "referenceNumber": 304, + }, + "Newsletr": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Newsletr", + "name": "Newsletr License", + "referenceNumber": 66, + }, + "Nokia": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Nokia", + "name": "Nokia Open Source License", + "referenceNumber": 378, + }, + "Noweb": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Noweb", + "name": "Noweb License", + "referenceNumber": 428, + }, + "Nunit": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Nunit", + "name": "Nunit License", + "referenceNumber": 441, + }, + "O-UDA-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "O-UDA-1.0", + "name": "Open Use of Data Agreement v1.0", + "referenceNumber": 89, + }, + "OCCT-PL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OCCT-PL", + "name": "Open CASCADE Technology Public License", + "referenceNumber": 260, + }, + "OCLC-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "OCLC-2.0", + "name": "OCLC Research Public License 2.0", + "referenceNumber": 436, + }, + "ODC-By-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ODC-By-1.0", + "name": "Open Data Commons Attribution License v1.0", + "referenceNumber": 116, + }, + "ODbL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "ODbL-1.0", + "name": "Open Data Commons Open Database License v1.0", + "referenceNumber": 223, + }, + "OFL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "OFL-1.0", + "name": "SIL Open Font License 1.0", + "referenceNumber": 137, + }, + "OFL-1.0-RFN": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OFL-1.0-RFN", + "name": "SIL Open Font License 1.0 with Reserved Font Name", + "referenceNumber": 252, + }, + "OFL-1.0-no-RFN": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OFL-1.0-no-RFN", + "name": "SIL Open Font License 1.0 with no Reserved Font " "Name", + "referenceNumber": 455, + }, + "OFL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "OFL-1.1", + "name": "SIL Open Font License 1.1", + "referenceNumber": 300, + }, + "OFL-1.1-RFN": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "OFL-1.1-RFN", + "name": "SIL Open Font License 1.1 with Reserved Font Name", + "referenceNumber": 3, + }, + "OFL-1.1-no-RFN": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "OFL-1.1-no-RFN", + "name": "SIL Open Font License 1.1 with no Reserved Font " "Name", + "referenceNumber": 73, + }, + "OGC-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OGC-1.0", + "name": "OGC Software License, Version 1.0", + "referenceNumber": 64, + }, + "OGDL-Taiwan-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OGDL-Taiwan-1.0", + "name": "Taiwan Open Government Data License, version 1.0", + "referenceNumber": 288, + }, + "OGL-Canada-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OGL-Canada-2.0", + "name": "Open Government Licence - Canada", + "referenceNumber": 196, + }, + "OGL-UK-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OGL-UK-1.0", + "name": "Open Government Licence v1.0", + "referenceNumber": 26, + }, + "OGL-UK-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OGL-UK-2.0", + "name": "Open Government Licence v2.0", + "referenceNumber": 118, + }, + "OGL-UK-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OGL-UK-3.0", + "name": "Open Government Licence v3.0", + "referenceNumber": 192, + }, + "OGTSL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "OGTSL", + "name": "Open Group Test Suite License", + "referenceNumber": 99, + }, + "OLDAP-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-1.1", + "name": "Open LDAP Public License v1.1", + "referenceNumber": 366, + }, + "OLDAP-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-1.2", + "name": "Open LDAP Public License v1.2", + "referenceNumber": 388, + }, + "OLDAP-1.3": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-1.3", + "name": "Open LDAP Public License v1.3", + "referenceNumber": 460, + }, + "OLDAP-1.4": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-1.4", + "name": "Open LDAP Public License v1.4", + "referenceNumber": 477, + }, + "OLDAP-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.0", + "name": "Open LDAP Public License v2.0 (or possibly 2.0A and " "2.0B)", + "referenceNumber": 414, + }, + "OLDAP-2.0.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.0.1", + "name": "Open LDAP Public License v2.0.1", + "referenceNumber": 40, + }, + "OLDAP-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.1", + "name": "Open LDAP Public License v2.1", + "referenceNumber": 479, + }, + "OLDAP-2.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.2", + "name": "Open LDAP Public License v2.2", + "referenceNumber": 413, + }, + "OLDAP-2.2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.2.1", + "name": "Open LDAP Public License v2.2.1", + "referenceNumber": 353, + }, + "OLDAP-2.2.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.2.2", + "name": "Open LDAP Public License 2.2.2", + "referenceNumber": 279, + }, + "OLDAP-2.3": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "OLDAP-2.3", + "name": "Open LDAP Public License v2.3", + "referenceNumber": 338, + }, + "OLDAP-2.4": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.4", + "name": "Open LDAP Public License v2.4", + "referenceNumber": 174, + }, + "OLDAP-2.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.5", + "name": "Open LDAP Public License v2.5", + "referenceNumber": 185, + }, + "OLDAP-2.6": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OLDAP-2.6", + "name": "Open LDAP Public License v2.6", + "referenceNumber": 445, + }, + "OLDAP-2.7": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "OLDAP-2.7", + "name": "Open LDAP Public License v2.7", + "referenceNumber": 151, + }, + "OLDAP-2.8": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "OLDAP-2.8", + "name": "Open LDAP Public License v2.8", + "referenceNumber": 440, + }, + "OML": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OML", + "name": "Open Market License", + "referenceNumber": 298, + }, + "OPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OPL-1.0", + "name": "Open Public License v1.0", + "referenceNumber": 36, + }, + "OPUBL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "OPUBL-1.0", + "name": "Open Publication License v1.0", + "referenceNumber": 161, + }, + "OSET-PL-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "OSET-PL-2.1", + "name": "OSET Public License version 2.1", + "referenceNumber": 294, + }, + "OSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "OSL-1.0", + "name": "Open Software License 1.0", + "referenceNumber": 478, + }, + "OSL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "OSL-1.1", + "name": "Open Software License 1.1", + "referenceNumber": 325, + }, + "OSL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "OSL-2.0", + "name": "Open Software License 2.0", + "referenceNumber": 389, + }, + "OSL-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "OSL-2.1", + "name": "Open Software License 2.1", + "referenceNumber": 405, + }, + "OSL-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "OSL-3.0", + "name": "Open Software License 3.0", + "referenceNumber": 474, + }, + "OpenSSL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "OpenSSL", + "name": "OpenSSL License", + "referenceNumber": 105, + }, + "PDDL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "PDDL-1.0", + "name": "Open Data Commons Public Domain Dedication & License " "1.0", + "referenceNumber": 75, + }, + "PHP-3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "PHP-3.0", + "name": "PHP License v3.0", + "referenceNumber": 265, + }, + "PHP-3.01": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "PHP-3.01", + "name": "PHP License v3.01", + "referenceNumber": 126, + }, + "PSF-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "PSF-2.0", + "name": "Python Software Foundation License 2.0", + "referenceNumber": 272, + }, + "Parity-6.0.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Parity-6.0.0", + "name": "The Parity Public License 6.0.0", + "referenceNumber": 333, + }, + "Parity-7.0.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Parity-7.0.0", + "name": "The Parity Public License 7.0.0", + "referenceNumber": 168, + }, + "Plexus": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Plexus", + "name": "Plexus Classworlds License", + "referenceNumber": 94, + }, + "PolyForm-Noncommercial-1.0.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "PolyForm-Noncommercial-1.0.0", + "name": "PolyForm Noncommercial License " "1.0.0", + "referenceNumber": 98, + }, + "PolyForm-Small-Business-1.0.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "PolyForm-Small-Business-1.0.0", + "name": "PolyForm Small Business License " "1.0.0", + "referenceNumber": 157, + }, + "PostgreSQL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "PostgreSQL", + "name": "PostgreSQL License", + "referenceNumber": 106, + }, + "Python-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Python-2.0", + "name": "Python License 2.0", + "referenceNumber": 253, + }, + "Python-2.0.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Python-2.0.1", + "name": "Python License 2.0.1", + "referenceNumber": 329, + }, + "QPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "QPL-1.0", + "name": "Q Public License 1.0", + "referenceNumber": 46, + }, + "Qhull": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Qhull", + "name": "Qhull License", + "referenceNumber": 18, + }, + "RHeCos-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "RHeCos-1.1", + "name": "Red Hat eCos Public License v1.1", + "referenceNumber": 12, + }, + "RPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "RPL-1.1", + "name": "Reciprocal Public License 1.1", + "referenceNumber": 262, + }, + "RPL-1.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "RPL-1.5", + "name": "Reciprocal Public License 1.5", + "referenceNumber": 69, + }, + "RPSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "RPSL-1.0", + "name": "RealNetworks Public Source License v1.0", + "referenceNumber": 422, + }, + "RSA-MD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "RSA-MD", + "name": "RSA Message-Digest License", + "referenceNumber": 398, + }, + "RSCPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "RSCPL", + "name": "Ricoh Source Code Public License", + "referenceNumber": 431, + }, + "Rdisc": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Rdisc", + "name": "Rdisc License", + "referenceNumber": 178, + }, + "Ruby": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Ruby", + "name": "Ruby License", + "referenceNumber": 276, + }, + "SAX-PD": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SAX-PD", + "name": "Sax Public Domain Notice", + "referenceNumber": 251, + }, + "SCEA": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SCEA", + "name": "SCEA Shared Source License", + "referenceNumber": 205, + }, + "SGI-B-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SGI-B-1.0", + "name": "SGI Free Software License B v1.0", + "referenceNumber": 301, + }, + "SGI-B-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SGI-B-1.1", + "name": "SGI Free Software License B v1.1", + "referenceNumber": 114, + }, + "SGI-B-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "SGI-B-2.0", + "name": "SGI Free Software License B v2.0", + "referenceNumber": 59, + }, + "SHL-0.5": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SHL-0.5", + "name": "Solderpad Hardware License v0.5", + "referenceNumber": 102, + }, + "SHL-0.51": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SHL-0.51", + "name": "Solderpad Hardware License, Version 0.51", + "referenceNumber": 317, + }, + "SISSL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "SISSL", + "name": "Sun Industry Standards Source License v1.1", + "referenceNumber": 290, + }, + "SISSL-1.2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SISSL-1.2", + "name": "Sun Industry Standards Source License v1.2", + "referenceNumber": 257, + }, + "SMLNJ": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "SMLNJ", + "name": "Standard ML of New Jersey License", + "referenceNumber": 454, + }, + "SMPPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SMPPL", + "name": "Secure Messaging Protocol Public License", + "referenceNumber": 68, + }, + "SNIA": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SNIA", + "name": "SNIA Public License 1.1", + "referenceNumber": 131, + }, + "SPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "SPL-1.0", + "name": "Sun Public License v1.0", + "referenceNumber": 400, + }, + "SSH-OpenSSH": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SSH-OpenSSH", + "name": "SSH OpenSSH license", + "referenceNumber": 367, + }, + "SSH-short": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SSH-short", + "name": "SSH short notice", + "referenceNumber": 308, + }, + "SSPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SSPL-1.0", + "name": "Server Side Public License, v 1", + "referenceNumber": 93, + }, + "SWL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SWL", + "name": "Scheme Widget Library (SWL) Software License Agreement", + "referenceNumber": 47, + }, + "Saxpath": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Saxpath", + "name": "Saxpath License", + "referenceNumber": 164, + }, + "SchemeReport": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SchemeReport", + "name": "Scheme Language Report License", + "referenceNumber": 220, + }, + "Sendmail": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Sendmail", + "name": "Sendmail License", + "referenceNumber": 281, + }, + "Sendmail-8.23": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Sendmail-8.23", + "name": "Sendmail License 8.23", + "referenceNumber": 261, + }, + "SimPL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "SimPL-2.0", + "name": "Simple Public License 2.0", + "referenceNumber": 85, + }, + "Sleepycat": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Sleepycat", + "name": "Sleepycat License", + "referenceNumber": 259, + }, + "Spencer-86": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Spencer-86", + "name": "Spencer License 86", + "referenceNumber": 470, + }, + "Spencer-94": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Spencer-94", + "name": "Spencer License 94", + "referenceNumber": 482, + }, + "Spencer-99": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Spencer-99", + "name": "Spencer License 99", + "referenceNumber": 453, + }, + "StandardML-NJ": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "StandardML-NJ", + "name": "Standard ML of New Jersey License", + "referenceNumber": 497, + }, + "SugarCRM-1.1.3": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "SugarCRM-1.1.3", + "name": "SugarCRM Public License v1.1.3", + "referenceNumber": 51, + }, + "TAPR-OHL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TAPR-OHL-1.0", + "name": "TAPR Open Hardware License v1.0", + "referenceNumber": 465, + }, + "TCL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TCL", + "name": "TCL/TK License", + "referenceNumber": 170, + }, + "TCP-wrappers": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TCP-wrappers", + "name": "TCP Wrappers License", + "referenceNumber": 39, + }, + "TMate": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TMate", + "name": "TMate Open Source License", + "referenceNumber": 469, + }, + "TORQUE-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TORQUE-1.1", + "name": "TORQUE v2.5+ Software License v1.1", + "referenceNumber": 182, + }, + "TOSL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TOSL", + "name": "Trusster Open Source License", + "referenceNumber": 484, + }, + "TU-Berlin-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TU-Berlin-1.0", + "name": "Technische Universitaet Berlin License 1.0", + "referenceNumber": 103, + }, + "TU-Berlin-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "TU-Berlin-2.0", + "name": "Technische Universitaet Berlin License 2.0", + "referenceNumber": 158, + }, + "UCL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "UCL-1.0", + "name": "Upstream Compatibility License v1.0", + "referenceNumber": 19, + }, + "UPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "UPL-1.0", + "name": "Universal Permissive License v1.0", + "referenceNumber": 128, + }, + "Unicode-DFS-2015": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Unicode-DFS-2015", + "name": "Unicode License Agreement - Data Files and " + "Software (2015)", + "referenceNumber": 77, + }, + "Unicode-DFS-2016": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Unicode-DFS-2016", + "name": "Unicode License Agreement - Data Files and " + "Software (2016)", + "referenceNumber": 461, + }, + "Unicode-TOU": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Unicode-TOU", + "name": "Unicode Terms of Use", + "referenceNumber": 197, + }, + "Unlicense": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Unlicense", + "name": "The Unlicense", + "referenceNumber": 5, + }, + "VOSTROM": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "VOSTROM", + "name": "VOSTROM Public License for Open Source", + "referenceNumber": 61, + }, + "VSL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "VSL-1.0", + "name": "Vovida Software License v1.0", + "referenceNumber": 384, + }, + "Vim": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Vim", + "name": "Vim License", + "referenceNumber": 155, + }, + "W3C": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "W3C", + "name": "W3C Software Notice and License (2002-12-31)", + "referenceNumber": 339, + }, + "W3C-19980720": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "W3C-19980720", + "name": "W3C Software Notice and License (1998-07-20)", + "referenceNumber": 273, + }, + "W3C-20150513": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "W3C-20150513", + "name": "W3C Software Notice and Document License " "(2015-05-13)", + "referenceNumber": 95, + }, + "WTFPL": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "WTFPL", + "name": "Do What The F*ck You Want To Public License", + "referenceNumber": 181, + }, + "Watcom-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Watcom-1.0", + "name": "Sybase Open Watcom Public License 1.0", + "referenceNumber": 112, + }, + "Wsuipa": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Wsuipa", + "name": "Wsuipa License", + "referenceNumber": 48, + }, + "X11": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "X11", + "name": "X11 License", + "referenceNumber": 312, + }, + "X11-distribute-modifications-variant": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "X11-distribute-modifications-variant", + "name": "X11 License Distribution " "Modification Variant", + "referenceNumber": 352, + }, + "XFree86-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "XFree86-1.1", + "name": "XFree86 License 1.1", + "referenceNumber": 27, + }, + "XSkat": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "XSkat", + "name": "XSkat License", + "referenceNumber": 54, + }, + "Xerox": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Xerox", + "name": "Xerox License", + "referenceNumber": 409, + }, + "Xnet": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "Xnet", + "name": "X.Net License", + "referenceNumber": 439, + }, + "YPL-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "YPL-1.0", + "name": "Yahoo! Public License v1.0", + "referenceNumber": 264, + }, + "YPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "YPL-1.1", + "name": "Yahoo! Public License v1.1", + "referenceNumber": 324, + }, + "ZPL-1.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "ZPL-1.1", + "name": "Zope Public License 1.1", + "referenceNumber": 397, + }, + "ZPL-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "ZPL-2.0", + "name": "Zope Public License 2.0", + "referenceNumber": 138, + }, + "ZPL-2.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "ZPL-2.1", + "name": "Zope Public License 2.1", + "referenceNumber": 278, + }, + "Zed": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Zed", + "name": "Zed License", + "referenceNumber": 11, + }, + "Zend-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Zend-2.0", + "name": "Zend License v2.0", + "referenceNumber": 32, + }, + "Zimbra-1.3": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "Zimbra-1.3", + "name": "Zimbra Public License v1.3", + "referenceNumber": 277, + }, + "Zimbra-1.4": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "Zimbra-1.4", + "name": "Zimbra Public License v1.4", + "referenceNumber": 175, + }, + "Zlib": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": True, + "licenseId": "Zlib", + "name": "zlib License", + "referenceNumber": 457, + }, + "blessing": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "blessing", + "name": "SQLite Blessing", + "referenceNumber": 433, + }, + "bzip2-1.0.5": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "bzip2-1.0.5", + "name": "bzip2 and libbzip2 License v1.0.5", + "referenceNumber": 15, + }, + "bzip2-1.0.6": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "bzip2-1.0.6", + "name": "bzip2 and libbzip2 License v1.0.6", + "referenceNumber": 37, + }, + "checkmk": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "checkmk", + "name": "Checkmk License", + "referenceNumber": 221, + }, + "copyleft-next-0.3.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "copyleft-next-0.3.0", + "name": "copyleft-next 0.3.0", + "referenceNumber": 240, + }, + "copyleft-next-0.3.1": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "copyleft-next-0.3.1", + "name": "copyleft-next 0.3.1", + "referenceNumber": 198, + }, + "curl": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "curl", + "name": "curl License", + "referenceNumber": 60, + }, + "diffmark": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "diffmark", + "name": "diffmark license", + "referenceNumber": 171, + }, + "dvipdfm": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "dvipdfm", + "name": "dvipdfm License", + "referenceNumber": 134, + }, + "eCos-2.0": { + "isDeprecatedLicenseId": True, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "eCos-2.0", + "name": "eCos license version 2.0", + "referenceNumber": 115, + }, + "eGenix": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "eGenix", + "name": "eGenix.com Public License 1.1.0", + "referenceNumber": 13, + }, + "etalab-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "etalab-2.0", + "name": "Etalab Open License 2.0", + "referenceNumber": 363, + }, + "gSOAP-1.3b": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "gSOAP-1.3b", + "name": "gSOAP Public License v1.3b", + "referenceNumber": 230, + }, + "gnuplot": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "gnuplot", + "name": "gnuplot License", + "referenceNumber": 289, + }, + "iMatix": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "iMatix", + "name": "iMatix Standard Function Library Agreement", + "referenceNumber": 7, + }, + "libpng-2.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "libpng-2.0", + "name": "PNG Reference Library version 2", + "referenceNumber": 322, + }, + "libselinux-1.0": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "libselinux-1.0", + "name": "libselinux public domain notice", + "referenceNumber": 67, + }, + "libtiff": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "libtiff", + "name": "libtiff License", + "referenceNumber": 348, + }, + "libutil-David-Nugent": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "libutil-David-Nugent", + "name": "libutil David Nugent License", + "referenceNumber": 248, + }, + "mpi-permissive": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "mpi-permissive", + "name": "mpi Permissive License", + "referenceNumber": 35, + }, + "mpich2": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "mpich2", + "name": "mpich2 License", + "referenceNumber": 421, + }, + "mplus": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "mplus", + "name": "mplus Font License", + "referenceNumber": 335, + }, + "psfrag": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "psfrag", + "name": "psfrag License", + "referenceNumber": 255, + }, + "psutils": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "psutils", + "name": "psutils License", + "referenceNumber": 22, + }, + "wxWindows": { + "isDeprecatedLicenseId": True, + "isFsfLibre": False, + "isOsiApproved": True, + "licenseId": "wxWindows", + "name": "wxWindows Library License", + "referenceNumber": 124, + }, + "xinetd": { + "isDeprecatedLicenseId": False, + "isFsfLibre": True, + "isOsiApproved": False, + "licenseId": "xinetd", + "name": "xinetd License", + "referenceNumber": 17, + }, + "xpp": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "xpp", + "name": "XPP License", + "referenceNumber": 29, + }, + "zlib-acknowledgement": { + "isDeprecatedLicenseId": False, + "isFsfLibre": False, + "isOsiApproved": False, + "licenseId": "zlib-acknowledgement", + "name": "zlib/libpng License with Acknowledgement", + "referenceNumber": 314, + }, +} diff --git a/toolhub/apps/toolinfo/test/test_spdx.py b/toolhub/apps/toolinfo/test/test_spdx.py new file mode 100644 index 00000000..06b4ea76 --- /dev/null +++ b/toolhub/apps/toolinfo/test/test_spdx.py @@ -0,0 +1,63 @@ +# Copyright (c) 2022 Wikimedia Foundation and contributors. +# All Rights Reserved. +# +# This file is part of Toolhub. +# +# Toolhub is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Toolhub is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Toolhub. If not, see . +from django.test import SimpleTestCase + +from ..spdx import SPDX_LICENSES + + +class SPDXTest(SimpleTestCase): + """Test SPDX structure.""" + + def test_dictKeys(self): + """Assert the dict is keyed by licenseId value.""" + for key, val in SPDX_LICENSES.items(): + self.assertEqual(key, val["licenseId"]) + + def test_bool_values(self): + """Assert type of boolean fields.""" + for entry in SPDX_LICENSES.values(): + self.assertEqual(type(entry["isFsfLibre"]), bool) + self.assertEqual(type(entry["isOsiApproved"]), bool) + self.assertEqual(type(entry["isDeprecatedLicenseId"]), bool) + + def test_string_values(self): + """Assert type of string fields.""" + for entry in SPDX_LICENSES.values(): + self.assertEqual(type(entry["licenseId"]), str) + self.assertEqual(type(entry["name"]), str) + + def test_int_values(self): + """Assert type of int fields.""" + for entry in SPDX_LICENSES.values(): + self.assertEqual(type(entry["referenceNumber"]), int) + + def test_referenceNumber_unique(self): + """Assert that each referenceNumber is unique.""" + seen = set() + for entry in SPDX_LICENSES.values(): + self.assertNotIn(entry["referenceNumber"], seen) + seen.add(entry["referenceNumber"]) + + def test_name_unique(self): + """Assert that each name is unique.""" + seen = set() + for entry in SPDX_LICENSES.values(): + if entry["isDeprecatedLicenseId"]: + continue + self.assertNotIn(entry["name"], seen) + seen.add(entry["name"]) diff --git a/toolhub/apps/toolinfo/validators.py b/toolhub/apps/toolinfo/validators.py index 42531a77..321b6088 100644 --- a/toolhub/apps/toolinfo/validators.py +++ b/toolhub/apps/toolinfo/validators.py @@ -19,9 +19,8 @@ from django.core.exceptions import ValidationError from django.utils.translation import gettext_lazy as _ -import spdx_license_list - from .utils import language_data +from .spdx import SPDX_LICENSES url_validator = validators.URLValidator(schemes=["http", "https"]) @@ -51,7 +50,7 @@ def validate_language_code_list(value): def validate_spdx(value): """Raise ValidationError if value is not an SPDX license identifier.""" - if value not in spdx_license_list.LICENSES: + if value not in SPDX_LICENSES: raise ValidationError( _("%(value)s is not a known SPDX license identifier."), code="invalid_spdx", diff --git a/toolhub/apps/toolinfo/views.py b/toolhub/apps/toolinfo/views.py index f547ab5e..ee88344a 100644 --- a/toolhub/apps/toolinfo/views.py +++ b/toolhub/apps/toolinfo/views.py @@ -35,8 +35,6 @@ from reversion.models import Version -import spdx_license_list - from toolhub.apps.auditlog.models import LogEntry from toolhub.apps.versioned.exceptions import ConflictingState from toolhub.apps.versioned.exceptions import CurrentRevision @@ -58,6 +56,7 @@ from .serializers import ToolSerializer from .serializers import UpdateAnnotationsSerializer from .serializers import UpdateToolSerializer +from .spdx import SPDX_LICENSES logger = logging.getLogger(__name__) @@ -532,7 +531,7 @@ def _filter_bool(self, request, src, qs, field): def list(self, request): # noqa: A003 """Get a list of license objects.""" - licenses = spdx_license_list.LICENSES + licenses = SPDX_LICENSES licenses = self._filter_bool( request, licenses, "osi_approved", "isOsiApproved" ) @@ -548,7 +547,7 @@ def list(self, request): # noqa: A003 def retrieve(self, request, pk=None): """Get a single license object.""" - licenses = spdx_license_list.LICENSES + licenses = SPDX_LICENSES try: serializer = SpdxLicenseSerializer(licenses[pk]) return response.Response(serializer.data)