app.didpic.moderation.createReport

lexicons.didpic.app

Schema Diff

+18 -1

From

CID
bafyreieyhmd4iii...
Indexed At
2026-05-24 05:55 UTC
View this version

To

CID
bafyreihd22jjvct...
Indexed At
2026-10-10 08:21 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 6 non-breaking changes.

Non-Breaking Changes (6)
  • AddedVertex AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectMessageId" }
  • 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.subjectMessageId", kind: "prop", name: Some("subjectMessageId") }
  • 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.subjectMessageId" }
  • 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.subjectMessageId", kind: "prop", name: Some("subjectMessageId") }
  • 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 -
      "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 +
            },
42 +
            "subjectProfileMediaCid": {
43 +
              "description": "Blob CID of the reported avatar/banner.",
44 +
              "format": "cid",
45 +
              "type": "string"
46 +
            },
47 +
            "subjectProfileMediaKind": {
48 +
              "description": "When the report is over a profile image, which one.",
49 +
              "enum": [
50 +
                "avatar",
51 +
                "banner"
52 +
              ],
53 +
              "type": "string"
54 +
            },
38 55
            "subjectTag": {
39 56
              "description": "Hashtag name (without leading #).",
40 57
              "maxGraphemes": 64,
41 58
              "maxLength": 640,
42 59
              "type": "string"
43 60
            },
44 61
            "subjectUri": {
45 62
              "format": "at-uri",
46 63
              "type": "string"
47 64
            }
48 65
          },
49 66
          "required": [
50 67
            "reasonType"
51 68
          ],
52 69
          "type": "object"
53 70
        }
54 71
      },
55 72
      "output": {
56 73
        "encoding": "application/json",
57 74
        "schema": {
58 75
          "properties": {
59 76
            "createdAt": {
60 77
              "format": "datetime",
61 78
              "type": "string"
62 79
            },
63 80
            "id": {
64 81
              "type": "integer"
65 82
            }
66 83
          },
67 84
          "required": [
68 85
            "id",
69 86
            "createdAt"
70 87
          ],
71 88
          "type": "object"
72 89
        }
73 90
      },
74 91
      "type": "procedure"
75 92
    }
76 93
  },
77 94
  "id": "app.didpic.moderation.createReport",
78 95
  "lexicon": 1
79 96
}

Compare Other Versions

Lexicon Garden

@