com.professorbutts.sports.prediction
Recommended key: '<subject rkey>-<kind>' (finish: '<subject rkey>-finish-<person rkey>'), so a fan has one prediction per subject and kind. Any key is accepted; if several exist, the newest counts.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | sports.professorbutts.com |
| Commit rev | 3n2tjdh65jc2j |
| Indexed |
Record
record · key anyProperties
awayScore
integerscore kind.
minimum: 0maximum: 999
confidence
integerRank within a confidence contest.
minimum: 1maximum: 64
contest
string · at-uriOptional com.professorbutts.sports.contest this counts toward. Without it, the prediction still counts on open leaderboards.
homeScore
integerscore kind.
minimum: 0maximum: 999
maxLength: 128knownValues: com.professorbutts.sports.prediction#winner | com.professorbutts.sports.prediction#score | com.professorbutts.sports.prediction#total | com.professorbutts.sports.prediction#margin | com.professorbutts.sports.prediction#spread | com.professorbutts.sports.prediction#finish
line
stringThe spread or total line predicted against, as a decimal string, e.g. '-3.5' or '47.5'. Integers only in lexicons, so strings carry halves.
maxLength: 16
margin
integermargin kind: winning margin in points, with team as the winner.
minimum: 0maximum: 999
overUnder
stringtotal or spread kind, when predicting against a line instead of an exact number.
maxLength: 16knownValues: over | under
person
string · at-uricom.professorbutts.sports.person record (finish kind, or winner of an individual event).
position
integerfinish kind: predicted finishing position of person. 1 = wins.
minimum: 1maximum: 999
The com.professorbutts.sports.game or com.professorbutts.sports.leaderboard record.
subjectCid
string · cidOptional CID of the subject version the fan saw. Game records are rewritten in place, so graders use the uri; this is for display and audit only.
team
string · at-uricom.professorbutts.sports.team record predicted to win (winner), or to cover (spread).
total
integertotal kind: combined points. Paired with over/under when a line is given.
minimum: 0maximum: 1998
updatedAt
string · datetime#finish
tokenWhere a person finishes in an event (golf, racing).
#margin
tokenWinning team and margin of victory.
#score
tokenExact final score of both teams.
#spread
tokenWhich team covers a point spread.
#total
tokenCombined points, exact or over/under a line.
#winner
tokenWhich team wins.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A prediction contest run by an organizer: a bowl pool (predict each listed game) or a tournament bracket. Updated in place as games are set and decided. Players answer with com.professorbutts.sports.prediction records (games format) or one com.professorbutts.sports.bracket record (bracket format) in their own repos.
-
One player's whole bracket for a bracket-format com.professorbutts.sports.contest, kept in the player's own repo: a predicted winner for every slot, later rounds included. Updated in place; a slot's pick only counts if an indexer saw it before that slot locked.
-
A fan's rating of a finished game or event, kept in the fan's own repo. One per fan per event: the record key is the subject's record key, so rating again replaces it. Older records may use a TID key. Together they make a Letterboxd-style game log.
-
A fan saying they're watching (or went to) a game or event, kept in the fan's own repo. One per fan per event: the record key is the subject's record key, so writing again replaces it (update in place to change who they're rooting for). Older records may use a TID key.
-
A single sporting event and its current state. One record per game, updated in place as the game progresses.