GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NHSDigital/data-validation-engine: Data Validation Engine source code

BranchesTags
Open more actions menu

Latest commit

 

History

312 Commits
312 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
conda_recipe
conda_recipe
 
 
docs
docs
 
 
includes
includes
 
 
overrides/.icons
overrides/.icons
 
 
scripts
scripts
 
 
src/dve
src/dve
 
 
tests
tests
 
 
.gitallowed
.gitallowed
 
 
.gitignore
.gitignore
 
 
.mise.toml
.mise.toml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.tool-versions
.tool-versions
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
behave.ini
behave.ini
 
 
poetry.lock
poetry.lock
 
 
poetry.toml
poetry.toml
 
 
pyproject.toml
pyproject.toml
 
 
pytest-dev.ini
pytest-dev.ini
 
 
zensical.toml
zensical.toml
 
 

Repository files navigation

Data Validation Engine

License PyPi Conda CI Unit Tests CI Formatting & Linting

The Data Validation Engine (DVE) is a configuration-driven data validation library created and used by NHS England. It lets users define validation rules once and apply them across multiple dataset collections - supporting consistent, accurate data checks.

The DVE offers:

  • SQL configuration-based validations
  • Format normalization to Parquet for a unified data representation
  • Data modelling and typecasting
  • Business-rule validations executed on supported backends such as Spark and DuckDB, with the option to add custom backends
  • Validate and enforce referential integrity checks with minimal configuration
  • Deriving new fields and entities
  • Clear validation reporting, including summary insights and record-level error messages

As mentioned above, the DVE is "configuration driven" which means the majority of development for you as a user will be building a JSON document to describe how the data will be validated. The JSON document is known as a dischema (data ingest schema) file and example files can be accessed here ↗️. If you'd like to learn more about JSON document and how to build one from scratch, then please read the documentation here ↗️.

Installation and usage

Please see the documentation here ↗️.

Requesting new features and raising bug reports

Before creating new issues, please check to see if the same bug/feature has been created already. Where a duplicate is created, the ticket will be closed and referenced to an existing issue.

If you have spotted a bug with the DVE then please raise an issue here ↗️ using the "bug template".

If you have feature request then please follow the same process whilst using the "Feature request template".

Upcoming features

Below is a list of features that we would like to implement or have been requested.

Feature Release Version Released?
Open source release 0.1.0 Yes
Uplift to Python 3.11 0.2.0 Yes
Uplift Pyspark to 3.5 0.8.0 Yes
Allow DVE to run on Python 3.12+ 0.8.0 Yes
Upgrade to Pydantic 2.0 0.9.0 Yes
Upgrade DuckDB to v1.4 0.10.0 Yes
Uplift Pyspark to 4.0+ TBA No
Polars upgrade to v1+ TBA No
DuckDB upgrade to v1.5+ TBA No
Python 3.13 & 3.14 upgrade TBA No
Create a more user friendly interface for building and modifying dischema files TBA No

If you are interested in getting any of the unreleased features listed above available, then please read the Contributing section and then submit us a pull request.

Contributing

Please see guidance here ↗️.

Legal

This codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.

Any HTML or Markdown documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.

About

Data Validation Engine source code

nhsdigital.github.io/data-validation-engine/

Topics

data-validationduckdbnhspysparkpython3

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

6 stars

Watchers

0 watching

Forks

6 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.