1*5199d831SAndrew Geissler                     Server Side Public License
2*5199d831SAndrew Geissler                     VERSION 1, OCTOBER 16, 2018
3*5199d831SAndrew Geissler
4*5199d831SAndrew Geissler                    Copyright © 2018 MongoDB, Inc.
5*5199d831SAndrew Geissler
6*5199d831SAndrew Geissler  Everyone is permitted to copy and distribute verbatim copies of this
7*5199d831SAndrew Geissler  license document, but changing it is not allowed.
8*5199d831SAndrew Geissler
9*5199d831SAndrew Geissler                       TERMS AND CONDITIONS
10*5199d831SAndrew Geissler
11*5199d831SAndrew Geissler  0. Definitions.
12*5199d831SAndrew Geissler
13*5199d831SAndrew Geissler  “This License” refers to Server Side Public License.
14*5199d831SAndrew Geissler
15*5199d831SAndrew Geissler  “Copyright” also means copyright-like laws that apply to other kinds of
16*5199d831SAndrew Geissler  works, such as semiconductor masks.
17*5199d831SAndrew Geissler
18*5199d831SAndrew Geissler  “The Program” refers to any copyrightable work licensed under this
19*5199d831SAndrew Geissler  License.  Each licensee is addressed as “you”. “Licensees” and
20*5199d831SAndrew Geissler  “recipients” may be individuals or organizations.
21*5199d831SAndrew Geissler
22*5199d831SAndrew Geissler  To “modify” a work means to copy from or adapt all or part of the work in
23*5199d831SAndrew Geissler  a fashion requiring copyright permission, other than the making of an
24*5199d831SAndrew Geissler  exact copy. The resulting work is called a “modified version” of the
25*5199d831SAndrew Geissler  earlier work or a work “based on” the earlier work.
26*5199d831SAndrew Geissler
27*5199d831SAndrew Geissler  A “covered work” means either the unmodified Program or a work based on
28*5199d831SAndrew Geissler  the Program.
29*5199d831SAndrew Geissler
30*5199d831SAndrew Geissler  To “propagate” a work means to do anything with it that, without
31*5199d831SAndrew Geissler  permission, would make you directly or secondarily liable for
32*5199d831SAndrew Geissler  infringement under applicable copyright law, except executing it on a
33*5199d831SAndrew Geissler  computer or modifying a private copy. Propagation includes copying,
34*5199d831SAndrew Geissler  distribution (with or without modification), making available to the
35*5199d831SAndrew Geissler  public, and in some countries other activities as well.
36*5199d831SAndrew Geissler
37*5199d831SAndrew Geissler  To “convey” a work means any kind of propagation that enables other
38*5199d831SAndrew Geissler  parties to make or receive copies. Mere interaction with a user through a
39*5199d831SAndrew Geissler  computer network, with no transfer of a copy, is not conveying.
40*5199d831SAndrew Geissler
41*5199d831SAndrew Geissler  An interactive user interface displays “Appropriate Legal Notices” to the
42*5199d831SAndrew Geissler  extent that it includes a convenient and prominently visible feature that
43*5199d831SAndrew Geissler  (1) displays an appropriate copyright notice, and (2) tells the user that
44*5199d831SAndrew Geissler  there is no warranty for the work (except to the extent that warranties
45*5199d831SAndrew Geissler  are provided), that licensees may convey the work under this License, and
46*5199d831SAndrew Geissler  how to view a copy of this License. If the interface presents a list of
47*5199d831SAndrew Geissler  user commands or options, such as a menu, a prominent item in the list
48*5199d831SAndrew Geissler  meets this criterion.
49*5199d831SAndrew Geissler
50*5199d831SAndrew Geissler  1. Source Code.
51*5199d831SAndrew Geissler
52*5199d831SAndrew Geissler  The “source code” for a work means the preferred form of the work for
53*5199d831SAndrew Geissler  making modifications to it. “Object code” means any non-source form of a
54*5199d831SAndrew Geissler  work.
55*5199d831SAndrew Geissler
56*5199d831SAndrew Geissler  A “Standard Interface” means an interface that either is an official
57*5199d831SAndrew Geissler  standard defined by a recognized standards body, or, in the case of
58*5199d831SAndrew Geissler  interfaces specified for a particular programming language, one that is
59*5199d831SAndrew Geissler  widely used among developers working in that language.  The “System
60*5199d831SAndrew Geissler  Libraries” of an executable work include anything, other than the work as
61*5199d831SAndrew Geissler  a whole, that (a) is included in the normal form of packaging a Major
62*5199d831SAndrew Geissler  Component, but which is not part of that Major Component, and (b) serves
63*5199d831SAndrew Geissler  only to enable use of the work with that Major Component, or to implement
64*5199d831SAndrew Geissler  a Standard Interface for which an implementation is available to the
65*5199d831SAndrew Geissler  public in source code form. A “Major Component”, in this context, means a
66*5199d831SAndrew Geissler  major essential component (kernel, window system, and so on) of the
67*5199d831SAndrew Geissler  specific operating system (if any) on which the executable work runs, or
68*5199d831SAndrew Geissler  a compiler used to produce the work, or an object code interpreter used
69*5199d831SAndrew Geissler  to run it.
70*5199d831SAndrew Geissler
71*5199d831SAndrew Geissler  The “Corresponding Source” for a work in object code form means all the
72*5199d831SAndrew Geissler  source code needed to generate, install, and (for an executable work) run
73*5199d831SAndrew Geissler  the object code and to modify the work, including scripts to control
74*5199d831SAndrew Geissler  those activities. However, it does not include the work's System
75*5199d831SAndrew Geissler  Libraries, or general-purpose tools or generally available free programs
76*5199d831SAndrew Geissler  which are used unmodified in performing those activities but which are
77*5199d831SAndrew Geissler  not part of the work. For example, Corresponding Source includes
78*5199d831SAndrew Geissler  interface definition files associated with source files for the work, and
79*5199d831SAndrew Geissler  the source code for shared libraries and dynamically linked subprograms
80*5199d831SAndrew Geissler  that the work is specifically designed to require, such as by intimate
81*5199d831SAndrew Geissler  data communication or control flow between those subprograms and other
82*5199d831SAndrew Geissler  parts of the work.
83*5199d831SAndrew Geissler
84*5199d831SAndrew Geissler  The Corresponding Source need not include anything that users can
85*5199d831SAndrew Geissler  regenerate automatically from other parts of the Corresponding Source.
86*5199d831SAndrew Geissler
87*5199d831SAndrew Geissler  The Corresponding Source for a work in source code form is that same work.
88*5199d831SAndrew Geissler
89*5199d831SAndrew Geissler  2. Basic Permissions.
90*5199d831SAndrew Geissler
91*5199d831SAndrew Geissler  All rights granted under this License are granted for the term of
92*5199d831SAndrew Geissler  copyright on the Program, and are irrevocable provided the stated
93*5199d831SAndrew Geissler  conditions are met. This License explicitly affirms your unlimited
94*5199d831SAndrew Geissler  permission to run the unmodified Program, subject to section 13. The
95*5199d831SAndrew Geissler  output from running a covered work is covered by this License only if the
96*5199d831SAndrew Geissler  output, given its content, constitutes a covered work. This License
97*5199d831SAndrew Geissler  acknowledges your rights of fair use or other equivalent, as provided by
98*5199d831SAndrew Geissler  copyright law.  Subject to section 13, you may make, run and propagate
99*5199d831SAndrew Geissler  covered works that you do not convey, without conditions so long as your
100*5199d831SAndrew Geissler  license otherwise remains in force. You may convey covered works to
101*5199d831SAndrew Geissler  others for the sole purpose of having them make modifications exclusively
102*5199d831SAndrew Geissler  for you, or provide you with facilities for running those works, provided
103*5199d831SAndrew Geissler  that you comply with the terms of this License in conveying all
104*5199d831SAndrew Geissler  material for which you do not control copyright. Those thus making or
105*5199d831SAndrew Geissler  running the covered works for you must do so exclusively on your
106*5199d831SAndrew Geissler  behalf, under your direction and control, on terms that prohibit them
107*5199d831SAndrew Geissler  from making any copies of your copyrighted material outside their
108*5199d831SAndrew Geissler  relationship with you.
109*5199d831SAndrew Geissler
110*5199d831SAndrew Geissler  Conveying under any other circumstances is permitted solely under the
111*5199d831SAndrew Geissler  conditions stated below. Sublicensing is not allowed; section 10 makes it
112*5199d831SAndrew Geissler  unnecessary.
113*5199d831SAndrew Geissler
114*5199d831SAndrew Geissler  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
115*5199d831SAndrew Geissler
116*5199d831SAndrew Geissler  No covered work shall be deemed part of an effective technological
117*5199d831SAndrew Geissler  measure under any applicable law fulfilling obligations under article 11
118*5199d831SAndrew Geissler  of the WIPO copyright treaty adopted on 20 December 1996, or similar laws
119*5199d831SAndrew Geissler  prohibiting or restricting circumvention of such measures.
120*5199d831SAndrew Geissler
121*5199d831SAndrew Geissler  When you convey a covered work, you waive any legal power to forbid
122*5199d831SAndrew Geissler  circumvention of technological measures to the extent such circumvention is
123*5199d831SAndrew Geissler  effected by exercising rights under this License with respect to the
124*5199d831SAndrew Geissler  covered work, and you disclaim any intention to limit operation or
125*5199d831SAndrew Geissler  modification of the work as a means of enforcing, against the work's users,
126*5199d831SAndrew Geissler  your or third parties' legal rights to forbid circumvention of
127*5199d831SAndrew Geissler  technological measures.
128*5199d831SAndrew Geissler
129*5199d831SAndrew Geissler  4. Conveying Verbatim Copies.
130*5199d831SAndrew Geissler
131*5199d831SAndrew Geissler  You may convey verbatim copies of the Program's source code as you
132*5199d831SAndrew Geissler  receive it, in any medium, provided that you conspicuously and
133*5199d831SAndrew Geissler  appropriately publish on each copy an appropriate copyright notice; keep
134*5199d831SAndrew Geissler  intact all notices stating that this License and any non-permissive terms
135*5199d831SAndrew Geissler  added in accord with section 7 apply to the code; keep intact all notices
136*5199d831SAndrew Geissler  of the absence of any warranty; and give all recipients a copy of this
137*5199d831SAndrew Geissler  License along with the Program.  You may charge any price or no price for
138*5199d831SAndrew Geissler  each copy that you convey, and you may offer support or warranty
139*5199d831SAndrew Geissler  protection for a fee.
140*5199d831SAndrew Geissler
141*5199d831SAndrew Geissler  5. Conveying Modified Source Versions.
142*5199d831SAndrew Geissler
143*5199d831SAndrew Geissler  You may convey a work based on the Program, or the modifications to
144*5199d831SAndrew Geissler  produce it from the Program, in the form of source code under the terms
145*5199d831SAndrew Geissler  of section 4, provided that you also meet all of these conditions:
146*5199d831SAndrew Geissler
147*5199d831SAndrew Geissler    a) The work must carry prominent notices stating that you modified it,
148*5199d831SAndrew Geissler    and giving a relevant date.
149*5199d831SAndrew Geissler
150*5199d831SAndrew Geissler    b) The work must carry prominent notices stating that it is released
151*5199d831SAndrew Geissler    under this License and any conditions added under section 7. This
152*5199d831SAndrew Geissler    requirement modifies the requirement in section 4 to “keep intact all
153*5199d831SAndrew Geissler    notices”.
154*5199d831SAndrew Geissler
155*5199d831SAndrew Geissler    c) You must license the entire work, as a whole, under this License to
156*5199d831SAndrew Geissler    anyone who comes into possession of a copy. This License will therefore
157*5199d831SAndrew Geissler    apply, along with any applicable section 7 additional terms, to the
158*5199d831SAndrew Geissler    whole of the work, and all its parts, regardless of how they are
159*5199d831SAndrew Geissler    packaged. This License gives no permission to license the work in any
160*5199d831SAndrew Geissler    other way, but it does not invalidate such permission if you have
161*5199d831SAndrew Geissler    separately received it.
162*5199d831SAndrew Geissler
163*5199d831SAndrew Geissler    d) If the work has interactive user interfaces, each must display
164*5199d831SAndrew Geissler    Appropriate Legal Notices; however, if the Program has interactive
165*5199d831SAndrew Geissler    interfaces that do not display Appropriate Legal Notices, your work
166*5199d831SAndrew Geissler    need not make them do so.
167*5199d831SAndrew Geissler
168*5199d831SAndrew Geissler  A compilation of a covered work with other separate and independent
169*5199d831SAndrew Geissler  works, which are not by their nature extensions of the covered work, and
170*5199d831SAndrew Geissler  which are not combined with it such as to form a larger program, in or on
171*5199d831SAndrew Geissler  a volume of a storage or distribution medium, is called an “aggregate” if
172*5199d831SAndrew Geissler  the compilation and its resulting copyright are not used to limit the
173*5199d831SAndrew Geissler  access or legal rights of the compilation's users beyond what the
174*5199d831SAndrew Geissler  individual works permit. Inclusion of a covered work in an aggregate does
175*5199d831SAndrew Geissler  not cause this License to apply to the other parts of the aggregate.
176*5199d831SAndrew Geissler
177*5199d831SAndrew Geissler  6. Conveying Non-Source Forms.
178*5199d831SAndrew Geissler
179*5199d831SAndrew Geissler  You may convey a covered work in object code form under the terms of
180*5199d831SAndrew Geissler  sections 4 and 5, provided that you also convey the machine-readable
181*5199d831SAndrew Geissler  Corresponding Source under the terms of this License, in one of these
182*5199d831SAndrew Geissler  ways:
183*5199d831SAndrew Geissler
184*5199d831SAndrew Geissler    a) Convey the object code in, or embodied in, a physical product
185*5199d831SAndrew Geissler    (including a physical distribution medium), accompanied by the
186*5199d831SAndrew Geissler    Corresponding Source fixed on a durable physical medium customarily
187*5199d831SAndrew Geissler    used for software interchange.
188*5199d831SAndrew Geissler
189*5199d831SAndrew Geissler    b) Convey the object code in, or embodied in, a physical product
190*5199d831SAndrew Geissler    (including a physical distribution medium), accompanied by a written
191*5199d831SAndrew Geissler    offer, valid for at least three years and valid for as long as you
192*5199d831SAndrew Geissler    offer spare parts or customer support for that product model, to give
193*5199d831SAndrew Geissler    anyone who possesses the object code either (1) a copy of the
194*5199d831SAndrew Geissler    Corresponding Source for all the software in the product that is
195*5199d831SAndrew Geissler    covered by this License, on a durable physical medium customarily used
196*5199d831SAndrew Geissler    for software interchange, for a price no more than your reasonable cost
197*5199d831SAndrew Geissler    of physically performing this conveying of source, or (2) access to
198*5199d831SAndrew Geissler    copy the Corresponding Source from a network server at no charge.
199*5199d831SAndrew Geissler
200*5199d831SAndrew Geissler    c) Convey individual copies of the object code with a copy of the
201*5199d831SAndrew Geissler    written offer to provide the Corresponding Source. This alternative is
202*5199d831SAndrew Geissler    allowed only occasionally and noncommercially, and only if you received
203*5199d831SAndrew Geissler    the object code with such an offer, in accord with subsection 6b.
204*5199d831SAndrew Geissler
205*5199d831SAndrew Geissler    d) Convey the object code by offering access from a designated place
206*5199d831SAndrew Geissler    (gratis or for a charge), and offer equivalent access to the
207*5199d831SAndrew Geissler    Corresponding Source in the same way through the same place at no
208*5199d831SAndrew Geissler    further charge. You need not require recipients to copy the
209*5199d831SAndrew Geissler    Corresponding Source along with the object code. If the place to copy
210*5199d831SAndrew Geissler    the object code is a network server, the Corresponding Source may be on
211*5199d831SAndrew Geissler    a different server (operated by you or a third party) that supports
212*5199d831SAndrew Geissler    equivalent copying facilities, provided you maintain clear directions
213*5199d831SAndrew Geissler    next to the object code saying where to find the Corresponding Source.
214*5199d831SAndrew Geissler    Regardless of what server hosts the Corresponding Source, you remain
215*5199d831SAndrew Geissler    obligated to ensure that it is available for as long as needed to
216*5199d831SAndrew Geissler    satisfy these requirements.
217*5199d831SAndrew Geissler
218*5199d831SAndrew Geissler    e) Convey the object code using peer-to-peer transmission, provided you
219*5199d831SAndrew Geissler    inform other peers where the object code and Corresponding Source of
220*5199d831SAndrew Geissler    the work are being offered to the general public at no charge under
221*5199d831SAndrew Geissler    subsection 6d.
222*5199d831SAndrew Geissler
223*5199d831SAndrew Geissler  A separable portion of the object code, whose source code is excluded
224*5199d831SAndrew Geissler  from the Corresponding Source as a System Library, need not be included
225*5199d831SAndrew Geissler  in conveying the object code work.
226*5199d831SAndrew Geissler
227*5199d831SAndrew Geissler  A “User Product” is either (1) a “consumer product”, which means any
228*5199d831SAndrew Geissler  tangible personal property which is normally used for personal, family,
229*5199d831SAndrew Geissler  or household purposes, or (2) anything designed or sold for incorporation
230*5199d831SAndrew Geissler  into a dwelling. In determining whether a product is a consumer product,
231*5199d831SAndrew Geissler  doubtful cases shall be resolved in favor of coverage. For a particular
232*5199d831SAndrew Geissler  product received by a particular user, “normally used” refers to a
233*5199d831SAndrew Geissler  typical or common use of that class of product, regardless of the status
234*5199d831SAndrew Geissler  of the particular user or of the way in which the particular user
235*5199d831SAndrew Geissler  actually uses, or expects or is expected to use, the product. A product
236*5199d831SAndrew Geissler  is a consumer product regardless of whether the product has substantial
237*5199d831SAndrew Geissler  commercial, industrial or non-consumer uses, unless such uses represent
238*5199d831SAndrew Geissler  the only significant mode of use of the product.
239*5199d831SAndrew Geissler
240*5199d831SAndrew Geissler  “Installation Information” for a User Product means any methods,
241*5199d831SAndrew Geissler  procedures, authorization keys, or other information required to install
242*5199d831SAndrew Geissler  and execute modified versions of a covered work in that User Product from
243*5199d831SAndrew Geissler  a modified version of its Corresponding Source. The information must
244*5199d831SAndrew Geissler  suffice to ensure that the continued functioning of the modified object
245*5199d831SAndrew Geissler  code is in no case prevented or interfered with solely because
246*5199d831SAndrew Geissler  modification has been made.
247*5199d831SAndrew Geissler
248*5199d831SAndrew Geissler  If you convey an object code work under this section in, or with, or
249*5199d831SAndrew Geissler  specifically for use in, a User Product, and the conveying occurs as part
250*5199d831SAndrew Geissler  of a transaction in which the right of possession and use of the User
251*5199d831SAndrew Geissler  Product is transferred to the recipient in perpetuity or for a fixed term
252*5199d831SAndrew Geissler  (regardless of how the transaction is characterized), the Corresponding
253*5199d831SAndrew Geissler  Source conveyed under this section must be accompanied by the
254*5199d831SAndrew Geissler  Installation Information. But this requirement does not apply if neither
255*5199d831SAndrew Geissler  you nor any third party retains the ability to install modified object
256*5199d831SAndrew Geissler  code on the User Product (for example, the work has been installed in
257*5199d831SAndrew Geissler  ROM).
258*5199d831SAndrew Geissler
259*5199d831SAndrew Geissler  The requirement to provide Installation Information does not include a
260*5199d831SAndrew Geissler  requirement to continue to provide support service, warranty, or updates
261*5199d831SAndrew Geissler  for a work that has been modified or installed by the recipient, or for
262*5199d831SAndrew Geissler  the User Product in which it has been modified or installed. Access
263*5199d831SAndrew Geissler  to a network may be denied when the modification itself materially
264*5199d831SAndrew Geissler  and adversely affects the operation of the network or violates the
265*5199d831SAndrew Geissler  rules and protocols for communication across the network.
266*5199d831SAndrew Geissler
267*5199d831SAndrew Geissler  Corresponding Source conveyed, and Installation Information provided, in
268*5199d831SAndrew Geissler  accord with this section must be in a format that is publicly documented
269*5199d831SAndrew Geissler  (and with an implementation available to the public in source code form),
270*5199d831SAndrew Geissler  and must require no special password or key for unpacking, reading or
271*5199d831SAndrew Geissler  copying.
272*5199d831SAndrew Geissler
273*5199d831SAndrew Geissler  7. Additional Terms.
274*5199d831SAndrew Geissler
275*5199d831SAndrew Geissler  “Additional permissions” are terms that supplement the terms of this
276*5199d831SAndrew Geissler  License by making exceptions from one or more of its conditions.
277*5199d831SAndrew Geissler  Additional permissions that are applicable to the entire Program shall be
278*5199d831SAndrew Geissler  treated as though they were included in this License, to the extent that
279*5199d831SAndrew Geissler  they are valid under applicable law. If additional permissions apply only
280*5199d831SAndrew Geissler  to part of the Program, that part may be used separately under those
281*5199d831SAndrew Geissler  permissions, but the entire Program remains governed by this License
282*5199d831SAndrew Geissler  without regard to the additional permissions.  When you convey a copy of
283*5199d831SAndrew Geissler  a covered work, you may at your option remove any additional permissions
284*5199d831SAndrew Geissler  from that copy, or from any part of it. (Additional permissions may be
285*5199d831SAndrew Geissler  written to require their own removal in certain cases when you modify the
286*5199d831SAndrew Geissler  work.) You may place additional permissions on material, added by you to
287*5199d831SAndrew Geissler  a covered work, for which you have or can give appropriate copyright
288*5199d831SAndrew Geissler  permission.
289*5199d831SAndrew Geissler
290*5199d831SAndrew Geissler  Notwithstanding any other provision of this License, for material you add
291*5199d831SAndrew Geissler  to a covered work, you may (if authorized by the copyright holders of
292*5199d831SAndrew Geissler  that material) supplement the terms of this License with terms:
293*5199d831SAndrew Geissler
294*5199d831SAndrew Geissler    a) Disclaiming warranty or limiting liability differently from the
295*5199d831SAndrew Geissler    terms of sections 15 and 16 of this License; or
296*5199d831SAndrew Geissler
297*5199d831SAndrew Geissler    b) Requiring preservation of specified reasonable legal notices or
298*5199d831SAndrew Geissler    author attributions in that material or in the Appropriate Legal
299*5199d831SAndrew Geissler    Notices displayed by works containing it; or
300*5199d831SAndrew Geissler
301*5199d831SAndrew Geissler    c) Prohibiting misrepresentation of the origin of that material, or
302*5199d831SAndrew Geissler    requiring that modified versions of such material be marked in
303*5199d831SAndrew Geissler    reasonable ways as different from the original version; or
304*5199d831SAndrew Geissler
305*5199d831SAndrew Geissler    d) Limiting the use for publicity purposes of names of licensors or
306*5199d831SAndrew Geissler    authors of the material; or
307*5199d831SAndrew Geissler
308*5199d831SAndrew Geissler    e) Declining to grant rights under trademark law for use of some trade
309*5199d831SAndrew Geissler    names, trademarks, or service marks; or
310*5199d831SAndrew Geissler
311*5199d831SAndrew Geissler    f) Requiring indemnification of licensors and authors of that material
312*5199d831SAndrew Geissler    by anyone who conveys the material (or modified versions of it) with
313*5199d831SAndrew Geissler    contractual assumptions of liability to the recipient, for any
314*5199d831SAndrew Geissler    liability that these contractual assumptions directly impose on those
315*5199d831SAndrew Geissler    licensors and authors.
316*5199d831SAndrew Geissler
317*5199d831SAndrew Geissler  All other non-permissive additional terms are considered “further
318*5199d831SAndrew Geissler  restrictions” within the meaning of section 10. If the Program as you
319*5199d831SAndrew Geissler  received it, or any part of it, contains a notice stating that it is
320*5199d831SAndrew Geissler  governed by this License along with a term that is a further restriction,
321*5199d831SAndrew Geissler  you may remove that term. If a license document contains a further
322*5199d831SAndrew Geissler  restriction but permits relicensing or conveying under this License, you
323*5199d831SAndrew Geissler  may add to a covered work material governed by the terms of that license
324*5199d831SAndrew Geissler  document, provided that the further restriction does not survive such
325*5199d831SAndrew Geissler  relicensing or conveying.
326*5199d831SAndrew Geissler
327*5199d831SAndrew Geissler  If you add terms to a covered work in accord with this section, you must
328*5199d831SAndrew Geissler  place, in the relevant source files, a statement of the additional terms
329*5199d831SAndrew Geissler  that apply to those files, or a notice indicating where to find the
330*5199d831SAndrew Geissler  applicable terms.  Additional terms, permissive or non-permissive, may be
331*5199d831SAndrew Geissler  stated in the form of a separately written license, or stated as
332*5199d831SAndrew Geissler  exceptions; the above requirements apply either way.
333*5199d831SAndrew Geissler
334*5199d831SAndrew Geissler  8. Termination.
335*5199d831SAndrew Geissler
336*5199d831SAndrew Geissler  You may not propagate or modify a covered work except as expressly
337*5199d831SAndrew Geissler  provided under this License. Any attempt otherwise to propagate or modify
338*5199d831SAndrew Geissler  it is void, and will automatically terminate your rights under this
339*5199d831SAndrew Geissler  License (including any patent licenses granted under the third paragraph
340*5199d831SAndrew Geissler  of section 11).
341*5199d831SAndrew Geissler
342*5199d831SAndrew Geissler  However, if you cease all violation of this License, then your license
343*5199d831SAndrew Geissler  from a particular copyright holder is reinstated (a) provisionally,
344*5199d831SAndrew Geissler  unless and until the copyright holder explicitly and finally terminates
345*5199d831SAndrew Geissler  your license, and (b) permanently, if the copyright holder fails to
346*5199d831SAndrew Geissler  notify you of the violation by some reasonable means prior to 60 days
347*5199d831SAndrew Geissler  after the cessation.
348*5199d831SAndrew Geissler
349*5199d831SAndrew Geissler  Moreover, your license from a particular copyright holder is reinstated
350*5199d831SAndrew Geissler  permanently if the copyright holder notifies you of the violation by some
351*5199d831SAndrew Geissler  reasonable means, this is the first time you have received notice of
352*5199d831SAndrew Geissler  violation of this License (for any work) from that copyright holder, and
353*5199d831SAndrew Geissler  you cure the violation prior to 30 days after your receipt of the notice.
354*5199d831SAndrew Geissler
355*5199d831SAndrew Geissler  Termination of your rights under this section does not terminate the
356*5199d831SAndrew Geissler  licenses of parties who have received copies or rights from you under
357*5199d831SAndrew Geissler  this License. If your rights have been terminated and not permanently
358*5199d831SAndrew Geissler  reinstated, you do not qualify to receive new licenses for the same
359*5199d831SAndrew Geissler  material under section 10.
360*5199d831SAndrew Geissler
361*5199d831SAndrew Geissler  9. Acceptance Not Required for Having Copies.
362*5199d831SAndrew Geissler
363*5199d831SAndrew Geissler  You are not required to accept this License in order to receive or run a
364*5199d831SAndrew Geissler  copy of the Program. Ancillary propagation of a covered work occurring
365*5199d831SAndrew Geissler  solely as a consequence of using peer-to-peer transmission to receive a
366*5199d831SAndrew Geissler  copy likewise does not require acceptance. However, nothing other than
367*5199d831SAndrew Geissler  this License grants you permission to propagate or modify any covered
368*5199d831SAndrew Geissler  work. These actions infringe copyright if you do not accept this License.
369*5199d831SAndrew Geissler  Therefore, by modifying or propagating a covered work, you indicate your
370*5199d831SAndrew Geissler  acceptance of this License to do so.
371*5199d831SAndrew Geissler
372*5199d831SAndrew Geissler  10. Automatic Licensing of Downstream Recipients.
373*5199d831SAndrew Geissler
374*5199d831SAndrew Geissler  Each time you convey a covered work, the recipient automatically receives
375*5199d831SAndrew Geissler  a license from the original licensors, to run, modify and propagate that
376*5199d831SAndrew Geissler  work, subject to this License. You are not responsible for enforcing
377*5199d831SAndrew Geissler  compliance by third parties with this License.
378*5199d831SAndrew Geissler
379*5199d831SAndrew Geissler  An “entity transaction” is a transaction transferring control of an
380*5199d831SAndrew Geissler  organization, or substantially all assets of one, or subdividing an
381*5199d831SAndrew Geissler  organization, or merging organizations. If propagation of a covered work
382*5199d831SAndrew Geissler  results from an entity transaction, each party to that transaction who
383*5199d831SAndrew Geissler  receives a copy of the work also receives whatever licenses to the work
384*5199d831SAndrew Geissler  the party's predecessor in interest had or could give under the previous
385*5199d831SAndrew Geissler  paragraph, plus a right to possession of the Corresponding Source of the
386*5199d831SAndrew Geissler  work from the predecessor in interest, if the predecessor has it or can
387*5199d831SAndrew Geissler  get it with reasonable efforts.
388*5199d831SAndrew Geissler
389*5199d831SAndrew Geissler  You may not impose any further restrictions on the exercise of the rights
390*5199d831SAndrew Geissler  granted or affirmed under this License. For example, you may not impose a
391*5199d831SAndrew Geissler  license fee, royalty, or other charge for exercise of rights granted
392*5199d831SAndrew Geissler  under this License, and you may not initiate litigation (including a
393*5199d831SAndrew Geissler  cross-claim or counterclaim in a lawsuit) alleging that any patent claim
394*5199d831SAndrew Geissler  is infringed by making, using, selling, offering for sale, or importing
395*5199d831SAndrew Geissler  the Program or any portion of it.
396*5199d831SAndrew Geissler
397*5199d831SAndrew Geissler  11. Patents.
398*5199d831SAndrew Geissler
399*5199d831SAndrew Geissler  A “contributor” is a copyright holder who authorizes use under this
400*5199d831SAndrew Geissler  License of the Program or a work on which the Program is based. The work
401*5199d831SAndrew Geissler  thus licensed is called the contributor's “contributor version”.
402*5199d831SAndrew Geissler
403*5199d831SAndrew Geissler  A contributor's “essential patent claims” are all patent claims owned or
404*5199d831SAndrew Geissler  controlled by the contributor, whether already acquired or hereafter
405*5199d831SAndrew Geissler  acquired, that would be infringed by some manner, permitted by this
406*5199d831SAndrew Geissler  License, of making, using, or selling its contributor version, but do not
407*5199d831SAndrew Geissler  include claims that would be infringed only as a consequence of further
408*5199d831SAndrew Geissler  modification of the contributor version. For purposes of this definition,
409*5199d831SAndrew Geissler  “control” includes the right to grant patent sublicenses in a manner
410*5199d831SAndrew Geissler  consistent with the requirements of this License.
411*5199d831SAndrew Geissler
412*5199d831SAndrew Geissler  Each contributor grants you a non-exclusive, worldwide, royalty-free
413*5199d831SAndrew Geissler  patent license under the contributor's essential patent claims, to make,
414*5199d831SAndrew Geissler  use, sell, offer for sale, import and otherwise run, modify and propagate
415*5199d831SAndrew Geissler  the contents of its contributor version.
416*5199d831SAndrew Geissler
417*5199d831SAndrew Geissler  In the following three paragraphs, a “patent license” is any express
418*5199d831SAndrew Geissler  agreement or commitment, however denominated, not to enforce a patent
419*5199d831SAndrew Geissler  (such as an express permission to practice a patent or covenant not to
420*5199d831SAndrew Geissler  sue for patent infringement). To “grant” such a patent license to a party
421*5199d831SAndrew Geissler  means to make such an agreement or commitment not to enforce a patent
422*5199d831SAndrew Geissler  against the party.
423*5199d831SAndrew Geissler
424*5199d831SAndrew Geissler  If you convey a covered work, knowingly relying on a patent license, and
425*5199d831SAndrew Geissler  the Corresponding Source of the work is not available for anyone to copy,
426*5199d831SAndrew Geissler  free of charge and under the terms of this License, through a publicly
427*5199d831SAndrew Geissler  available network server or other readily accessible means, then you must
428*5199d831SAndrew Geissler  either (1) cause the Corresponding Source to be so available, or (2)
429*5199d831SAndrew Geissler  arrange to deprive yourself of the benefit of the patent license for this
430*5199d831SAndrew Geissler  particular work, or (3) arrange, in a manner consistent with the
431*5199d831SAndrew Geissler  requirements of this License, to extend the patent license to downstream
432*5199d831SAndrew Geissler  recipients. “Knowingly relying” means you have actual knowledge that, but
433*5199d831SAndrew Geissler  for the patent license, your conveying the covered work in a country, or
434*5199d831SAndrew Geissler  your recipient's use of the covered work in a country, would infringe
435*5199d831SAndrew Geissler  one or more identifiable patents in that country that you have reason
436*5199d831SAndrew Geissler  to believe are valid.
437*5199d831SAndrew Geissler
438*5199d831SAndrew Geissler  If, pursuant to or in connection with a single transaction or
439*5199d831SAndrew Geissler  arrangement, you convey, or propagate by procuring conveyance of, a
440*5199d831SAndrew Geissler  covered work, and grant a patent license to some of the parties receiving
441*5199d831SAndrew Geissler  the covered work authorizing them to use, propagate, modify or convey a
442*5199d831SAndrew Geissler  specific copy of the covered work, then the patent license you grant is
443*5199d831SAndrew Geissler  automatically extended to all recipients of the covered work and works
444*5199d831SAndrew Geissler  based on it.
445*5199d831SAndrew Geissler
446*5199d831SAndrew Geissler  A patent license is “discriminatory” if it does not include within the
447*5199d831SAndrew Geissler  scope of its coverage, prohibits the exercise of, or is conditioned on
448*5199d831SAndrew Geissler  the non-exercise of one or more of the rights that are specifically
449*5199d831SAndrew Geissler  granted under this License. You may not convey a covered work if you are
450*5199d831SAndrew Geissler  a party to an arrangement with a third party that is in the business of
451*5199d831SAndrew Geissler  distributing software, under which you make payment to the third party
452*5199d831SAndrew Geissler  based on the extent of your activity of conveying the work, and under
453*5199d831SAndrew Geissler  which the third party grants, to any of the parties who would receive the
454*5199d831SAndrew Geissler  covered work from you, a discriminatory patent license (a) in connection
455*5199d831SAndrew Geissler  with copies of the covered work conveyed by you (or copies made from
456*5199d831SAndrew Geissler  those copies), or (b) primarily for and in connection with specific
457*5199d831SAndrew Geissler  products or compilations that contain the covered work, unless you
458*5199d831SAndrew Geissler  entered into that arrangement, or that patent license was granted, prior
459*5199d831SAndrew Geissler  to 28 March 2007.
460*5199d831SAndrew Geissler
461*5199d831SAndrew Geissler  Nothing in this License shall be construed as excluding or limiting any
462*5199d831SAndrew Geissler  implied license or other defenses to infringement that may otherwise be
463*5199d831SAndrew Geissler  available to you under applicable patent law.
464*5199d831SAndrew Geissler
465*5199d831SAndrew Geissler  12. No Surrender of Others' Freedom.
466*5199d831SAndrew Geissler
467*5199d831SAndrew Geissler  If conditions are imposed on you (whether by court order, agreement or
468*5199d831SAndrew Geissler  otherwise) that contradict the conditions of this License, they do not
469*5199d831SAndrew Geissler  excuse you from the conditions of this License. If you cannot use,
470*5199d831SAndrew Geissler  propagate or convey a covered work so as to satisfy simultaneously your
471*5199d831SAndrew Geissler  obligations under this License and any other pertinent obligations, then
472*5199d831SAndrew Geissler  as a consequence you may not use, propagate or convey it at all. For
473*5199d831SAndrew Geissler  example, if you agree to terms that obligate you to collect a royalty for
474*5199d831SAndrew Geissler  further conveying from those to whom you convey the Program, the only way
475*5199d831SAndrew Geissler  you could satisfy both those terms and this License would be to refrain
476*5199d831SAndrew Geissler  entirely from conveying the Program.
477*5199d831SAndrew Geissler
478*5199d831SAndrew Geissler  13. Offering the Program as a Service.
479*5199d831SAndrew Geissler
480*5199d831SAndrew Geissler  If you make the functionality of the Program or a modified version
481*5199d831SAndrew Geissler  available to third parties as a service, you must make the Service Source
482*5199d831SAndrew Geissler  Code available via network download to everyone at no charge, under the
483*5199d831SAndrew Geissler  terms of this License. Making the functionality of the Program or
484*5199d831SAndrew Geissler  modified version available to third parties as a service includes,
485*5199d831SAndrew Geissler  without limitation, enabling third parties to interact with the
486*5199d831SAndrew Geissler  functionality of the Program or modified version remotely through a
487*5199d831SAndrew Geissler  computer network, offering a service the value of which entirely or
488*5199d831SAndrew Geissler  primarily derives from the value of the Program or modified version, or
489*5199d831SAndrew Geissler  offering a service that accomplishes for users the primary purpose of the
490*5199d831SAndrew Geissler  Program or modified version.
491*5199d831SAndrew Geissler
492*5199d831SAndrew Geissler  “Service Source Code” means the Corresponding Source for the Program or
493*5199d831SAndrew Geissler  the modified version, and the Corresponding Source for all programs that
494*5199d831SAndrew Geissler  you use to make the Program or modified version available as a service,
495*5199d831SAndrew Geissler  including, without limitation, management software, user interfaces,
496*5199d831SAndrew Geissler  application program interfaces, automation software, monitoring software,
497*5199d831SAndrew Geissler  backup software, storage software and hosting software, all such that a
498*5199d831SAndrew Geissler  user could run an instance of the service using the Service Source Code
499*5199d831SAndrew Geissler  you make available.
500*5199d831SAndrew Geissler
501*5199d831SAndrew Geissler  14. Revised Versions of this License.
502*5199d831SAndrew Geissler
503*5199d831SAndrew Geissler  MongoDB, Inc. may publish revised and/or new versions of the Server Side
504*5199d831SAndrew Geissler  Public License from time to time. Such new versions will be similar in
505*5199d831SAndrew Geissler  spirit to the present version, but may differ in detail to address new
506*5199d831SAndrew Geissler  problems or concerns.
507*5199d831SAndrew Geissler
508*5199d831SAndrew Geissler  Each version is given a distinguishing version number. If the Program
509*5199d831SAndrew Geissler  specifies that a certain numbered version of the Server Side Public
510*5199d831SAndrew Geissler  License “or any later version” applies to it, you have the option of
511*5199d831SAndrew Geissler  following the terms and conditions either of that numbered version or of
512*5199d831SAndrew Geissler  any later version published by MongoDB, Inc. If the Program does not
513*5199d831SAndrew Geissler  specify a version number of the Server Side Public License, you may
514*5199d831SAndrew Geissler  choose any version ever published by MongoDB, Inc.
515*5199d831SAndrew Geissler
516*5199d831SAndrew Geissler  If the Program specifies that a proxy can decide which future versions of
517*5199d831SAndrew Geissler  the Server Side Public License can be used, that proxy's public statement
518*5199d831SAndrew Geissler  of acceptance of a version permanently authorizes you to choose that
519*5199d831SAndrew Geissler  version for the Program.
520*5199d831SAndrew Geissler
521*5199d831SAndrew Geissler  Later license versions may give you additional or different permissions.
522*5199d831SAndrew Geissler  However, no additional obligations are imposed on any author or copyright holder
523*5199d831SAndrew Geissler  as a result of your choosing to follow a later version.
524*5199d831SAndrew Geissler
525*5199d831SAndrew Geissler  15. Disclaimer of Warranty.
526*5199d831SAndrew Geissler
527*5199d831SAndrew Geissler  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
528*5199d831SAndrew Geissler  APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS
529*5199d831SAndrew Geissler  AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY
530*5199d831SAndrew Geissler  OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
531*5199d831SAndrew Geissler  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
532*5199d831SAndrew Geissler  PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
533*5199d831SAndrew Geissler  IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
534*5199d831SAndrew Geissler  ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
535*5199d831SAndrew Geissler
536*5199d831SAndrew Geissler  16. Limitation of Liability.
537*5199d831SAndrew Geissler
538*5199d831SAndrew Geissler  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
539*5199d831SAndrew Geissler  WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
540*5199d831SAndrew Geissler  THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
541*5199d831SAndrew Geissler  ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF
542*5199d831SAndrew Geissler  THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
543*5199d831SAndrew Geissler  LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
544*5199d831SAndrew Geissler  OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
545*5199d831SAndrew Geissler  PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
546*5199d831SAndrew Geissler  POSSIBILITY OF SUCH DAMAGES.
547*5199d831SAndrew Geissler
548*5199d831SAndrew Geissler  17. Interpretation of Sections 15 and 16.
549*5199d831SAndrew Geissler
550*5199d831SAndrew Geissler  If the disclaimer of warranty and limitation of liability provided above
551*5199d831SAndrew Geissler  cannot be given local legal effect according to their terms, reviewing
552*5199d831SAndrew Geissler  courts shall apply local law that most closely approximates an absolute
553*5199d831SAndrew Geissler  waiver of all civil liability in connection with the Program, unless a
554*5199d831SAndrew Geissler  warranty or assumption of liability accompanies a copy of the Program in
555*5199d831SAndrew Geissler  return for a fee.
556*5199d831SAndrew Geissler
557*5199d831SAndrew Geissler                        END OF TERMS AND CONDITIONS
558