package org.raddatz.familienarchiv.timeline;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * Assembled timeline response. Year bands are sorted ascending (oldest first).
 * Undated entries have no usable date or {@code UNKNOWN} precision.
 */
public record TimelineDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) List<TimelineYearDTO> years,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) List<TimelineEntryDTO> undated
) {
}
