ChampionshipDisciplineRulesDto
@raizfc/contracts / ChampionshipDisciplineRulesDto
Type Alias: ChampionshipDisciplineRulesDto
ChampionshipDisciplineRulesDto =
Readonly<{editionId:ID;redCardSuspensionMatches:number;updatedAt:ISODateString;version:number;yellowCardsForSuspension:number; }>
Defined in: championship/championship.dto.ts:407
Discipline Center rules (SPEC-UX-CHAMP-MGMT-001: "Regras, cartões, pendurados, suspensões e
overrides com motivo"). No spec formula beyond "cartões/suspensões" exists, so the two knobs
mirror the most common grassroots convention (documented, registered decision — see this pack's
handoff): yellowCardsForSuspension accumulated yellow cards trigger a suspension; any red card
always does too. redCardSuspensionMatches is stored for future display/enforcement of how many
matches a red-card suspension lasts — this pack does not consume matches or auto-clear a
suspension after N games (no concept of "which edition match is next" exists independently of
FixtureDto/MatchDto linkage, see FixtureDto docstring); an organizer clears a suspended
player manually via overrides.