ObjectStackObjectStack

Protocol specification — the open format

The ObjectStack protocol specification: how the Data, UI and System layers describe a complete business application as metadata, and its design principles.

The ObjectStack Protocol defines three interconnected layers that together describe a complete enterprise application:

All three layers move under one compatibility contract: which edits a MINOR may make, how long a deprecated property survives before it can be removed, and which @objectstack/spec exports are guaranteed stable within a MAJOR — see the Backward Compatibility Policy.

Design Principles

  • Zod-First — All schemas are defined in Zod for runtime validation and TypeScript inference.
  • Database-Agnostic — The same object definition works across PostgreSQL, MongoDB, and SQLite.
  • Declarative — Business intent is expressed as structured data, not imperative code.

For auto-generated API documentation of every schema, see the Protocol Reference.

On this page