package at.procon.dip.extraction.spi;

import at.procon.dip.domain.document.ContentRole;
import java.util.List;
import java.util.Map;

/**
 * Output of a document extractor before normalization and persistence.
 */
public record ExtractionResult(
        Map<ContentRole, String> derivedTextByRole,
        List<ExtractedStructuredPayload> structuredPayloads,
        List<String> warnings
) {
}
