Repository navigation
feat(generator): generate models from Draft 2020-12 schemas - #167
Open
leoafarias wants to merge 1 commit into
Open
leoafarias wants to merge 1 commit into
leoafarias wants to merge 1 commit into
Conversation
leoafarias
marked this pull request as ready for review
September 28, 2026 02:48
leoafarias
force-pushed
the
feat/json-schema-model-generator
branch
from
September 28, 2026 16:27
fc279fb to
b2f197e
Compare
This was referenced Sep 28, 2026
leoafarias
changed the base branch from
main
to
test/json-schema-2020-12-fixtures
September 28, 2026 22:06
leoafarias
added this pull request to stack #170
September 28, 2026 22:38
leoafarias
force-pushed
the
feat/json-schema-model-generator
branch
from
September 28, 2026 23:08
1f026b0 to
9d0a3c4
Compare
leoafarias
removed this pull request from stack #170
September 28, 2026 23:10
leoafarias
changed the base branch from
main
to
feat/json-schema-2020-12-runtime
September 28, 2026 23:11
leoafarias
added this pull request to stack #172
September 28, 2026 23:11
leoafarias
removed this pull request from stack #172
September 29, 2026 14:10
This was referenced Sep 29, 2026
leoafarias
added this pull request to stack #177
September 29, 2026 14:10
leoafarias
added a commit
that referenced
this pull request
Sep 29, 2026
Align the six publishable packages at 1.7.0-beta.1 and move unreleased notes into the 1.7.0-beta.1 changelog sections. The release includes shared inference, model adapter schemas, CodecSchema.canEncode, typed copyWith, stricter constrained-Set validation, the @AckInfer schema shorthand (#174), generated string-literal escaping (#164), and explicit schema descriptions (#176). Update PUBLISHING.md for this candidate. The Draft 2020-12 runtime (#171), JSON Schema-to-Dart generation (#167), and the decoder error contract (#163) are deferred to 2.0.
leoafarias
marked this pull request as draft
September 29, 2026 22:03
5 tasks
leoafarias
force-pushed
the
feat/json-schema-model-generator
branch
from
October 9, 2026 17:33
7a9fc46 to
bff7740
Compare
leoafarias
marked this pull request as ready for review
October 12, 2026 13:11
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ack_generator:ack_json_schemabuilder for Draft 2020-12 bundles. Representable shapes generate typed@Schemablemodels; other valid shapes generate schema-validated value models rather than silently dropping assertions.$defs, and JSON-pointer diagnostics for invalid or unsupported sources. All 384 required upstream groups generate offline; a realbuild_runnerconsumer exercises representative generated models.ack_json_schema_builderbridge withassertFormatsimport, default Draft 2020-12 preservation ontoJsonSchemaBuilder(), andtoJsonSchemaBuilderDraft7()for legacy Draft-7 lowering.The Ack runtime importer/exporter and its conformance tests are in PR #171, built on the fixtures merged via #169. This PR contains the generator and bridge integration.
Stack (Ack 2.0)
main← feat(ack): support Draft 2020-12 runtime import and export #171 (feat/json-schema-2020-12-runtime) ← feat(generator): generate models from Draft 2020-12 schemas #167 (feat/json-schema-model-generator)