logicsrc/packages/schemas
Anthony Ettinger 257d581331
Some checks are pending
CI / build (push) Waiting to run
test / test (push) Waiting to run
fix(openprd): allow null on optional front-matter keys (#97)
Follow-up to #96. The template and tool-generated PRDs (moshcode /prd) ship
optional keys blank; YAML reads them as null. Accept null on owner/repo/created/
updated/discussion/implementation/tags/supersedes/superseded-by/authors so
template-derived files validate against the schema.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 09:03:31 -07:00
..
fixtures feat(openprd): revise standard to DIP-style numbered proposals (0.2) (#96) 2026-07-12 08:55:19 -07:00
schemas fix(openprd): allow null on optional front-matter keys (#97) 2026-07-12 09:03:31 -07:00
package.json feat(credential-sharing): implement the Credential Sharing OpenSpec (M1-M3) 2026-06-27 15:24:30 +00:00
README.md Add AgentAd ad schemas as a LogicSRC primitive (#10) 2026-06-11 21:02:43 -07:00

@logicsrc/schemas

Canonical JSON Schemas (draft 2020-12) for the LogicSRC open coordination standards, maintained by Profullstack, Inc.

Two schema families ship from this package:

  • LogicSRC corelogicsrc-*.schema.json: tasks, agents, runs, events, plugins, connected accounts, email messages, social posts.
  • AgentAdagentad-*.schema.json: a disclosed, agent-readable advertising contract for CLI tools and AI agents (ads, placements, requests, responses, impressions, clicks, campaigns). See docs/agentad.md in the repo; cl1s.tech is the reference network.

Install

npm install @logicsrc/schemas

Use

import adSchema from "@logicsrc/schemas/agentad-ad" with { type: "json" };
import taskSchema from "@logicsrc/schemas/task" with { type: "json" };

Schema $ids resolve under https://schemas.logicsrc.com/. Validate with any draft 2020-12 validator (e.g. ajv/dist/2020.js), or use @logicsrc/validators from the monorepo.

License

MIT © Profullstack, Inc.