Licensing
What you can do with Supatype, in plain words. This page is a guide and is not legal advice. It does not change any licence: where it and a licence differ, the licence governs.
Pre-1.0: APIs and config may change between releases.
In one minute
The client SDKs, framework bindings and plugins. Use them for anything.
The CLI, Studio and the services (storage, realtime, functions worker). Use them for anything.
Source-available under the Business Source License 1.1 (SPDX BUSL-1.1), and its source is at github.com/supatype/schema-engine. You can read it, change it, redistribute it and run it in production.
- The one thing you cannot do without a commercial licence: offer Supatype or the engine to others as a hosted or managed service, paid or free, or sell a product whose primary value is the engine.
- Each engine version becomes Apache 2.0 on its Change Date, four years after that version's release.
The engine's licence, with its Additional Use Grant, is in the LICENSE file at the root of the engine's repository and ships with every engine release, beside the binary on releases.supatype.com and at /LICENSE in the supatype/schema-engine image. supatype-engine licence prints the exact terms for the version you have.
Can I? Yes
| Can I... | Answer |
|---|---|
| Build and sell my own app on Supatype? | Yes, commercial apps included. That is what the engine is for. |
| Self-host Supatype for my company? | Yes, on infrastructure you own, rent or control, for your own applications and products. |
| Run it for my clients as an agency? | Yes. You can build, host and maintain applications for clients, including one Supatype stack per client's app. |
| Let my app's users define their own fields? | Yes, where that schema management is incidental to what your app does (custom fields in a CRM, for example). |
| Modify the engine and use it internally? | Yes. Your changes stay under BSL 1.1. |
| Fork it? | Yes. A fork carries the same licence and the same limits. |
| Use it in a free open source project? | Yes, as long as the project is not itself a hosted Supatype-style service for others. |
| Use it inside a group of companies? | Yes. Affiliates under common control count as you, so an internal platform team can serve the whole group. |
Can I? Not without a commercial licence
- Run a hosted Supatype, or a Supatype-compatible backend, for others. Paid or free. The licence calls this a Competing Service: a hosted or managed database, backend or schema management service where third parties define, migrate or manage their own schemas, or build their own applications.
- Sell a product whose primary value is the engine. For example, a schema migration or database change management tool built on it, or a backend platform that includes it. The licence calls this a Competing Product.
If your product is not competing when you first make it generally available, it does not become competing later because Supatype ships a new version or a new product.
Some source-available licences only restrict paid offerings. Ours restricts free hosted offerings too, because a free hosted Supatype competes with Supatype Cloud just as much.
Grey areas, worked through
| Situation | Allowed? |
|---|---|
| A SaaS where each customer adds custom fields to their records | Yes. Field management is incidental to the product. |
| An internal platform team running Supatype for many teams in the same company or group | Yes. That is internal use by affiliates under common control. |
| An agency hosting several clients' apps, each on its own Supatype stack | Yes. |
| An agency offering clients a general platform on which they build their own apps | No, that is a Competing Service. |
| A hosting company offering one-click Supatype for its customers | Needs a commercial licence. |
| A hosted app builder whose customers design their own databases | Needs a commercial licence. |
Not sure where you fall? Ask at licensing@supatype.com.
Versions and dates
- Each version has its own Change Date, set when it is released, to the release date plus four years. It is written in that version's
LICENSE. - On the Change Date that version, and only that version, becomes available under the Apache License 2.0. Later versions keep their own dates.
- Commits between releases on the engine's
mainbranch are part of the next release and take its Change Date. - All earlier versions and commits are made available under the same BSL 1.1 terms, with the same Additional Use Grant and the same Change Date as 0.7.0. That includes 0.1.5 to 0.6.0, which were distributed as binaries without a licence, and commits from before the engine's repository had a
LICENSEfile.
The other packages
| Component | Licence |
|---|---|
client, types, react, react-native, vue, svelte, solid, ssr, the auth UI packages, the plugin packages, ui, common | MIT |
CLI, Studio, storage, realtime, functions worker, self-host control plane, and the rest of the supatype/supatype repository | Apache 2.0 |
Schema engine (supatype-engine, image supatype/schema-engine) | BSL 1.1, Apache 2.0 on each version's Change Date |
The CLI downloads the engine as a separate binary; the CLI's own licence is unaffected. Your application code, schemas and data are yours, whatever you build them with.
Contributing
Contributions need a signed Contributor License Agreement, signed once through CLA Assistant on your first pull request. It is a licence, not an assignment: you keep the copyright and grant Supatype Ltd the right to use and relicense your contribution, which is what lets each version move to Apache 2.0 and be offered under commercial terms. Contributing gives you no extra rights in the product, and takes none away.
Commercial licences
To run a hosted service on the engine, embed it in a product you sell, or anything else the grant does not cover, contact licensing@supatype.com. The Licensor is Supatype Ltd.
Why BSL
We want you to be able to read the code that changes your database, run it wherever you like, and never depend on us to keep your app alive. We also need a business that can pay for the engine. The BSL lets us give you the first without a hosting company taking the engine and competing with Supatype Cloud on day one. Every version still becomes Apache 2.0 after four years.