From
bafyreiga6rcf3zouwh2ldhke5tiovrzkon7ib727iyesbtwbqnua2om3p4
indexed 2026-11-20 00:03 UTC
View this version
To
bafyreie53eabv5k7zrupurz2db4tf4laim6a4ah76ae2v5tz5wutitxita
indexed 2026-11-21 16:26 UTC
View this version
Compatibility
breaking 1 breaking change, 0 non-breaking changes.
Breaking changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "com.professorbutts.sports.alias:body.scheme", sort: "knownValues", old_value: "[\"slug\",\"old\",\"espn\",\"sideline\",\"wikidata\",\"ncaa\",\"sports-reference\",\"nfl\",\"nba\",\"mlb\",\"nhl\",\"f1\",\"nascar\",\"indycar\",\"pga\"]", new_value: "[\"slug\",\"old\",\"espn\",\"sideline\",\"wikidata\",\"ncaa\",\"sports-reference\",\"nfl\",\"nba\",\"mlb\",\"nhl\",\"f1\",\"nascar\",\"indycar\",\"pga\",\"2ndscreen\"]" }
Migration guidance
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "com.professorbutts.sports.alias:body.scheme", sort: "knownValues", old_value: "[\"slug\",\"old\",\"espn\",\"sideline\",\"wikidata\",\"ncaa\",\"sports-reference\",\"nfl\",\"nba\",\"mlb\",\"nhl\",\"f1\",\"nascar\",\"indycar\",\"pga\"]", new_value: "[\"slug\",\"old\",\"espn\",\"sideline\",\"wikidata\",\"ncaa\",\"sports-reference\",\"nfl\",\"nba\",\"mlb\",\"nhl\",\"f1\",\"nascar\",\"indycar\",\"pga\",\"2ndscreen\"]" }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "Record key is '<scheme>:<kind>:<value>', all lowercase, e.g. 'espn:team:nfl:4', 'sideline:team:nfl-chargers', 'slug:game:nfl-2026-11-09-cin-pit', 'old:team:nfl-oak'. Characters outside a-z 0-9 . - _ ~ are replaced with '-'.",5
"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).",66
"key": "any",77
"record": {88
"properties": {99
"alternates": {1010
"description": "Other records the same value could mean, e.g. a shared nickname. 'target' is the default pick (the higher-level, more common team).",1111
"items": {1212
"format": "at-uri",1313
"type": "string"1414
},1515
"maxLength": 8,1616
"type": "array"1717
},1818
"kind": {1919
"knownValues": [2020
"league",2121
"team",2222
"program",2323
"person",2424
"game",2525
"event",2626
"venue"2727
],2828
"maxLength": 32,2929
"type": "string"3030
},3131
"league": {3232
"description": "League code, when the outside ID is only unique within a league.",3333
"maxLength": 32,3434
"type": "string"3535
},3636
"scheme": {3737
"description": "Whose ID this is. 'slug' is a readable slug from this convention; 'old' is a retired slug of ours.",3838
"knownValues": [3939
"slug",4040
"old",4141
"espn",4242
"sideline",4343
"wikidata",4444
"ncaa",4545
"sports-reference",4646
"nfl",4747
"nba",4848
"mlb",4949
"nhl",5050
"f1",5151
"nascar",5252
"indycar",53
"pga"53
"pga",54
"2ndscreen"5455
],5556
"maxLength": 64,5657
"type": "string"5758
},5859
"target": {5960
"description": "The canonical record this resolves to.",6061
"format": "at-uri",6162
"type": "string"6263
},6364
"updatedAt": {6465
"format": "datetime",6566
"type": "string"6667
},6768
"value": {6869
"description": "The ID exactly as the outside source writes it, before rkey cleanup, e.g. 'NFL.10~17:2026-11-08'.",6970
"maxLength": 256,7071
"type": "string"7172
}7273
},7374
"required": [7475
"scheme",7576
"kind",7677
"value",7778
"target",7879
"updatedAt"7980
],8081
"type": "object"8182
},8283
"type": "record"8384
}8485
},8586
"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.",8687
"id": "com.professorbutts.sports.alias",8788
"lexicon": 18889
}