========
Licenses
========

.. _license-list:

.. note::

    These APIs are not frozen and can change at any time without warning.
    See :ref:`the API versions available<api-versions-list>` for alternatives
    if you need stability.

----------------------------
License Choices - non-Themes
----------------------------

.. _license-list-extension:

Some popular opensource licenses can be chosen from, when creating or updating a version
via in the :ref:`add-on api<version-create>`. These licenses cannot be used for themes.
Open source license slugs are taken from the `SPDX License list <https://spdx.org/licenses/>`_
- and are case-sensitive.

    ===================  ==============================================================
                   Slug  License
    ===================  ==============================================================
    all-rights-reserved  All Rights Reserved. This is not an open source license.
                MPL-2.0  `Mozilla Public License 2.0 <http://www.mozilla.org/MPL/2.0/>`_
       GPL-2.0-or-later  `GNU General Public License v2.0 (or later) <http://www.gnu.org/licenses/gpl-2.0.html>`_
       GPL-3.0-or-later  `GNU General Public License v3.0 (or later) <http://www.gnu.org/licenses/gpl-3.0.html>`_
      LGPL-2.1-or-later  `GNU Library General Public License v2.1 (or later) <http://www.gnu.org/licenses/lgpl-2.1.html>`_
      LGPL-3.0-or-later  `GNU Library General Public License v3.0 (or later) <http://www.gnu.org/licenses/lgpl-3.0.html>`_
                    MIT  `The MIT License <http://www.opensource.org/license/mit>`_
           BSD-2-Clause  `The BSD (2 clause) License <http://www.opensource.org/license/bsd-2-clause>`_
    ===================  ==============================================================


------------------------
License Choices - Themes
------------------------

.. _license-list-theme:

Creative Commons licenses can be chosen from, when creating or updating a theme version
via in the :ref:`add-on api<version-create>`. These are the only license options for themes.
Open source license slugs are taken from the `SPDX License list <https://spdx.org/licenses/>`_
- and are case-sensitive.

    ======================  ===========================================================
                      Slug  License
    ======================  ===========================================================
    cc-all-rights-reserved  All Rights Reserved. This is not an open source license.
                 CC-BY-3.0  `Creative Commons Attribution 3.0 <http://creativecommons.org/licenses/by/3.0/>`_
              CC-BY-NC-3.0  `Creative Commons Attribution-NonCommercial 3.0 <http://creativecommons.org/licenses/by-nc/3.0/>`_
           CC-BY-NC-ND-3.0  `Creative Commons Attribution-NonCommercial-NoDerivs 3.0 <http://creativecommons.org/licenses/by-nc-nd/3.0/>`_
           CC-BY-NC-SA-3.0  `Creative Commons Attribution-NonCommercial-Share Alike 3.0 <http://creativecommons.org/licenses/by-nc-sa/3.0/>`_
              CC-BY-ND-3.0  `Creative Commons Attribution-NoDerivs 3.0 <http://creativecommons.org/licenses/by-nd/3.0/>`_
              CC-BY-SA-3.0  `Creative Commons Attribution-ShareAlike 3.0 <http://creativecommons.org/licenses/by-sa/3.0/>`_
    ======================  ===========================================================