app.didpic.moderation.createReport
Schema Diff
+13 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectProfileMediaCid" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectProfileMediaKind" }
- AddedEdge AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectProfileMediaCid", kind: "prop", name: Some("subjectProfileMediaCid") }
- AddedEdge AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectProfileMediaKind", kind: "prop", name: Some("subjectProfileMediaKind") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectProfileMediaCid" }AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectProfileMediaKind" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectProfileMediaCid", kind: "prop", name: Some("subjectProfileMediaCid") }
- Non-breaking: AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectProfileMediaKind", kind: "prop", name: Some("subjectProfileMediaKind") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "File a moderation report against an account, a record, or a hashtag.",
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
+
"subjectProfileMediaCid": {
39
+
"description": "Blob CID of the reported avatar/banner.",
40
+
"format": "cid",
41
+
"type": "string"
42
+
},
43
+
"subjectProfileMediaKind": {
44
+
"description": "When the report is over a profile image, which one.",
45
+
"enum": [
46
+
"avatar",
47
+
"banner"
48
+
],
49
+
"type": "string"
50
+
},
38
51
"subjectTag": {
39
52
"description": "Hashtag name (without leading #).",
40
53
"maxGraphemes": 64,
41
54
"maxLength": 640,
42
55
"type": "string"
43
56
},
44
57
"subjectUri": {
45
58
"format": "at-uri",
46
59
"type": "string"
47
60
}
48
61
},
49
62
"required": [
50
63
"reasonType"
51
64
],
52
65
"type": "object"
53
66
}
54
67
},
55
68
"output": {
56
69
"encoding": "application/json",
57
70
"schema": {
58
71
"properties": {
59
72
"createdAt": {
60
73
"format": "datetime",
61
74
"type": "string"
62
75
},
63
76
"id": {
64
77
"type": "integer"
65
78
}
66
79
},
67
80
"required": [
68
81
"id",
69
82
"createdAt"
70
83
],
71
84
"type": "object"
72
85
}
73
86
},
74
87
"type": "procedure"
75
88
}
76
89
},
77
90
"id": "app.didpic.moderation.createReport",
78
91
"lexicon": 1
79
92
}