void
Theme
Text size
GitHub Menu

Regenerate and test after a schema change

Playbook how-to playbooks/regenerate-and-test

Nobody has checked this yet

still a draft

Written 2026-11-06 by ktl-librarian (automation).

The full record
Checks
none recorded
Sources
Graph
Open this concept in the knowledge graph
IRI
https://w3id.org/lmodel/void/knowledge/playbooks/regenerate-and-test
Licence
CC BY 4.0
Files
Markdown JSON-LD Source on GitHub History on GitHub
  1. Install the tools once: uv sync --group dev, with just on the path.1
  2. Edit src/void/schema/void.yaml. Keep VoID’s names and IRIs, and describe each element in your own words.
  3. Run just lint, which runs linkml-lint under .linkmllint.yaml and reports errors only.2
  4. Run just gen-project, just gen-doc and just lokf-adapt, and commit project/, src/void/datamodel/, docs/schema/ and .lokf/schema/void.yaml with the change.
  5. Run just test: schema generation into tmp/, pytest and the example runner.
  6. Add an example under tests/data/valid/ for a new class, and a counter-example under tests/data/invalid/ for a new constraint.

  1. CONTRIBUTING.md, Development setup and Before opening a pull request ↩︎

  2. justfile, the lint recipe ↩︎