Files
Sportstime/SportsTime/Resources/sports_canonical.json
Trey t fdcecafaa3 feat: rewrite bootstrap, fix CloudKit sync, update canonical data, and UI fixes
- Rewrite BootstrapService: remove all legacy code paths (JSONStadium,
  JSONGame, bootstrapStadiumsLegacy, bootstrapGamesLegacy, venue aliases,
  createDefaultLeagueStructure), require canonical JSON files only
- Add clearCanonicalData() to handle partial bootstrap recovery (prevents
  duplicate key crashes from interrupted first-launch)
- Fix nullable stadium_canonical_id in games (4 MLS games have null)
- Fix CKModels: logoUrl case, conference/division field keys
- Fix CanonicalSyncService: sync conferenceCanonicalId/divisionCanonicalId
- Add sports_canonical.json and DemoMode.swift
- Delete legacy stadiums.json and games.json
- Update all canonical resource JSON files with latest data
- Fix TripWizardView horizontal scrolling with GeometryReader constraint
- Update RegionMapSelector, TripDetailView, TripOptionsView UI improvements
- Add DateRangePicker, PlanningModeStep, SportsStep enhancements
- Update UI tests and marketing-videos config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 00:06:19 -06:00

72 lines
1.7 KiB
JSON

[
{
"sport_id": "MLB",
"abbreviation": "MLB",
"display_name": "Major League Baseball",
"icon_name": "baseball.fill",
"color_hex": "#FF0000",
"season_start_month": 3,
"season_end_month": 10,
"is_active": true
},
{
"sport_id": "MLS",
"abbreviation": "MLS",
"display_name": "Major League Soccer",
"icon_name": "soccerball",
"color_hex": "#34C759",
"season_start_month": 2,
"season_end_month": 12,
"is_active": true
},
{
"sport_id": "NBA",
"abbreviation": "NBA",
"display_name": "National Basketball Association",
"icon_name": "basketball.fill",
"color_hex": "#FF8C00",
"season_start_month": 10,
"season_end_month": 6,
"is_active": true
},
{
"sport_id": "NFL",
"abbreviation": "NFL",
"display_name": "National Football League",
"icon_name": "football.fill",
"color_hex": "#8B4513",
"season_start_month": 9,
"season_end_month": 2,
"is_active": true
},
{
"sport_id": "NHL",
"abbreviation": "NHL",
"display_name": "National Hockey League",
"icon_name": "hockey.puck.fill",
"color_hex": "#007AFF",
"season_start_month": 10,
"season_end_month": 6,
"is_active": true
},
{
"sport_id": "NWSL",
"abbreviation": "NWSL",
"display_name": "National Women's Soccer League",
"icon_name": "soccerball",
"color_hex": "#5AC8FA",
"season_start_month": 3,
"season_end_month": 11,
"is_active": true
},
{
"sport_id": "WNBA",
"abbreviation": "WNBA",
"display_name": "Women's National Basketball Association",
"icon_name": "basketball.fill",
"color_hex": "#AF52DE",
"season_start_month": 5,
"season_end_month": 10,
"is_active": true
}
]