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
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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).",
"key": "any",
"record": {
"properties": {
"alternates": {
"description": "Other records the same value could mean, e.g. a shared nickname. 'target' is the default pick (the higher-level, more common team).",
"items": {
"format": "at-uri",
"type": "string"
},
"maxLength": 8,
"type": "array"
},
"kind": {
"knownValues": [
"league",
"team",
"program",
"person",
"game",
"event",
"venue"
],
"maxLength": 32,
"type": "string"
},
"league": {
"description": "League code, when the outside ID is only unique within a league.",
"maxLength": 32,
"type": "string"
},
"scheme": {
"description": "Whose ID this is. 'slug' is a readable slug from this convention; 'old' is a retired slug of ours.",
"knownValues": [
"slug",
"old",
"espn",
"sideline",
"wikidata",
"ncaa",
"sports-reference",
"nfl",
"nba",
"mlb",
"nhl",
"f1",
"nascar",
"indycar",
"pga",
"2ndscreen"
],
"maxLength": 64,
"type": "string"
},
"target": {
"description": "The canonical record this resolves to.",
"format": "at-uri",
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"value": {
"description": "The ID exactly as the outside source writes it, before rkey cleanup, e.g. 'NFL.10~17:2026-11-08'.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"scheme",
"kind",
"value",
"target",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"description": "One entry in the shared slug map: an outside ID, an old slug or a readable slug, pointing at the canonical league, team, person, game or event record. Lets anyone resolve an ID with a single getRecord call, no index needed.",
"id": "com.professorbutts.sports.alias",
"lexicon": 1
}