Public | Automated Build

Last pushed: 5 months ago
Short Description
Image for VEFA Validator.
Full Description

VEFA Validator 2.0


  • Very easy to use.
  • Much faster than the old validator.
  • Supports rendering documents.
  • Very low footprint in your code.
  • Pooling of resources.
  • Supports different lifecycles of validation artifacts.
  • Configurable to fit multiple sizes.
  • Nested validation (next version)
  • Tailoring individual validation using properties (next version)

Getting started

Include dependency in your pom.xml:


Start validating business documents:

// Create a new validator using validation artifacts from Difi.
Validator validator = ValidatorBuilder.newValidator().build();

// Validate business document.
Validation validation = validator.validate(Paths.get("/path/to/document.xml"));

// Print result of validation.

The validator is expensive to create, one instance should be enough.

Docker Pull Command
Source Repository