Validate Aggregated Data Against Bufdir Alignment Rules
Bufdir applies specific validation rules to submitted data — for example, participant counts must be positive integers, activity durations must fall within expected ranges, and mandatory fields must not be empty. The Bufdir alignment validator runs these checks against the aggregated dataset and returns a list of violations. The coordinator must resolve all critical violations before the export button becomes active. Warnings for non-critical issues are shown but do not block export.
User Story
Acceptance Criteria
- Given aggregation completes, when the alignment validator runs, then all Bufdir-specified rules are checked against the aggregated dataset
- Given a critical violation is found, when validation results are shown, then the violation is marked as blocking and the export button is disabled until it is resolved
- Given a non-critical warning is found, when validation results are shown, then the warning is displayed with an explanation but the export button remains enabled
- Given all critical violations are resolved, when the coordinator re-runs validation, then no blocking errors are shown and export is enabled
- Given validation passes with zero violations, when the result banner is shown, then it displays a green confirmation with the count of records validated
- Given the coordinator exports despite warnings, when the export log is recorded, then the warnings that were acknowledged are noted in the audit record
Business Value
Rejected Bufdir submissions trigger correction workflows that can delay grant payments by weeks. Pre-export validation using Bufdir's own rules shifts quality control to the coordinator, ensuring that only valid submissions reach Bufdir's systems. This reduces the administrative burden on both the organisation and Bufdir, and improves the organisation's submission track record.
Components
- Bufdir Alignment Validator service
- Bufdir Aggregation Service service
- Bufdir Field Validation Service service
- Validation Summary Banner ui
- Bufdir Metrics Repository data
- Bufdir Export Orchestrator Service service