app.didpic.moderation.createReport
Schema Diff
+5 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectMessageId" }
- AddedEdge AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectMessageId", kind: "prop", name: Some("subjectMessageId") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectMessageId" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectMessageId", kind: "prop", name: Some("subjectMessageId") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "File a moderation report against an account, a record, or a hashtag.",
5
+
"description": "File a moderation report against an account, a record, a hashtag, or a DM message.",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidRequest"
9
9
}
10
10
],
11
11
"input": {
12
12
"encoding": "application/json",
13
13
"schema": {
14
14
"properties": {
15
15
"reason": {
16
16
"maxLength": 2000,
17
17
"type": "string"
18
18
},
19
19
"reasonType": {
20
20
"enum": [
21
21
"spam",
22
22
"violation",
23
23
"illegal",
24
24
"harassment",
25
25
"sexual",
26
26
"other"
27
27
],
28
28
"type": "string"
29
29
},
30
30
"subjectCid": {
31
31
"format": "cid",
32
32
"type": "string"
33
33
},
34
34
"subjectDid": {
35
35
"format": "did",
36
36
"type": "string"
37
37
},
38
+
"subjectMessageId": {
39
+
"description": "A chat message's id. Exactly one of subjectDid/subjectUri/subjectTag/subjectMessageId must be set - messages have no at-uri, they're never atproto records.",
40
+
"type": "string"
41
+
},
38
42
"subjectProfileMediaCid": {
39
43
"description": "Blob CID of the reported avatar/banner.",
40
44
"format": "cid",
41
45
"type": "string"
42
46
},
43
47
"subjectProfileMediaKind": {
44
48
"description": "When the report is over a profile image, which one.",
45
49
"enum": [
46
50
"avatar",
47
51
"banner"
48
52
],
49
53
"type": "string"
50
54
},
51
55
"subjectTag": {
52
56
"description": "Hashtag name (without leading #).",
53
57
"maxGraphemes": 64,
54
58
"maxLength": 640,
55
59
"type": "string"
56
60
},
57
61
"subjectUri": {
58
62
"format": "at-uri",
59
63
"type": "string"
60
64
}
61
65
},
62
66
"required": [
63
67
"reasonType"
64
68
],
65
69
"type": "object"
66
70
}
67
71
},
68
72
"output": {
69
73
"encoding": "application/json",
70
74
"schema": {
71
75
"properties": {
72
76
"createdAt": {
73
77
"format": "datetime",
74
78
"type": "string"
75
79
},
76
80
"id": {
77
81
"type": "integer"
78
82
}
79
83
},
80
84
"required": [
81
85
"id",
82
86
"createdAt"
83
87
],
84
88
"type": "object"
85
89
}
86
90
},
87
91
"type": "procedure"
88
92
}
89
93
},
90
94
"id": "app.didpic.moderation.createReport",
91
95
"lexicon": 1
92
96
}