package at.procon.eventhub.dto.source;

import at.procon.eventhub.dto.DriverRefDto;
import at.procon.eventhub.dto.VehicleRefDto;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Map;

public record TelematicsPositionDto(
        String tenantKey,
        String providerKey,             // YELLOWFOX, FLEETBOARD, TOMTOM, ...
        String sourceKey,               // e.g. FLEETBOARD_POSITION
        String sourceInstanceKey,
        String tenantProviderSettingKey,
        String externalFleetKey,
        String externalSourceEventId,
        OffsetDateTime occurredAt,
        OffsetDateTime receivedPartnerAt,
        DriverRefDto driverRef,
        VehicleRefDto vehicleRef,
        Long odometerM,
        BigDecimal latitude,
        BigDecimal longitude,
        String positionReason,
        Map<String, Object> payload
) {
}
