schemastruct
DocumentationBlogAboutGalleryPricingContactSign inGet started
Gallery/B2B SaaS Platform Core

SaaS

B2B SaaS Platform Core

Production-grade multi-tenant SaaS schema with organizations, users, subscription plans, invoicing with line items, usage-based metering, feature flags with per-org overrides, API tokens, and full audit logging — modeled after Slack/HubSpot-scale architectures.

11tables
17relationships
3contracted tables
0docs notes

Opens as an unsaved working copy. Sign in later when you want to save it to your workspace.

Open shared review

Key tables

organizationsusersinvoicessubscriptionsorg_feature_overridesapi_tokens

Shareable schema

Public gallery entries are backed by the same shared SchemaStruct project model, so teams can publish a review link and a reusable warehouse starting point from one workspace.

Schema DNA

Compare this schema to public patterns

This benchmark compares the public schema against the matching gallery corpus plus built-in reference templates. It uses only structural metadata like table roles, density, naming shape, and relationship layout.

Similarity71%

to the closest reference pattern

Coverage10/13

common structural patterns present for saas schemas

DomainSaaS

inferred from table roles and naming patterns

This saas schema is 71% structurally similar to SaaS Multi-tenant.

It is currently missing 3 common table patterns seen across comparable schemas.

Features
50%

Included in 1 of 2 comparable schemas

Permissions
50%

Included in 1 of 2 comparable schemas

Roles
50%

Included in 1 of 2 comparable schemas

Live preview

Inspect the schema layout

Open the shared review or fork this starter into the editor when you want to keep modeling.

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
100%

Similar public schemas

More public schemas in this domain are needed before a peer set can be ranked.

Reference patterns

SaaS Multi-tenant
7 tables · 7 relationships
71%