The "Constitution" of the Post-SaaS Operating System.
This repository contains the core specifications, schemas, and protocols that power the ObjectStack ecosystem. It defines how data, UI, and system configurations are expressed as code.
- Development Roadmap: Complete development plan considering all future possibilities.
- Priority Matrix: What to work on next, sprint planning guide.
- Architecture Diagrams: Visual reference for the complete system.
The official documentation is built with Fumadocs and Next.js.
- Documentation Content: MDX documentation files (concepts, specifications, references).
- Documentation Site: Fumadocs-powered Next.js app.
- Live Site: Run
pnpm docs:devto view locally.
| Package | Description | Status |
|---|---|---|
@objectstack/spec |
THE PROTOCOL. Contains all Zod definitions, Types, and JSON Schemas. | 🟢 Active |
@objectstack/docs |
Documentation site built with Fumadocs and Next.js. | 🟢 Active |
content/docs/ |
Documentation content (MDX files). Shared resource. | 🟢 Active |
| Other packages | Legacy/Migration in progress | 🟡 Legacy |
The ObjectStack Protocol (@objectstack/spec) is divided into three layers:
Defines the "Shape of Data".
- Schema: Objects, Fields, Validation.
- Logic: Formulas, Rollups.
- Security: Permissions, Sharing Rules.
- Query: Abstract Syntax Tree (AST) for unified data access.
Defines the "Shape of Interaction".
- Views: Grids, Kanbans, Calendars.
- Pages: FlexiPage layouts (Regions & Components).
- Navigation: Apps, Navigation.
- Analytics: Reports, Dashboards.
Defines the "Runtime Environment".
- Manifest: Application packaging (
objectstack.config.ts). - Identity: Auth, Roles, Territories.
- Integration: Webhooks, ETL Mappings.
This project uses PNPM workspaces.
- Node.js >= 18
- PNPM >= 8
# 1. Install dependencies
pnpm install
# 2. Build the Protocol (Generates Schemas & Docs)
pnpm --filter @objectstack/spec build
# Output:
# - packages/spec/dist/ (Compiled TS)
# - packages/spec/json-schema/ (JSON Schemas)
# 3. Start Documentation Site
pnpm docs:dev
# Visit http://localhost:3000/docs- Read the Roadmap: Review DEVELOPMENT_ROADMAP.md to understand the vision.
- Check Priorities: See PRIORITIES.md for what to work on next.
- Understand Architecture: Read ARCHITECTURE.md for system overview.
- Code First: Always start by defining the Zod Schema in
packages/spec/src. - Write Tests: Add comprehensive tests in
*.test.tsfiles (target 80%+ coverage). - Generate: Run
pnpm buildto update JSON Schemas and Documentation. - Commit: Submit PR with updated Code + Schemas + Docs.
- Configuration Keys (TypeScript properties):
camelCase(e.g.,maxLength,referenceFilters) - Machine Names (Data values):
snake_case(e.g.,name: 'project_task',object: 'account')
- Zod schema follows naming conventions
- Comprehensive JSDoc comments with
@description - Unit tests with 80%+ coverage
- Documentation with examples
- JSON schema generated successfully
- All existing tests pass
Apach2 2.0 © ObjectStack