LinkML-Scala documentation
LinkML-Scala 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 or the libraries, see the README.
Generators and importers
Section titled “Generators and importers”- LinkML <-> OWL: the OWL generator and the OWL importer.
- Pydantic: Python classes for your data.
- TypeScript: TypeScript types for your data.
- LinkML <-> Apache Ossie: how the Ossie generator and importer map between the two.
Schemas
Section titled “Schemas”- 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 LinkML-Scala
Section titled “Using LinkML-Scala”- 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 LinkML-Scala differs from LinkML-Python.
- Benchmarks: how fast LinkML-Scala is compared to LinkML-Python.