Provide self-contained schema in YAML format #356

Open
opened 2025-09-09 09:13:06 +00:00 by mih · 1 comment
mih commented 2025-09-09 09:13:06 +00:00 (Migrated from github.com)

Brought up by @christian-monch

This would solve the loading of external schema components, which may change without proper notice.

Brought up by @christian-monch This would solve the loading of external schema components, which may change without proper notice.
mih commented 2025-09-21 12:50:16 +00:00 (Migrated from github.com)

We are providing the output of gen-yaml for some time now. For example,

https://concepts.datalad.org/s/things/v1.static.yaml

However, that appears to be suboptimal. For example, it contains:

imports:
- ../../src/types/v1
- linkml:types

This is wrong in two ways. First it uses relative paths for imports, and second it imports something to begin with.

Whatever is "imported" also appears to be present in that file already.

We are providing the output of `gen-yaml` for some time now. For example, https://concepts.datalad.org/s/things/v1.static.yaml However, that appears to be suboptimal. For example, it contains: ```yaml imports: - ../../src/types/v1 - linkml:types ``` This is wrong in two ways. First it uses relative paths for imports, and second it imports something to begin with. Whatever is "imported" also appears to be present in that file already.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
orinoco/concepts#356
No description provided.