com.professorbutts.sports.alias
Record key is '<scheme>:<kind>:<value>', all lowercase, with every character outside a-z 0-9 . - _ ~ : replaced by '-'. For IDs that repeat across leagues (ESPN team IDs), the league code goes before the value, e.g. 'espn:team:nfl:4' (league 'nfl', value '4'). Other examples: 'espn:league:eng.1', 'slug:team:bearcats', 'sideline:team:nfl-chargers', 'slug:game:nfl-2026-11-09-cin-pit', 'old:team:nfl-oak', '2ndscreen:team:nfl:4' (value is 2nd Screen's own record key 'nfl:4', which already includes the league).
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | sports.professorbutts.com |
| Commit rev | 3n2tjcrns6c2j |
| Indexed |
Showing version bafyreie53eabv5k7zrupurz2db4tf4laim6a4ah76ae2v5tz5wutitxita. Show the latest
Record
record · key anyProperties
alternates
arrayOther records the same value could mean, e.g. a shared nickname. 'target' is the default pick (the higher-level, more common team).
maxLength: 8
maxLength: 32knownValues: league | team | program | person | game | event | venue
league
stringLeague code, when the outside ID is only unique within a league.
maxLength: 32
Whose ID this is. 'slug' is a readable slug from this convention; 'old' is a retired slug of ours.
maxLength: 64knownValues: slug | old | espn | sideline | wikidata | ncaa | sports-reference | nfl | nba | mlb | nhl | f1 | nascar | indycar | pga | 2ndscreen
The canonical record this resolves to.
The ID exactly as the outside source writes it, before rkey cleanup, e.g. 'NFL.10~17:2026-11-08'.
maxLength: 256
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A league, tour, series or college division. Gives every league code used in team, game and leaderboard slugs a record of its own, so others can look codes up.