Pular para o conteúdo principal

CreateRetificationRequest

@raizfc/contracts


@raizfc/contracts / CreateRetificationRequest

Type Alias: CreateRetificationRequest

CreateRetificationRequest = Readonly<{ awayScore?: number; homeScore?: number; reason: string; resolution: "validated" | "cancelled"; version: number; }>

Defined in: match/match-requests.dto.ts:87

POST /matches/:matchId/retifications (SPEC-API-MATCH-001; SPEC-DOMAIN-MATCH-001 names both the contract RetificationRequest and the route singular retification — this pack follows the API spec's plural route/name, divergence registered in the EP-MVP-06.4 handoff). Applies to a match that is contested (resolves the open dispute) or validated (reopens and immediately re-consolidates, request_retification + resolve in one atomic call). resolution: 'cancelled' ignores homeScore/awayScore; 'validated' requires both (may repeat the original score to dismiss a dispute without changing it — still audited).