Record representing a player's level progression and game statistics
tid
Timestamp-based ID
Properties
cardUri
string
Optional
URI of the card that was advanced when triggerSource is card_advance
createdAt
string
datetime
Required
When the progress record was created
currentStamina
string
Optional
Current stamina level when this progress was recorded (decimal string, e.g. '85.5')
level
integer
Required
Current player level
minimum: 1metadata
ref
#metadata
Optional
No description provided.
previousLevel
integer
Optional
Previous level before this update (for tracking level progression)
minimum: 1progressPercentage
string
Required
Progress percentage to the next level (decimal string, e.g. '75.5')
relatedLogUris
array
of
string
Optional
URIs of related game log records that contributed to this progress
sessionId
string
Optional
Session ID when this progress was recorded (for linking with log records)
sessionUri
string
Optional
URI of the session record when this progress was recorded
stats
ref
#stats
Optional
No description provided.
totalXP
integer
Required
Total experience points accumulated
minimum: 0triggerSource
string
Optional
What action triggered this progress save
card_advance, post, post_to_list, specimen_discover, specimen_catch_new, specimen_catch_repeat, level_up, manual_save, session_endxpGainedSinceLastSave
integer
Optional
Experience points gained since the last progress save
minimum: 0xpToNextLevel
integer
Required
Experience points needed to reach the next level
minimum: 0View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"level",
"totalXP",
"progressPercentage",
"xpToNextLevel",
"createdAt"
],
"properties": {
"level": {
"type": "integer",
"minimum": 1,
"description": "Current player level"
},
"stats": {
"ref": "#stats",
"type": "ref"
},
"cardUri": {
"type": "string",
"description": "URI of the card that was advanced when triggerSource is card_advance"
},
"totalXP": {
"type": "integer",
"minimum": 0,
"description": "Total experience points accumulated"
},
"metadata": {
"ref": "#metadata",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the progress record was created"
},
"sessionId": {
"type": "string",
"description": "Session ID when this progress was recorded (for linking with log records)"
},
"sessionUri": {
"type": "string",
"description": "URI of the session record when this progress was recorded"
},
"previousLevel": {
"type": "integer",
"minimum": 1,
"description": "Previous level before this update (for tracking level progression)"
},
"triggerSource": {
"enum": [
"card_advance",
"post",
"post_to_list",
"specimen_discover",
"specimen_catch_new",
"specimen_catch_repeat",
"level_up",
"manual_save",
"session_end"
],
"type": "string",
"description": "What action triggered this progress save"
},
"xpToNextLevel": {
"type": "integer",
"minimum": 0,
"description": "Experience points needed to reach the next level"
},
"currentStamina": {
"type": "string",
"description": "Current stamina level when this progress was recorded (decimal string, e.g. '85.5')"
},
"relatedLogUris": {
"type": "array",
"items": {
"type": "string"
},
"description": "URIs of related game log records that contributed to this progress"
},
"progressPercentage": {
"type": "string",
"description": "Progress percentage to the next level (decimal string, e.g. '75.5')"
},
"xpGainedSinceLastSave": {
"type": "integer",
"minimum": 0,
"description": "Experience points gained since the last progress save"
}
}
},
"description": "Record representing a player's level progression and game statistics"
}