Protocol Specification
The formal ObjectStack protocol for Data, UI, and System layers
Protocol Specification
The ObjectStack Protocol defines three interconnected layers that together describe a complete enterprise application:
ObjectQL: Data Protocol
Schema definitions, field types, state machines, query syntax, and data security.
ObjectUI: UI Protocol
Server-driven UI contracts for layouts, widgets, forms, and actions.
Kernel: System Protocol
Runtime lifecycle, HTTP/realtime protocols, plugins, configuration, and i18n.
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.