CreateMatchRequest
@raizfc/contracts / CreateMatchRequest
Type Alias: CreateMatchRequest
CreateMatchRequest =
Readonly<{awayTeamId:ID;categoryId:ID;championshipId?:ID;editionId?:ID;homeTeamId:ID;startsAt?:ISODateString;type:MatchType;venue?:MatchVenueDto; }>
Defined in: match/match-requests.dto.ts:13
SPEC-API-MATCH-001 POST /matches. startsAt absent means the match is created
date_pending (SPEC-DOMAIN-MATCH-001 "Data definida ou pendente"); providing it schedules
directly. championshipId is accepted and stored but never validated against a real
championship entity — IS-MVP-07.x (campeonatos) is not built yet, registered as a known
limitation in the handoff, same treatment guest.document got in EP-MVP-05.3 before matching
used it.