Skip to content

LinkML

LinkML (Linked Data Modeling Language) is an open framework for data modeling that bridges the gap between relational, object-oriented, and linked-data worlds. You author schemas in readable YAML; the linkml toolkit generates:

  • JSON Schema, SHACL, OWL
  • Python, TypeScript, Java, Go, Rust datamodels
  • RDF/Turtle representations
  • Documentation (Markdown, HTML)

All nine OSCAL schema files in src/oscal/schema/ are authored in LinkML YAML. The project/ directory contains artifacts generated from them by the gen-project recipe in justfile.

Key references: - Specification & docs: https://linkml.io/ - GitHub: https://github.com/linkml/linkml - W3ID namespace: https://w3id.org/linkml/