{"referee":{"id":85,"refereeKey":"aaron-smith","name":"Aaron Smith","jerseyNumber":"51","officialId":"1626302"},"queryMode":"All Roles","assignmentCounts":{"total":5,"byRole":{"Crew Chief":2,"Umpire":1,"Referee":1,"Alternate":1}},"recentAssignmentsRaw":[{"gameId":"0042500165","gameDate":"2026-04-27","matchup":"MIN @ DEN","role":"Crew Chief","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:41:37Z","updatedAt":"2026-05-07T01:41:37Z"},{"gameId":"0042500152","gameDate":"2026-04-21","matchup":"POR @ SAS","role":"Alternate","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:44:37Z","updatedAt":"2026-05-07T01:44:37Z"},{"gameId":"0042500151","gameDate":"2026-04-19","matchup":"POR @ SAS","role":"Crew Chief","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:46:45Z","updatedAt":"2026-05-07T01:46:45Z"},{"gameId":"0052500211","gameDate":"2026-04-17","matchup":"GSW @ PHX","role":"Referee","source":"nba_api_v2","sourceUrl":null,"createdAt":"2026-05-07T01:47:50Z","updatedAt":"2026-05-07T01:47:50Z"},{"gameId":"0022501186","gameDate":"2026-04-12","matchup":"ORL @ BOS","role":"Umpire","source":"espn","sourceUrl":null,"createdAt":"2026-05-07T01:48:51Z","updatedAt":"2026-05-07T01:48:51Z"}],"recentGamesReturnedByPage":[{"gameId":"0042500165","date":"2026-04-27","matchup":"MIN @ DEN","awayTeamAbbr":"MIN","homeTeamAbbr":"DEN","awayScore":113,"homeScore":125,"selectedRefereeRole":"Crew Chief","crew":[{"refereeId":85,"refereeKey":"aaron-smith","name":"Aaron Smith","jerseyNumber":"51","displayName":"Aaron Smith #51","role":"Crew Chief","officialId":"1626302","profileUrl":null},{"refereeId":4,"refereeKey":"tyler-ford","name":"Tyler Ford","jerseyNumber":"39","displayName":"Tyler Ford #39","role":"Referee","officialId":"204059","profileUrl":null},{"refereeId":43,"refereeKey":"brent-barnaky","name":"Brent Barnaky","jerseyNumber":"36","displayName":"Brent Barnaky #36","role":"Umpire","officialId":"201638","profileUrl":null},{"refereeId":9,"refereeKey":"james-capers","name":"James Capers","jerseyNumber":"19","displayName":"James Capers #19","role":"Alternate","officialId":"1148","profileUrl":null}],"metrics":{"totalFouls":56,"awayFouls":27,"homeFouls":29,"foulDifferential":2,"totalFta":48,"awayFta":23,"homeFta":25,"ftaDifferential":2,"technicalFouls":2,"offensiveFouls":17,"shootingFouls":23,"looseBallFouls":3,"flagrantFouls":0,"clutchFouls":0,"clutchFta":null,"awayFtr":0.284,"homeFtr":0.301,"foulsPer100":null}},{"gameId":"0042500152","date":"2026-04-21","matchup":"POR @ SAS","awayTeamAbbr":"POR","homeTeamAbbr":"SAS","awayScore":106,"homeScore":103,"selectedRefereeRole":"Alternate","crew":[{"refereeId":46,"refereeKey":"john-goble","name":"John Goble","jerseyNumber":"10","displayName":"John Goble #10","role":"Crew Chief","officialId":"101284","profileUrl":null},{"refereeId":19,"refereeKey":"curtis-blair","name":"Curtis Blair","jerseyNumber":"74","displayName":"Curtis Blair #74","role":"Referee","officialId":"200832","profileUrl":null},{"refereeId":43,"refereeKey":"brent-barnaky","name":"Brent Barnaky","jerseyNumber":"36","displayName":"Brent Barnaky #36","role":"Umpire","officialId":"201638","profileUrl":null},{"refereeId":85,"refereeKey":"aaron-smith","name":"Aaron Smith","jerseyNumber":"51","displayName":"Aaron Smith #51","role":"Alternate","officialId":"1626302","profileUrl":null}],"metrics":{"totalFouls":null,"awayFouls":null,"homeFouls":null,"foulDifferential":null,"totalFta":null,"awayFta":null,"homeFta":null,"ftaDifferential":null,"technicalFouls":1,"offensiveFouls":9,"shootingFouls":24,"looseBallFouls":2,"flagrantFouls":0,"clutchFouls":0,"clutchFta":null,"awayFtr":null,"homeFtr":null,"foulsPer100":null}},{"gameId":"0042500151","date":"2026-04-19","matchup":"POR @ SAS","awayTeamAbbr":"POR","homeTeamAbbr":"SAS","awayScore":98,"homeScore":111,"selectedRefereeRole":"Crew Chief","crew":[{"refereeId":85,"refereeKey":"aaron-smith","name":"Aaron Smith","jerseyNumber":"51","displayName":"Aaron Smith #51","role":"Crew Chief","officialId":"1626302","profileUrl":null},{"refereeId":11,"refereeKey":"jb-derosa","name":"JB DeRosa","jerseyNumber":"14","displayName":"JB DeRosa #14","role":"Referee","officialId":"1155","profileUrl":null},{"refereeId":23,"refereeKey":"josh-tiven","name":"Josh Tiven","jerseyNumber":"58","displayName":"Josh Tiven #58","role":"Umpire","officialId":"201639","profileUrl":null},{"refereeId":6,"refereeKey":"courtney-kirkland","name":"Courtney Kirkland","jerseyNumber":"61","displayName":"Courtney Kirkland #61","role":"Alternate","officialId":"2004","profileUrl":null}],"metrics":{"totalFouls":null,"awayFouls":null,"homeFouls":null,"foulDifferential":null,"totalFta":null,"awayFta":null,"homeFta":null,"ftaDifferential":null,"technicalFouls":1,"offensiveFouls":5,"shootingFouls":14,"looseBallFouls":5,"flagrantFouls":0,"clutchFouls":0,"clutchFta":null,"awayFtr":null,"homeFtr":null,"foulsPer100":null}},{"gameId":"0052500211","date":"2026-04-17","matchup":"GSW @ PHX","awayTeamAbbr":"GSW","homeTeamAbbr":"PHX","awayScore":96,"homeScore":111,"selectedRefereeRole":"Referee","crew":[{"refereeId":5,"refereeKey":"scott-foster","name":"Scott Foster","jerseyNumber":"48","displayName":"Scott Foster #48","role":"Crew Chief","officialId":"1162","profileUrl":null},{"refereeId":85,"refereeKey":"aaron-smith","name":"Aaron Smith","jerseyNumber":"51","displayName":"Aaron Smith #51","role":"Referee","officialId":"1626302","profileUrl":null},{"refereeId":14,"refereeKey":"tre-maddox","name":"Tre Maddox","jerseyNumber":"23","displayName":"Tre Maddox #23","role":"Umpire","officialId":"202027","profileUrl":null},{"refereeId":24,"refereeKey":"mitchell-ervin","name":"Mitchell Ervin","jerseyNumber":"27","displayName":"Mitchell Ervin #27","role":"Alternate","officialId":"203591","profileUrl":null}],"metrics":{"totalFouls":42,"awayFouls":19,"homeFouls":23,"foulDifferential":4,"totalFta":38,"awayFta":23,"homeFta":15,"ftaDifferential":-8,"technicalFouls":null,"offensiveFouls":null,"shootingFouls":null,"looseBallFouls":null,"flagrantFouls":null,"clutchFouls":null,"clutchFta":null,"awayFtr":0.311,"homeFtr":0.185,"foulsPer100":null}},{"gameId":"0022501186","date":"2026-04-12","matchup":"ORL @ BOS","awayTeamAbbr":"ORL","homeTeamAbbr":"BOS","awayScore":108,"homeScore":113,"selectedRefereeRole":"Umpire","crew":[{"refereeId":19,"refereeKey":"curtis-blair","name":"Curtis Blair","jerseyNumber":"74","displayName":"Curtis Blair #74","role":"Crew Chief","officialId":"200832","profileUrl":null},{"refereeId":226,"refereeKey":"matt-myers","name":"Matt Myers","jerseyNumber":"","displayName":"Matt Myers","role":"Referee","officialId":null,"profileUrl":null},{"refereeId":85,"refereeKey":"aaron-smith","name":"Aaron Smith","jerseyNumber":"51","displayName":"Aaron Smith #51","role":"Umpire","officialId":"1626302","profileUrl":null}],"metrics":{"totalFouls":42,"awayFouls":19,"homeFouls":23,"foulDifferential":4,"totalFta":52,"awayFta":30,"homeFta":22,"ftaDifferential":-8,"technicalFouls":null,"offensiveFouls":null,"shootingFouls":null,"looseBallFouls":null,"flagrantFouls":null,"clutchFouls":null,"clutchFta":null,"awayFtr":0.33,"homeFtr":0.253,"foulsPer100":null}}],"tables":{"totalGames":244,"completedGames":235,"gamesWithAnyAssignments":99,"completedGamesWithoutAssignments":136},"possibleDuplicateRefereeRows":[],"roleBreakdownInSample":{"Crew Chief":2,"Alternate":1,"Referee":1,"Umpire":1},"diagnosis":{"status":"INSUFFICIENT_ASSIGNMENTS","reason":"Only 5 assignment row(s) exist for this referee. 136 completed games in DB have no referee assignments at all. Run POST /api/referees/sync-assignments to backfill historical games."}}