feat: JSON schema generation for parts
Metadata
Current evaluation
Merged JSON Schema generation for parts in commit 09a99811, adding Pydantic-based schemas and tests after prerequisite #778.
Resolution: closed resolved
Reason: PR #781 was approved and merged as commit 09a99811, adding JSON Schema support for parts, source models, and plugins with unit and integration tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Requires #778
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged JSON Schema generation for parts in commit 09a99811, adding Pydantic-based schemas and tests after prerequisite #778. | |
| stealth/space-bunny-alpha | — | closed resolved | JSON schema generation for parts was merged in craft-parts#781 as commit 09a99811, adding schema support and tests after prerequisite #778. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the feature adding JSON schema generation for parts. Approved by two reviewers and depends on #778. The commit updates 13 files with 400 additions and 9 deletions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the feature adding JSON schema generation for parts. Successfully integrated into the main branch, fulfilling the prerequisite dependency on issue #778. |
Update history
No update history recorded yet.
Related work
-
Blocked By:
canonical/craft-parts#778
(confidence 100%)
The PR explicitly required #778, a Pydantic 2 cleanup merged as commit 68d61fa0.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #776 feat: add pydantic models for all sources | craft-parts | merged | Merged PR #776 added Pydantic models for every source, enabling whole-part JSON schema generation and building on prerequisite PR #775. | |
| #6 schemas: add parts schema and schema validator | craft-parts | closed | Closed unmerged as superseded by canonical/craft-parts#9, which replaced the JSON-schema validator approach with pydantic-based parts unmarshalling and validation. | |
| #5730 feat: add inheritance-based validation and schemas | snapcraft | merged | Merged as commit 7cfb25977, adding inheritance-based pydantic validation and JSON schema generation (tools/schema.py, snapcraft/models/project.py) for snapcraft.yaml, closing issue #5543. | |
| #5186 feat: pydantic fields for jsonschema output in Project | snapcraft | merged | Merged PR #5186 (commit 0dd97ef66) added pydantic.Field description/examples to the Project model so craft-application's generated JSON Schema documents snapcraft.yaml keys. |