Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to LinkML schema #5

Open
3 tasks
sbliven opened this issue Jun 17, 2024 · 1 comment
Open
3 tasks

Convert to LinkML schema #5

sbliven opened this issue Jun 17, 2024 · 1 comment
Assignees

Comments

@sbliven
Copy link
Member

sbliven commented Jun 17, 2024

Description

LinkML is a yaml-based schema definition language. It can be used to generate other schema formats, such as JSON Schema, JSON-LD, xml, etc. By using LinkML for the canonical OSC-EM schema we can then automatically generate schemas in other languages, as well as convert data between some different data container formats. LinkML has broad community support.

Steps

  • Convert OSC-EM schema to linkml format. The JSON Schema can be converted automatically using a schemauto importer
  • Set up CI/CD to create JSON Schema and JSON-LD automatically. The actions are provided automatically if we apply the linkml cookiecutter to this repository.
  • Make the schema modular to allow for different use cases and ease of expansion.

Definition of done

  • Instrument and Sample schemas are in LinkML
  • JSON Schema is generated automatically for each commit to master
@sbliven
Copy link
Member Author

sbliven commented Jun 20, 2024

I created a project using the cookiecutter template. I will test using schemasheets, which allows you to use a tsv file for the canonical schema and generate linkml from that.

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

No branches or pull requests

2 participants