Create data quality feedback for activity files in the data standard of the International Aid Transparency Initiative.
The validator can be run as a Docker container, with all the required software and libraries.
Internally, the engine uses Ant for the workflow, and Saxon HE for data processing.
-
Ant provides build targets to transform input files into processed files. Targets can be simple steps, or complete workflows consisting of multiple sub targets.
-
Saxon HE provides XSLT transformations to process XML files, and produce XML, HTML and JSON outputs.
For more information see the online documentation
After cloning this repository, update the submodules recursively:
git submodule update --recursive
This will download the IATI-Rulesets, and within that, the Xspec testing library
Alternatively, clone the repository and submodules in one go with
git clone --recurse-submodules https://github.com/data4development/IATI-data-validator.git
Use the conventional docker build command:
docker build -t my_validator:latest .
Run the test suites:
docker run --rm my_validator test