/**
 * DTO: CreateRatingEventDto
 * 
 * Input for creating a rating event from external sources
 */

export interface CreateRatingEventDto {
  userId: string;
  dimension: string;
  delta: number;
  weight?: number;
  sourceType: 'race' | 'penalty' | 'vote' | 'adminAction' | 'manualAdjustment';
  sourceId: string;
  reasonCode: string;
  reasonSummary: string;
  reasonDetails?: Record<string, unknown>;
  occurredAt?: string; // ISO date string
}