{
"id": "pet.trezy.createInteraction",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"type",
"pet"
],
"properties": {
"pet": {
"type": "string",
"format": "at-uri"
},
"type": {
"type": "string",
"knownValues": [
"feed",
"pet"
]
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [],
"properties": {
"uri": {
"type": "string",
"format": "at-uri"
},
"error": {
"type": "string",
"description": "Present instead of uri/createdAt when the interaction was refused for an expected reason. A stable machine code the client branches on — add codes, never rename them.",
"knownValues": [
"invalid-type",
"not-your-pet",
"cooldown"
]
},
"message": {
"type": "string",
"description": "A sentence to show the player, accompanying `error`. Free to reword; do not branch on it."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
},
"encoding": "application/json"
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:ollch4g7tes2reb5eceiwuol
- CID
-
bafyreibexli54xhzn62uf54rqx42kwxawbylfkdtyjomt22gukifw2i32i
- Indexed At
- 2026-08-09 01:42 UTC
- AT-URI
-
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.createInteraction
Version History (2 versions)