pet.trezy.getStats
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"error": {
"type": "string"
},
"feedCooldownRemaining": {
"description": "Seconds until this pet can be fed again, or 0 if it can be now. Reported so the client can show a countdown and disable the button on the real rule, rather than on a copy of the cooldown it keeps itself and discovers is wrong by being refused.",
"minimum": 0,
"type": "integer"
},
"happiness": {
"type": "integer"
},
"happinessPips": {
"items": {
"type": "integer"
},
"type": "array"
},
"hunger": {
"type": "integer"
},
"hungerPips": {
"items": {
"type": "integer"
},
"type": "array"
},
"interactionCooldown": {
"description": "The full cooldown length in seconds, from pet.trezy.gameConfig. Lets a client start a countdown the instant it acts, without waiting a round trip and without hardcoding the number.",
"minimum": 1,
"type": "integer"
},
"level": {
"type": "integer"
},
"petCooldownRemaining": {
"description": "Seconds until this pet can be petted again, or 0 if it can be now.",
"minimum": 0,
"type": "integer"
},
"totalInteractions": {
"type": "integer"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"pet": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"did",
"pet"
],
"type": "params"
},
"type": "query"
}
},
"id": "pet.trezy.getStats",
"lexicon": 1
}
Metadata
- DID
-
did:plc:ollch4g7tes2reb5eceiwuol - CID
-
bafyreigypry5effevn4khe32ekacsudkfwbmedzb3m57mtgt7e6uhx4lre - Indexed At
- 2026-08-09 01:42 UTC
- AT-URI
-
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.getStats
Version History (2 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pet.trezy.getCensus query
The whole game in a handful of numbers, for /stats. Distinct from pet.trezy.getStats, which reports on ONE pet — this one never looks at an individual animal. Every figure is a plain aggregate over an indexed table, d…
-
pet.trezy.gameConfig record
The game's tunable numbers — caps, and the curves that decay a pet's care — published in the game's own repo (did:plc:ollch4g7tes2reb5eceiwuol) at rkey `self`. Only records from that DID are ever read — record.ind…
-
pet.trezy.resolveFeeding procedure
Settle what happened in the terrarium while nobody was watching, and report the state feeding needs. Called on load. HappyView has no scheduler — the only job trigger is job.run:<type>, fired by jobs.create — so an …