ohi LinkML documentation
ohi LinkML is a cross-platform implementation of LinkML. It validates LinkML schemas and generates JSON Schema, SHACL, OWL, Pydantic, TypeScript and more from them. It runs as a native command-line tool, on the JVM, in Node.js and the browser, and from Python, C, C++ and Rust.
To try it without installing anything, open the playground. To install the CLI, see the install guide. For the libraries, see the README.
Generators and importers
Section titled “Generators and importers”- All generators and all importers.
- OWL generator and OWL importer.
- Pydantic: Python classes for your data.
- TypeScript: TypeScript types for your data.
- Java: Java classes for your data.
- Ossie generator and Ossie importer: how LinkML and Apache Ossie map to each other.
Schemas
Section titled “Schemas”- Validating schemas: severity levels, exit codes and the JSON report.
- URIs and CURIEs: how prefixes and CURIEs are resolved.
- Import maps: loading imported schemas from somewhere else.
- Inherited slots and
slot_usage: how metaslots from several places are combined.
Using ohi LinkML
Section titled “Using ohi LinkML”- Python bindings: the Python package, and the C ABI for C, C++ and Rust.
- Verifying downloads: checking checksums and build provenance of releases.
Reference
Section titled “Reference”- Implementation differences: where ohi LinkML differs from LinkML-Python.
- Benchmarks: how fast ohi LinkML is compared to LinkML-Python.