class EventBaseCheck implements Checker {

    @Override
    public ImportSummary check( ImmutableEvent event, WorkContext ctx )
    {
        ImportSummary importSummary = new ImportSummary();
        List<String> errors = validate( event, ctx );

        if ( !errors.isEmpty() )
        {
            importSummary.setStatus( ERROR );
            importSummary.setReference( event.getEvent() );
            importSummary.getConflicts()
                .addAll( errors.stream().map( s -> new ImportConflict( "Event", s ) ).collect( Collectors.toList() ) );
            importSummary.incrementIgnored();

        }
        return importSummary;
    }

}