Skip to content

ci(deploy): publish the canonical .wind JSON Schema at its $id - #4

Merged
CameronBrooks11 merged 1 commit into
mainfrom
feat/publish-wind-schema
Jun 29, 2026
Merged

CameronBrooks11 merged 1 commit into
mainfrom
feat/publish-wind-schema

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

Serve the .wind JSON Schema at its canonical, major-versioned $id so it resolves:

https://fiberpath.org/schemas/wind/1/wind.schema.json

The deploy already checks out fiberpath/fiberpath, so the schema is copied live from its generated artifact (fiberpath_gui/schemas/wind-schema.json) into the built site/ — no vendored copy that could drift. The copy runs after mkdocs build --strict so mkdocs never processes the JSON, and a grep fails the build if the published $id doesn't match its serving URL.

The $id is major-only, so every additive 1.x schema serves from /schemas/wind/1/.

Closes the publishing task of fiberpath/fiberpath#317 (open-format epic fiberpath/fiberpath#141, slice D). After merge, the main push triggers the deploy; I'll verify the URL returns 200.

Serve `https://fiberpath.org/schemas/wind/1/wind.schema.json` so the schema's
canonical, major-versioned `$id` resolves. The deploy already checks out
fiberpath/fiberpath, so the schema is copied live from its generated artifact
(no vendored copy to drift) into the built site, post-`mkdocs build` so strict
mode never processes it. A grep asserts the published `$id` matches its URL.

Refs fiberpath/fiberpath#317 (open-format epic #141, slice D).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant