|
| 1 | +Apache License |
| 2 | +Version 2.0, January 2004 |
| 3 | +http://www.apache.org/licenses/ |
| 4 | + |
| 5 | +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 6 | + |
| 7 | +1. Definitions. |
| 8 | + |
| 9 | +"License" shall mean the terms and conditions for use, reproduction, and |
| 10 | +distribution as defined by Sections 1 through 9 of this document. |
| 11 | + |
| 12 | +"Licensor" shall mean the copyright owner or entity authorized by the copyright |
| 13 | +owner that is granting the License. |
| 14 | + |
| 15 | +"Legal Entity" shall mean the union of the acting entity and all other entities |
| 16 | +that control, are controlled by, or are under common control with that entity. |
| 17 | +For the purposes of this definition, "control" means (i) the power, direct or |
| 18 | +indirect, to cause the direction or management of such entity, whether by |
| 19 | +contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 20 | +outstanding shares, or (iii) beneficial ownership of such entity. |
| 21 | + |
| 22 | +"You" (or "Your") shall mean an individual or Legal Entity exercising |
| 23 | +permissions granted by this License. |
| 24 | + |
| 25 | +"Source" form shall mean the preferred form for making modifications, including |
| 26 | +but not limited to software source code, documentation source, and configuration |
| 27 | +files. |
| 28 | + |
| 29 | +"Object" form shall mean any form resulting from mechanical transformation or |
| 30 | +translation of a Source form, including but not limited to compiled object code, |
| 31 | +generated documentation, and conversions to other media types. |
| 32 | + |
| 33 | +"Work" shall mean the work of authorship, whether in Source or Object form, |
| 34 | +made available under the License, as indicated by a copyright notice that is |
| 35 | +included in or attached to the work. |
| 36 | + |
| 37 | +"Derivative Works" shall mean any work, whether in Source or Object form, that |
| 38 | +is based on (or derived from) the Work and for which the editorial revisions, |
| 39 | +annotations, elaborations, or other modifications represent, as a whole, an |
| 40 | +original work of authorship. For the purposes of this License, Derivative Works |
| 41 | +shall not include works that remain separable from, or merely link (or bind by |
| 42 | +name) to the interfaces of, the Work and Derivative Works thereof. |
| 43 | + |
| 44 | +"Contribution" shall mean any work of authorship, including the original |
| 45 | +version of the Work and any modifications or additions to that Work or |
| 46 | +Derivative Works thereof, that is intentionally submitted to Licensor for |
| 47 | +inclusion in the Work by the copyright owner or by an individual or Legal Entity |
| 48 | +authorized to submit on behalf of the copyright owner. |
| 49 | + |
| 50 | +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf |
| 51 | +of whom a Contribution has been received by Licensor and subsequently |
| 52 | +incorporated within the Work. |
| 53 | + |
| 54 | +2. Grant of Copyright License. |
| 55 | + |
| 56 | +Subject to the terms and conditions of this License, each Contributor hereby |
| 57 | +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, |
| 58 | +irrevocable copyright license to reproduce, prepare Derivative Works of, |
| 59 | +publicly display, publicly perform, sublicense, and distribute the Work and such |
| 60 | +Derivative Works in Source or Object form. |
| 61 | + |
| 62 | +3. Grant of Patent License. |
| 63 | + |
| 64 | +Subject to the terms and conditions of this License, each Contributor hereby |
| 65 | +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, |
| 66 | +irrevocable patent license to make, have made, use, offer to sell, sell, import, |
| 67 | +and otherwise transfer the Work. |
| 68 | + |
| 69 | +4. Redistribution. |
| 70 | + |
| 71 | +You may reproduce and distribute copies of the Work or Derivative Works thereof |
| 72 | +in any medium, with or without modifications, and in Source or Object form, |
| 73 | +provided that You meet the following conditions: |
| 74 | + |
| 75 | +(a) You must give any other recipients of the Work or Derivative Works a copy of |
| 76 | +this License; and |
| 77 | + |
| 78 | +(b) You must cause any modified files to carry prominent notices stating that |
| 79 | +You changed the files; and |
| 80 | + |
| 81 | +(c) You must retain, in the Source form of any Derivative Works that You |
| 82 | +distribute, all copyright, patent, trademark, and attribution notices from the |
| 83 | +Source form of the Work; and |
| 84 | + |
| 85 | +(d) If the Work includes a "NOTICE" text file as part of its distribution, then |
| 86 | +any Derivative Works that You distribute must include a readable copy of the |
| 87 | +attribution notices contained within such NOTICE file. |
| 88 | + |
| 89 | +5. Submission of Contributions. |
| 90 | + |
| 91 | +Unless You explicitly state otherwise, any Contribution intentionally submitted |
| 92 | +for inclusion in the Work by You to the Licensor shall be under the terms and |
| 93 | +conditions of this License, without any additional terms or conditions. |
| 94 | + |
| 95 | +6. Trademarks. |
| 96 | + |
| 97 | +This License does not grant permission to use the trade names, trademarks, |
| 98 | +service marks, or product names of the Licensor, except as required for |
| 99 | +reasonable and customary use in describing the origin of the Work. |
| 100 | + |
| 101 | +7. Disclaimer of Warranty. |
| 102 | + |
| 103 | +Unless required by applicable law or agreed to in writing, Licensor provides the |
| 104 | +Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
| 105 | +express or implied, including, without limitation, any warranties or conditions |
| 106 | +of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. |
| 107 | +You are solely responsible for determining the appropriateness of using or |
| 108 | +redistributing the Work and assume any risks associated with Your exercise of |
| 109 | +permissions under this License. |
| 110 | + |
| 111 | +8. Limitation of Liability. |
| 112 | + |
| 113 | +In no event and under no legal theory, whether in tort (including negligence), |
| 114 | +contract, or otherwise, unless required by applicable law or agreed to in |
| 115 | +writing, shall any Contributor be liable to You for damages, including any |
| 116 | +direct, indirect, special, incidental, or consequential damages arising as a |
| 117 | +result of this License or out of the use or inability to use the Work. |
| 118 | + |
| 119 | +9. Accepting Warranty or Additional Liability. |
| 120 | + |
| 121 | +While redistributing the Work or Derivative Works thereof, You may choose to |
| 122 | +offer, and charge a fee for, acceptance of support, warranty, indemnity, or |
| 123 | +other liability obligations. However, in accepting such obligations, You may act |
| 124 | +only on Your own behalf and on Your sole responsibility. |
0 commit comments