LinkML
model your data

LinkML is a general purpose modeling language that can be used with linked data, JSON, and other formalisms

See on GitHub
Product Shot
uBuild Blocks Mock-Up

Model your data easily by authoring YAML files

Use the LinkML modeling language to author models for your schemas and data dictionaries.

The modeling language is rich employing features such as polymorphism, mixins/traits, mapping to ontologies, and control of JSON inlining. At the same time it can be used for simple tasks such as defining data dictionaries.

See the online Reference Guide

Linked Data JSON-ready

Generate JSON-Schema and JSON-LD contexts for semantic-web ready and developer-friendly schemas!

json-schema screenshot from PyCharm

Generate schema artifacts

Generate downstream artifacts including JSON-Schema, ShEx, RDF/OWL, GraphQL, and SQL DDL

Generate Python dataclasses

LinkML can be used to generate Python dataclasses.

Customize Blocks

Publish your schema on the web

The LinkML framework automates publish schema documentation using mkdocs, and assists in publishing schema artefacts using w3id.org

Steps to Build a Model

You can get started right away!

  1. Use linkml-template in GitHub.

  2. Hack your YAML file

  3. Add example data

  4. Use the Makefile to generate all downstream artefacts