Skip to content

Commit 51326f8

Browse files
JulianRelequestual
authored andcommitted
Specify the specific BSD and AFL versions this repo is licensed under.
Historically JSON Schema has declared that contributions are licensed BSD or AFL, without specifying the version of BSD. We’ve been asked to specify a version for work elsewhere in the ecosystem, and OpenJS Foundation counsel recommended BSD 3-clause as the most common choice. This commit clarifies the specific versions (3-clause and v3.0 respectively), and adds a LICENSE file to make this explicit. See #1160 (comment) for the full guidance. Closes: #1160
1 parent fb37908 commit 51326f8

File tree

2 files changed

+214
-1
lines changed

2 files changed

+214
-1
lines changed

LICENSE

+213
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
Copyright (c) 2022 JSON Schema Specification Authors
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
1. Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
30+
---
31+
32+
This Academic Free License (the "License") applies to any original work
33+
of authorship (the "Original Work") whose owner (the "Licensor") has
34+
placed the following licensing notice adjacent to the copyright notice
35+
for the Original Work:
36+
37+
Licensed under the Academic Free License version 3.0
38+
39+
1) Grant of Copyright License. Licensor grants You a worldwide,
40+
royalty-free, non-exclusive, sublicensable license, for the duration of
41+
the copyright, to do the following:
42+
43+
a) to reproduce the Original Work in copies, either alone or as part of
44+
a collective work;
45+
46+
b) to translate, adapt, alter, transform, modify, or arrange the
47+
Original Work, thereby creating derivative works ("Derivative Works")
48+
based upon the Original Work;
49+
50+
c) to distribute or communicate copies of the Original Work and
51+
Derivative Works to the public, under any license of your choice that
52+
does not contradict the terms and conditions, including Licensor's
53+
reserved rights and remedies, in this Academic Free License;
54+
55+
d) to perform the Original Work publicly; and
56+
57+
e) to display the Original Work publicly.
58+
59+
2) Grant of Patent License. Licensor grants You a worldwide,
60+
royalty-free, non-exclusive, sublicensable license, under patent claims
61+
owned or controlled by the Licensor that are embodied in the Original
62+
Work as furnished by the Licensor, for the duration of the patents, to
63+
make, use, sell, offer for sale, have made, and import the Original Work
64+
and Derivative Works.
65+
66+
3) Grant of Source Code License. The term "Source Code" means the
67+
preferred form of the Original Work for making modifications to it
68+
and all available documentation describing how to modify the Original
69+
Work. Licensor agrees to provide a machine-readable copy of the Source
70+
Code of the Original Work along with each copy of the Original Work
71+
that Licensor distributes. Licensor reserves the right to satisfy this
72+
obligation by placing a machine-readable copy of the Source Code in an
73+
information repository reasonably calculated to permit inexpensive and
74+
convenient access by You for as long as Licensor continues to distribute
75+
the Original Work.
76+
77+
4) Exclusions From License Grant. Neither the names of Licensor, nor
78+
the names of any contributors to the Original Work, nor any of their
79+
trademarks or service marks, may be used to endorse or promote products
80+
derived from this Original Work without express prior permission of the
81+
Licensor. Except as expressly stated herein, nothing in this License
82+
grants any license to Licensor's trademarks, copyrights, patents, trade
83+
secrets or any other intellectual property. No patent license is granted
84+
to make, use, sell, offer for sale, have made, or import embodiments
85+
of any patent claims other than the licensed claims defined in Section
86+
2. No license is granted to the trademarks of Licensor even if such
87+
marks are included in the Original Work. Nothing in this License shall
88+
be interpreted to prohibit Licensor from licensing under terms different
89+
from this License any Original Work that Licensor otherwise would have a
90+
right to license.
91+
92+
5) External Deployment. The term "External Deployment" means the use,
93+
distribution, or communication of the Original Work or Derivative
94+
Works in any way such that the Original Work or Derivative Works may
95+
be used by anyone other than You, whether those works are distributed
96+
or communicated to those persons or made available as an application
97+
intended for use over a network. As an express condition for the grants
98+
of license hereunder, You must treat any External Deployment by You of
99+
the Original Work or a Derivative Work as a distribution under section
100+
1(c).
101+
102+
6) Attribution Rights. You must retain, in the Source Code of any
103+
Derivative Works that You create, all copyright, patent, or trademark
104+
notices from the Source Code of the Original Work, as well as any
105+
notices of licensing and any descriptive text identified therein as an
106+
"Attribution Notice." You must cause the Source Code for any Derivative
107+
Works that You create to carry a prominent Attribution Notice reasonably
108+
calculated to inform recipients that You have modified the Original
109+
Work.
110+
111+
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants
112+
that the copyright in and to the Original Work and the patent rights
113+
granted herein by Licensor are owned by the Licensor or are sublicensed
114+
to You under the terms of this License with the permission of the
115+
contributor(s) of those copyrights and patent rights. Except as
116+
expressly stated in the immediately preceding sentence, the Original
117+
Work is provided under this License on an "AS IS" BASIS and WITHOUT
118+
WARRANTY, either express or implied, including, without limitation,
119+
the warranties of non-infringement, merchantability or fitness for a
120+
particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL
121+
WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential
122+
part of this License. No license to the Original Work is granted by this
123+
License except under this disclaimer.
124+
125+
8) Limitation of Liability. Under no circumstances and under no legal
126+
theory, whether in tort (including negligence), contract, or otherwise,
127+
shall the Licensor be liable to anyone for any indirect, special,
128+
incidental, or consequential damages of any character arising as a
129+
result of this License or the use of the Original Work including,
130+
without limitation, damages for loss of goodwill, work stoppage,
131+
computer failure or malfunction, or any and all other commercial damages
132+
or losses. This limitation of liability shall not apply to the extent
133+
applicable law prohibits such limitation.
134+
135+
9) Acceptance and Termination. If, at any time, You expressly
136+
assented to this License, that assent indicates your clear and
137+
irrevocable acceptance of this License and all of its terms and
138+
conditions. If You distribute or communicate copies of the Original
139+
Work or a Derivative Work, You must make a reasonable effort under the
140+
circumstances to obtain the express assent of recipients to the terms
141+
of this License. This License conditions your rights to undertake
142+
the activities listed in Section 1, including your right to create
143+
Derivative Works based upon the Original Work, and doing so without
144+
honoring these terms and conditions is prohibited by copyright law and
145+
international treaty. Nothing in this License is intended to affect
146+
copyright exceptions and limitations (including "fair use" or "fair
147+
dealing"). This License shall terminate immediately and You may no
148+
longer exercise any of the rights granted to You by this License upon
149+
your failure to honor the conditions in Section 1(c).
150+
151+
10) Termination for Patent Action. This License shall terminate
152+
automatically and You may no longer exercise any of the rights granted
153+
to You by this License as of the date You commence an action, including
154+
a cross-claim or counterclaim, against Licensor or any licensee
155+
alleging that the Original Work infringes a patent. This termination
156+
provision shall not apply for an action alleging patent infringement by
157+
combinations of the Original Work with other software or hardware.
158+
159+
11) Jurisdiction, Venue and Governing Law. Any action or suit relating
160+
to this License may be brought only in the courts of a jurisdiction
161+
wherein the Licensor resides or in which Licensor conducts its primary
162+
business, and under the laws of that jurisdiction excluding its
163+
conflict-of-law provisions. The application of the United Nations
164+
Convention on Contracts for the International Sale of Goods is
165+
expressly excluded. Any use of the Original Work outside the scope
166+
of this License or after its termination shall be subject to the
167+
requirements and penalties of copyright or patent law in the appropriate
168+
jurisdiction. This section shall survive the termination of this
169+
License.
170+
171+
12) Attorneys' Fees. In any action to enforce the terms of this License
172+
or seeking damages relating thereto, the prevailing party shall
173+
be entitled to recover its costs and expenses, including, without
174+
limitation, reasonable attorneys' fees and costs incurred in connection
175+
with such action, including any appeal of such action. This section
176+
shall survive the termination of this License.
177+
178+
13) Miscellaneous. If any provision of this License is held to be
179+
unenforceable, such provision shall be reformed only to the extent
180+
necessary to make it enforceable.
181+
182+
14) Definition of "You" in This License. "You" throughout this License,
183+
whether in upper or lower case, means an individual or a legal entity
184+
exercising rights under, and complying with all of the terms of, this
185+
License. For legal entities, "You" includes any entity that controls,
186+
is controlled by, or is under common control with you. For purposes of
187+
this definition, "control" means (i) the power, direct or indirect, to
188+
cause the direction or management of such entity, whether by contract
189+
or otherwise, or (ii) ownership of fifty percent (50%) or more of the
190+
outstanding shares, or (iii) beneficial ownership of such entity.
191+
192+
15) Right to Use. You may use the Original Work in all ways not
193+
otherwise restricted or conditioned by this License or by law, and
194+
Licensor promises not to interfere with or be responsible for such uses
195+
by You.
196+
197+
16) Modification of This License. This License is Copyright ©
198+
2005 Lawrence Rosen. Permission is granted to copy, distribute, or
199+
communicate this License without modification. Nothing in this License
200+
permits You to modify this License as applied to the Original Work or
201+
to Derivative Works. However, You may modify the text of this License
202+
and copy, distribute or communicate your modified version (the "Modified
203+
License") and apply it to other original works of authorship subject
204+
to the following conditions: (i) You may not indicate in any way that
205+
your Modified License is the "Academic Free License" or "AFL" and you
206+
may not use those names in the name of your Modified License; (ii) You
207+
must replace the notice specified in the first paragraph above with
208+
the notice "Licensed under <insert your license name here>" or with a
209+
notice of your own that is not confusingly similar to the notice in
210+
this License; and (iii) You may not claim that your original works are
211+
open source software unless your Modified License has been approved by
212+
Open Source Initiative (OSI) and You comply with its license review and
213+
certification process.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ Here are our top sponsors. You could be next! [[Become a sponsor](https://openco
9393

9494
## License
9595

96-
The source material in this repository is licensed under the AFL or BSD license.
96+
The contents of this repository are [licensed under](./LICENSE) either the BSD 3-clause license *or* the Academic Free License v3.0.

0 commit comments

Comments
 (0)