{
"id": "gg.infinitetavern.chronicle.entry",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"lobbyId",
"seasonNumber",
"placement",
"heroKey",
"heroName",
"roundSurvived",
"mmrBefore",
"mmrAfter",
"mmrChange",
"playedAt"
],
"properties": {
"heroKey": {
"type": "string",
"description": "Internal key of the hero commanded."
},
"lobbyId": {
"type": "string",
"description": "Server-assigned lobby UUID identifying the tavern battle."
},
"heroName": {
"type": "string",
"description": "Display name of the hero commanded."
},
"mmrAfter": {
"type": "number",
"description": "Adventurer's rating after the battle concluded."
},
"playedAt": {
"type": "string",
"format": "datetime",
"description": "ISO 8601 UTC timestamp when the battle concluded."
},
"mmrBefore": {
"type": "number",
"description": "Adventurer's rating before entering the tavern."
},
"mmrChange": {
"type": "number",
"description": "Signed rating change (positive = glory gained, negative = glory lost)."
},
"opponents": {
"type": "array",
"items": {
"ref": "#opponent",
"type": "ref"
},
"description": "All rival adventurers in the tavern, sorted by final standing."
},
"placement": {
"type": "integer",
"maximum": 8,
"minimum": 1,
"description": "Final standing in the battle (1 = champion, 8 = first eliminated)."
},
"seasonNumber": {
"type": "integer",
"description": "The season (campaign chapter) this battle took place in."
},
"roundSurvived": {
"type": "integer",
"description": "Last combat round the adventurer survived."
}
}
},
"description": "A page in an adventurer's chronicle — one player's record of a single tavern battle. Written to the player's PDS after each match concludes."
},
"opponent": {
"type": "object",
"required": [
"placement",
"did",
"handle"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"handle": {
"type": "string"
},
"heroKey": {
"type": "string",
"description": "Internal key of the rival's hero."
},
"heroName": {
"type": "string",
"description": "Display name of the rival's hero."
},
"placement": {
"type": "integer",
"maximum": 8,
"minimum": 1
}
},
"description": "A rival adventurer encountered during the tavern battle."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}