pet.trezy.dropFood
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Put one morsel on the ground. Writes to the caller's terrarium space; the space is created lazily by the first drop, so a player who never feeds anything never gets one.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"food": {
"description": "The id of a published pet.trezy.food.",
"type": "string"
},
"x": {
"description": "Horizontal position in scaled world px.",
"type": "integer"
}
},
"required": [
"food",
"x"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"droppedAt": {
"format": "datetime",
"type": "string"
},
"error": {
"description": "Present instead of rkey/droppedAt when the drop was refused for an expected reason. A stable machine code the client branches on — add codes, never rename them.",
"knownValues": [
"not-authenticated",
"unknown-food",
"bad-position",
"terrarium-full",
"save-failed"
],
"type": "string"
},
"message": {
"description": "A sentence to show the player, accompanying `error`. Free to reword; do not branch on it.",
"type": "string"
},
"rkey": {
"description": "The morsel's key in the space. What the client passes back as createInteraction's `drop` when a pet eats it.",
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pet.trezy.dropFood",
"lexicon": 1
}
Metadata
- DID
-
did:plc:ollch4g7tes2reb5eceiwuol - CID
-
bafyreifolhha6l2osjaxhoad35vjo5757x3bzbbkc7liqfkdmku42jdtnm - Indexed At
- 2026-08-12 02:42 UTC
- AT-URI
-
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.dropFood
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pet.trezy.foodDrop record
One morsel lying on the ground. Lives in the player's `pet.trezy.terrarium` SPACE, not their public repo: it is transient scenery, and a repo record would need a new OAuth scope in three places — which happyview-confi…
-
pet.trezy.createInteraction procedure
-
pet.trezy.food record
One kind of food. Published by the game, never by a player — the definitions guard refuses these from anybody but the publisher, the same as species and tiers. A food a client cannot draw must render nothing rather th…