import { IsArray, IsString, ArrayMinSize, ArrayMaxSize } from "class-validator";
import { ApiProperty } from "@nestjs/swagger";

export class AnalyzeMatchesDto {
  @ApiProperty({
    description: "List of match IDs to analyze",
    example: ["match-1", "match-2"],
    minItems: 1,
    maxItems: 20,
  })
  @IsArray()
  @IsString({ each: true })
  @ArrayMinSize(1)
  @ArrayMaxSize(20)
  matchIds: string[];
}
