← Back to issue list

Export the schema to json to allow for easier IDE linting

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1815062
Type
issue
State
closed
Author
~sergiusens
Labels
19.04
Created
Updated
Closed

Current evaluation

Exported the Snapcraft schema as JSON for IDE and jsonschema linting via canonical/snapcraft#2448, merged in commit 2a2f798d0.

Resolution: closed resolved

Reason: The schema was exported as JSON and the change landed through canonical/snapcraft#2448 in commit 2a2f798d0. The issue comment links that PR as the implementation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

To be able to import our schema, we need to export it as actual json for the jsonschema implementations to kick in

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Exported the Snapcraft schema as JSON for IDE and jsonschema linting via canonical/snapcraft#2448, merged in commit 2a2f798d0.
stealth/space-bunny-alpha — closed resolved Exported the schema as JSON for IDE/jsonschema linting. Merged via canonical/snapcraft#2448 in commit 2a2f798d0.
stealth/space-bunny-alpha — closed resolved Replaced the YAML schema with an equivalent JSON schema, enabling IDE/jsonschema linting. Merged in canonical/snapcraft#2448 (commit 2a2f798d0).
stealth/space-bunny-alpha — closed stale Closed without a documented resolution; no directly linked PR or commit was found for the requested standalone JSON schema export.
qwen/qwen3.6-35b-a3b — — Abandoned or superseded. The request to export the schema as JSON for IDE linting was closed without implementation or discussion.
qwen/qwen3.6-35b-a3b — — Abandoned. The request to export the schema as JSON for IDE linting was closed without implementation or discussion.
qwen/qwen3.6-35b-a3b — — Request to export the schema as JSON for IDE linting was closed without implementation or discussion. Likely abandoned due to inactivity. No resolution or merge details provided.
qwen3.6-35b-a3b-mtp-q6 — — Requesting JSON schema export for IDE linting was closed without discussion or implementation, indicating the feature request was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2448 (confidence 100%)

    Linked directly from the issue comment and identified as the merged JSON schema export change.

Related issues

Issue Project State Summary Similarity
#2446 Update schema/snapcraft.yaml snapcraft closed PR #2446 edited schema/snapcraft.yaml to aid yaml-to-json converters but was closed unmerged in favour of #2448, which replaced the YAML schema with snapcraft.json (commit 2a2f798d0).
73%
#5140 Add lint to schema snapcraft closed Lint support was added to snapcraft.yaml schemas, fixing editor errors and missing autocomplete via merged PR #5730 (commit 7cfb25977).
73%
#2448 Swap yaml schema document with json equivalent snapcraft merged PR #2448 merged as commit 2a2f798d0 ("schema: convert yaml jsonschema document to a json equivalent"), replacing schema/snapcraft.yaml with schema/snapcraft.json and adjusting validation error formatting.
72%