EU Parliament Monitor - API Documentation - v0.7.0
    Preparing search index...

    Module Generators/Pipeline/TransformStage

    Data normalisation and schema validation for MCP responses.

    All functions are pure and side-effect-free (except structured logging). Validation failures are logged but never thrown — callers should check the returned ValidationResult and fall back gracefully.

    Interfaces

    ValidationResult

    Functions

    validateMCPResponse
    normalizeISO8601Date
    sanitizeText
    isValidCountryCode
    isValidLanguageCode