@oxy.so/protocol 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +675 -201
- package/NOTICE +7 -2
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/auth/registrationPow.js +149 -0
- package/dist/cjs/index.js +9 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/auth/registrationPow.js +143 -0
- package/dist/esm/index.js +4 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/auth/registrationPow.d.ts +102 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +3 -3
- package/src/__tests__/registrationPow.test.ts +73 -0
- package/src/auth/registrationPow.ts +146 -0
- package/src/index.ts +10 -0
package/LICENSE
CHANGED
|
@@ -1,202 +1,676 @@
|
|
|
1
|
+
The Breathe License, Version 1.0
|
|
2
|
+
|
|
3
|
+
Free to breathe, paid to bottle.
|
|
4
|
+
|
|
5
|
+
----------------------------------------------------------------------------
|
|
6
|
+
|
|
7
|
+
THIS FILE LICENSES THIS WORK.
|
|
8
|
+
|
|
9
|
+
Unlike the template published at
|
|
10
|
+
https://github.com/OxyHQ/.github/blob/main/LICENSE-BREATHE.md, this copy has
|
|
11
|
+
its Parameters filled in, so these terms govern the work named in them.
|
|
12
|
+
|
|
13
|
+
WHAT THIS LICENSE IS:
|
|
14
|
+
|
|
15
|
+
- SOURCE AVAILABLE, NOT OPEN SOURCE. The Breathe License is NOT approved
|
|
16
|
+
by the Open Source Initiative and is NOT approved by the Free Software
|
|
17
|
+
Foundation. It does not appear on the SPDX license list. GitHub will
|
|
18
|
+
display a repository using it as "Other" or "custom", and automated
|
|
19
|
+
license scanners will report it as unknown.
|
|
20
|
+
|
|
21
|
+
It is worth being precise about WHY it is not open source. It is NOT
|
|
22
|
+
because of the copyleft; the AGPL is copyleft and is OSI approved. It
|
|
23
|
+
is because Section 2 makes commercial use conditional on a paid
|
|
24
|
+
license, which is discrimination against a field of endeavour under
|
|
25
|
+
clause 6 of the Open Source Definition. Anyone who calls software
|
|
26
|
+
under this license "open source" is using the wrong words.
|
|
1
27
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
the
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
28
|
+
- NOT COMPATIBLE WITH THE GPL OR THE AGPL. Code under the GPL or the
|
|
29
|
+
AGPL cannot be combined into a work licensed under these terms, and a
|
|
30
|
+
work licensed under these terms cannot be combined into a GPL or AGPL
|
|
31
|
+
work. This is a hard constraint, not a preference. It is one reason
|
|
32
|
+
Oxy publishes its SDK and client libraries under Apache-2.0 instead.
|
|
33
|
+
The other reason is simpler: if integrating Oxy login cost money,
|
|
34
|
+
nobody would integrate it.
|
|
35
|
+
|
|
36
|
+
- COPYLEFT, INCLUDING OVER A NETWORK, FOR EVERYONE. If you deploy this
|
|
37
|
+
software or anything derived from it, you publish the corresponding
|
|
38
|
+
source. That applies to every user without exception, including paying
|
|
39
|
+
commercial licensees. It cannot be bought out of. The obligation is
|
|
40
|
+
modelled on the AGPL-3.0, but this is an original text and is not the
|
|
41
|
+
AGPL. The Free Software Foundation neither endorses it nor is
|
|
42
|
+
associated with it.
|
|
43
|
+
|
|
44
|
+
- ATTRIBUTION IS MANDATORY AND CANNOT BE WAIVED. It applies to every
|
|
45
|
+
copy, every derivative, and every network deployment, including those
|
|
46
|
+
made by paying commercial licensees. Paying does not buy anonymity.
|
|
47
|
+
|
|
48
|
+
- IT IS NOT RETROACTIVE. Any version of this work published under an
|
|
49
|
+
earlier license stays under that license, permanently, for anyone who
|
|
50
|
+
already has it. These terms bind this version and later ones.
|
|
51
|
+
|
|
52
|
+
THIS DOCUMENT HAS NOT BEEN REVIEWED BY A LAWYER. It was drafted from
|
|
53
|
+
established templates, which is not legal advice and is no substitute for
|
|
54
|
+
it. Have a qualified lawyer in the relevant jurisdiction review these terms
|
|
55
|
+
before applying them to any work that matters commercially.
|
|
56
|
+
|
|
57
|
+
----------------------------------------------------------------------------
|
|
58
|
+
|
|
59
|
+
Preamble
|
|
60
|
+
|
|
61
|
+
This preamble explains the intent of the license. It is not part of the
|
|
62
|
+
terms and creates no rights or obligations.
|
|
63
|
+
|
|
64
|
+
Oxy is named for oxygen, because oxygen is essential and shared. This
|
|
65
|
+
license tries to work the same way, and it asks for two things in return.
|
|
66
|
+
|
|
67
|
+
The first is that the software stays open. It was published in the open, and
|
|
68
|
+
it stays that way in every hand it passes through. Anyone may read it, run
|
|
69
|
+
it, study it, change it, and pass it on, and anyone who deploys it or a
|
|
70
|
+
changed version of it publishes the source of what they deployed. That
|
|
71
|
+
obligation is not for sale. There is no version of this license under which
|
|
72
|
+
someone takes this work private, and no fee that buys the right to. Everyone
|
|
73
|
+
breathes the same air.
|
|
74
|
+
|
|
75
|
+
The second is that people who make money with it pay for it. Using it,
|
|
76
|
+
learning from it, and building on it are free. Building a revenue generating
|
|
77
|
+
business on top of somebody else's work, contributing nothing back to it, is
|
|
78
|
+
not. That is the line, and buying a commercial license is the whole of what
|
|
79
|
+
crosses it: it buys the right to use this software commercially. It does not
|
|
80
|
+
buy secrecy, and it does not buy silence about where the software came from.
|
|
81
|
+
|
|
82
|
+
Cooperatives, nonprofits, educational institutions, and public bodies pay
|
|
83
|
+
nothing. They publish their source and give credit like everyone else. They
|
|
84
|
+
are exempt from the fee, and from nothing else.
|
|
85
|
+
|
|
86
|
+
Free to breathe, paid to bottle. Breathing is using, studying, changing, and
|
|
87
|
+
sharing in the open, and it is free. Bottling it to sell is the part that
|
|
88
|
+
costs money.
|
|
89
|
+
|
|
90
|
+
----------------------------------------------------------------------------
|
|
91
|
+
|
|
92
|
+
Parameters
|
|
93
|
+
|
|
94
|
+
Fill these in for each work. Capitalized terms are defined in Section 15.
|
|
95
|
+
|
|
96
|
+
Licensor: The Oxy Collective, Inc., incorporated in
|
|
97
|
+
<JURISDICTION OF INCORPORATION: NOT YET
|
|
98
|
+
SUPPLIED> under registration number
|
|
99
|
+
<REGISTRATION NUMBER: NOT YET SUPPLIED>
|
|
100
|
+
The Software: @oxy.so/protocol, and each version of it the
|
|
101
|
+
Licensor makes available under these terms
|
|
102
|
+
Copyright notice: Copyright (c) 2025-present The Oxy Collective,
|
|
103
|
+
Inc.
|
|
104
|
+
License identifier: LicenseRef-Breathe-1.0
|
|
105
|
+
Commercial Terms:
|
|
106
|
+
https://github.com/OxyHQ/.github/blob/main/LICENSE-COMMERCIAL.md
|
|
107
|
+
Exemption Policy:
|
|
108
|
+
https://github.com/OxyHQ/.github/blob/main/licensing/EXEMPTIONS.md
|
|
109
|
+
Commercial licensing contact: licensing@oxy.so
|
|
110
|
+
Governing Law: <GOVERNING LAW: NOT YET SUPPLIED>
|
|
111
|
+
|
|
112
|
+
----------------------------------------------------------------------------
|
|
113
|
+
|
|
114
|
+
1. Acceptance
|
|
115
|
+
|
|
116
|
+
To get any license under these terms, you must agree to them as both strict
|
|
117
|
+
obligations and conditions on every license they grant you. If you do not
|
|
118
|
+
agree to them, you have no license to the Software.
|
|
119
|
+
|
|
120
|
+
----------------------------------------------------------------------------
|
|
121
|
+
|
|
122
|
+
2. Copyright license
|
|
123
|
+
|
|
124
|
+
The Licensor grants you a worldwide, royalty free, non exclusive copyright
|
|
125
|
+
license to do everything with the Software that would otherwise infringe the
|
|
126
|
+
Licensor's copyright in it, for any Permitted Purpose.
|
|
127
|
+
|
|
128
|
+
That includes running it, studying it, copying it, modifying it, making
|
|
129
|
+
Modified Versions and other works based on it, publicly performing and
|
|
130
|
+
displaying it, Conveying it, and making it available to others through
|
|
131
|
+
Remote Interaction, in each case for a Permitted Purpose.
|
|
132
|
+
|
|
133
|
+
This license is granted for as long as you comply with Section 3. It does
|
|
134
|
+
not expire, the Licensor cannot revoke it while you comply, and no fee is
|
|
135
|
+
payable for it.
|
|
136
|
+
|
|
137
|
+
2.1 Permitted Purpose
|
|
138
|
+
|
|
139
|
+
A Permitted Purpose is any purpose that is not Commercial Use.
|
|
140
|
+
|
|
141
|
+
Commercial Use is not licensed under this document. To use the Software
|
|
142
|
+
commercially you must take the Commercial Terms identified in the Parameters
|
|
143
|
+
table. See Section 4.
|
|
144
|
+
|
|
145
|
+
2.2 Permitted Purposes specifically include
|
|
146
|
+
|
|
147
|
+
For the avoidance of doubt, each of the following is a Permitted Purpose:
|
|
148
|
+
|
|
149
|
+
- (a) using the Software personally, on your own behalf, where your use
|
|
150
|
+
is not connected to Revenue;
|
|
151
|
+
|
|
152
|
+
- (b) private study, research, and experiment, whether or not you
|
|
153
|
+
publish the results;
|
|
154
|
+
|
|
155
|
+
- (c) teaching, and use by a student or a member of faculty in that
|
|
156
|
+
capacity;
|
|
157
|
+
|
|
158
|
+
- (d) academic and non commercial research, including research funded by
|
|
159
|
+
grants that are not consideration for goods or services;
|
|
160
|
+
|
|
161
|
+
- (e) evaluating the Software, for up to ninety days, to decide whether
|
|
162
|
+
to take the Commercial Terms, including evaluation inside an
|
|
163
|
+
organization that would otherwise need them;
|
|
164
|
+
|
|
165
|
+
- (f) developing, testing, reporting bugs in, and contributing to the
|
|
166
|
+
Software itself, including maintaining a fork of it;
|
|
167
|
+
|
|
168
|
+
- (g) Conveying the Software or a Modified Version to others at no
|
|
169
|
+
charge, where you derive no Revenue from doing so; and
|
|
170
|
+
|
|
171
|
+
- (h) use by a hobbyist, a volunteer project, or a community group that
|
|
172
|
+
generates no Revenue.
|
|
173
|
+
|
|
174
|
+
2.3 Commercial Use specifically includes
|
|
175
|
+
|
|
176
|
+
Each of the following is Commercial Use and requires the Commercial Terms:
|
|
177
|
+
|
|
178
|
+
- (a) incorporating the Software, in whole or in part, into a product or
|
|
179
|
+
service Your Organization offers for a fee, whether the fee is for a
|
|
180
|
+
license, a subscription, hosting, support, consulting, or anything
|
|
181
|
+
else;
|
|
182
|
+
|
|
183
|
+
- (b) operating the Software, or a Modified Version, as a hosted or
|
|
184
|
+
managed service that others pay to access;
|
|
185
|
+
|
|
186
|
+
- (c) using the Software internally to produce, deliver, operate,
|
|
187
|
+
support, or administer goods or services Your Organization offers for
|
|
188
|
+
a fee, including internal tooling, back office systems, and
|
|
189
|
+
infrastructure. Internal use is not automatically exempt. If Your
|
|
190
|
+
Organization earns Revenue and the Software is used in the course of
|
|
191
|
+
earning it, that is Commercial Use;
|
|
192
|
+
|
|
193
|
+
- (d) using the Software in a product or service offered at no charge
|
|
194
|
+
from which Your Organization derives Revenue by other means, including
|
|
195
|
+
advertising, data licensing, and referral fees; and
|
|
196
|
+
|
|
197
|
+
- (e) Conveying the Software as part of a paid distribution, appliance,
|
|
198
|
+
device, or bundle.
|
|
199
|
+
|
|
200
|
+
The test is the connection between your use and Revenue. It does not matter
|
|
201
|
+
whether the Software itself is the thing being sold.
|
|
202
|
+
|
|
203
|
+
2.4 The Commercial Terms do not change Section 3
|
|
204
|
+
|
|
205
|
+
Taking the Commercial Terms adds the right to use the Software commercially.
|
|
206
|
+
It changes nothing else. Every condition in Section 3 continues to apply to
|
|
207
|
+
you in full, including publishing source and giving Attribution. See Section
|
|
208
|
+
4.
|
|
209
|
+
|
|
210
|
+
----------------------------------------------------------------------------
|
|
211
|
+
|
|
212
|
+
3. Conditions
|
|
213
|
+
|
|
214
|
+
These conditions apply to everyone using the Software, without exception,
|
|
215
|
+
and whether or not you hold the Commercial Terms. They are not obligations
|
|
216
|
+
that can be bought out of, and the Licensor does not offer, and will not
|
|
217
|
+
offer, any license that releases anyone from them.
|
|
218
|
+
|
|
219
|
+
3.1 Attribution
|
|
220
|
+
|
|
221
|
+
Attribution is mandatory and cannot be waived, by agreement or by payment.
|
|
222
|
+
|
|
223
|
+
Wherever you Convey the Software or a Modified Version, or make either
|
|
224
|
+
available through Remote Interaction, you must give Attribution.
|
|
225
|
+
|
|
226
|
+
Attribution means preserving the copyright notice and a copy of these terms
|
|
227
|
+
in the source you Convey, and presenting the following line in at least one
|
|
228
|
+
place your users can reach:
|
|
229
|
+
|
|
230
|
+
Built on @oxy.so/protocol by The Oxy Collective, Inc., https://oxy.so.
|
|
231
|
+
Licensed under the Breathe License 1.0.
|
|
232
|
+
|
|
233
|
+
A reachable "About", "Credits", "Licenses", or "Open source" screen
|
|
234
|
+
satisfies this. So does the documentation, or a NOTICE file shipped with the
|
|
235
|
+
work, if the work has no user interface.
|
|
236
|
+
|
|
237
|
+
One place is enough, and once per work is enough. You are not required to
|
|
238
|
+
put Attribution on a home page, a splash screen, a login screen, a marketing
|
|
239
|
+
page, or anywhere else your users have not chosen to look. You are not
|
|
240
|
+
required to name the Licensor in advertising. You may not remove or obscure
|
|
241
|
+
the Licensor's existing copyright and license notices in the source.
|
|
242
|
+
|
|
243
|
+
No commercial license, order form, purchase agreement, or other arrangement
|
|
244
|
+
removes this requirement. A holder of the Commercial Terms owes Attribution
|
|
245
|
+
on exactly the same terms as everybody else. Any provision of any other
|
|
246
|
+
document purporting to waive this Section is void.
|
|
247
|
+
|
|
248
|
+
3.2 Source availability on conveyance
|
|
249
|
+
|
|
250
|
+
If you Convey the Software or a Modified Version, in source or object form,
|
|
251
|
+
you must make the Corresponding Source for what you Conveyed available to
|
|
252
|
+
every recipient, at no charge beyond your reasonable cost of doing so,
|
|
253
|
+
either by including it with what you Convey or by a written offer, valid for
|
|
254
|
+
at least three years, telling recipients where to get it.
|
|
255
|
+
|
|
256
|
+
3.3 Source availability on network use
|
|
257
|
+
|
|
258
|
+
If you make the Software or a Modified Version available to anyone through
|
|
259
|
+
Remote Interaction, you must offer every user who so interacts with it a
|
|
260
|
+
prominent, no charge way to obtain the Corresponding Source of the version
|
|
261
|
+
they are interacting with, through a network server or another readily
|
|
262
|
+
accessible means.
|
|
263
|
+
|
|
264
|
+
This condition applies whether or not you also Convey the work, whether or
|
|
265
|
+
not you charge for access, and whether or not you hold the Commercial Terms.
|
|
266
|
+
There is no way to pay to avoid it.
|
|
267
|
+
|
|
268
|
+
This condition does not reach your separate work. Section 3.5 says what
|
|
269
|
+
counts as a Modified Version and what does not.
|
|
270
|
+
|
|
271
|
+
3.4 Notices
|
|
272
|
+
|
|
273
|
+
Anyone who gets any part of the Software or a Modified Version from you must
|
|
274
|
+
also get a copy of these terms, or the URL for them, together with any plain
|
|
275
|
+
text lines beginning with Required Notice: that the Licensor supplied with
|
|
276
|
+
the Software.
|
|
277
|
+
|
|
278
|
+
If you Convey a Modified Version, you must carry prominent notices stating
|
|
279
|
+
that you changed it and the date you changed it. You may add your own
|
|
280
|
+
copyright notice for your own contributions. You may not misrepresent the
|
|
281
|
+
origin of the Software.
|
|
282
|
+
|
|
283
|
+
3.5 What is a Modified Version, and what is not
|
|
284
|
+
|
|
285
|
+
Using the Software only through its Documented Public Interfaces does not by
|
|
286
|
+
itself make your program a Modified Version, and does not put your program
|
|
287
|
+
under these terms. Your own program remains yours, under whatever license
|
|
288
|
+
you choose, and you are not required to publish its source.
|
|
289
|
+
|
|
290
|
+
For the avoidance of doubt, none of the following makes your program a
|
|
291
|
+
Modified Version:
|
|
292
|
+
|
|
293
|
+
- (a) calling the Software's Documented Public Interfaces, whether in
|
|
294
|
+
the same process, in a separate process, or across a network;
|
|
295
|
+
|
|
296
|
+
- (b) importing, linking against, or bundling a client library or SDK
|
|
297
|
+
published by the Licensor in order to communicate with the Software,
|
|
298
|
+
where your program uses only that library's Documented Public
|
|
299
|
+
Interfaces;
|
|
300
|
+
|
|
301
|
+
- (c) writing a plugin, extension, theme, adapter, or driver that the
|
|
302
|
+
Software loads through an interface the Software documents for that
|
|
303
|
+
purpose;
|
|
304
|
+
|
|
305
|
+
- (d) sending data to, or receiving data from, the Software or a service
|
|
306
|
+
operated with it;
|
|
307
|
+
|
|
308
|
+
- (e) deploying the Software alongside your own separate programs, or
|
|
309
|
+
distributing it with them on the same medium or in the same image,
|
|
310
|
+
where the programs are independent works that are merely aggregated;
|
|
311
|
+
or
|
|
312
|
+
|
|
313
|
+
- (f) configuring, theming, or supplying data to the Software without
|
|
314
|
+
altering its source.
|
|
315
|
+
|
|
316
|
+
Your program is a Modified Version if you alter the Software's source, copy
|
|
317
|
+
source code out of the Software into your program, or incorporate the
|
|
318
|
+
Software into your program other than through its Documented Public
|
|
319
|
+
Interfaces.
|
|
320
|
+
|
|
321
|
+
Section 3.5 concerns only what must be published. It does not affect Section
|
|
322
|
+
2.1: running the Software commercially requires the Commercial Terms even
|
|
323
|
+
where your own separate program stays yours.
|
|
324
|
+
|
|
325
|
+
3.6 No further restrictions
|
|
326
|
+
|
|
327
|
+
You may not impose any term on a recipient of the Software or a Modified
|
|
328
|
+
Version that restricts the rights these terms grant them, and you may not
|
|
329
|
+
condition their exercise of those rights on the payment of a royalty to you
|
|
330
|
+
for the Software itself. You may charge for your own work, for distribution,
|
|
331
|
+
for support, and for services, subject to Section 2.1.
|
|
332
|
+
|
|
333
|
+
----------------------------------------------------------------------------
|
|
334
|
+
|
|
335
|
+
4. The Commercial Terms
|
|
336
|
+
|
|
337
|
+
If your use is Commercial Use, you need the Commercial Terms identified in
|
|
338
|
+
the Parameters table. They are a separate license granted by the Licensor as
|
|
339
|
+
copyright holder, and they are the only way to use the Software
|
|
340
|
+
commercially.
|
|
341
|
+
|
|
342
|
+
What they give you. The right to use the Software for Commercial Use. That
|
|
343
|
+
is all, and it is deliberate.
|
|
344
|
+
|
|
345
|
+
What they do not give you, and what no Oxy license will ever give anyone:
|
|
346
|
+
|
|
347
|
+
- They do not release you from publishing source. Sections 3.2 and 3.3
|
|
348
|
+
apply to commercial licensees in full. If you deploy the Software or a
|
|
349
|
+
Modified Version, you publish the Corresponding Source, exactly as a
|
|
350
|
+
non paying user does.
|
|
351
|
+
|
|
352
|
+
- They do not release you from Attribution. Section 3.1 applies to
|
|
353
|
+
commercial licensees in full.
|
|
354
|
+
|
|
355
|
+
- They do not permit you to make the Software, or your changes to it,
|
|
356
|
+
proprietary. There is no arrangement, at any price, under which the
|
|
357
|
+
Licensor will agree otherwise. This is a design choice, not an opening
|
|
358
|
+
negotiating position.
|
|
359
|
+
|
|
360
|
+
The Licensor grants the Commercial Terms at no charge to Exempt
|
|
361
|
+
Organizations. See Section 5.
|
|
362
|
+
|
|
363
|
+
----------------------------------------------------------------------------
|
|
364
|
+
|
|
365
|
+
5. Exempt Organizations
|
|
366
|
+
|
|
367
|
+
The Licensor grants the Commercial Terms at no charge to any Exempt
|
|
368
|
+
Organization, on the terms of the published Exemption Policy.
|
|
369
|
+
|
|
370
|
+
The exemption is from the fee, and from nothing else. An Exempt Organization
|
|
371
|
+
using the Software commercially is bound by every condition in Section 3 in
|
|
372
|
+
full, including publishing Corresponding Source and giving Attribution,
|
|
373
|
+
exactly as a paying commercial licensee is.
|
|
374
|
+
|
|
375
|
+
An Exempt Organization may begin Commercial Use immediately in reliance on
|
|
376
|
+
this Section, without waiting for written confirmation from the Licensor.
|
|
377
|
+
The Exemption Policy explains how to obtain written confirmation if you want
|
|
378
|
+
it for your own records.
|
|
379
|
+
|
|
380
|
+
Many Exempt Organizations will find they do not need the Commercial Terms at
|
|
381
|
+
all, because their use is not Commercial Use in the first place. Section 2.2
|
|
382
|
+
already covers them.
|
|
383
|
+
|
|
384
|
+
A change to the Exemption Policy does not retroactively withdraw a grant
|
|
385
|
+
already made.
|
|
386
|
+
|
|
387
|
+
----------------------------------------------------------------------------
|
|
388
|
+
|
|
389
|
+
6. Third party components
|
|
390
|
+
|
|
391
|
+
These terms cover only the parts of the Software that the Licensor owns.
|
|
392
|
+
|
|
393
|
+
The Software may contain, bundle, depend on, vendor, or link to components
|
|
394
|
+
authored by third parties and licensed under their own terms. Those
|
|
395
|
+
components remain governed by their own licenses. Nothing in these terms:
|
|
396
|
+
|
|
397
|
+
- (a) overrides, replaces, supersedes, or modifies the license of any
|
|
398
|
+
third party component;
|
|
399
|
+
|
|
400
|
+
- (b) reduces, restricts, or conditions any right that a third party
|
|
401
|
+
component's own license grants you;
|
|
402
|
+
|
|
403
|
+
- (c) purports to license to you any right in a third party component
|
|
404
|
+
that the Licensor does not itself hold and is not entitled to grant;
|
|
405
|
+
or
|
|
406
|
+
|
|
407
|
+
- (d) creates any obligation for you in respect of a third party
|
|
408
|
+
component beyond what that component's own license requires.
|
|
409
|
+
|
|
410
|
+
Where a third party component's license conflicts with these terms in
|
|
411
|
+
respect of that component, that component's license governs it. In
|
|
412
|
+
particular, a component licensed permissively remains usable by you
|
|
413
|
+
commercially under its own terms, whether or not you hold the Commercial
|
|
414
|
+
Terms for the Software.
|
|
415
|
+
|
|
416
|
+
Where to look. A work licensed under these terms that carries third party
|
|
417
|
+
components lists them in a NOTICE or THIRD-PARTY-LICENSES file at its root,
|
|
418
|
+
naming each component, its license, and where the full license text can be
|
|
419
|
+
found. Read it. The absence of such a file is not a representation that the
|
|
420
|
+
work carries no third party components; dependency manifests and lockfiles
|
|
421
|
+
are also authoritative.
|
|
422
|
+
|
|
423
|
+
What this clause does not do. It resolves the case where the Software merely
|
|
424
|
+
*contains* separately licensed files alongside the Licensor's own code. It
|
|
425
|
+
does not rescue a work that is a derivative of copyleft licensed code. If
|
|
426
|
+
code under the GPL, the AGPL, or another copyleft license is combined into
|
|
427
|
+
the Software such that the combination is a derivative or covered work of
|
|
428
|
+
that code, then that copyleft license governs the whole combination, and no
|
|
429
|
+
third party components clause can carve the Licensor's own contributions
|
|
430
|
+
back out of it. In that case the Licensor cannot license the combination
|
|
431
|
+
under these terms at all, because the Licensor does not hold the right to do
|
|
432
|
+
so.
|
|
433
|
+
|
|
434
|
+
----------------------------------------------------------------------------
|
|
435
|
+
|
|
436
|
+
7. Patent license
|
|
437
|
+
|
|
438
|
+
The Licensor grants you a patent license for the Software covering patent
|
|
439
|
+
claims the Licensor can license, or becomes able to license, that you would
|
|
440
|
+
infringe by using the Software as these terms permit. This patent license
|
|
441
|
+
runs for as long as your copyright license under Section 2 does, and extends
|
|
442
|
+
to Commercial Use only while you hold the Commercial Terms.
|
|
443
|
+
|
|
444
|
+
No other patent rights are granted, by implication, estoppel, or otherwise.
|
|
445
|
+
|
|
446
|
+
----------------------------------------------------------------------------
|
|
447
|
+
|
|
448
|
+
8. Patent defense
|
|
449
|
+
|
|
450
|
+
If you make any written claim that the Software infringes or contributes to
|
|
451
|
+
the infringement of any patent, your patent license under Section 7 ends
|
|
452
|
+
immediately. If Your Organization makes such a claim, your patent license
|
|
453
|
+
ends immediately for work done on behalf of Your Organization.
|
|
454
|
+
|
|
455
|
+
----------------------------------------------------------------------------
|
|
456
|
+
|
|
457
|
+
9. Trademarks
|
|
458
|
+
|
|
459
|
+
These terms grant you no right to use the Licensor's names, logos, trade
|
|
460
|
+
names, service marks, or product names, including "Oxy" and "Breathe",
|
|
461
|
+
except as Section 3.1 requires in order to state the origin of the Software
|
|
462
|
+
accurately, and except for nominative fair use permitted by law.
|
|
463
|
+
|
|
464
|
+
You may say your product is built on the Software. You may not say or imply
|
|
465
|
+
that it is published, endorsed, certified, sponsored, or supported by the
|
|
466
|
+
Licensor unless it is.
|
|
467
|
+
|
|
468
|
+
----------------------------------------------------------------------------
|
|
469
|
+
|
|
470
|
+
10. Termination and cure
|
|
471
|
+
|
|
472
|
+
If you violate these terms, your licenses end. But the first time the
|
|
473
|
+
Licensor notifies you in writing of a violation, your licenses are
|
|
474
|
+
reinstated if you come into full compliance, and take practical steps to
|
|
475
|
+
correct the violation, within 32 days of receiving that notice. After a
|
|
476
|
+
first cured violation, further violations end your licenses immediately on
|
|
477
|
+
notice.
|
|
478
|
+
|
|
479
|
+
If your licenses end, the rights of anyone who received the Software or a
|
|
480
|
+
Modified Version from you are not affected, as long as they comply
|
|
481
|
+
themselves.
|
|
482
|
+
|
|
483
|
+
If your Commercial Terms end, for any reason including non payment, your
|
|
484
|
+
license under Section 2 for Permitted Purposes continues, provided you
|
|
485
|
+
comply with Section 3. You must stop Commercial Use.
|
|
486
|
+
|
|
487
|
+
----------------------------------------------------------------------------
|
|
488
|
+
|
|
489
|
+
11. Severability and partial exclusion
|
|
490
|
+
|
|
491
|
+
If any part of the Software cannot lawfully be licensed under these terms,
|
|
492
|
+
whether because a third party holds rights in it, because a copyleft
|
|
493
|
+
obligation governs it, or for any other reason, that part is excluded from
|
|
494
|
+
these terms and continues under whatever terms actually govern it. The rest
|
|
495
|
+
of the Software continues under these terms, unaffected.
|
|
496
|
+
|
|
497
|
+
If any provision of these terms is held invalid, illegal, or unenforceable
|
|
498
|
+
by a court of competent jurisdiction, that provision is severed and the
|
|
499
|
+
remaining provisions continue in full force, with the severed provision
|
|
500
|
+
replaced by a valid provision that comes as close as the law permits to the
|
|
501
|
+
original intent.
|
|
502
|
+
|
|
503
|
+
If a condition in Section 3 cannot be enforced against you as a matter of
|
|
504
|
+
law in your jurisdiction, your licenses under Section 2 end rather than
|
|
505
|
+
continuing without that condition.
|
|
506
|
+
|
|
507
|
+
----------------------------------------------------------------------------
|
|
508
|
+
|
|
509
|
+
12. No warranty
|
|
510
|
+
|
|
511
|
+
*As far as the law allows, the Software comes as is, without warranty or
|
|
512
|
+
condition of any kind, express or implied, including any warranty of
|
|
513
|
+
merchantability, fitness for a particular purpose, title, or non
|
|
514
|
+
infringement. The entire risk as to the quality and performance of the
|
|
515
|
+
Software is with you.*
|
|
516
|
+
|
|
517
|
+
----------------------------------------------------------------------------
|
|
518
|
+
|
|
519
|
+
13. Limitation of liability
|
|
520
|
+
|
|
521
|
+
*As far as the law allows, the Licensor will not be liable to you for any
|
|
522
|
+
damages arising out of these terms or out of the use or nature of the
|
|
523
|
+
Software, under any kind of legal claim, including direct, indirect,
|
|
524
|
+
special, incidental, and consequential damages, and including lost profits
|
|
525
|
+
and lost data, even if the Licensor has been advised of the possibility of
|
|
526
|
+
them.*
|
|
527
|
+
|
|
528
|
+
Nothing in these terms excludes or limits liability that cannot lawfully be
|
|
529
|
+
excluded or limited, including liability for death or personal injury caused
|
|
530
|
+
by negligence, or for fraud.
|
|
531
|
+
|
|
532
|
+
----------------------------------------------------------------------------
|
|
533
|
+
|
|
534
|
+
14. Governing law
|
|
535
|
+
|
|
536
|
+
These terms are governed by the law of the jurisdiction named in the
|
|
537
|
+
Parameters table, without regard to its conflict of law rules. The courts of
|
|
538
|
+
that jurisdiction have exclusive jurisdiction over any dispute arising out
|
|
539
|
+
of these terms, except that either party may seek injunctive relief in any
|
|
540
|
+
court of competent jurisdiction to protect its intellectual property.
|
|
541
|
+
|
|
542
|
+
----------------------------------------------------------------------------
|
|
543
|
+
|
|
544
|
+
15. Definitions
|
|
545
|
+
|
|
546
|
+
Licensor is the entity named in the Parameters table, being the entity that
|
|
547
|
+
holds the copyright in the Licensor authored parts of the Software or that
|
|
548
|
+
has been granted the rights necessary to license them under both these terms
|
|
549
|
+
and the Commercial Terms.
|
|
550
|
+
|
|
551
|
+
The Software is the software and other material identified in the Parameters
|
|
552
|
+
table that the Licensor makes available under these terms, including each
|
|
553
|
+
version the Licensor so makes available.
|
|
554
|
+
|
|
555
|
+
You means the individual or legal entity exercising rights under these
|
|
556
|
+
terms.
|
|
557
|
+
|
|
558
|
+
Your Organization means any legal entity, sole proprietorship, cooperative,
|
|
559
|
+
association, foundation, or other organization you work for or on behalf of,
|
|
560
|
+
together with every organization that controls it, is controlled by it, or
|
|
561
|
+
is under common control with it. Control means ownership of more than fifty
|
|
562
|
+
percent of the voting interests or of substantially all the assets of an
|
|
563
|
+
entity, or the power to direct its management and policies by vote,
|
|
564
|
+
contract, or otherwise, whether direct or indirect.
|
|
565
|
+
|
|
566
|
+
Permitted Purpose has the meaning given in Section 2.1.
|
|
567
|
+
|
|
568
|
+
Commercial Use means any use of the Software by or for Your Organization
|
|
569
|
+
that is connected to Revenue, whether or not the Software is itself sold.
|
|
570
|
+
Section 2.3 enumerates cases that are Commercial Use. Section 2.2 enumerates
|
|
571
|
+
cases that are not.
|
|
572
|
+
|
|
573
|
+
Revenue means all consideration of any kind received by Your Organization
|
|
574
|
+
from third parties, in cash or in kind, recognized under the accounting
|
|
575
|
+
standards Your Organization ordinarily applies, before deduction of costs.
|
|
576
|
+
It includes subscription fees, license fees, transaction fees, advertising
|
|
577
|
+
revenue, and payments for support or professional services. It excludes
|
|
578
|
+
grants and donations that are not consideration for goods or services,
|
|
579
|
+
capital raised by issuing shares or debt, and proceeds from the sale of
|
|
580
|
+
capital assets.
|
|
581
|
+
|
|
582
|
+
Convey means any act of propagating the Software that enables another party
|
|
583
|
+
to make or receive copies, including distributing it in source or object
|
|
584
|
+
form, publishing it, and shipping it inside a product or device. Merely
|
|
585
|
+
interacting with users over a network, without transferring a copy, is not
|
|
586
|
+
Conveying.
|
|
587
|
+
|
|
588
|
+
Remote Interaction means allowing a user to interact with the Software, or
|
|
589
|
+
with a Modified Version, over a computer network, without that user
|
|
590
|
+
receiving a copy. Providing the Software as a hosted or managed service is
|
|
591
|
+
Remote Interaction.
|
|
592
|
+
|
|
593
|
+
Modified Version means a work that is a Modified Version under Section 3.5.
|
|
594
|
+
|
|
595
|
+
Corresponding Source means all the source code needed to generate, install,
|
|
596
|
+
and run the version in question, and to modify it, including the source of
|
|
597
|
+
the work itself, interface definition files associated with it, build
|
|
598
|
+
scripts, configuration needed to reproduce the build, and scripts
|
|
599
|
+
controlling installation. It does not include the Software's own
|
|
600
|
+
dependencies where those are generally available under their own licenses,
|
|
601
|
+
standard system libraries, compilers, or general purpose tools used to
|
|
602
|
+
produce the build. It does not include your credentials, keys, secrets,
|
|
603
|
+
personal data, or user data.
|
|
604
|
+
|
|
605
|
+
Documented Public Interfaces means the application programming interfaces,
|
|
606
|
+
network protocols, message formats, command line interfaces, plugin
|
|
607
|
+
interfaces, and extension points that the Licensor documents for use by
|
|
608
|
+
others, in the Software's published documentation, its type definitions, or
|
|
609
|
+
its public package exports. An interface the Licensor marks internal,
|
|
610
|
+
private, unstable, or experimental is not a Documented Public Interface.
|
|
611
|
+
|
|
612
|
+
Attribution has the meaning given in Section 3.1.
|
|
613
|
+
|
|
614
|
+
Commercial Terms means the document identified in the Parameters table.
|
|
615
|
+
|
|
616
|
+
Exempt Organization means Your Organization, where Your Organization is any
|
|
617
|
+
of the following. The test applies to Your Organization as a whole, not to a
|
|
618
|
+
department, subsidiary, or project within it.
|
|
619
|
+
|
|
620
|
+
- (a) A cooperative. An entity registered as a cooperative, a mutual, or
|
|
621
|
+
an equivalent form under the law of its jurisdiction, or whose
|
|
622
|
+
governing documents bind it to all four of: membership is open and
|
|
623
|
+
voluntary; members control the entity democratically, with voting
|
|
624
|
+
power not allocated in proportion to capital contributed; any surplus
|
|
625
|
+
is returned to members in proportion to their transactions or
|
|
626
|
+
participation, retained by the entity, or applied to purposes the
|
|
627
|
+
members approve, rather than distributed to outside investors in
|
|
628
|
+
proportion to capital; and the entity is not controlled by an entity
|
|
629
|
+
that is not itself an Exempt Organization.
|
|
630
|
+
|
|
631
|
+
- (b) A nonprofit organization. An entity established on a not for
|
|
632
|
+
profit basis under the law of its jurisdiction, whose governing
|
|
633
|
+
documents prohibit distributing profits or assets to members,
|
|
634
|
+
directors, officers, or shareholders other than as reasonable
|
|
635
|
+
compensation for services actually rendered, and whose assets on
|
|
636
|
+
dissolution must pass to another not for profit or public purpose
|
|
637
|
+
entity. Entities recognized under section 501(c)(3) of the United
|
|
638
|
+
States Internal Revenue Code, entities on the register of the Charity
|
|
639
|
+
Commission for England and Wales or its equivalent elsewhere, and
|
|
640
|
+
entities constituted as an asociación, fundación, association loi
|
|
641
|
+
1901, Verein, stichting, or equivalent, qualify where they meet this
|
|
642
|
+
test.
|
|
643
|
+
|
|
644
|
+
- (c) An educational institution. A school, college, university, or
|
|
645
|
+
other institution whose primary purpose is education or academic
|
|
646
|
+
research, together with its students and faculty acting in that
|
|
647
|
+
capacity.
|
|
648
|
+
|
|
649
|
+
- (d) A public body. A government, public authority, public health
|
|
650
|
+
service, or public research institution, acting in a public capacity
|
|
651
|
+
and not in competition with commercial providers of the Software.
|
|
652
|
+
|
|
653
|
+
- (e) A worker owned business. An entity in which the people performing
|
|
654
|
+
substantially all of its work also hold substantially all of its
|
|
655
|
+
voting control, whether directly or through a trust or foundation
|
|
656
|
+
constituted for that purpose.
|
|
657
|
+
|
|
658
|
+
An entity does not stop being an Exempt Organization merely because it
|
|
659
|
+
charges for goods or services, earns Revenue, pays market salaries, holds
|
|
660
|
+
reserves, or receives grants or public funding. An entity is not an Exempt
|
|
661
|
+
Organization if it is controlled by an entity that is not one, or if its
|
|
662
|
+
exempt form is used principally to hold or route the economic benefit of the
|
|
663
|
+
Software to persons or entities that would not themselves qualify.
|
|
664
|
+
|
|
665
|
+
Exemption Policy means the document identified in the Parameters table, as
|
|
666
|
+
published by the Licensor from time to time.
|
|
667
|
+
|
|
668
|
+
Governing Law means the jurisdiction named in the Parameters table.
|
|
669
|
+
|
|
670
|
+
----------------------------------------------------------------------------
|
|
671
|
+
|
|
672
|
+
16. How to apply these terms
|
|
673
|
+
|
|
674
|
+
See licensing/README.md for the full procedure: which Oxy works use these
|
|
675
|
+
terms and which use Apache-2.0, the file layout, the license identifier, the
|
|
676
|
+
package.json license field, the source header, and the NOTICE file.
|