Permissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
Server Side Public LicenseVERSION 1, OCTOBER 16, 2018Copyright © 2018 MongoDB, Inc.Everyone is permitted to copy and distribute verbatim copies of thislicense document, but changing it is not allowed.TERMS AND CONDITIONS0. Definitions.“This License” refers to Server Side Public License.“Copyright” also means copyright-like laws that apply to other kinds ofworks, such as semiconductor masks.“The Program” refers to any copyrightable work licensed under thisLicense. Each licensee is addressed as “you”. “Licensees” and“recipients” may be individuals or organizations.To “modify” a work means to copy from or adapt all or part of the work ina fashion requiring copyright permission, other than the making of anexact copy. The resulting work is called a “modified version” of theearlier work or a work “based on” the earlier work.A “covered work” means either the unmodified Program or a work based onthe Program.To “propagate” a work means to do anything with it that, withoutpermission, would make you directly or secondarily liable forinfringement under applicable copyright law, except executing it on acomputer or modifying a private copy. Propagation includes copying,distribution (with or without modification), making available to thepublic, and in some countries other activities as well.To “convey” a work means any kind of propagation that enables otherparties to make or receive copies. Mere interaction with a user through acomputer network, with no transfer of a copy, is not conveying.An interactive user interface displays “Appropriate Legal Notices” to theextent that it includes a convenient and prominently visible feature that(1) displays an appropriate copyright notice, and (2) tells the user thatthere is no warranty for the work (except to the extent that warrantiesare provided), that licensees may convey the work under this License, andhow to view a copy of this License. If the interface presents a list ofuser commands or options, such as a menu, a prominent item in the listmeets this criterion.1. Source Code.The “source code” for a work means the preferred form of the work formaking modifications to it. “Object code” means any non-source form of awork.A “Standard Interface” means an interface that either is an officialstandard defined by a recognized standards body, or, in the case ofinterfaces specified for a particular programming language, one that iswidely used among developers working in that language. The “SystemLibraries” of an executable work include anything, other than the work asa whole, that (a) is included in the normal form of packaging a MajorComponent, but which is not part of that Major Component, and (b) servesonly to enable use of the work with that Major Component, or to implementa Standard Interface for which an implementation is available to thepublic in source code form. A “Major Component”, in this context, means amajor essential component (kernel, window system, and so on) of thespecific operating system (if any) on which the executable work runs, ora compiler used to produce the work, or an object code interpreter usedto run it.The “Corresponding Source” for a work in object code form means all thesource code needed to generate, install, and (for an executable work) runthe object code and to modify the work, including scripts to controlthose activities. However, it does not include the work's SystemLibraries, or general-purpose tools or generally available free programswhich are used unmodified in performing those activities but which arenot part of the work. For example, Corresponding Source includesinterface definition files associated with source files for the work, andthe source code for shared libraries and dynamically linked subprogramsthat the work is specifically designed to require, such as by intimatedata communication or control flow between those subprograms and otherparts of the work.The Corresponding Source need not include anything that users canregenerate automatically from other parts of the Corresponding Source.The Corresponding Source for a work in source code form is that same work.2. Basic Permissions.All rights granted under this License are granted for the term ofcopyright on the Program, and are irrevocable provided the statedconditions are met. This License explicitly affirms your unlimitedpermission to run the unmodified Program, subject to section 13. Theoutput from running a covered work is covered by this License only if theoutput, given its content, constitutes a covered work. This Licenseacknowledges your rights of fair use or other equivalent, as provided bycopyright law. Subject to section 13, you may make, run and propagatecovered works that you do not convey, without conditions so long as yourlicense otherwise remains in force. You may convey covered works toothers for the sole purpose of having them make modifications exclusivelyfor you, or provide you with facilities for running those works, providedthat you comply with the terms of this License in conveying allmaterial for which you do not control copyright. Those thus making orrunning the covered works for you must do so exclusively on yourbehalf, under your direction and control, on terms that prohibit themfrom making any copies of your copyrighted material outside theirrelationship with you.Conveying under any other circumstances is permitted solely under theconditions stated below. Sublicensing is not allowed; section 10 makes itunnecessary.3. Protecting Users' Legal Rights From Anti-Circumvention Law.No covered work shall be deemed part of an effective technologicalmeasure under any applicable law fulfilling obligations under article 11of the WIPO copyright treaty adopted on 20 December 1996, or similar lawsprohibiting or restricting circumvention of such measures.When you convey a covered work, you waive any legal power to forbidcircumvention of technological measures to the extent such circumvention iseffected by exercising rights under this License with respect to thecovered work, and you disclaim any intention to limit operation ormodification of the work as a means of enforcing, against the work's users,your or third parties' legal rights to forbid circumvention oftechnological measures.4. Conveying Verbatim Copies.You may convey verbatim copies of the Program's source code as youreceive it, in any medium, provided that you conspicuously andappropriately publish on each copy an appropriate copyright notice; keepintact all notices stating that this License and any non-permissive termsadded in accord with section 7 apply to the code; keep intact all noticesof the absence of any warranty; and give all recipients a copy of thisLicense along with the Program. You may charge any price or no price foreach copy that you convey, and you may offer support or warrantyprotection for a fee.5. Conveying Modified Source Versions.You may convey a work based on the Program, or the modifications toproduce it from the Program, in the form of source code under the termsof section 4, provided that you also meet all of these conditions:a) The work must carry prominent notices stating that you modified it,and giving a relevant date.b) The work must carry prominent notices stating that it is releasedunder this License and any conditions added under section 7. Thisrequirement modifies the requirement in section 4 to “keep intact allnotices”.c) You must license the entire work, as a whole, under this License toanyone who comes into possession of a copy. This License will thereforeapply, along with any applicable section 7 additional terms, to thewhole of the work, and all its parts, regardless of how they arepackaged. This License gives no permission to license the work in anyother way, but it does not invalidate such permission if you haveseparately received it.d) If the work has interactive user interfaces, each must displayAppropriate Legal Notices; however, if the Program has interactiveinterfaces that do not display Appropriate Legal Notices, your workneed not make them do so.A compilation of a covered work with other separate and independentworks, which are not by their nature extensions of the covered work, andwhich are not combined with it such as to form a larger program, in or ona volume of a storage or distribution medium, is called an “aggregate” ifthe compilation and its resulting copyright are not used to limit theaccess or legal rights of the compilation's users beyond what theindividual works permit. Inclusion of a covered work in an aggregate doesnot cause this License to apply to the other parts of the aggregate.6. Conveying Non-Source Forms.You may convey a covered work in object code form under the terms ofsections 4 and 5, provided that you also convey the machine-readableCorresponding Source under the terms of this License, in one of theseways:a) Convey the object code in, or embodied in, a physical product(including a physical distribution medium), accompanied by theCorresponding Source fixed on a durable physical medium customarilyused for software interchange.b) Convey the object code in, or embodied in, a physical product(including a physical distribution medium), accompanied by a writtenoffer, valid for at least three years and valid for as long as youoffer spare parts or customer support for that product model, to giveanyone who possesses the object code either (1) a copy of theCorresponding Source for all the software in the product that iscovered by this License, on a durable physical medium customarily usedfor software interchange, for a price no more than your reasonable costof physically performing this conveying of source, or (2) access tocopy the Corresponding Source from a network server at no charge.c) Convey individual copies of the object code with a copy of thewritten offer to provide the Corresponding Source. This alternative isallowed only occasionally and noncommercially, and only if you receivedthe object code with such an offer, in accord with subsection 6b.d) Convey the object code by offering access from a designated place(gratis or for a charge), and offer equivalent access to theCorresponding Source in the same way through the same place at nofurther charge. You need not require recipients to copy theCorresponding Source along with the object code. If the place to copythe object code is a network server, the Corresponding Source may be ona different server (operated by you or a third party) that supportsequivalent copying facilities, provided you maintain clear directionsnext to the object code saying where to find the Corresponding Source.Regardless of what server hosts the Corresponding Source, you remainobligated to ensure that it is available for as long as needed tosatisfy these requirements.e) Convey the object code using peer-to-peer transmission, provided youinform other peers where the object code and Corresponding Source ofthe work are being offered to the general public at no charge undersubsection 6d.A separable portion of the object code, whose source code is excludedfrom the Corresponding Source as a System Library, need not be includedin conveying the object code work.A “User Product” is either (1) a “consumer product”, which means anytangible personal property which is normally used for personal, family,or household purposes, or (2) anything designed or sold for incorporationinto a dwelling. In determining whether a product is a consumer product,doubtful cases shall be resolved in favor of coverage. For a particularproduct received by a particular user, “normally used” refers to atypical or common use of that class of product, regardless of the statusof the particular user or of the way in which the particular useractually uses, or expects or is expected to use, the product. A productis a consumer product regardless of whether the product has substantialcommercial, industrial or non-consumer uses, unless such uses representthe only significant mode of use of the product.“Installation Information” for a User Product means any methods,procedures, authorization keys, or other information required to installand execute modified versions of a covered work in that User Product froma modified version of its Corresponding Source. The information mustsuffice to ensure that the continued functioning of the modified objectcode is in no case prevented or interfered with solely becausemodification has been made.If you convey an object code work under this section in, or with, orspecifically for use in, a User Product, and the conveying occurs as partof a transaction in which the right of possession and use of the UserProduct is transferred to the recipient in perpetuity or for a fixed term(regardless of how the transaction is characterized), the CorrespondingSource conveyed under this section must be accompanied by theInstallation Information. But this requirement does not apply if neitheryou nor any third party retains the ability to install modified objectcode on the User Product (for example, the work has been installed inROM).The requirement to provide Installation Information does not include arequirement to continue to provide support service, warranty, or updatesfor a work that has been modified or installed by the recipient, or forthe User Product in which it has been modified or installed. Accessto a network may be denied when the modification itself materiallyand adversely affects the operation of the network or violates therules and protocols for communication across the network.Corresponding Source conveyed, and Installation Information provided, inaccord with this section must be in a format that is publicly documented(and with an implementation available to the public in source code form),and must require no special password or key for unpacking, reading orcopying.7. Additional Terms.“Additional permissions” are terms that supplement the terms of thisLicense by making exceptions from one or more of its conditions.Additional permissions that are applicable to the entire Program shall betreated as though they were included in this License, to the extent thatthey are valid under applicable law. If additional permissions apply onlyto part of the Program, that part may be used separately under thosepermissions, but the entire Program remains governed by this Licensewithout regard to the additional permissions. When you convey a copy ofa covered work, you may at your option remove any additional permissionsfrom that copy, or from any part of it. (Additional permissions may bewritten to require their own removal in certain cases when you modify thework.) You may place additional permissions on material, added by you toa covered work, for which you have or can give appropriate copyrightpermission.Notwithstanding any other provision of this License, for material you addto a covered work, you may (if authorized by the copyright holders ofthat material) supplement the terms of this License with terms:a) Disclaiming warranty or limiting liability differently from theterms of sections 15 and 16 of this License; orb) Requiring preservation of specified reasonable legal notices orauthor attributions in that material or in the Appropriate LegalNotices displayed by works containing it; orc) Prohibiting misrepresentation of the origin of that material, orrequiring that modified versions of such material be marked inreasonable ways as different from the original version; ord) Limiting the use for publicity purposes of names of licensors orauthors of the material; ore) Declining to grant rights under trademark law for use of some tradenames, trademarks, or service marks; orf) Requiring indemnification of licensors and authors of that materialby anyone who conveys the material (or modified versions of it) withcontractual assumptions of liability to the recipient, for anyliability that these contractual assumptions directly impose on thoselicensors and authors.All other non-permissive additional terms are considered “furtherrestrictions” within the meaning of section 10. If the Program as youreceived it, or any part of it, contains a notice stating that it isgoverned by this License along with a term that is a further restriction,you may remove that term. If a license document contains a furtherrestriction but permits relicensing or conveying under this License, youmay add to a covered work material governed by the terms of that licensedocument, provided that the further restriction does not survive suchrelicensing or conveying.If you add terms to a covered work in accord with this section, you mustplace, in the relevant source files, a statement of the additional termsthat apply to those files, or a notice indicating where to find theapplicable terms. Additional terms, permissive or non-permissive, may bestated in the form of a separately written license, or stated asexceptions; the above requirements apply either way.8. Termination.You may not propagate or modify a covered work except as expresslyprovided under this License. Any attempt otherwise to propagate or modifyit is void, and will automatically terminate your rights under thisLicense (including any patent licenses granted under the third paragraphof section 11).However, if you cease all violation of this License, then your licensefrom a particular copyright holder is reinstated (a) provisionally,unless and until the copyright holder explicitly and finally terminatesyour license, and (b) permanently, if the copyright holder fails tonotify you of the violation by some reasonable means prior to 60 daysafter the cessation.Moreover, your license from a particular copyright holder is reinstatedpermanently if the copyright holder notifies you of the violation by somereasonable means, this is the first time you have received notice ofviolation of this License (for any work) from that copyright holder, andyou cure the violation prior to 30 days after your receipt of the notice.Termination of your rights under this section does not terminate thelicenses of parties who have received copies or rights from you underthis License. If your rights have been terminated and not permanentlyreinstated, you do not qualify to receive new licenses for the samematerial under section 10.9. Acceptance Not Required for Having Copies.You are not required to accept this License in order to receive or run acopy of the Program. Ancillary propagation of a covered work occurringsolely as a consequence of using peer-to-peer transmission to receive acopy likewise does not require acceptance. However, nothing other thanthis License grants you permission to propagate or modify any coveredwork. These actions infringe copyright if you do not accept this License.Therefore, by modifying or propagating a covered work, you indicate youracceptance of this License to do so.10. Automatic Licensing of Downstream Recipients.Each time you convey a covered work, the recipient automatically receivesa license from the original licensors, to run, modify and propagate thatwork, subject to this License. You are not responsible for enforcingcompliance by third parties with this License.An “entity transaction” is a transaction transferring control of anorganization, or substantially all assets of one, or subdividing anorganization, or merging organizations. If propagation of a covered workresults from an entity transaction, each party to that transaction whoreceives a copy of the work also receives whatever licenses to the workthe party's predecessor in interest had or could give under the previousparagraph, plus a right to possession of the Corresponding Source of thework from the predecessor in interest, if the predecessor has it or canget it with reasonable efforts.You may not impose any further restrictions on the exercise of the rightsgranted or affirmed under this License. For example, you may not impose alicense fee, royalty, or other charge for exercise of rights grantedunder this License, and you may not initiate litigation (including across-claim or counterclaim in a lawsuit) alleging that any patent claimis infringed by making, using, selling, offering for sale, or importingthe Program or any portion of it.11. Patents.A “contributor” is a copyright holder who authorizes use under thisLicense of the Program or a work on which the Program is based. The workthus licensed is called the contributor's “contributor version”.A contributor's “essential patent claims” are all patent claims owned orcontrolled by the contributor, whether already acquired or hereafteracquired, that would be infringed by some manner, permitted by thisLicense, of making, using, or selling its contributor version, but do notinclude claims that would be infringed only as a consequence of furthermodification of the contributor version. For purposes of this definition,“control” includes the right to grant patent sublicenses in a mannerconsistent with the requirements of this License.Each contributor grants you a non-exclusive, worldwide, royalty-freepatent license under the contributor's essential patent claims, to make,use, sell, offer for sale, import and otherwise run, modify and propagatethe contents of its contributor version.In the following three paragraphs, a “patent license” is any expressagreement or commitment, however denominated, not to enforce a patent(such as an express permission to practice a patent or covenant not tosue for patent infringement). To “grant” such a patent license to a partymeans to make such an agreement or commitment not to enforce a patentagainst the party.If you convey a covered work, knowingly relying on a patent license, andthe Corresponding Source of the work is not available for anyone to copy,free of charge and under the terms of this License, through a publiclyavailable network server or other readily accessible means, then you musteither (1) cause the Corresponding Source to be so available, or (2)arrange to deprive yourself of the benefit of the patent license for thisparticular work, or (3) arrange, in a manner consistent with therequirements of this License, to extend the patent license to downstreamrecipients. “Knowingly relying” means you have actual knowledge that, butfor the patent license, your conveying the covered work in a country, oryour recipient's use of the covered work in a country, would infringeone or more identifiable patents in that country that you have reasonto believe are valid.If, pursuant to or in connection with a single transaction orarrangement, you convey, or propagate by procuring conveyance of, acovered work, and grant a patent license to some of the parties receivingthe covered work authorizing them to use, propagate, modify or convey aspecific copy of the covered work, then the patent license you grant isautomatically extended to all recipients of the covered work and worksbased on it.A patent license is “discriminatory” if it does not include within thescope of its coverage, prohibits the exercise of, or is conditioned onthe non-exercise of one or more of the rights that are specificallygranted under this License. You may not convey a covered work if you area party to an arrangement with a third party that is in the business ofdistributing software, under which you make payment to the third partybased on the extent of your activity of conveying the work, and underwhich the third party grants, to any of the parties who would receive thecovered work from you, a discriminatory patent license (a) in connectionwith copies of the covered work conveyed by you (or copies made fromthose copies), or (b) primarily for and in connection with specificproducts or compilations that contain the covered work, unless youentered into that arrangement, or that patent license was granted, priorto 28 March 2007.Nothing in this License shall be construed as excluding or limiting anyimplied license or other defenses to infringement that may otherwise beavailable to you under applicable patent law.12. No Surrender of Others' Freedom.If conditions are imposed on you (whether by court order, agreement orotherwise) that contradict the conditions of this License, they do notexcuse you from the conditions of this License. If you cannot use,propagate or convey a covered work so as to satisfy simultaneously yourobligations under this License and any other pertinent obligations, thenas a consequence you may not use, propagate or convey it at all. Forexample, if you agree to terms that obligate you to collect a royalty forfurther conveying from those to whom you convey the Program, the only wayyou could satisfy both those terms and this License would be to refrainentirely from conveying the Program.13. Offering the Program as a Service.If you make the functionality of the Program or a modified versionavailable to third parties as a service, you must make the Service SourceCode available via network download to everyone at no charge, under theterms of this License. Making the functionality of the Program ormodified version available to third parties as a service includes,without limitation, enabling third parties to interact with thefunctionality of the Program or modified version remotely through acomputer network, offering a service the value of which entirely orprimarily derives from the value of the Program or modified version, oroffering a service that accomplishes for users the primary purpose of theProgram or modified version.“Service Source Code” means the Corresponding Source for the Program orthe modified version, and the Corresponding Source for all programs thatyou use to make the Program or modified version available as a service,including, without limitation, management software, user interfaces,application program interfaces, automation software, monitoring software,backup software, storage software and hosting software, all such that auser could run an instance of the service using the Service Source Codeyou make available.14. Revised Versions of this License.MongoDB, Inc. may publish revised and/or new versions of the Server SidePublic License from time to time. Such new versions will be similar inspirit to the present version, but may differ in detail to address newproblems or concerns.Each version is given a distinguishing version number. If the Programspecifies that a certain numbered version of the Server Side PublicLicense “or any later version” applies to it, you have the option offollowing the terms and conditions either of that numbered version or ofany later version published by MongoDB, Inc. If the Program does notspecify a version number of the Server Side Public License, you maychoose any version ever published by MongoDB, Inc.If the Program specifies that a proxy can decide which future versions ofthe Server Side Public License can be used, that proxy's public statementof acceptance of a version permanently authorizes you to choose thatversion for the Program.Later license versions may give you additional or different permissions.However, no additional obligations are imposed on any author or copyrightholder as a result of your choosing to follow a later version.15. Disclaimer of Warranty.THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BYAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHTHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTYOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAMIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OFALL NECESSARY SERVICING, REPAIR OR CORRECTION.16. Limitation of Liability.IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITINGWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYSTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDINGANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OFTHE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TOLOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOUOR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHERPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THEPOSSIBILITY OF SUCH DAMAGES.17. Interpretation of Sections 15 and 16.If the disclaimer of warranty and limitation of liability provided abovecannot be given local legal effect according to their terms, reviewingcourts shall apply local law that most closely approximates an absolutewaiver of all civil liability in connection with the Program, unless awarranty or assumption of liability accompanies a copy of the Program inreturn for a fee.END OF TERMS AND CONDITIONS