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