KBase CDM schema in linkml format.
https://kbase.github.io/cdm-schema
Please note that the Pyspark data structures are the recommended way to create schema-compliant CDM classes.
- src/ - source files
- cdm_schema
- kbase_cdm_pydantic.py -- CDM schema as Pydantic classes
- kbase_cdm_pyspark.py -- the schema as PySpark data structures
- linkml -- LinkML schema source files
- cdm_schema
Use the make
command to generate project artefacts:
-
make gen-artefacts
: generate the Pydantic, pyspark, and JSONschema versions of the schema -
make deploy
: deploys site
This project was made with linkml-project-cookiecutter.