DataLexiconDataLexicon is a lightweight, model-driven tool for turning logical data models written in YAML into database-ready SQL, documentation, and ER diagrams. It is designed for data engineers, analysts, and architects who want to define their data model once and generate consistent outputs for multiple database dialects. Why DataLexicon?DataLexicon helps teams:
Key features
Free and premium tiersDataLexicon is available in a free tier without a license. The free tier supports up to 10 top-level YAML model files in a project and PostgreSQL only. The A premium license removes the model and dialect limits, enabling all supported dialects. Premium licenses are signed offline and can be activated from a token or license file:
Premium licenses must be reissued when expired. To request a license or license extension, you can visit our website. Check whether a premium license is active and how many days remain with:
The command reports the free tier when no license is activated, or shows the premium license expiry and remaining days. Remaining days are rounded up; expired licenses show How DataLexicon works
Suggested project structure
Example model file
Example projectsFor complete, ready-to-use examples of DataLexicon projects, see the datalexicon-examples repository. Minimal configuration
Naming configurationYou can customize primary key, foreign key, and index naming in standards/naming.yml:
CommandsInitialize your projectStart by creating a new DataLexicon project using the CLI. The initialization command creates a ready-to-use project structure.
Creates the recommended folder structure:
Afterwards, you can create your entities, attributes and relationships using simple YAML files stored in the models directory. Build SQL
This creates SQL files in the target folder per selected dialect. Validate a model
Generate documentation
This creates HTML documentation with logical model sections, generated SQL, and an ER diagram.
Run with DockerCreate a folder for the Docker Compose file, for example
Run the commands below from the folder containing
These commands use the free tier. To remove the model and dialect limits, activate a premium license file:
The activated premium license is stored in the configured license folder and used by later runs. VS Code extensionThe DataLexicon VS Code extension adds commands directly inside VS Code for building models and generating documentation from the open workspace. EULACopyright © 2026 NvisionData. All rights reserved. DataLexicon is licensed under the DataLexicon End User License Agreement (EULA). The EULA defines the permitted use, restrictions, intellectual property rights, and licensing terms for DataLexicon. For the full license agreement, see: |