Data validation

Data validation is the testing of data against agreed rules, such as format, range, allowed lists and consistency between fields, to decide whether values are acceptable. Eurostat defines it as verifying whether a combination of values belongs to a set of acceptable combinations.

Also called: data validation checks · input validation · validation checks

What it is

Data validation is the testing of data against a set of rules to decide whether it is acceptable. The Eurostat data validation page defines it as an activity that verifies whether or not a combination of values is a member of a set of acceptable combinations.

Each rule is a test with a clear result. The common types are:

The European Commission statistical portal describes validation rules as jointly designed and agreed by the experts of each statistical domain, and names the Validation and Transformation Language as a standard notation for writing them. It also treats structural validation, which checks that a file has the declared structure, as a separate step.

A failed rule usually returns one of two results. An error blocks the record, and a warning sends it for a query without blocking it.

Why it matters

Errors caught at the point of entry or receipt cost less to correct than errors found in a published figure. Validation also gives a repeatable test, so that two people checking the same file reach the same result.

Any process that receives data from another party, such as a return to a supervisor or a file from a counterparty, depends on validation to decide whether the data can be accepted.

Worked example

Illustrative numbers. A file of 500 loan records is checked against three rules.

The 35 failures fall on 32 records, because 3 records fail two rules. The 32 records are rejected with the failed rule named for each. The other 468 records pass and move on.

Assumptions

Who uses it

Common confusions

7Roles that need it

8Skills behind it

Sources behind this page (2) · Updated 5 Nov 2026
1Data validationec.europa.eu · accessed 5 Nov 2026
2Validation in the ESScros-legacy.ec.europa.eu · accessed 5 Nov 2026

Concept