xref: /3.0.3-GA/couchbase-examples/LICENSE (revision 4829266f)
1For the gamsim sample:
2
3                                 Apache License
4                           Version 2.0, January 2004
5                        http://www.apache.org/licenses/
6
7   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
9   1. Definitions.
10
11      "License" shall mean the terms and conditions for use, reproduction,
12      and distribution as defined by Sections 1 through 9 of this document.
13
14      "Licensor" shall mean the copyright owner or entity authorized by
15      the copyright owner that is granting the License.
16
17      "Legal Entity" shall mean the union of the acting entity and all
18      other entities that control, are controlled by, or are under common
19      control with that entity. For the purposes of this definition,
20      "control" means (i) the power, direct or indirect, to cause the
21      direction or management of such entity, whether by contract or
22      otherwise, or (ii) ownership of fifty percent (50%) or more of the
23      outstanding shares, or (iii) beneficial ownership of such entity.
24
25      "You" (or "Your") shall mean an individual or Legal Entity
26      exercising permissions granted by this License.
27
28      "Source" form shall mean the preferred form for making modifications,
29      including but not limited to software source code, documentation
30      source, and configuration files.
31
32      "Object" form shall mean any form resulting from mechanical
33      transformation or translation of a Source form, including but
34      not limited to compiled object code, generated documentation,
35      and conversions to other media types.
36
37      "Work" shall mean the work of authorship, whether in Source or
38      Object form, made available under the License, as indicated by a
39      copyright notice that is included in or attached to the work
40      (an example is provided in the Appendix below).
41
42      "Derivative Works" shall mean any work, whether in Source or Object
43      form, that is based on (or derived from) the Work and for which the
44      editorial revisions, annotations, elaborations, or other modifications
45      represent, as a whole, an original work of authorship. For the purposes
46      of this License, Derivative Works shall not include works that remain
47      separable from, or merely link (or bind by name) to the interfaces of,
48      the Work and Derivative Works thereof.
49
50      "Contribution" shall mean any work of authorship, including
51      the original version of the Work and any modifications or additions
52      to that Work or Derivative Works thereof, that is intentionally
53      submitted to Licensor for inclusion in the Work by the copyright owner
54      or by an individual or Legal Entity authorized to submit on behalf of
55      the copyright owner. For the purposes of this definition, "submitted"
56      means any form of electronic, verbal, or written communication sent
57      to the Licensor or its representatives, including but not limited to
58      communication on electronic mailing lists, source code control systems,
59      and issue tracking systems that are managed by, or on behalf of, the
60      Licensor for the purpose of discussing and improving the Work, but
61      excluding communication that is conspicuously marked or otherwise
62      designated in writing by the copyright owner as "Not a Contribution."
63
64      "Contributor" shall mean Licensor and any individual or Legal Entity
65      on behalf of whom a Contribution has been received by Licensor and
66      subsequently incorporated within the Work.
67
68   2. Grant of Copyright License. Subject to the terms and conditions of
69      this License, each Contributor hereby grants to You a perpetual,
70      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71      copyright license to reproduce, prepare Derivative Works of,
72      publicly display, publicly perform, sublicense, and distribute the
73      Work and such Derivative Works in Source or Object form.
74
75   3. Grant of Patent License. Subject to the terms and conditions of
76      this License, each Contributor hereby grants to You a perpetual,
77      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78      (except as stated in this section) patent license to make, have made,
79      use, offer to sell, sell, import, and otherwise transfer the Work,
80      where such license applies only to those patent claims licensable
81      by such Contributor that are necessarily infringed by their
82      Contribution(s) alone or by combination of their Contribution(s)
83      with the Work to which such Contribution(s) was submitted. If You
84      institute patent litigation against any entity (including a
85      cross-claim or counterclaim in a lawsuit) alleging that the Work
86      or a Contribution incorporated within the Work constitutes direct
87      or contributory patent infringement, then any patent licenses
88      granted to You under this License for that Work shall terminate
89      as of the date such litigation is filed.
90
91   4. Redistribution. You may reproduce and distribute copies of the
92      Work or Derivative Works thereof in any medium, with or without
93      modifications, and in Source or Object form, provided that You
94      meet the following conditions:
95
96      (a) You must give any other recipients of the Work or
97          Derivative Works a copy of this License; and
98
99      (b) You must cause any modified files to carry prominent notices
100          stating that You changed the files; and
101
102      (c) You must retain, in the Source form of any Derivative Works
103          that You distribute, all copyright, patent, trademark, and
104          attribution notices from the Source form of the Work,
105          excluding those notices that do not pertain to any part of
106          the Derivative Works; and
107
108      (d) If the Work includes a "NOTICE" text file as part of its
109          distribution, then any Derivative Works that You distribute must
110          include a readable copy of the attribution notices contained
111          within such NOTICE file, excluding those notices that do not
112          pertain to any part of the Derivative Works, in at least one
113          of the following places: within a NOTICE text file distributed
114          as part of the Derivative Works; within the Source form or
115          documentation, if provided along with the Derivative Works; or,
116          within a display generated by the Derivative Works, if and
117          wherever such third-party notices normally appear. The contents
118          of the NOTICE file are for informational purposes only and
119          do not modify the License. You may add Your own attribution
120          notices within Derivative Works that You distribute, alongside
121          or as an addendum to the NOTICE text from the Work, provided
122          that such additional attribution notices cannot be construed
123          as modifying the License.
124
125      You may add Your own copyright statement to Your modifications and
126      may provide additional or different license terms and conditions
127      for use, reproduction, or distribution of Your modifications, or
128      for any such Derivative Works as a whole, provided Your use,
129      reproduction, and distribution of the Work otherwise complies with
130      the conditions stated in this License.
131
132   5. Submission of Contributions. Unless You explicitly state otherwise,
133      any Contribution intentionally submitted for inclusion in the Work
134      by You to the Licensor shall be under the terms and conditions of
135      this License, without any additional terms or conditions.
136      Notwithstanding the above, nothing herein shall supersede or modify
137      the terms of any separate license agreement you may have executed
138      with Licensor regarding such Contributions.
139
140   6. Trademarks. This License does not grant permission to use the trade
141      names, trademarks, service marks, or product names of the Licensor,
142      except as required for reasonable and customary use in describing the
143      origin of the Work and reproducing the content of the NOTICE file.
144
145   7. Disclaimer of Warranty. Unless required by applicable law or
146      agreed to in writing, Licensor provides the Work (and each
147      Contributor provides its Contributions) on an "AS IS" BASIS,
148      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149      implied, including, without limitation, any warranties or conditions
150      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151      PARTICULAR PURPOSE. You are solely responsible for determining the
152      appropriateness of using or redistributing the Work and assume any
153      risks associated with Your exercise of permissions under this License.
154
155   8. Limitation of Liability. In no event and under no legal theory,
156      whether in tort (including negligence), contract, or otherwise,
157      unless required by applicable law (such as deliberate and grossly
158      negligent acts) or agreed to in writing, shall any Contributor be
159      liable to You for damages, including any direct, indirect, special,
160      incidental, or consequential damages of any character arising as a
161      result of this License or out of the use or inability to use the
162      Work (including but not limited to damages for loss of goodwill,
163      work stoppage, computer failure or malfunction, or any and all
164      other commercial damages or losses), even if such Contributor
165      has been advised of the possibility of such damages.
166
167   9. Accepting Warranty or Additional Liability. While redistributing
168      the Work or Derivative Works thereof, You may choose to offer,
169      and charge a fee for, acceptance of support, warranty, indemnity,
170      or other liability obligations and/or rights consistent with this
171      License. However, in accepting such obligations, You may act only
172      on Your own behalf and on Your sole responsibility, not on behalf
173      of any other Contributor, and only if You agree to indemnify,
174      defend, and hold each Contributor harmless for any liability
175      incurred by, or claims asserted against, such Contributor by reason
176      of your accepting any such warranty or additional liability.
177
178   END OF TERMS AND CONDITIONS
179
180   APPENDIX: How to apply the Apache License to your work.
181
182      To apply the Apache License to your work, attach the following
183      boilerplate notice, with the fields enclosed by brackets "[]"
184      replaced with your own identifying information. (Don't include
185      the brackets!)  The text should be enclosed in the appropriate
186      comment syntax for the file format. We also recommend that a
187      file or class name and description of purpose be included on the
188      same "printed page" as the copyright notice for easier
189      identification within third-party archives.
190
191   Copyright [yyyy] [name of copyright owner]
192
193   Licensed under the Apache License, Version 2.0 (the "License");
194   you may not use this file except in compliance with the License.
195   You may obtain a copy of the License at
196
197       http://www.apache.org/licenses/LICENSE-2.0
198
199   Unless required by applicable law or agreed to in writing, software
200   distributed under the License is distributed on an "AS IS" BASIS,
201   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202   See the License for the specific language governing permissions and
203   limitations under the License.
204
205
206For the beer sample:
207
208## ODC Open Database License (ODbL)
209
210### Preamble
211
212The Open Database License (ODbL) is a license agreement intended to
213allow users to freely share, modify, and use this Database while
214maintaining this same freedom for others. Many databases are covered by
215copyright, and therefore this document licenses these rights. Some
216jurisdictions, mainly in the European Union, have specific rights that
217cover databases, and so the ODbL addresses these rights, too. Finally,
218the ODbL is also an agreement in contract for users of this Database to
219act in certain ways in return for accessing this Database.
220
221Databases can contain a wide variety of types of content (images,
222audiovisual material, and sounds all in the same database, for example),
223and so the ODbL only governs the rights over the Database, and not the
224contents of the Database individually. Licensors should use the ODbL
225together with another license for the contents, if the contents have a
226single set of rights that uniformly covers all of the contents. If the
227contents have multiple sets of different rights, Licensors should
228describe what rights govern what contents together in the individual
229record or in some other way that clarifies what rights apply.
230
231Sometimes the contents of a database, or the database itself, can be
232covered by other rights not addressed here (such as private contracts,
233trade mark over the name, or privacy rights / data protection rights
234over information in the contents), and so you are advised that you may
235have to consult other documents or clear other rights before doing
236activities not covered by this License.
237
238------
239
240The Licensor (as defined below)
241
242and
243
244You (as defined below)
245
246agree as follows:
247
248### 1.0 Definitions of Capitalised Words
249
250"Collective Database" – Means this Database in unmodified form as part
251of a collection of independent databases in themselves that together are
252assembled into a collective whole. A work that constitutes a Collective
253Database will not be considered a Derivative Database.
254
255"Convey" – As a verb, means Using the Database, a Derivative Database,
256or the Database as part of a Collective Database in any way that enables
257a Person to make or receive copies of the Database or a Derivative
258Database.  Conveying does not include interaction with a user through a
259computer network, or creating and Using a Produced Work, where no
260transfer of a copy of the Database or a Derivative Database occurs.
261"Contents" – The contents of this Database, which includes the
262information, independent works, or other material collected into the
263Database. For example, the contents of the Database could be factual
264data or works such as images, audiovisual material, text, or sounds.
265
266"Database" – A collection of material (the Contents) arranged in a
267systematic or methodical way and individually accessible by electronic
268or other means offered under the terms of this License.
269
270"Database Directive" – Means Directive 96/9/EC of the European
271Parliament and of the Council of 11 March 1996 on the legal protection
272of databases, as amended or succeeded.
273
274"Database Right" – Means rights resulting from the Chapter III ("sui
275generis") rights in the Database Directive (as amended and as transposed
276by member states), which includes the Extraction and Re-utilisation of
277the whole or a Substantial part of the Contents, as well as any similar
278rights available in the relevant jurisdiction under Section 10.4.
279
280"Derivative Database" – Means a database based upon the Database, and
281includes any translation, adaptation, arrangement, modification, or any
282other alteration of the Database or of a Substantial part of the
283Contents. This includes, but is not limited to, Extracting or
284Re-utilising the whole or a Substantial part of the Contents in a new
285Database.
286
287"Extraction" – Means the permanent or temporary transfer of all or a
288Substantial part of the Contents to another medium by any means or in
289any form.
290
291"License" – Means this license agreement and is both a license of rights
292such as copyright and Database Rights and an agreement in contract.
293
294"Licensor" – Means the Person that offers the Database under the terms
295of this License.
296
297"Person" – Means a natural or legal person or a body of persons
298corporate or incorporate.
299
300"Produced Work" –  a work (such as an image, audiovisual material, text,
301or sounds) resulting from using the whole or a Substantial part of the
302Contents (via a search or other query) from this Database, a Derivative
303Database, or this Database as part of a Collective Database.
304
305"Publicly" – means to Persons other than You or under Your control by
306either more than 50% ownership or by the power to direct their
307activities (such as contracting with an independent consultant).
308
309"Re-utilisation" – means any form of making available to the public all
310or a Substantial part of the Contents by the distribution of copies, by
311renting, by online or other forms of transmission.
312
313"Substantial" – Means substantial in terms of quantity or quality or a
314combination of both. The repeated and systematic Extraction or
315Re-utilisation of insubstantial parts of the Contents may amount to the
316Extraction or Re-utilisation of a Substantial part of the Contents.
317
318"Use" – As a verb, means doing any act that is restricted by copyright
319or Database Rights whether in the original medium or any other; and
320includes without limitation distributing, copying, publicly performing,
321publicly displaying, and preparing derivative works of the Database, as
322well as modifying the Database as may be technically necessary to use it
323in a different mode or format.
324
325"You" – Means a Person exercising rights under this License who has not
326previously violated the terms of this License with respect to the
327Database, or who has received express permission from the Licensor to
328exercise rights under this License despite a previous violation.
329
330Words in the singular include the plural and vice versa.
331
332### 2.0 What this License covers
333
3342.1. Legal effect of this document. This License is:
335
336  a. A license of applicable copyright and neighbouring rights;
337
338  b. A license of the Database Right; and
339
340  c. An agreement in contract between You and the Licensor.
341
3422.2 Legal rights covered. This License covers the legal rights in the
343Database, including:
344
345  a. Copyright. Any copyright or neighbouring rights in the Database.
346  The copyright licensed includes any individual elements of the
347  Database, but does not cover the copyright over the Contents
348  independent of this Database. See Section 2.4 for details. Copyright
349  law varies between jurisdictions, but is likely to cover: the Database
350  model or schema, which is the structure, arrangement, and organisation
351  of the Database, and can also include the Database tables and table
352  indexes; the data entry and output sheets; and the Field names of
353  Contents stored in the Database;
354
355  b. Database Rights. Database Rights only extend to the Extraction and
356  Re-utilisation of the whole or a Substantial part of the Contents.
357  Database Rights can apply even when there is no copyright over the
358  Database. Database Rights can also apply when the Contents are removed
359  from the Database and are selected and arranged in a way that would
360  not infringe any applicable copyright; and
361
362  c. Contract. This is an agreement between You and the Licensor for
363  access to the Database. In return you agree to certain conditions of
364  use on this access as outlined in this License.
365
3662.3 Rights not covered.
367
368  a. This License does not apply to computer programs used in the making
369  or operation of the Database;
370
371  b. This License does not cover any patents over the Contents or the
372  Database; and
373
374  c. This License does not cover any trademarks associated with the
375  Database.
376
3772.4 Relationship to Contents in the Database. The individual items of
378the Contents contained in this Database may be covered by other rights,
379including copyright, patent, data protection, privacy, or personality
380rights, and this License does not cover any rights (other than Database
381Rights or in contract) in individual Contents contained in the Database.
382For example, if used on a Database of images (the Contents), this
383License would not apply to copyright over individual images, which could
384have their own separate licenses, or one single license covering all of
385the rights over the images.
386
387### 3.0 Rights granted
388
3893.1 Subject to the terms and conditions of this License, the Licensor
390grants to You a worldwide, royalty-free, non-exclusive, terminable (but
391only under Section 9) license to Use the Database for the duration of
392any applicable copyright and Database Rights. These rights explicitly
393include commercial use, and do not exclude any field of endeavour. To
394the extent possible in the relevant jurisdiction, these rights may be
395exercised in all media and formats whether now known or created in the
396future.
397
398The rights granted cover, for example:
399
400  a. Extraction and Re-utilisation of the whole or a Substantial part of
401  the Contents;
402
403  b. Creation of Derivative Databases;
404
405  c. Creation of Collective Databases;
406
407  d. Creation of temporary or permanent reproductions by any means and
408  in any form, in whole or in part, including of any Derivative
409  Databases or as a part of Collective Databases; and
410
411  e. Distribution, communication, display, lending, making available, or
412  performance to the public by any means and in any form, in whole or in
413  part, including of any Derivative Database or as a part of Collective
414  Databases.
415
4163.2 Compulsory license schemes. For the avoidance of doubt:
417
418  a. Non-waivable compulsory license schemes. In those jurisdictions in
419  which the right to collect royalties through any statutory or
420  compulsory licensing scheme cannot be waived, the Licensor reserves
421  the exclusive right to collect such royalties for any exercise by You
422  of the rights granted under this License;
423
424  b. Waivable compulsory license schemes. In those jurisdictions in
425  which the right to collect royalties through any statutory or
426  compulsory licensing scheme can be waived, the Licensor waives the
427  exclusive right to collect such royalties for any exercise by You of
428  the rights granted under this License; and,
429
430  c. Voluntary license schemes. The Licensor waives the right to collect
431  royalties, whether individually or, in the event that the Licensor is
432  a member of a collecting society that administers voluntary licensing
433  schemes, via that society, from any exercise by You of the rights
434  granted under this License.
435
4363.3 The right to release the Database under different terms, or to stop
437distributing or making available the Database, is reserved. Note that
438this Database may be multiple-licensed, and so You may have the choice
439of using alternative licenses for this Database. Subject to Section
44010.4, all other rights not expressly granted by Licensor are reserved.
441
442### 4.0 Conditions of Use
443
4444.1 The rights granted in Section 3 above are expressly made subject to
445Your complying with the following conditions of use. These are important
446conditions of this License, and if You fail to follow them, You will be
447in material breach of its terms.
448
4494.2 Notices. If You Publicly Convey this Database, any Derivative
450Database, or the Database as part of a Collective Database, then You
451must:
452
453  a. Do so only under the terms of this License or another license
454  permitted under Section 4.4;
455
456  b. Include a copy of this License (or, as applicable, a license
457  permitted under Section 4.4) or its Uniform Resource Identifier (URI)
458  with the Database or Derivative Database, including both in the
459  Database or Derivative Database and in any relevant documentation; and
460
461  c. Keep intact any copyright or Database Right notices and notices
462  that refer to this License.
463
464  d. If it is not possible to put the required notices in a particular
465  file due to its structure, then You must include the notices in a
466  location (such as a relevant directory) where users would be likely to
467  look for it.
468
4694.3 Notice for using output (Contents). Creating and Using a Produced
470Work does not require the notice in Section 4.2. However, if you
471Publicly Use a Produced Work, You must include a notice associated with
472the Produced Work reasonably calculated to make any Person that uses,
473views, accesses, interacts with, or is otherwise exposed to the Produced
474Work aware that Content was obtained from the Database, Derivative
475Database, or the Database as part of a Collective Database, and that it
476is available under this License.
477
478  a. Example notice. The following text will satisfy notice under
479  Section 4.3:
480
481        Contains information from DATABASE NAME, which is made available
482        here under the Open Database License (ODbL).
483
484DATABASE NAME should be replaced with the name of the Database and a
485hyperlink to the URI of the Database. "Open Database License" should
486contain a hyperlink to the URI of the text of this License. If
487hyperlinks are not possible, You should include the plain text of the
488required URI's with the above notice.
489
4904.4 Share alike.
491
492  a. Any Derivative Database that You Publicly Use must be only under
493  the terms of:
494
495    i. This License;
496
497    ii. A later version of this License similar in spirit to this
498      License; or
499
500    iii. A compatible license.
501
502  If You license the Derivative Database under one of the licenses
503  mentioned in (iii), You must comply with the terms of that license.
504
505  b. For the avoidance of doubt, Extraction or Re-utilisation of the
506  whole or a Substantial part of the Contents into a new database is a
507  Derivative Database and must comply with Section 4.4.
508
509  c. Derivative Databases and Produced Works.  A Derivative Database is
510  Publicly Used and so must comply with Section 4.4. if a Produced Work
511  created from the Derivative Database is Publicly Used.
512
513  d. Share Alike and additional Contents. For the avoidance of doubt,
514  You must not add Contents to Derivative Databases under Section 4.4 a
515  that are incompatible with the rights granted under this License.
516
517  e. Compatible licenses. Licensors may authorise a proxy to determine
518  compatible licenses under Section 4.4 a iii. If they do so, the
519  authorised proxy's public statement of acceptance of a compatible
520  license grants You permission to use the compatible license.
521
522
5234.5 Limits of Share Alike.  The requirements of Section 4.4 do not apply
524in the following:
525
526  a. For the avoidance of doubt, You are not required to license
527  Collective Databases under this License if You incorporate this
528  Database or a Derivative Database in the collection, but this License
529  still applies to this Database or a Derivative Database as a part of
530  the Collective Database;
531
532  b. Using this Database, a Derivative Database, or this Database as
533  part of a Collective Database to create a Produced Work does not
534  create a Derivative Database for purposes of  Section 4.4; and
535
536  c. Use of a Derivative Database internally within an organisation is
537  not to the public and therefore does not fall under the requirements
538  of Section 4.4.
539
5404.6 Access to Derivative Databases. If You Publicly Use a Derivative
541Database or a Produced Work from a Derivative Database, You must also
542offer to recipients of the Derivative Database or Produced Work a copy
543in a machine readable form of:
544
545  a. The entire Derivative Database; or
546
547  b. A file containing all of the alterations made to the Database or
548  the method of making the alterations to the Database (such as an
549  algorithm), including any additional Contents, that make up all the
550  differences between the Database and the Derivative Database.
551
552The Derivative Database (under a.) or alteration file (under b.) must be
553available at no more than a reasonable production cost for physical
554distributions and free of charge if distributed over the internet.
555
5564.7 Technological measures and additional terms
557
558  a. This License does not allow You to impose (except subject to
559  Section 4.7 b.)  any terms or any technological measures on the
560  Database, a Derivative Database, or the whole or a Substantial part of
561  the Contents that alter or restrict the terms of this License, or any
562  rights granted under it, or have the effect or intent of restricting
563  the ability of any person to exercise those rights.
564
565  b. Parallel distribution. You may impose terms or technological
566  measures on the Database, a Derivative Database, or the whole or a
567  Substantial part of the Contents (a "Restricted Database") in
568  contravention of Section 4.74 a. only if You also make a copy of the
569  Database or a Derivative Database available to the recipient of the
570  Restricted Database:
571
572    i. That is available without additional fee;
573
574    ii. That is available in a medium that does not alter or restrict
575    the terms of this License, or any rights granted under it, or have
576    the effect or intent of restricting the ability of any person to
577    exercise those rights (an "Unrestricted Database"); and
578
579    iii. The Unrestricted Database is at least as accessible to the
580    recipient as a practical matter as the Restricted Database.
581
582  c. For the avoidance of doubt, You may place this Database or a
583  Derivative Database in an authenticated environment, behind a
584  password, or within a similar access control scheme provided that You
585  do not alter or restrict the terms of this License or any rights
586  granted under it or have the effect or intent of restricting the
587  ability of any person to exercise those rights.
588
5894.8 Licensing of others. You may not sublicense the Database. Each time
590You communicate the Database, the whole or Substantial part of the
591Contents, or any Derivative Database to anyone else in any way, the
592Licensor offers to the recipient a license to the Database on the same
593terms and conditions as this License. You are not responsible for
594enforcing compliance by third parties with this License, but You may
595enforce any rights that You have over a Derivative Database. You are
596solely responsible for any modifications of a Derivative Database made
597by You or another Person at Your direction. You may not impose any
598further restrictions on the exercise of the rights granted or affirmed
599under this License.
600
601### 5.0 Moral rights
602
6035.1 Moral rights. This section covers moral rights, including any rights
604to be identified as the author of the Database or to object to treatment
605that would otherwise prejudice the author's honour and reputation, or
606any other derogatory treatment:
607
608  a. For jurisdictions allowing waiver of moral rights, Licensor waives
609  all moral rights that Licensor may have in the Database to the fullest
610  extent possible by the law of the relevant jurisdiction under Section
611  10.4;
612
613  b. If waiver of moral rights under Section 5.1 a in the relevant
614  jurisdiction is not possible, Licensor agrees not to assert any moral
615  rights over the Database and waives all claims in moral rights to the
616  fullest extent possible by the law of the relevant jurisdiction under
617  Section 10.4; and
618
619  c. For jurisdictions not allowing waiver or an agreement not to assert
620  moral rights under Section 5.1 a and b, the author may retain their
621  moral rights over certain aspects of the Database.
622
623Please note that some jurisdictions do not allow for the waiver of moral
624rights, and so moral rights may still subsist over the Database in some
625jurisdictions.
626
627### 6.0 Fair dealing, Database exceptions, and other rights not affected
628
6296.1 This License does not affect any rights that You or anyone else may
630independently have under any applicable law to make any use of this
631Database, including without limitation:
632
633  a. Exceptions to the Database Right including: Extraction of Contents
634  from non-electronic Databases for private purposes, Extraction for
635  purposes of illustration for teaching or scientific research, and
636  Extraction or Re-utilisation for public security or an administrative
637  or judicial procedure.
638
639  b. Fair dealing, fair use, or any other legally recognised limitation
640  or exception to infringement of copyright or other applicable laws.
641
6426.2 This License does not affect any rights of lawful users to Extract
643and Re-utilise insubstantial parts of the Contents, evaluated
644quantitatively or qualitatively, for any purposes whatsoever, including
645creating a Derivative Database (subject to other rights over the
646Contents, see Section 2.4). The repeated and systematic Extraction or
647Re-utilisation of insubstantial parts of the Contents may however amount
648to the Extraction or Re-utilisation of a Substantial part of the
649Contents.
650
651### 7.0 Warranties and Disclaimer
652
6537.1 The Database is licensed by the Licensor "as is" and without any
654warranty of any kind, either express, implied, or arising by statute,
655custom, course of dealing, or trade usage. Licensor specifically
656disclaims any and all implied warranties or conditions of title,
657non-infringement, accuracy or completeness, the presence or absence of
658errors, fitness for a particular purpose, merchantability, or otherwise.
659Some jurisdictions do not allow the exclusion of implied warranties, so
660this exclusion may not apply to You.
661
662### 8.0 Limitation of liability
663
6648.1 Subject to any liability that may not be excluded or limited by law,
665the Licensor is not liable for, and expressly excludes, all liability
666for loss or damage however and whenever caused to anyone by any use
667under this License, whether by You or by anyone else, and whether caused
668by any fault on the part of the Licensor or not. This exclusion of
669liability includes, but is not limited to, any special, incidental,
670consequential, punitive, or exemplary damages such as loss of revenue,
671data, anticipated profits, and lost business. This exclusion applies
672even if the Licensor has been advised of the possibility of such
673damages.
674
6758.2 If liability may not be excluded by law, it is limited to actual and
676direct financial loss to the extent it is caused by proved negligence on
677the part of the Licensor.
678
679### 9.0 Termination of Your rights under this License
680
6819.1 Any breach by You of the terms and conditions of this License
682automatically terminates this License with immediate effect and without
683notice to You. For the avoidance of doubt, Persons who have received the
684Database, the whole or a Substantial part of the Contents, Derivative
685Databases, or the Database as part of a Collective Database from You
686under this License will not have their licenses terminated provided
687their use is in full compliance with this License or a license granted
688under Section 4.8 of this License.  Sections 1, 2, 7, 8, 9 and 10 will
689survive any termination of this License.
690
6919.2 If You are not in breach of the terms of this License, the Licensor
692will not terminate Your rights under it.
693
6949.3 Unless terminated under Section 9.1, this License is granted to You
695for the duration of applicable rights in the Database.
696
6979.4 Reinstatement of rights. If you cease any breach of the terms and
698conditions of this License, then your full rights under this License
699will be reinstated:
700
701  a. Provisionally and subject to permanent termination until the 60th
702  day after cessation of breach;
703
704  b. Permanently on the 60th day after cessation of breach unless
705  otherwise reasonably notified by the Licensor; or
706
707  c.  Permanently if reasonably notified by the Licensor of the
708  violation, this is the first time You have received notice of
709  violation of this License from  the Licensor, and You cure the
710  violation prior to 30 days after your receipt of the notice.
711
712Persons subject to permanent termination of rights are not eligible to
713be a recipient and receive a license under Section 4.8.
714
7159.5 Notwithstanding the above, Licensor reserves the right to release
716the Database under different license terms or to stop distributing or
717making available the Database. Releasing the Database under different
718license terms or stopping the distribution of the Database will not
719withdraw this License (or any other license that has been, or is
720required to be, granted under the terms of this License), and this
721License will continue in full force and effect unless terminated as
722stated above.
723
724### 10.0 General
725
72610.1 If any provision of this License is held to be invalid or
727unenforceable, that must not affect the validity or enforceability of
728the remainder of the terms and conditions of this License and each
729remaining provision of this License shall be valid and enforced to the
730fullest extent permitted by law.
731
73210.2 This License is the entire agreement between the parties with
733respect to the rights granted here over the Database. It replaces any
734earlier understandings, agreements or representations with respect to
735the Database.
736
73710.3 If You are in breach of the terms of this License, You will not be
738entitled to rely on the terms of this License or to complain of any
739breach by the Licensor.
740
74110.4 Choice of law. This License takes effect in and will be governed by
742the laws of the relevant jurisdiction in which the License terms are
743sought to be enforced. If the standard suite of rights granted under
744applicable copyright law and Database Rights in the relevant
745jurisdiction includes additional rights not granted under this License,
746these additional rights are granted in this License in order to meet the
747terms of this License.
748
749
750For the beer sample:
751
752## ODC Database Contents License
753
754The Licensor and You agree as follows:
755
756### 1.0 Definitions of Capitalised Words
757
758The definitions of the Open Database License (ODbL) 1.0 are incorporated
759by reference into the Database Contents License.
760
761### 2.0 Rights granted and Conditions of Use
762
7632.1 Rights granted. The Licensor grants to You a worldwide,
764royalty-free, non-exclusive, perpetual, irrevocable copyright license to
765do any act that is restricted by copyright over anything within the
766Contents, whether in the original medium or any other. These rights
767explicitly include commercial use, and do not exclude any field of
768endeavour.  These rights include, without limitation, the right to
769sublicense the work.
770
7712.2 Conditions of Use. You must comply with the ODbL.
772
7732.3 Relationship to Databases and ODbL. This license does not cover any
774Database Rights, Database copyright, or contract over the Contents as
775part of the Database. Please see the ODbL covering the Database for more
776details about Your rights and obligations.
777
7782.4 Non-assertion of copyright over facts. The Licensor takes the
779position that factual information is not covered by copyright. The DbCL
780grants you permission for any information having copyright contained in
781the Contents.
782
783### 3.0 Warranties, disclaimer, and limitation of liability
784
7853.1 The Contents are licensed by the Licensor "as is" and without any
786warranty of any kind, either express or implied, whether of title, of
787accuracy, of the presence of absence of errors, of fitness for purpose,
788or otherwise. Some jurisdictions do not allow the exclusion of implied
789warranties, so this exclusion may not apply to You.
790
7913.2 Subject to any liability that may not be excluded or limited by law,
792the Licensor is not liable for, and expressly excludes, all liability
793for loss or damage however and whenever caused to anyone by any use
794under this License, whether by You or by anyone else, and whether caused
795by any fault on the part of the Licensor or not. This exclusion of
796liability includes, but is not limited to, any special, incidental,
797consequential, punitive, or exemplary damages. This exclusion applies
798even if the Licensor has been advised of the possibility of such
799damages.
800
8013.3 If liability may not be excluded by law, it is limited to actual and
802direct financial loss to the extent it is caused by proved negligence on
803the part of the Licensor.
804