app.didpic.moderation.createReport
Schema Diff
+7 -1
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 2 non-breaking changes.
Breaking Changes (2)
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.moderation.createReport:input.subjectTag", sort: "maxGraphemes", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.moderation.createReport:input.subjectTag", sort: "maxLength", value: "640" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectTag" }
- AddedEdge AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectTag", kind: "prop", name: Some("subjectTag") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectTag" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.moderation.createReport:input.subjectTag", sort: "maxLength", value: "640" }
- ConstraintAdded ConstraintAdded { vertex_id: "app.didpic.moderation.createReport:input.subjectTag", sort: "maxGraphemes", value: "64" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.moderation.createReport:input", tgt: "app.didpic.moderation.createReport:input.subjectTag", kind: "prop", name: Some("subjectTag") }
1
1
{
2
2
"id": "app.didpic.moderation.createReport",
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
"reasonType"
11
11
],
12
12
"properties": {
13
13
"reason": {
14
14
"type": "string",
15
15
"maxLength": 2000
16
16
},
17
17
"reasonType": {
18
18
"enum": [
19
19
"spam",
20
20
"violation",
21
21
"illegal",
22
22
"harassment",
23
23
"sexual",
24
24
"other"
25
25
],
26
26
"type": "string"
27
27
},
28
28
"subjectCid": {
29
29
"type": "string",
30
30
"format": "cid"
31
31
},
32
32
"subjectDid": {
33
33
"type": "string",
34
34
"format": "did"
35
35
},
36
+
"subjectTag": {
37
+
"type": "string",
38
+
"maxLength": 640,
39
+
"description": "Hashtag name (without leading #).",
40
+
"maxGraphemes": 64
41
+
},
36
42
"subjectUri": {
37
43
"type": "string",
38
44
"format": "at-uri"
39
45
}
40
46
}
41
47
},
42
48
"encoding": "application/json"
43
49
},
44
50
"errors": [
45
51
{
46
52
"name": "InvalidRequest"
47
53
}
48
54
],
49
55
"output": {
50
56
"schema": {
51
57
"type": "object",
52
58
"required": [
53
59
"id",
54
60
"createdAt"
55
61
],
56
62
"properties": {
57
63
"id": {
58
64
"type": "integer"
59
65
},
60
66
"createdAt": {
61
67
"type": "string",
62
68
"format": "datetime"
63
69
}
64
70
}
65
71
},
66
72
"encoding": "application/json"
67
73
},
68
-
"description": "File a moderation report against an account or a record."
74
+
"description": "File a moderation report against an account, a record, or a hashtag."
69
75
}
70
76
},
71
77
"$type": "com.atproto.lexicon.schema",
72
78
"lexicon": 1
73
79
}