@42ch/spoke-schemas
v0.11.1
Published
SPOKE wire types — TypeScript generated from JSON Schema
Maintainers
Readme
@42ch/spoke-schemas
Generated TypeScript wire types for SPOKE — the Standardized Programmable Ontology Knowledge Engine.
Types are produced from the repository JSON Schema SSOT (schemas/). Pair with @42ch/spoke-operations for pure lifecycle helpers.
Install
pnpm add @42ch/spoke-schemas
# Prefer the same SemVer as @42ch/spoke-operations (e.g. @X.Y.Z)Lockstep with @42ch/spoke-operations at the same SemVer when using both.
Usage
import type {
KnowledgeEntry,
TimelineEvent,
PromoteRequest,
AssemblePacket,
Finding,
Relation,
} from "@42ch/spoke-schemas";
const entry: KnowledgeEntry = {
schema_version: 1,
entry_id: "kb_01",
entry_type: "character",
canonical_name: "Aria",
status: "provisional",
body: { summary: "A reluctant scout." },
extensions: {},
};Protocol docs, concepts, and the lockstep SemVer release policy live in the SPOKE repository.
