Module Validator
To help module developers check their implementations of modules, we designed module validator CLI (Command-Line Interface). It is a simple tool that will help you verify the basic requirements for the modules, i.e. module's yaml file, DockerHub resources, external links, etc.
Please keep in mind that the module validator is unable to check module's source code (except for YAML file), so even if your module passes all of the checks that we require, it might happen that it will not work as desired. Nevertheless, in our process of reviewing and approving new modules, we run proposed modules against this module validator CLI script.
Module Validator requires providing details of weeve user account used to access weeve IoT Platform in .env file (user email address and password).

Commands and validations

Current version of the module validator supports the following commands:
  • validate yaml-schema - provides a basic validation of the module's YAML file, so it checks if all required fields are provided and if their structure is correct.
  • validate yaml-deep - provides a deep and detailed validation of module's YAML file, including provided variables and external links to DockerHub and icon.
  • validate github-repo - provides a validation of module's GitHub repository, i.e. it checks if required files like Dockerfile or exist.
  • validate github-organization - if you have a GitHub organization and each of your repository stores an implementation of a single module, then this command enables you to verify all your repositories.
  • validate local-directory - if you store your module's source code locally, then this command enables you to analyse its directory to verify whether it meets our basic requirements.
  • validate module-links - it validates all external links provided in module's YAML file: icon, repository, DockerHub, etc.
  • validate module-docker - it validates module's DockerHub repository and docker image information provided in module's YAML file.
Although the above mentioned commands are supposed to help module developers in their work, we strongly recommend running at least validate yaml-deep validation before submitting any work to weeve. Here at weeve, we use these commands on a daily basis to verify all module that we produce for you.


The module validator repository provides a folder with examples of good YAML files and invalid erroneous YAMLs. We recommend reading repository's file and running some commands on the example YAMLs in order to become familiar with the tool.
Copy link
On this page
Commands and validations