ObjectStackObjectStack

Protocol Specification

The formal ObjectStack protocol for Data, UI, and System layers

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