com.professorbutts.sports.league
Record key is the league code used as the first part of every slug, e.g. 'nfl', 'cfb', 'cfb-fcs', 'f1', 'nascar-cup', 'eng-1'. Lowercase a-z, 0-9 and '-'. Never reused once minted.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | sports.professorbutts.com |
| Commit rev | 3n2pbxan2jk2i |
| Indexed |
Showing version bafyreig6jyll44p4hmtat5fvnzifmp6dldwkwifha4stjd6ffizjcfzz44. Show the latest
Record
record · key anyProperties
aliases
arrayOther names people use, e.g. 'Premier League', 'EPL'.
maxLength: 16
maxLength: 64
country
stringISO 3166-1 alpha-3, when the league is national.
maxLength: 3
externalIds
arraymaxLength: 16
gender
stringmaxLength: 16knownValues: men | women | mixed
level
stringmaxLength: 32knownValues: pro | college | international | minor | amateur
e.g. 'NCAA Division I FCS Football'.
maxLength: 128
parent
string · at-uriWider league this is part of, e.g. 'cfb-fcs' points at 'cfb'. Teams that move between divisions keep their slug under the parent code.
shortName
stringe.g. 'FCS'.
maxLength: 32
maxLength: 64knownValues: football | basketball | baseball | hockey | soccer | rugby | golf | motorsport | cricket
teamPrefix
stringLeague code used in this league's team slugs, when it differs from the record key, e.g. 'cfb' for 'cfb-fcs'.
maxLength: 32
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
rkey is league-abbreviation lowercase, e.g. nfl-cin, cfb-cin, f1-mclaren
-
app.2ndscreen.league
recordA competition or fixture group with a permanent identity, independent of season editions or official accounts.
-
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.
-
A single sporting event and its current state. One record per game, updated in place as the game progresses.