Schemas Reference
Core schema domains exported by @isplay/core.
The source of truth is @isplay/core. It exports Zod schemas and inferred TypeScript types for durable objects, request inputs, replay outputs, context inventory, experiments, analysis records, and policies.
Runtime records
Projects, agents, runs, events, artifacts, statuses, and base record fields.
Model, tool, checkpoints
Model calls, tool proposals, tool executions, checkpoints, operations, statuses, and side-effect classes.
Context inventory
Prompt messages, prompt clauses, context items, inventory, search, and catalog schemas.
Replay records
Policies, branches, interventions, trials, replays, fixtures, diffs, metrics, attempts, and failures.
Experiments
Checkpoint selectors, patch operations, intervention specs, trial plans, validity gates, hypotheses, and arms.
Analysis and effects
Analysis runs, evidence nodes, evidence edges, effect candidates, statistics, and labels.
Capture policy
Capture policy actions, redaction state, rules, and reports.
Shared Record Fields
Most durable records include:
| Field | Type | Notes |
|---|---|---|
id | string | Prefix-based IDs such as project_, run_, event_, replay_. |
createdAt | string | ISO timestamp. |
metadata | object | JSON metadata on most domain records. |