com.professorbutts.sports.award

Recommended key: '<contest rkey>-<kind>-<first 16 hex of sha256(subject DID)>', so a fan gets at most one award of each kind per contest.

Details · record, key any
Kindrecord
Record keyany
Authoritysports.professorbutts.com
Commit rev3n2tlinadl22y
Indexed

Record

record · key any

Properties

contest

requiredstring · at-uri

The com.professorbutts.sports.contest record (or another contest-like record) the award is for.

contestCid

string · cid

Optional CID of the contest version the final standings were computed from.

correct

integer
  • minimum: 0

entrants

integer
  • minimum: 1

graded

integer
  • minimum: 0

image

blob

Optional badge art.

  • maxSize: 1000000
  • accept: image/png, image/webp

imageAlt

string
  • maxLength: 3000
  • maxGraphemes: 300

issuedAt

requiredstring · datetime

kind

requiredstring
  • maxLength: 128
  • knownValues: com.professorbutts.sports.award#champion | com.professorbutts.sports.award#runnerUp | com.professorbutts.sports.award#third | com.professorbutts.sports.award#perfect

league

string

League code as used in game records, e.g. 'NCAAF'.

  • maxLength: 32

points

integer

rank

integer

Final rank; ties share a rank.

  • minimum: 1

season

string
  • maxLength: 32

standings

string · uri

Public page with the final standings.

  • maxLength: 512

status

string

Absent means active. Revoked awards (a grading correction) stay as a record so badges pointing at them can say why; readers must not show a revoked award as earned.

  • maxLength: 32
  • knownValues: active | revoked
  • maxLength: 1000
  • maxGraphemes: 100

subject

requiredstring · did

The fan who earned it.

tied

boolean

True when another fan shares this rank.

title

requiredstring

Short display title, e.g. 'FCS Playoff Pick'em champion'.

  • maxLength: 640
  • maxGraphemes: 64

updatedAt

string · datetime

#champion

token

Finished first (ties share it).

#perfect

token

Every graded pick was correct (at least one game).

#runnerUp

token

Finished second.

#third

token

Finished third.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A fan's choice to show an award on their profile. Lives in the fan's own repo and points at the award in the issuer's repo. Readers verify it: the award must exist in the contest publisher's repo, its subject must be this repo's DID, and it must not be revoked. Copying a badge to another repo fails that check.

  • A badge earned by a user, awarded by the postgame system based on activity

  • Records a badge award to a user, project, or activity claim.

  • An honor, award, or recognition received by the user.