@saasicat/spec 1.0.0-rc.14 → 1.0.0-rc.15
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/admin-api.openapi.yaml
CHANGED
package/package.json
CHANGED
|
@@ -125,5 +125,12 @@ CREATE UNIQUE INDEX plan_versions_draft_per_plan
|
|
|
125
125
|
- **No add-on tables (#49)** — `subscription_addons`,
|
|
126
126
|
`unit_addon_versions`, `feature_addon_versions` are not a
|
|
127
127
|
sales surface; only plan versions + bundles are sold.
|
|
128
|
-
- **
|
|
129
|
-
|
|
128
|
+
- **The application's own invoicing** — invoices to the people it sells to, fees
|
|
129
|
+
it collects from its members, their bank details — belongs in the schema of the
|
|
130
|
+
consuming app. The subscription business is the platform's: subscribers, their
|
|
131
|
+
invoices and their payments are decided in
|
|
132
|
+
[ADR 0012](../../../docs/explanation/adr/0012-the-subscriber-owns-the-commercial-record.md),
|
|
133
|
+
and every model added for them carries `Subscription` or `Subscriber` in its name,
|
|
134
|
+
which keeps it clear of the names applications use for their own invoicing. A
|
|
135
|
+
prefix cannot rule out a name nobody has seen, so `saasicat schema check` reports
|
|
136
|
+
an application model that carries a platform model's name with a different shape.
|