/**
 * DTO: TeamRatingSummaryDto
 * 
 * Comprehensive team rating summary with platform ratings.
 * Pragmatic read model - direct repo DTOs, no domain logic.
 */

export interface TeamRatingDimension {
  value: number;
  confidence: number;
  sampleSize: number;
  trend: 'rising' | 'stable' | 'falling';
  lastUpdated: string; // ISO date string
}

export interface TeamRatingSummaryDto {
  teamId: string;
  
  // Platform ratings (from internal calculations)
  platform: {
    driving: TeamRatingDimension;
    adminTrust: TeamRatingDimension;
    overall: number;
  };
  
  // Timestamps
  createdAt: string; // ISO date string
  updatedAt: string; // ISO date string
  lastRatingEventAt?: string; // ISO date string (optional)
}