MatchDisputeDto
@raizfc/contracts / MatchDisputeDto
Type Alias: MatchDisputeDto
MatchDisputeDto =
Readonly<{evidence?: readonlystring[];id:ID;matchId:ID;openedAt:ISODateString;openedByTeamId:ID;reason:string;resolution?:MatchDisputeResolution;resolutionNotes?:string;resolvedAt?:ISODateString;resolvedByTeamId?:ID;status:MatchDisputeStatus; }>
Defined in: match/match-dispute.dto.ts:16
SPEC-DOMAIN-MATCH-001 "Contestação" (IS-MVP-06.4). Opened by contest (waiting_validation
→ contested), closed by the retifications endpoint (contested → validated/cancelled,
the resolve transition in MATCH_TRANSITIONS). evidence is a list of opaque descriptions/
URLs, never a structured upload (SPEC-API-MANAGEMENT-001 presign/confirm flow is not built —
same limitation team crest/player photo already carry). Kept on MatchDto.dispute, not a
standalone collection, because at most one dispute is ever open per match at a time; resolved
disputes stay there (status flips to 'resolved') as the visible record of the last one, same
way MatchDto.result keeps living on the record after validate.