Skip to content

feat: full-fidelity Edit JSON Schema; deprecate text and soundtrack - #126

Merged
dazzatronus merged 1 commit into
mainfrom
feat/deprecations-and-mcp-json-schema
Aug 11, 2026
Merged

feat: full-fidelity Edit JSON Schema; deprecate text and soundtrack#126
dazzatronus merged 1 commit into
mainfrom
feat/deprecations-and-mcp-json-schema

Conversation

@dazzatronus

Copy link
Copy Markdown
Contributor

What changed

  • dist/json-schema/ now ships a single full-fidelity edit.json (draft 2020-12, self-contained $defs): optionality preserved, complete enums, every asset type, deprecated flags, descriptions converted from HTML to plain text. Replaces the previous strict-mode artefacts (blueprint, template, detailers, per-schema files), which no longer have a consumer. The /json subpath now exports only edit.
  • TextAsset and Soundtrack (including timeline.soundtrack) marked deprecated: true — still accepted, no behaviour change. HtmlAsset/TitleAsset deprecation notices now point at RichTextAsset.

Conversion notes

OAS 3.0 → JSON Schema handled explicitly: nullable, exampleexamples, discriminator stripped (branches discriminate via type enums), OAS numeric formats dropped, union-level additionalProperties: false dropped (in pure JSON Schema it bans all properties).

How to verify

pnpm build && pnpm test:smoke — smoke suite now compiles edit.json under Ajv2020({strict: true}) and runs behavioural cases (valid edits pass; unknown properties, bad enum values, missing output rejected; deprecated types still accepted). 61/61 passing.

@dazzatronus dazzatronus self-assigned this Aug 11, 2026
@dazzatronus
dazzatronus requested a review from Kratos2k7 August 11, 2026 08:45
@dazzatronus
dazzatronus merged commit dcd3ee6 into main Aug 11, 2026
1 check passed
@dazzatronus
dazzatronus deleted the feat/deprecations-and-mcp-json-schema branch August 11, 2026 08:46
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant