JSPM

  • Created
  • Published
  • Downloads 10720
  • Score
    100M100P100Q128073F
  • License Apache-2.0

ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations

Package Exports

  • @objectstack/spec
  • @objectstack/spec/ai
  • @objectstack/spec/api
  • @objectstack/spec/auth
  • @objectstack/spec/automation
  • @objectstack/spec/contracts
  • @objectstack/spec/data
  • @objectstack/spec/driver
  • @objectstack/spec/hub
  • @objectstack/spec/integration
  • @objectstack/spec/kernel
  • @objectstack/spec/permission
  • @objectstack/spec/system
  • @objectstack/spec/ui

Readme

@objectstack/spec

The Source of Truth for the ObjectStack Protocol. Contains strictly typed Zod schemas that define every aspect of the system.

Protocols

  • System: Manifests, Datasources, APIs.
  • Data: Objects, Fields, Validation Rules.
  • UI: Views, Layouts, Dashboards.
  • Automation: Flows, Workflows, Triggers.
  • AI: Agents, RAG Pipelines, Models.

Usage

import { ObjectSchema, ViewSchema } from '@objectstack/spec';

// Validate a JSON object against the schema
const result = ObjectSchema.parse(myObjectDefinition);