Consider adding the following recipe to project.justfile.
https://github.com/linkml/linkml/blob/main/docs/generators/linkml.rst
# Generate a single self-contained merged LinkML YAML with all imports resolved
[group('model development')]
gen-merged-schema:
mkdir -p {{dest}}/linkml
uv run gen-linkml --mergeimports -o {{dest}}/linkml/{{schema_name}}.merged.linkml.yaml {{source_schema_path}}
This recipe is useful for development work tangential to a modular LinkML schema (import's sub-schemas).
It exposes full yaml as interface.
Without that interface you need multiple links to parent schema + sub-schema.
Consider adding the following recipe to
project.justfile.https://github.com/linkml/linkml/blob/main/docs/generators/linkml.rst
This recipe is useful for development work tangential to a modular LinkML schema (
import's sub-schemas).It exposes full yaml as interface.
Without that interface you need multiple links to parent schema + sub-schema.