app.didpic.moderation.createReport

lexicons.didpic.app

Schema Diff

+24 -1

From

CID
bafyreihjoiyryjh...
Indexed At
2026-05-18 00:15 UTC
View this version

To

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

Compatibility Analysis

Backward Compatible

Backward compatible. 8 non-breaking changes.

Non-Breaking Changes (8)
  • 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" }
  • AddedVertex AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectTag" }
  • 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") }
  • 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.subjectMessageId" }
  • AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectProfileMediaCid" }
  • AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectProfileMediaKind" }
  • AddedVertex { vertex_id: "app.didpic.moderation.createReport:input.subjectTag" }

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") }
  • 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
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "File a moderation report against an account or a record.",
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 +
            },
55 +
            "subjectTag": {
56 +
              "description": "Hashtag name (without leading #).",
57 +
              "maxGraphemes": 64,
58 +
              "maxLength": 640,
59 +
              "type": "string"
60 +
            },
38 61
            "subjectUri": {
39 62
              "format": "at-uri",
40 63
              "type": "string"
41 64
            }
42 65
          },
43 66
          "required": [
44 67
            "reasonType"
45 68
          ],
46 69
          "type": "object"
47 70
        }
48 71
      },
49 72
      "output": {
50 73
        "encoding": "application/json",
51 74
        "schema": {
52 75
          "properties": {
53 76
            "createdAt": {
54 77
              "format": "datetime",
55 78
              "type": "string"
56 79
            },
57 80
            "id": {
58 81
              "type": "integer"
59 82
            }
60 83
          },
61 84
          "required": [
62 85
            "id",
63 86
            "createdAt"
64 87
          ],
65 88
          "type": "object"
66 89
        }
67 90
      },
68 91
      "type": "procedure"
69 92
    }
70 93
  },
71 94
  "id": "app.didpic.moderation.createReport",
72 95
  "lexicon": 1
73 96
}

Compare Other Versions

Lexicon Garden

@