pet.trezy.createInteraction

trezy.pet

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "pet": {
              "format": "at-uri",
              "type": "string"
            },
            "type": {
              "knownValues": [
                "feed",
                "pet"
              ],
              "type": "string"
            }
          },
          "required": [
            "type",
            "pet"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createdAt": {
              "format": "datetime",
              "type": "string"
            },
            "error": {
              "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"
              ],
              "type": "string"
            },
            "message": {
              "description": "A sentence to show the player, accompanying `error`. Free to reword; do not branch on it.",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "pet.trezy.createInteraction",
  "lexicon": 1
}

Validate Record

Validate a record against pet.trezy.createInteraction

Validation Options
Treat any remaining unresolved references as valid

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 (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • pet.trezy.dropFood procedure

    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.

  • 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 …

  • 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…

Lexicon Garden

@