JSON Schemas
Machine-readable JSON Schema catalog for TargApps application formats, published under /schemas/.
TargApps publishes JSON Schema (draft 2020-12) files for application-level JSON formats: finance persistence and backups, Chroma app manifests, plugin contracts, and workspace metadata.
Catalog
The manifest lists every published schema with stable ids and public URLs:
{
"version": 1,
"schemas": [
{
"id": "targ-apps.finance.backup",
"path": "/schemas/targ-apps/finance-backup.schema.json",
"title": "Targ-Apps-Finance Backup Export",
"project": "targ-apps-finance"
}
]
}Schemas are served as static files from targ-apps-docs/public/schemas/ (Fumadocs public/ directory).
Static config JSON in apps (e.g. Targ-Apps-Finance/chroma.json) should declare "$schema" as the first property with a full HTTPS URL:
{
"$schema": "https://docs.targapps.xyz/schemas/targ-apps/chroma-app-manifest.schema.json",
"name": "Targ-Apps-Finance"
}Prefer targ-apps/ schemas for Targ-Apps-Finance manifests; use chroma/ or chroma-plugins/ for engine-level and first-party plugin sources.
TargApps application schemas (/schemas/targ-apps/)
| Schema | Format | Source |
|---|---|---|
finance-snapshot.schema.json | finance/snapshot.json persist snapshot | Targ-Apps-Finance/logic/persist.js |
finance-backup.schema.json | Settings export/import JSON backup | logic/export.js, logic/import.js |
settings.schema.json | User preferences | logic/settings.js |
account.schema.json … recurring-rule.schema.json | Finance entities | logic/models.js |
profile.schema.json, session.schema.json | Local auth | logic/auth.js |
chroma-fs-config.schema.json | chroma-fs.json | IndexedDB / filesystem backends |
chroma-app-manifest.schema.json | chroma.json | Chroma dynamic apps |
chroma-plugin-manifest.schema.json | chroma.plugin.json | plugins/<name>/ |
stage-registry.schema.json | Serialized STAGE.md map | scripts/commit-stage.sh |
shadcn-components-config.schema.json | components.json | targ-apps/, targ-apps-page-vmaspad/ |
Example fixtures live under /schemas/targ-apps/examples/.
Chroma schemas
| Directory | Schemas |
|---|---|
/schemas/chroma/ | chroma.json, chroma-fs.json, chroma.plugin.json, pkg/package.json, jsconfig.json |
/schemas/chroma-plugins/ | Plugin manifests, Chroma-Fs config, Chroma Router routes-manifest.json |
All entries are listed in /schemas/index.json (24 schemas total).
Validate locally
cd targ-apps-docs/public/schemas
npx --yes ajv-cli@5 validate \
-s targ-apps/finance-backup.schema.json \
-d targ-apps/examples/finance-backup-sample.json \
-r "targ-apps/*.schema.json" \
--spec=draft2020Full commands and -r reference resolution notes: /schemas/README.md.