me.byjp.pesos.sts2.run

A single Slay the Spire 2 run.

Repository @byjp.me did:plc:ephkzpinhaqcabtkugtbzrwu namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritysts2.pesos.byjp.me
Indexed

Record

record · key tid

Properties

act

integer
  • minimum: 1
  • maximum: 4

allies

array

Other players in a multiplayer run.

itemsobject

ascension

requiredinteger
  • minimum: 0
  • maximum: 20

character

requiredstring

Character class id (e.g. 'ironclad', 'silent').

currentHp

integer

Local player's current HP at the time of emission (0 if dead).

  • minimum: 0

deck

array

Card ids in the final deck.

itemsstring
  • minimum: 0

endedAt

string · datetime

floor

integer
  • minimum: 0

game

string · at-uri

Optional at-uri of the canonical games.gamesgamesgamesgames.actor.game record for StS2.

killedBy

string

Enemy / event that ended the run, if applicable.

maxHp

integer

Local player's maximum HP at the time of emission (reflects run-long HP gains/losses).

  • minimum: 0

outcome

requiredstring

How the run ended.

  • knownValues: in_progress | victory | death | abandoned

potions

array

Potion ids currently held.

itemsstring

relics

array

Relic ids held at run end.

itemsstring

score

integer
  • minimum: 0

seed

requiredstring

Run seed as displayed in-game.

startedAt

requiredstring · datetime

Aggregated combat stats across the run. All fields optional; counters reflect the local player's own activity.

Reference
  • lex:me.byjp.pesos.sts2.run#stats

statsRef

string · at-uri

at-uri of the user's games.gamesgamesgamesgames.actor.stats record for StS2, updated alongside this run.

steamID64

string

SteamID64 of the run's owner, when playing on Steam.

updatedAt

requiredstring · datetime

#attestation

object

Inline ECDSA signature appended to the record's `signatures` array after the content CID is computed (per badge.blue). The `signatures` array is stripped before re-validation; entries identify the signing key so verifiers can look it up against a trusted-keys list to confirm a genuine mod build. The canonical list lives at https://sts2.byjp.me/.well-known/sts2-mod-keys/keys.json — other verifiers may publish their own at the same well-known path on a different host.

Properties

cid

requiredstring

CIDv1 (DAG-CBOR + SHA-256) of the record body that was signed.

key

requiredstring · did

did:key identifying the signing key.

signature

requiredbytes

P-256 ECDSA signature (low-S, IEEE P1363 r‖s) over the content CID bytes.

#distribution

object

Generic histogram keyed by arbitrary string values mapped to their integer counts. Keys are intentionally undeclared because the set of values is open-ended.

Properties

#stats

object

Properties

Largest HP damage dealt by the player in one attack (after block).

  • minimum: 0

Largest HP damage taken by the player in one attack (after block).

  • minimum: 0

Most HP damage the player dealt in one player turn (after block).

  • minimum: 0

Most HP damage the player took in one enemy turn (after block).

  • minimum: 0

bossesWon

integer

Boss combats won.

  • minimum: 0

Cards played, keyed by card name (id) mapped to the number of times that card was played. Example: { "strike": 42, "bash": 6 }.

Reference

cardsDrawn

integer
  • minimum: 0
  • minimum: 0
  • minimum: 0

combats

integer

Total combats entered.

  • minimum: 0

combatsWon

integer

Combats the player's side won.

  • minimum: 0

Total HP damage dealt by the player to enemies (after block).

  • minimum: 0

Total HP damage taken by the player (after block).

  • minimum: 0

deaths

integer

Number of times the player went to 0 HP. 0 in solo victory; can exceed 1 in multiplayer where allies revive.

  • minimum: 0

elitesWon

integer

Elite combats won.

  • minimum: 0

Gold the player is currently holding at the time of emission.

  • minimum: 0

goldEarned

integer

Total gold gained over the run.

  • minimum: 0

goldSpent

integer

Total gold spent over the run.

  • minimum: 0

Total HP healed by the player across the run (sum of positive HP changes).

  • minimum: 0

Most block gained by the player in a single player turn.

  • minimum: 0

Hits dealt by the player grouped by the attack's full value (before block). Example: { "1": 23, "2": 8, "10": 1 }.

Reference

Hits the player received grouped by the attack's full value (before block). Example: { "1": 23, "2": 8, "10": 1 }.

Reference

killCount

integer

Number of monsters this player dealt the killing blow to.

  • minimum: 0

Most player turns in a single combat.

  • minimum: 0

lowestHp

integer

Lowest HP the player reached at any tracked moment in the run.

  • minimum: 0

Enemy turns during which the player took zero unblocked damage.

  • minimum: 0
  • minimum: 0

turns

integer

Total player turns taken across all combats.

  • minimum: 0