--- id: 7c146559-79b7-4254-84cf-89aa1bc6750a type: solution title: "Fix auto-draft nested API parsing" tags: [major-domo, python, fix, draft, pydantic] importance: 0.7 confidence: 0.8 created: "2025-12-11T18:53:18.129453+00:00" updated: "2025-12-11T18:53:18.129453+00:00" --- DraftList.from_api_data() now properly calls Player.from_api_data() for nested player objects, ensuring player.team_id is extracted from the nested team object. Also fixed validate_cap_space() unpacking to accept all 3 return values. Bug: Auto-draft was marking all players as not available because player.team_id was None (None != 547 always True).