No description available.
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
ISO 8601 timestamp of when the battle took place.
finalOpponentHp
integer
Required
Opponent HP remaining at end of battle.
minimum: 0finalPlayerHp
integer
Required
Player HP remaining at end of battle.
minimum: 0opponent
string
handle
Required
Handle of the opponent.
opponentType
string
Required
Primary type of the opponent's fighter.
playerType
string
Required
Primary type of the player's fighter.
turns
integer
Required
Number of combat turns before the battle ended.
minimum: 1won
boolean
Required
True if the player won.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"opponent",
"playerType",
"opponentType",
"won",
"turns",
"finalPlayerHp",
"finalOpponentHp",
"createdAt"
],
"properties": {
"won": {
"type": "boolean",
"description": "True if the player won."
},
"turns": {
"type": "integer",
"minimum": 1,
"description": "Number of combat turns before the battle ended."
},
"opponent": {
"type": "string",
"format": "handle",
"description": "Handle of the opponent."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "ISO 8601 timestamp of when the battle took place."
},
"playerType": {
"type": "string",
"description": "Primary type of the player's fighter."
},
"opponentType": {
"type": "string",
"description": "Primary type of the opponent's fighter."
},
"finalPlayerHp": {
"type": "integer",
"minimum": 0,
"description": "Player HP remaining at end of battle."
},
"finalOpponentHp": {
"type": "integer",
"minimum": 0,
"description": "Opponent HP remaining at end of battle."
}
}
}
}