{
"id": "gg.infinitetavern.adventurer.heroMastery",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"heroKey",
"heroName",
"gamesPlayed",
"wins",
"bestPlacement",
"lastPlayedAt"
],
"properties": {
"wins": {
"type": "integer",
"minimum": 0,
"description": "Championship victories with this hero."
},
"heroKey": {
"type": "string",
"description": "Internal key identifying the hero."
},
"heroName": {
"type": "string",
"description": "Display name of the hero."
},
"gamesPlayed": {
"type": "integer",
"minimum": 1,
"description": "Battles fought commanding this hero."
},
"lastPlayedAt": {
"type": "string",
"format": "datetime",
"description": "ISO 8601 UTC timestamp of the most recent battle with this hero."
},
"bestPlacement": {
"type": "integer",
"maximum": 8,
"minimum": 1,
"description": "Finest standing achieved with this hero (1 = champion)."
}
}
},
"description": "An adventurer's mastery record for a specific hero — tracking how many battles they have fought together and the glory they have achieved. One record per hero, stored at rkey equal to the heroKey."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}