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.
Definition of done
Instrument and Sample schemas are in LinkML
JSON Schema is generated automatically for each commit to master
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.
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
Definition of done