pet.trezy.createInteraction

trezy.pet

Schema Diff

+4 -0

From

CID
bafyreibexli54xh...
Indexed At
2026-08-09 01:42 UTC
View this version

To

CID
bafyreifdrkjdqf4...
Indexed At
2026-08-12 02:42 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "pet.trezy.createInteraction:input.drop" }
  • AddedEdge AddedEdge { src: "pet.trezy.createInteraction:input", tgt: "pet.trezy.createInteraction:input.drop", kind: "prop", name: Some("drop") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "pet.trezy.createInteraction:input.drop" }

Additional Notes

  • Non-breaking: AddedEdge { src: "pet.trezy.createInteraction:input", tgt: "pet.trezy.createInteraction:input.drop", kind: "prop", name: Some("drop") }
1 1
{
2 2
  "id": "pet.trezy.createInteraction",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "procedure",
6 6
      "input": {
7 7
        "schema": {
8 8
          "type": "object",
9 9
          "required": [
10 10
            "type",
11 11
            "pet"
12 12
          ],
13 13
          "properties": {
14 14
            "pet": {
15 15
              "type": "string",
16 16
              "format": "at-uri"
17 17
            },
18 +
            "drop": {
19 +
              "type": "string",
20 +
              "description": "The rkey of a pet.trezy.foodDrop being consumed by this feed. OPTIONAL: petting carries none, and neither does a feed from the legacy button. ⚠ THE MORSEL IS DELETED ONLY AFTER THE ACTIVITY RECORD HAS SAVED, never before. Deleting first would let a refused feed take the food with it — which the player would experience as theft, with no error anywhere to explain where their morsel went."
21 +
            },
18 22
            "type": {
19 23
              "type": "string",
20 24
              "knownValues": [
21 25
                "feed",
22 26
                "pet"
23 27
              ]
24 28
            }
25 29
          }
26 30
        },
27 31
        "encoding": "application/json"
28 32
      },
29 33
      "output": {
30 34
        "schema": {
31 35
          "type": "object",
32 36
          "required": [],
33 37
          "properties": {
34 38
            "uri": {
35 39
              "type": "string",
36 40
              "format": "at-uri"
37 41
            },
38 42
            "error": {
39 43
              "type": "string",
40 44
              "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.",
41 45
              "knownValues": [
42 46
                "invalid-type",
43 47
                "not-your-pet",
44 48
                "cooldown"
45 49
              ]
46 50
            },
47 51
            "message": {
48 52
              "type": "string",
49 53
              "description": "A sentence to show the player, accompanying `error`. Free to reword; do not branch on it."
50 54
            },
51 55
            "createdAt": {
52 56
              "type": "string",
53 57
              "format": "datetime"
54 58
            }
55 59
          }
56 60
        },
57 61
        "encoding": "application/json"
58 62
      }
59 63
    }
60 64
  },
61 65
  "$type": "com.atproto.lexicon.schema",
62 66
  "lexicon": 1
63 67
}

Compare Other Versions

Lexicon Garden

@