pet.trezy.createInteraction
Schema Diff
+4 -0
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
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"input": {
6
6
"encoding": "application/json",
7
7
"schema": {
8
8
"properties": {
9
+
"drop": {
10
+
"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.",
11
+
"type": "string"
12
+
},
9
13
"pet": {
10
14
"format": "at-uri",
11
15
"type": "string"
12
16
},
13
17
"type": {
14
18
"knownValues": [
15
19
"feed",
16
20
"pet"
17
21
],
18
22
"type": "string"
19
23
}
20
24
},
21
25
"required": [
22
26
"type",
23
27
"pet"
24
28
],
25
29
"type": "object"
26
30
}
27
31
},
28
32
"output": {
29
33
"encoding": "application/json",
30
34
"schema": {
31
35
"properties": {
32
36
"createdAt": {
33
37
"format": "datetime",
34
38
"type": "string"
35
39
},
36
40
"error": {
37
41
"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.",
38
42
"knownValues": [
39
43
"invalid-type",
40
44
"not-your-pet",
41
45
"cooldown"
42
46
],
43
47
"type": "string"
44
48
},
45
49
"message": {
46
50
"description": "A sentence to show the player, accompanying `error`. Free to reword; do not branch on it.",
47
51
"type": "string"
48
52
},
49
53
"uri": {
50
54
"format": "at-uri",
51
55
"type": "string"
52
56
}
53
57
},
54
58
"required": [],
55
59
"type": "object"
56
60
}
57
61
},
58
62
"type": "procedure"
59
63
}
60
64
},
61
65
"id": "pet.trezy.createInteraction",
62
66
"lexicon": 1
63
67
}