carlos / platform Public

plans: public export schema 3 prices team plans per member, with minimum and multiple (plans 6b)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev d6cc8a177ab857989a1d117ad1db125296388d22 parent 8e73dfe
6 files changed, +384 −35
  • cmd/pricebook-export/main.go +2 −2
  • cmd/pricebook-export/main_test.go +3 −0
  • docs/superpowers/specs/2026-10-25-public-price-export-schema-3.md +148 −0
  • internal/plans/export.go +67 −6
  • internal/plans/export_test.go +107 −6
  • internal/plans/testdata/example-public-pricebook.json +57 −21
diff --git a/cmd/pricebook-export/main.go b/cmd/pricebook-export/main.go
index b3536c369..a21791868 100644
--- a/cmd/pricebook-export/main.go
+++ b/cmd/pricebook-export/main.go
@@ -1,7 +1,7 @@
-// Command pricebook-export writes the public price export (schema 2) a
+// Command pricebook-export writes the public price export (schema 3) a
// pricing page renders from: a plan catalog and the price book that prices
// it, joined and byte-stable. The schema is
-// docs/superpowers/specs/2026-10-25-public-price-export-schema-2.md.
+// docs/superpowers/specs/2026-10-25-public-price-export-schema-3.md.
//
// pricebook-export -catalog <file> -book <file> [-o <file>]
package main
diff --git a/cmd/pricebook-export/main_test.go b/cmd/pricebook-export/main_test.go
index 07a33da70..eadb773bd 100644
--- a/cmd/pricebook-export/main_test.go
+++ b/cmd/pricebook-export/main_test.go
@@ -39,6 +39,9 @@ func TestRunWritesExport(t *testing.T) {
if !bytes.Equal(got, want) {
t.Error("written export differs from PublicExport")
}
+ if !bytes.HasPrefix(got, []byte("{\n \"schema\": 3,\n")) || !bytes.Contains(got, []byte(`"team": {`)) {
+ t.Errorf("export is not schema 3 with a team plan: %.60s", got)
+ }
var stdout bytes.Buffer
if err := run([]string{"-catalog", catalogPath, "-book", bookPath}, &stdout); err != nil {
diff --git a/docs/superpowers/specs/2026-10-25-public-price-export-schema-3.md b/docs/superpowers/specs/2026-10-25-public-price-export-schema-3.md
new file mode 100644
index 000000000..b45edaf4a
--- /dev/null
+++ b/docs/superpowers/specs/2026-10-25-public-price-export-schema-3.md
@@ -0,0 +1,148 @@
+# Public price export, schema 3
+
+The public export is what a pricing page renders from. It joins a plan
+catalog and the price book that prices it into one JSON file, so the page
+and the console can never quote different prices or limits. Schema 3
+replaces schema 2, which replaced schema 1 (amadan discussion #198). Schema
+1 carried bands, country bands and metered overage rates, and schema 2
+dropped all three. Schema 3 adds team plans, which are priced per member.
+
+## What changed from schema 2 (for the website)
+
+1. `schema` is `3`. A page that reads schema 2 must refuse this file, and
+ the other way round.
+2. A plan may have a `team` block. A plan with one is a team plan:
+ - Its `annual_minor` is the price per member per year, not per account.
+ The yearly bill is that price times the number of members, and a
+ team is billed for at least `team.min_members`.
+ - `team.base` is the plan whose limits it multiplies. `team.per_member`
+ is the multiple per member as a decimal string ("0.2" or "2").
+ `team.pooled` names the limits that are shared across the team.
+ Disk is not one of them: it stays per running thing.
+ - Its `limits` are already worked out at `team.min_members`. The pooled
+ limits there are the base plan's, times `per_member`, times the
+ minimum. Show them as "from" figures, and say they grow with each
+ member.
+3. A plan that is not a team plan may have `max_members`: the most members
+ the account may have. It is absent when there is no cap.
+4. Plan order changed. Unpaid plans still come first. The rest are ordered
+ by the yearly price in the default currency times the larger of 1 and
+ `min_members`, then by key. So a team plan sorts by what its smallest
+ possible team pays, not by its per-member price.
+5. A card for a team plan can show `annual_minor` with "per member", and
+ the smallest yearly bill as `annual_minor` times `team.min_members`.
+6. The pricing page links each plan's button to the console's
+ `/upgrade?plan=<plan>&currency=<currency>`. Both parameters are optional.
+ `plan` is a paid plan key from this file. `currency` is a code from
+ `currencies`, in lower case. Without it the console preselects by the
+ visitor's country and lets them change it. A currency the book does not
+ sell is refused with a notice and nothing is preselected. An account that
+ has already paid keeps its first currency. A visitor who is not signed in
+ goes through sign-in or sign-up first and lands on the same page
+ afterwards.
+
+The Go helper `plans.FormatMinor(currency, minor)` writes an amount the way
+the page should: `$28`, `€24`, `£4.50`, `$0.07`. A whole amount has no
+decimals and any other has two. A currency the export does not sell is
+written as its upper-case code, a space and the amount (`CHF 15`).
+
+## Making one
+
+```
+go run ./cmd/pricebook-export -catalog <catalog.json> -book <pricebook.json> [-o <file>]
+```
+
+Without `-o` the export goes to stdout. The command refuses a book that
+prices another catalog version, or that fails any of the book's checks
+(`internal/plans/pricebook.go`). It never refuses a draft: the site does
+that, so a draft export can be previewed but never published.
+
+The same inputs always give the same bytes. A changed export means a
+changed catalog or book.
+
+## What it never carries
+
+No billing provider's identifiers. Stripe price ids live only in the
+console's `CARLOS_BILLING_PRICES`, keyed by price key. The book has no
+field for them and neither does the export.
+
+## Shape
+
+Field order is fixed and part of the contract. Two-space indent, a
+trailing newline.
+
+```json
+{
+ "schema": 3,
+ "price_book": "example-v1",
+ "price_book_id": "example-v1@5abc547e3db4",
+ "status": "draft",
+ "catalog_version": "2026-10-20-v1",
+ "catalog_id": "2026-10-20-v1@7a9ba092f2c0",
+ "default_currency": "usd",
+ "currencies": [
+ {"code": "usd", "symbol": "$", "minor_per_major": 100},
+ {"code": "eur", "symbol": "€", "minor_per_major": 100},
+ {"code": "gbp", "symbol": "£", "minor_per_major": 100}
+ ],
+ "country_currency": {"AT": "eur", "GB": "gbp"},
+ "free_accounts_per_person": 1,
+ "plans": [
+ {"key": "free", "paid": false, "default": true, "annual_minor": {},
+ "memory_mb": 0, "limits": {"running_things": 3}, "packs": []},
+ {"key": "personal", "paid": true, "default": false,
+ "annual_minor": {"eur": 2400, "gbp": 2200, "usd": 2800},
+ "memory_mb": 512, "limits": {"running_things": 25},
+ "packs": ["apps", "bandwidth", "email", "storage"],
+ "max_members": 3},
+ {"key": "community", "paid": true, "default": false,
+ "annual_minor": {"eur": 500, "gbp": 450, "usd": 600},
+ "memory_mb": 512, "limits": {"running_things": 50},
+ "packs": ["apps", "bandwidth", "email", "storage"],
+ "team": {"base": "personal", "per_member": "0.2", "min_members": 10,
+ "pooled": ["running_things", "awake_hours_month",
+ "storage_bytes", "email_per_day",
+ "bandwidth_bytes_month"]}}
+ ],
+ "packs": [
+ {"key": "apps", "adds": {"running_things": 5}, "max_quantity": 20,
+ "annual_minor": {"eur": 500, "gbp": 450, "usd": 600}}
+ ]
+}
+```
+
+`limits` and `adds` are abbreviated above. The full example, generated by
+the command, is `internal/plans/testdata/example-public-pricebook.json`.
+
+## Fields
+
+| Field | Meaning |
+| --- | --- |
+| `schema` | Always `3`. A page refuses any other number. |
+| `price_book`, `price_book_id` | The book's version, and its version plus a 12-hex content digest. |
+| `status` | `draft` or `approved`. A published page needs `approved`. |
+| `catalog_version`, `catalog_id` | The same pair for the catalog. |
+| `default_currency` | The currency for a country the map does not list. |
+| `currencies` | The currencies the book sells, in the book's order. Each is lower case, with its symbol and minor units per major unit (100 for all three today). |
+| `country_currency` | ISO 3166-1 alpha-2 country, upper case, to currency. Keys sorted. Countries on the default currency are absent. |
+| `free_accounts_per_person` | From the catalog. |
+| `plans` | Unpaid plans first, then by price in the default currency times the larger of 1 and `team.min_members`, then by key. |
+| `plans[].default` | True for the plan new accounts get. |
+| `plans[].annual_minor` | Currency to the yearly price in minor units, tax exclusive. Empty for an unpaid plan. Keys sorted. Per member on a team plan. |
+| `plans[].memory_mb` | Memory per app for the plan's memory tier. `0` when the tier has no published figure yet: leave the memory row out. |
+| `plans[].limits` | The plan's limits exactly as the catalog writes them, except on a team plan, where the pooled limits are worked out at `team.min_members`. A limit that is not set is absent, not zero. Ignore keys you don't use (the rate-limit ceilings, for example). |
+| `plans[].packs` | Pack keys the plan may buy, sorted. |
+| `plans[].max_members` | The most members an account on this plan may have. Absent when there is no cap. Never set on a team plan. |
+| `plans[].team` | Present only on a team plan. |
+| `plans[].team.base` | The paid plan whose pooled limits are multiplied. |
+| `plans[].team.per_member` | The multiple per member, as a decimal string: `"0.2"`, `"2"`. |
+| `plans[].team.min_members` | The fewest members a team is billed and limited at. |
+| `plans[].team.pooled` | The limits that are the base plan's times `per_member` times the members: `running_things`, `awake_hours_month`, `storage_bytes`, `email_per_day`, `bandwidth_bytes_month`. Disk is not pooled. |
+| `packs` | Every pack a paid plan offers, sorted by key. |
+| `packs[].adds` | What one unit adds, in the same keys as `limits`. |
+| `packs[].max_quantity` | The most units one account may hold. |
+| `packs[].annual_minor` | Currency to the yearly price of one unit in minor units, tax exclusive. |
+
+Byte sizes (`disk_bytes`, `storage_bytes`, `bandwidth_bytes_month`) are
+binary: 1 GB is 1073741824 bytes. `idle_seconds` and
+`min_schedule_seconds` are seconds.
diff --git a/internal/plans/export.go b/internal/plans/export.go
index 7f8db7a4b..1e9c0d1f9 100644
--- a/internal/plans/export.go
+++ b/internal/plans/export.go
@@ -5,6 +5,8 @@ import (
"fmt"
"slices"
"sort"
+ "strconv"
+ "strings"
)
// TierMemoryMB is the memory, in MB, behind each catalog memory tier, for
@@ -25,7 +27,32 @@ var currencyDisplay = map[string]struct {
"gbp": {"£", 100},
}
-// The public export, schema 2: the catalog and the book joined into what a
+// FormatMinor writes an amount in minor units the way a price is shown:
+// the currency's symbol, then the amount without decimals when it is whole
+// and with two when it is not ("$28", "£4.50", "$0.07"). A currency the
+// export does not sell has no symbol, so it is written as its upper-case
+// code and a space ("CHF 15"), and is assumed to have two minor digits.
+// A negative amount puts the sign first ("-$4.50").
+func FormatMinor(currency string, minor int64) string {
+ d, ok := currencyDisplay[currency]
+ if !ok {
+ d.Symbol, d.MinorPerMajor = strings.ToUpper(currency)+" ", 100
+ }
+ sign := ""
+ abs := uint64(minor)
+ if minor < 0 {
+ sign, abs = "-", -abs
+ }
+ per := uint64(d.MinorPerMajor)
+ whole, frac := abs/per, abs%per
+ out := sign + d.Symbol + strconv.FormatUint(whole, 10)
+ if frac != 0 {
+ out += "." + fmt.Sprintf("%02d", frac)
+ }
+ return out
+}
+
+// The public export, schema 3: the catalog and the book joined into what a
// pricing page renders from. Ordered structs, not maps, at every level whose
// order is part of the contract, so the bytes are stable.
type publicExport struct {
@@ -57,6 +84,21 @@ type publicPlan struct {
MemoryMB int `json:"memory_mb"`
Limits Limits `json:"limits"`
Packs []string `json:"packs"`
+ // Team is set on a team plan: annual_minor is then per member, and
+ // limits are the pooled fields at the plan's minimum members.
+ Team *publicTeam `json:"team,omitempty"`
+ // MaxMembers caps the members on a non-team plan; absent for no cap.
+ MaxMembers int `json:"max_members,omitempty"`
+}
+
+// publicTeam is a team plan's pricing shape: the base plan whose pooled
+// limits multiply, the multiple per member as a decimal string, the member
+// minimum, and which limits are pooled (PooledLimits; disk is not).
+type publicTeam struct {
+ Base string `json:"base"`
+ PerMember string `json:"per_member"`
+ MinMembers int `json:"min_members"`
+ Pooled []string `json:"pooled"`
}
type publicPack struct {
@@ -67,14 +109,14 @@ type publicPack struct {
}
// PublicExport joins a catalog and the book that prices it into the public
-// export (schema 2): byte-stable, two-space indented, ending in a newline.
+// export (schema 3): byte-stable, two-space indented, ending in a newline.
// It carries no billing provider's identifiers: the book has none.
func PublicExport(c *Catalog, b *PriceBook) ([]byte, error) {
if b.CatalogVersion != c.Version {
return nil, fmt.Errorf("price book %s prices catalog %q, not %q", b.Version, b.CatalogVersion, c.Version)
}
e := publicExport{
- Schema: 2,
+ Schema: 3,
PriceBook: b.Version,
PriceBookID: b.ID(),
Status: b.Status,
@@ -105,17 +147,36 @@ func PublicExport(c *Catalog, b *PriceBook) ([]byte, error) {
packs = []string{}
}
slices.Sort(packs)
- e.Plans = append(e.Plans, publicPlan{
+ pp := publicPlan{
Key: name, Paid: p.Paid, Default: name == c.DefaultPlan, AnnualMinor: annual,
MemoryMB: TierMemoryMB[p.Limits.MemoryTier], Limits: p.Limits, Packs: packs,
- })
+ MaxMembers: p.MaxMembers,
+ }
+ if t := p.Team; t != nil {
+ lim, err := c.Effective(name, nil, nil, t.MinMembers)
+ if err != nil {
+ return nil, fmt.Errorf("plan %q at its minimum of %d members: %w", name, t.MinMembers, err)
+ }
+ pp.Limits = lim
+ pp.Team = &publicTeam{Base: t.Base, PerMember: t.PerMember(), MinMembers: t.MinMembers, Pooled: slices.Clone(PooledLimits)}
+ }
+ e.Plans = append(e.Plans, pp)
+ }
+ // The cheapest bill a plan can have: a team plan is billed at no fewer
+ // than its minimum members.
+ cheapest := func(p publicPlan) int64 {
+ n := int64(1)
+ if p.Team != nil {
+ n = int64(max(1, p.Team.MinMembers))
+ }
+ return p.AnnualMinor[b.DefaultCurrency] * n
}
sort.Slice(e.Plans, func(i, j int) bool {
a, z := e.Plans[i], e.Plans[j]
if a.Paid != z.Paid {
return !a.Paid
}
- pa, pz := a.AnnualMinor[b.DefaultCurrency], z.AnnualMinor[b.DefaultCurrency]
+ pa, pz := cheapest(a), cheapest(z)
if pa != pz {
return pa < pz
}
diff --git a/internal/plans/export_test.go b/internal/plans/export_test.go
index bb83b6333..95f48ddbf 100644
--- a/internal/plans/export_test.go
+++ b/internal/plans/export_test.go
@@ -21,9 +21,18 @@ type exportShape struct {
DefaultCurrency string `json:"default_currency"`
CountryCurrency map[string]string `json:"country_currency"`
Plans []struct {
- Key string `json:"key"`
- Paid bool `json:"paid"`
- MemoryMB int `json:"memory_mb"`
+ Key string `json:"key"`
+ Paid bool `json:"paid"`
+ MemoryMB int `json:"memory_mb"`
+ AnnualMinor map[string]int64 `json:"annual_minor"`
+ Limits Limits `json:"limits"`
+ MaxMembers int `json:"max_members"`
+ Team *struct {
+ Base string `json:"base"`
+ PerMember string `json:"per_member"`
+ MinMembers int `json:"min_members"`
+ Pooled []string `json:"pooled"`
+ } `json:"team"`
} `json:"plans"`
Packs []struct {
Key string `json:"key"`
@@ -53,6 +62,98 @@ func TestPublicExportGolden(t *testing.T) {
if !bytes.Equal(raw, want) {
t.Errorf("export differs from %s:\n%s", examplePublicPath, raw)
}
+ if !bytes.HasPrefix(want, []byte("{\n \"schema\": 3,\n")) {
+ t.Errorf("golden is not schema 3: %.40s", want)
+ }
+}
+
+// A team plan is priced per member per year, carries its team block, and
+// exports the pooled limits it has at its minimum; other plans carry no
+// team block, and max_members only where the catalog sets one.
+func TestPublicExportSchema3Team(t *testing.T) {
+ _, e := exampleExport(t)
+ by := map[string]int{}
+ for i, p := range e.Plans {
+ by[p.Key] = i
+ }
+ com := e.Plans[by["community"]]
+ if com.Team == nil {
+ t.Fatal("community has no team block")
+ }
+ if com.Team.Base != "personal" || com.Team.PerMember != "0.2" || com.Team.MinMembers != 10 {
+ t.Errorf("community team = %+v", com.Team)
+ }
+ if !slices.Equal(com.Team.Pooled, PooledLimits) || slices.Contains(com.Team.Pooled, "disk_bytes") {
+ t.Errorf("community pooled = %v, want %v", com.Team.Pooled, PooledLimits)
+ }
+ if com.AnnualMinor["usd"] != 600 {
+ t.Errorf("community annual usd = %d, want 600 per member", com.AnnualMinor["usd"])
+ }
+ if com.Limits.RunningThings != 50 || com.Limits.DiskBytes != 10737418240 {
+ t.Errorf("community limits = running_things %d disk_bytes %d, want 50 and 10 GiB", com.Limits.RunningThings, com.Limits.DiskBytes)
+ }
+ want, err := exampleCatalog(t).Effective("community", nil, nil, 10)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if com.Limits != want {
+ t.Errorf("community limits = %+v, want Effective at min_members %+v", com.Limits, want)
+ }
+ per := e.Plans[by["personal"]]
+ if per.Team != nil || per.MaxMembers != 3 {
+ t.Errorf("personal team %v max_members %d, want none and 3", per.Team, per.MaxMembers)
+ }
+ if free := e.Plans[by["free"]]; free.Team != nil || free.MaxMembers != 3 {
+ t.Errorf("free team %v max_members %d, want none and 3", free.Team, free.MaxMembers)
+ }
+ if bus := e.Plans[by["business"]]; bus.Team == nil || bus.Team.PerMember != "2" || bus.MaxMembers != 0 {
+ t.Errorf("business = %+v", bus)
+ }
+}
+
+// The order multiplies a team plan's per-member price by its minimum, so
+// a plan is ranked by the cheapest bill it can have.
+func TestPublicExportOrderCountsMinMembers(t *testing.T) {
+ _, e := exampleExport(t)
+ var prev int64 = -1
+ for _, p := range e.Plans {
+ if !p.Paid {
+ continue
+ }
+ total := p.AnnualMinor["usd"] * 1
+ if p.Team != nil {
+ total *= int64(p.Team.MinMembers)
+ }
+ if total < prev {
+ t.Errorf("%s (%d) is out of order after %d", p.Key, total, prev)
+ }
+ prev = total
+ }
+}
+
+func TestFormatMinor(t *testing.T) {
+ for _, c := range []struct {
+ cur string
+ minor int64
+ want string
+ }{
+ {"usd", 2800, "$28"},
+ {"eur", 2400, "€24"},
+ {"gbp", 450, "£4.50"},
+ {"usd", 7, "$0.07"},
+ {"usd", 0, "$0"},
+ {"gbp", 2205, "£22.05"},
+ {"usd", 60000, "$600"},
+ {"usd", 100000, "$1000"},
+ {"usd", 99, "$0.99"},
+ {"usd", -450, "-$4.50"},
+ {"chf", 1500, "CHF 15"},
+ {"chf", 1550, "CHF 15.50"},
+ } {
+ if got := FormatMinor(c.cur, c.minor); got != c.want {
+ t.Errorf("FormatMinor(%q, %d) = %q, want %q", c.cur, c.minor, got, c.want)
+ }
+ }
}
func TestPublicExportOrder(t *testing.T) {
@@ -64,13 +165,13 @@ func TestPublicExportOrder(t *testing.T) {
for _, p := range e.Packs {
packs = append(packs, p.Key)
}
- if !slices.Equal(plans, []string{"free", "community", "personal", "business"}) {
+ if !slices.Equal(plans, []string{"free", "personal", "community", "business"}) {
t.Errorf("plans = %v", plans)
}
if !slices.IsSorted(packs) || len(packs) != 5 {
t.Errorf("packs = %v", packs)
}
- if e.Schema != 2 || e.Status != "draft" || e.PriceBook != "example-v1" || !strings.HasPrefix(e.PriceBookID, "example-v1@") ||
+ if e.Schema != 3 || e.Status != "draft" || e.PriceBook != "example-v1" || !strings.HasPrefix(e.PriceBookID, "example-v1@") ||
e.CatalogVersion != "2026-10-20-v1" || !strings.HasPrefix(e.CatalogID, "2026-10-20-v1@") || e.DefaultCurrency != "usd" {
t.Errorf("header = %+v", e)
}
@@ -78,7 +179,7 @@ func TestPublicExportOrder(t *testing.T) {
t.Error("export does not end in a newline")
}
// Field order is part of the contract: schema first, packs last.
- if !bytes.HasPrefix(raw, []byte("{\n \"schema\": 2,\n \"price_book\": ")) {
+ if !bytes.HasPrefix(raw, []byte("{\n \"schema\": 3,\n \"price_book\": ")) {
t.Errorf("export does not open with schema, price_book: %.60s", raw)
}
// Provider price ids never reach the export.
diff --git a/internal/plans/testdata/example-public-pricebook.json b/internal/plans/testdata/example-public-pricebook.json
index bfa095ed8..9df91a15a 100644
--- a/internal/plans/testdata/example-public-pricebook.json
+++ b/internal/plans/testdata/example-public-pricebook.json
@@ -1,5 +1,5 @@
{
- "schema": 2,
+ "schema": 3,
"price_book": "example-v1",
"price_book_id": "example-v1@00788b08d45d",
"status": "draft",
@@ -73,27 +73,34 @@
"bandwidth_bytes_month": 10737418240,
"min_schedule_seconds": 900
},
- "packs": []
+ "packs": [],
+ "max_members": 3
},
{
- "key": "community",
+ "key": "personal",
"paid": true,
"default": false,
"annual_minor": {
- "eur": 500,
- "gbp": 450,
- "usd": 600
+ "eur": 2400,
+ "gbp": 2200,
+ "usd": 2800
},
"memory_mb": 512,
"limits": {
+ "running_things": 25,
"sidecars_per_app": 5,
"idle_seconds": 900,
"memory_tier": "default",
+ "awake_hours_month": 1500,
"disk_bytes": 10737418240,
+ "storage_bytes": 26843545600,
"storage_self_serve": true,
+ "email_per_day": 1000,
+ "bandwidth_bytes_month": 53687091200,
"custom_domains": true,
"fleets": true,
- "min_schedule_seconds": 60
+ "min_schedule_seconds": 60,
+ "history_days": 7
},
"packs": [
"apps",
@@ -101,33 +108,33 @@
"disk",
"email",
"storage"
- ]
+ ],
+ "max_members": 3
},
{
- "key": "personal",
+ "key": "community",
"paid": true,
"default": false,
"annual_minor": {
- "eur": 2400,
- "gbp": 2200,
- "usd": 2800
+ "eur": 500,
+ "gbp": 450,
+ "usd": 600
},
"memory_mb": 512,
"limits": {
- "running_things": 25,
+ "running_things": 50,
"sidecars_per_app": 5,
"idle_seconds": 900,
"memory_tier": "default",
- "awake_hours_month": 1500,
+ "awake_hours_month": 3000,
"disk_bytes": 10737418240,
- "storage_bytes": 26843545600,
+ "storage_bytes": 53687091200,
"storage_self_serve": true,
- "email_per_day": 1000,
- "bandwidth_bytes_month": 53687091200,
+ "email_per_day": 2000,
+ "bandwidth_bytes_month": 107374182400,
"custom_domains": true,
"fleets": true,
- "min_schedule_seconds": 60,
- "history_days": 7
+ "min_schedule_seconds": 60
},
"packs": [
"apps",
@@ -135,7 +142,19 @@
"disk",
"email",
"storage"
- ]
+ ],
+ "team": {
+ "base": "personal",
+ "per_member": "0.2",
+ "min_members": 10,
+ "pooled": [
+ "running_things",
+ "awake_hours_month",
+ "storage_bytes",
+ "email_per_day",
+ "bandwidth_bytes_month"
+ ]
+ }
},
{
"key": "business",
@@ -148,11 +167,16 @@
},
"memory_mb": 512,
"limits": {
+ "running_things": 500,
"sidecars_per_app": 5,
"idle_seconds": 900,
"memory_tier": "default",
+ "awake_hours_month": 30000,
"disk_bytes": 10737418240,
+ "storage_bytes": 536870912000,
"storage_self_serve": true,
+ "email_per_day": 20000,
+ "bandwidth_bytes_month": 1073741824000,
"custom_domains": true,
"fleets": true,
"min_schedule_seconds": 60,
@@ -164,7 +188,19 @@
"disk",
"email",
"storage"
- ]
+ ],
+ "team": {
+ "base": "personal",
+ "per_member": "2",
+ "min_members": 10,
+ "pooled": [
+ "running_things",
+ "awake_hours_month",
+ "storage_bytes",
+ "email_per_day",
+ "bandwidth_bytes_month"
+ ]
+ }
}
],
"packs": [