SPR-742 Competitions
Play and SID both handle leagues and tournaments as a type of office/organisation, which are already synced.
Management of participating associations and teams has been added to SID, which needs to be synced to Play. Once synced, the only thing necessary to manage in Play are the games.
Requirements
Expectation is that users follow this process to create a league/tournament:
SID: Create a league/tournament, sync to Play (done)
SID: Add organisations to the league/tournament, sync to Play (missing)
SID: Create competitions, sync to Play as schedules (missing)
SID: Add teams to the competition, sync to Play (missing)
Play: Create games (done)
Models
SID API | SID properties | Play Model | Notes |
---|---|---|---|
affiliated-organisations |
| OfficeMember |
|
competitions |
| Schedule |
|
competition-teams |
| ScheduleTeam |
|
UX
Arrive in Play, all you need to do is create games. ✨
Do we rename schedules to competitions for consistency?
How to determine when to limit member/schedule/team creation in Play? Should this be an office flag?
Implementation
OfficeMember
https://spordle.atlassian.net/browse/SPR-755
OfficeMember: Add seasonId, categoryId
This has a similar problem with roster members as SID has a member per position, where Play groups as an array, so we need multiple rows to track the externalId correctly and figure out the UX
Authorization will be affected by seasonId/categoryId change
Webhooks
https://spordle.atlassian.net/browse/SPR-1308
https://spordle.atlassian.net/browse/SPR-1309