# Licensing in EdgeGallery
All outbound code in EdgeGallery shall be made available under the Apache License, Version 2.0. All documentation shall be received and made available by the EdgeGallery Project under the Creative Commons Attribution 4.0 International License.
## Example of license headers
### Apache License Version 2.0
```
/*
* Copyright <year, i.e. 2020> <developer's organization info, i.e. Huawei Technologies Co., Ltd.>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
```
### Creative Commons License 4.0
```
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. SPDX-License-Identifier: CC-BY-4.0
.. (c) <year, i.e. 2020> <developer's organization info, i.e. Huawei Technologies Co., Ltd.>
```
## Approved 3rd Party Open Source Software License
The following licenses are referenced from https://www.apache.org/legal/resolved.html
- Apache License 2.0
- Apache Software License 1.1. Including variants
- BSD (without advertising clause). Including variants
- MIT/X11
- ICU
- University of Illinois/NCSA
- W3C Software License
- W3C Community Contributor License Agreement - if at least 45 days after publication
- X.Net
- zlib/libpng
- FSF autoconf license
- DejaVu Fonts (Bitstream Vera/Arev licenses)
- Academic Free License 3.0
- Service+Component+Architecture+Specifications
- OOXML XSD ECMA License
- Microsoft Public License (MsPL)
- Creative Commons Copyright-Only Dedication
- Python Software Foundation License
- Python Imaging Library Software License
- Adobe Postcript(R) AFM files
- Boost Software License Version 1.0
- License for CERN packages in COLT but note that this applies only to CERN packages in COLT and not others
- UK Open Government Licence. This license allows the licensor to provide a custom attribution notice. If one is provided, include in the NOTICE. If one is not provided, include 'Contains public sector information licensed under the Open Government Licence v3.0.' in the NOTICE.
- WTF Public License
- The Romantic WTF public license
- UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
- Zope Public License 2.0
- ACE license
- Oracle Universal Permissive License (UPL) Version 1.0
- Open Grid Forum License
- Google "Additional IP Rights Grant (Patents)" file
- The Unlicense
- Historical Permission Notice and Disclaimer
- Mulan Permissive Software License,Version 2
### Approved 3rd Party Open Source Software License When no code modifications are made
The following licenses are referenced from https://www.apache.org/legal/resolved.html
- Common Development and Distribution Licenses: CDDL 1.0 and CDDL 1.1
- Common Public License: CPL 1.0
- Eclipse Public License: EPL 1.0
- IBM Public License: IPL 1.0
- Mozilla Public Licenses: MPL 1.0, MPL 1.1, and MPL 2.0
- Sun Public License: SPL 1.0
- Open Software License 3.0
- Erlang Public License
- UnRAR License (only for unarchiving)
- SIL Open Font License
- Ubuntu Font License Version 1.0
- IPA Font License Agreement v1.0
- Ruby License (including the older version when GPLv2 was a listed alternative Ruby 1.9.2 license)
- Eclipse Public License 2.0: EPL 2.0
**Note: software under multiple licenses allows the user to pick the license terms that they prefer.**
If an alternative inbound license is required for compliance with the license for a leveraged open source project or is otherwise required to achieve the EdgeGallery Project's objectives, the TSC may approve the use of an alternative license for inbound contributions on an exception basis.In order to get an approval on alternative license, please submit a topic in the TSC meeting.