{
"id": "me.byjp.pesos.sts2.run",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"outcome",
"character",
"ascension",
"seed",
"finalFloor",
"startedAt",
"endedAt",
"createdAt"
],
"properties": {
"deck": {
"type": "array",
"items": {
"type": "string"
},
"description": "Card ids in the final deck."
},
"game": {
"type": "string",
"format": "at-uri",
"description": "Optional at-uri of the canonical games.gamesgamesgamesgames.actor.game record for StS2."
},
"seed": {
"type": "string",
"description": "Run seed as displayed in-game."
},
"score": {
"type": "integer",
"minimum": 0
},
"relics": {
"type": "array",
"items": {
"type": "string"
},
"description": "Relic ids held at run end."
},
"endedAt": {
"type": "string",
"format": "datetime"
},
"outcome": {
"type": "string",
"description": "How the run ended.",
"knownValues": [
"victory",
"death",
"abandoned"
]
},
"finalAct": {
"type": "integer",
"maximum": 4,
"minimum": 1
},
"killedBy": {
"type": "string",
"description": "Enemy / event that ended the run, if applicable."
},
"statsRef": {
"type": "string",
"format": "at-uri",
"description": "at-uri of the user's games.gamesgamesgamesgames.actor.stats record for StS2, updated alongside this run."
},
"ascension": {
"type": "integer",
"maximum": 20,
"minimum": 0
},
"character": {
"type": "string",
"description": "Character class id (e.g. 'ironclad', 'silent')."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"startedAt": {
"type": "string",
"format": "datetime"
},
"finalFloor": {
"type": "integer",
"minimum": 0
},
"modVersion": {
"type": "string"
},
"gameVersion": {
"type": "string"
},
"durationSeconds": {
"type": "integer",
"minimum": 0
}
}
},
"description": "A single completed Slay the Spire 2 run."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}