Skip to main content

Type Alias: RltPlan

type RltPlan = "trial" | "starter" | "team" | "enterprise";

Defined in: claims.ts:13

RLT payload claims and their strict validator. Normative: docs/15-licensing-and-billing.md §2.1 (claims table) and §4.1 step 5 (SCHEMA / ISSUER split).

WHY hand-rolled instead of zod: @rasd/core lazy-loads zod for definition validation precisely to keep it off the boot path, and @rasd/license has a hard ≤ 12 kB min+gzip budget (spine §12) because it sits in the form-runner path. A claims object has eleven known keys; a hundred lines of checks is cheaper than a schema engine.