Skip to content

Provide better name/id #10

@yarikoptic

Description

@yarikoptic

instead of current

name: test-schema
id: http://example.org/test-schema

ideally there should be somewhere information about version of the dandi-schema somewhere... We could mimic what @mih does in https://concepts.datalad.org/s/things/v1.yaml, so assuming that we will have a similar website up at some point http://schema.dandiarchive.org/ website which goes after what Michael did, let's make it

name: dandi-schema
id: http://schema.dandiarchive.org/s/dandi/v0.6
version: 0.6.10
status: eunal:concept-status/DRAFT

you could even make your tool to get a config file which would have some template for the fields of interest, e.g. in this case could do smth like (if we just use string.format)

name: dandi-schema
id: http://schema.dandiarchive.org/s/dandi/v{module.__version__.rsplit(1)[0]}
version: {module.__version__}
status: eunal:concept-status/DRAFT

so you could load this yaml, then format all the entries and use them in produced linkml.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions