A Data Validation Component is an architectural building block of the EIRA Technical view - application supporting the Technical interoperability layer of the European Interoperability Framework.
It is included in the Enabler grouping Application Mediation Enablers.

Data Validation Component is a specialisation of Application Component. It implements the functionality of referring to any activity aimed at verifying that the value of a data item comes from a given set of acceptable values. Data validation may be followed by corrective actions, such as data editing or data imputation. In statistics, imputation is the process of replacing missing data with substituted values.


The Data Validation Component ABB  is salient for technical interoperability because it allows the implementation of the functionality to validate if data received (or to be sent) is compliant with common and agreed interoperable formats as stated in the EIF recommendation #eif41 - Establish procedures and processes to integrate the opening of data: "Establish procedures and processes to integrate the opening of data in your common business processes, working routines, and in the development of new information systems."


Example

The following implementation is an example on how this specific Architecture Building Block (ABB) can be instantiated as a Solution Building Block (SBB):

Hibernate Validator
Express validation rules in a standardized way using annotation-based constraints and benefit from transparent integration with a wide variety of frameworks.
Application layer agnostic validation: Hibernate Validator allows to express and validate application constraints. The default metadata source are annotations, with the ability to override and extend through the use of XML. It is not tied to a specific application tier or programming model and is available for both server and client application programming.

Hibernate Validator - The Bean Validation reference implementation presents the following characteristics:

  • Extendable: Hibernate Validator offers a configurable bootstrap API as well as a range of built-in constraints. The latter can easily be extended by creating custom constraints.
  • Rich metadata API: Hibernate Validator gives access to constraint configuration via a metadata API facilitating, for example, tooling integration.
  • Reference implementation: Hibernate Validator 6.x is the reference implementation Bean Validation 2.0.
  • Added value: Hibernate Validator offers additional value on top of the features required by Bean Validation. For example, a programmatic constraint configuration API as well as an annotation processor which plugs into the build process and raises compilation errors whenever constraint annotations are incorrectly used.


The latest release of the EIRA© is available on Joinup.


Source: European Interoperability Reference Architecture (EIRA version 3) (url) (with information on the 3rd release at the website of the ISA² - Interoperability solutions for public administrations, businesses and citizens).