1Apache License 2 3Version 2.0, January 2004 4 5http://www.apache.org/licenses/ 6 7TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8 91. Definitions. 10 11"License" shall mean the terms and conditions for use, reproduction, and 12distribution as defined by Sections 1 through 9 of this document. 13 14"Licensor" shall mean the copyright owner or entity authorized by the 15copyright owner that is granting the License. 16 17"Legal Entity" shall mean the union of the acting entity and all other 18entities that control, are controlled by, or are under common control with 19that entity. For the purposes of this definition, "control" means (i) the 20power, direct or indirect, to cause the direction or management of such 21entity, whether by contract or otherwise, or (ii) ownership of fifty 22percent (50%) or more of the outstanding shares, or (iii) beneficial 23ownership of such entity. 24 25"You" (or "Your") shall mean an individual or Legal Entity exercising 26permissions granted by this License. 27 28"Source" form shall mean the preferred form for making modifications, 29including but not limited to software source code, documentation 30source, and configuration files. 31 32"Object" form shall mean any form resulting from mechanical transformation 33or translation of a Source form, including but not limited to compiled 34object code, generated documentation, and conversions to other media types. 35 36"Work" shall mean the work of authorship, whether in Source or Object 37form, made available under the License, as indicated by a copyright 38notice that is included in or attached to the work (an example is 39provided in the Appendix below). 40 41"Derivative Works" shall mean any work, whether in Source or Object 42form, that is based on (or derived from) the Work and for which the 43editorial revisions, annotations, elaborations, or other modifications 44represent, as a whole, an original work of authorship. For the purposes 45of this License, Derivative Works shall not include works that remain 46separable from, or merely link (or bind by name) to the interfaces of, 47the Work and Derivative Works thereof. 48 49"Contribution" shall mean any work of authorship, including the original 50version of the Work and any modifications or additions to that Work or 51Derivative Works thereof, that is intentionally submitted to Licensor 52for inclusion in the Work by the copyright owner or by an individual or 53Legal Entity authorized to submit on behalf of the copyright owner. For 54the purposes of this definition, "submitted" means any form of electronic, 55verbal, or written communication sent to the Licensor or its 56representatives, including but not limited to communication on electronic 57mailing lists, source code control systems, and issue tracking systems that 58are managed by, or on behalf of, the Licensor for the purpose of discussing 59and improving the Work, but excluding communication that is conspicuously 60marked or otherwise designated in writing by the copyright owner as "Not 61a Contribution." 62 63"Contributor" shall mean Licensor and any individual or Legal Entity on 64behalf of whom a Contribution has been received by Licensor and subsequently 65incorporated within the Work. 66 672. Grant of Copyright License. Subject to the terms and conditions of this 68License, each Contributor hereby grants to You a perpetual, worldwide, 69non-exclusive, no-charge, royalty-free, irrevocable copyright license to 70reproduce, prepare Derivative Works of, publicly display, publicly perform, 71sublicense, and distribute the Work and such Derivative Works in Source or 72Object form. 73 743. Grant of Patent License. Subject to the terms and conditions of this 75License, each Contributor hereby grants to You a perpetual, worldwide, 76non-exclusive, no-charge, royalty-free, irrevocable (except as stated in 77this section) patent license to make, have made, use, offer to sell, sell, 78import, and otherwise transfer the Work, where such license applies only to 79those patent claims licensable by such Contributor that are necessarily 80infringed by their Contribution(s) alone or by combination of their 81Contribution(s) with the Work to which such Contribution(s) was submitted. 82If You institute patent litigation against any entity (including a cross-claim 83or counterclaim in a lawsuit) alleging that the Work or a Contribution 84incorporated within the Work constitutes direct or contributory patent 85infringement, then any patent licenses granted to You under this License 86for that Work shall terminate as of the date such litigation is filed. 87 884. Redistribution. You may reproduce and distribute copies of the Work or 89Derivative Works thereof in any medium, with or without modifications, and 90in Source or Object form, provided that You meet the following conditions: 91 92You must give any other recipients of the Work or Derivative Works a copy of 93this License; and 94You must cause any modified files to carry prominent notices stating that 95You changed the files; and 96You must retain, in the Source form of any Derivative Works that You 97distribute, all copyright, patent, trademark, and attribution notices 98from the Source form of the Work, excluding those notices that do not 99pertain to any part of the Derivative Works; and 100If the Work includes a "NOTICE" text file as part of its distribution, 101then any Derivative Works that You distribute must include a readable 102copy of the attribution notices contained within such NOTICE file, excluding 103those notices that do not pertain to any part of the Derivative Works, in 104at least one of the following places: within a NOTICE text file distributed 105as part of the Derivative Works; within the Source form or documentation, if 106provided along with the Derivative Works; or, within a display generated by 107the Derivative Works, if and wherever such third-party notices normally 108appear. The contents of the NOTICE file are for informational purposes 109only and do not modify the License. You may add Your own attribution 110notices within Derivative Works that You distribute, alongside or as 111an addendum to the NOTICE text from the Work, provided that such additional 112attribution notices cannot be construed as modifying the License. 113 114You may add Your own copyright statement to Your modifications and may provide 115additional or different license terms and conditions for use, reproduction, or 116distribution of Your modifications, or for any such Derivative Works as a 117whole, provided Your use, reproduction, and distribution of the Work otherwise 118complies with the conditions stated in this License. 1195. Submission of Contributions. Unless You explicitly state otherwise, any 120Contribution intentionally submitted for inclusion in the Work by You to the 121Licensor shall be under the terms and conditions of this License, without any 122additional terms or conditions. Notwithstanding the above, nothing herein 123shall supersede or modify the terms of any separate license agreement you 124may have executed with Licensor regarding such Contributions. 125 1266. Trademarks. This License does not grant permission to use the trade names, 127trademarks, service marks, or product names of the Licensor, except as 128required for reasonable and customary use in describing the origin of the 129Work and reproducing the content of the NOTICE file. 130 1317. Disclaimer of Warranty. Unless required by applicable law or agreed to 132in writing, Licensor provides the Work (and each Contributor provides its 133Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 134ANY KIND, either express or implied, including, without limitation, any 135warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or 136FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining 137the appropriateness of using or redistributing the Work and assume any risks 138associated with Your exercise of permissions under this License. 139 1408. Limitation of Liability. In no event and under no legal theory, whether in 141tort (including negligence), contract, or otherwise, unless required by 142applicable law (such as deliberate and grossly negligent acts) or agreed to 143in writing, shall any Contributor be liable to You for damages, including 144any direct, indirect, special, incidental, or consequential damages of any 145character arising as a result of this License or out of the use or inability 146to use the Work (including but not limited to damages for loss of goodwill, 147work stoppage, computer failure or malfunction, or any and all other 148commercial damages or losses), even if such Contributor has been advised 149of the possibility of such damages. 150 1519. Accepting Warranty or Additional Liability. While redistributing the 152Work or Derivative Works thereof, You may choose to offer, and charge a 153fee for, acceptance of support, warranty, indemnity, or other liability 154obligations and/or rights consistent with this License. However, in accepting 155such obligations, You may act only on Your own behalf and on Your sole 156responsibility, not on behalf of any other Contributor, and only if You 157agree to indemnify, defend, and hold each Contributor harmless for any 158liability incurred by, or claims asserted against, such Contributor by 159reason of your accepting any such warranty or additional liability. 160 161END OF TERMS AND CONDITIONS