at.skeetfighter.best
One per player (key self): their all-time best and this week's best, each pointing at the at.skeetfighter.score record it came from.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | skeetfighter.at |
| Commit rev | 3n32nsh6tc62d |
| Indexed |
Checks
Validunlimited-stringdefs.entry.properties.outcomeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.weekEntry.properties.outcomeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"entry": {
"properties": {
"achievedAt": {
"format": "datetime",
"type": "string"
},
"cleared": {
"description": "Whether the run beat the final boss.",
"type": "boolean"
},
"fighter": {
"description": "The account whose fighter the player used.",
"format": "did",
"type": "string"
},
"outcome": {
"knownValues": [
"cleared",
"gameOver",
"continued",
"quit"
],
"type": "string"
},
"ref": {
"description": "The at.skeetfighter.score record this entry came from.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"score": {
"maximum": 99999999,
"minimum": 0,
"type": "integer"
}
},
"required": [
"score",
"outcome",
"fighter",
"cleared",
"achievedAt",
"ref"
],
"type": "object"
},
"main": {
"description": "One per player (key self): their all-time best and this week's best, each pointing at the at.skeetfighter.score record it came from.",
"key": "literal:self",
"record": {
"properties": {
"allTime": {
"description": "The player's best score ever.",
"ref": "#entry",
"type": "ref"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"week": {
"description": "The player's best score in the week starting at weekStart.",
"ref": "#weekEntry",
"type": "ref"
}
},
"required": [
"allTime",
"updatedAt"
],
"type": "object"
},
"type": "record"
},
"weekEntry": {
"properties": {
"achievedAt": {
"format": "datetime",
"type": "string"
},
"cleared": {
"type": "boolean"
},
"fighter": {
"format": "did",
"type": "string"
},
"outcome": {
"knownValues": [
"cleared",
"gameOver",
"continued",
"quit"
],
"type": "string"
},
"ref": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"score": {
"maximum": 99999999,
"minimum": 0,
"type": "integer"
},
"weekStart": {
"description": "The Monday 00:00 UTC that starts the week.",
"format": "datetime",
"type": "string"
}
},
"required": [
"score",
"outcome",
"fighter",
"cleared",
"achievedAt",
"ref",
"weekStart"
],
"type": "object"
}
},
"description": "A Skeet Fighter II player's best scores, kept so a scoreboard can read one record per player.",
"id": "at.skeetfighter.best",
"lexicon": 1
}