app.didpic.feed.comment

lexicons.didpic.app

Schema Diff

+25 -2

From

CID
bafyreigmk5g3s6k...
Indexed At
2026-05-24 01:15 UTC
View this version

To

CID
bafyreidelxh6cem...
Indexed At
2026-06-04 01:10 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

1 breaking change, 12 non-breaking changes.

Breaking Changes (1)
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "app.didpic.feed.comment:body", src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.text", kind: "prop", name: Some("text") }
Non-Breaking Changes (12)
  • AddedVertex AddedVertex { vertex_id: "app.didpic.feed.comment:body.alt" }
  • AddedVertex AddedVertex { vertex_id: "app.didpic.feed.comment:body.aspectRatio" }
  • AddedVertex AddedVertex { vertex_id: "app.didpic.feed.comment:body.image" }
  • AddedVertex AddedVertex { vertex_id: "app.didpic.feed.comment:body.labels" }
  • AddedVertex AddedVertex { vertex_id: "app.didpic.feed.post#aspectRatio" }
  • AddedVertex AddedVertex { vertex_id: "app.didpic.feed.post#selfLabels" }
  • AddedEdge AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.alt", kind: "prop", name: Some("alt") }
  • AddedEdge AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.aspectRatio", kind: "prop", name: Some("aspectRatio") }
  • AddedEdge AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.image", kind: "prop", name: Some("image") }
  • AddedEdge AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.labels", kind: "prop", name: Some("labels") }
  • AddedEdge AddedEdge { src: "app.didpic.feed.comment:body.aspectRatio", tgt: "app.didpic.feed.post#aspectRatio", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "app.didpic.feed.comment:body.labels", tgt: "app.didpic.feed.post#selfLabels", kind: "ref", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "app.didpic.feed.comment:body.alt" }
  • AddedVertex { vertex_id: "app.didpic.feed.comment:body.aspectRatio" }
  • AddedVertex { vertex_id: "app.didpic.feed.comment:body.image" }
  • AddedVertex { vertex_id: "app.didpic.feed.comment:body.labels" }
  • AddedVertex { vertex_id: "app.didpic.feed.post#aspectRatio" }
  • AddedVertex { vertex_id: "app.didpic.feed.post#selfLabels" }

Additional Notes

  • Breaking: RequiredEdgeRemoved { vertex_id: "app.didpic.feed.comment:body", src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.text", kind: "prop", name: Some("text") }
  • Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.alt", kind: "prop", name: Some("alt") }
  • Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.aspectRatio", kind: "prop", name: Some("aspectRatio") }
  • Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.image", kind: "prop", name: Some("image") }
  • Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body", tgt: "app.didpic.feed.comment:body.labels", kind: "prop", name: Some("labels") }
  • Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body.aspectRatio", tgt: "app.didpic.feed.post#aspectRatio", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "app.didpic.feed.comment:body.labels", tgt: "app.didpic.feed.post#selfLabels", kind: "ref", name: None }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "A comment on a post.",
5 +
      "description": "A comment on a post. Optionally includes a single image with alt text and self-applied labels — same image shape as feed.post. Either text or image (or both) must be present in practice; the lexicon doesn't enforce that since 'one of N required' isn't expressible.",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 +
          "alt": {
10 +
            "description": "Alt text for accessibility. Required by the client when `image` is set and the author has the requireAltText pref enabled.",
11 +
            "maxGraphemes": 1000,
12 +
            "maxLength": 10000,
13 +
            "type": "string"
14 +
          },
15 +
          "aspectRatio": {
16 +
            "ref": "app.didpic.feed.post#aspectRatio",
17 +
            "type": "ref"
18 +
          },
9 19
          "createdAt": {
10 20
            "format": "datetime",
11 21
            "type": "string"
12 22
          },
13 23
          "facets": {
14 24
            "items": {
15 25
              "ref": "app.didpic.richtext.facet",
16 26
              "type": "ref"
17 27
            },
18 28
            "type": "array"
19 29
          },
30 +
          "image": {
31 +
            "accept": [
32 +
              "image/png",
33 +
              "image/jpeg",
34 +
              "image/webp"
35 +
            ],
36 +
            "maxSize": 5000000,
37 +
            "type": "blob"
38 +
          },
39 +
          "labels": {
40 +
            "description": "Self-applied content labels (e.g. nsfw) on the comment's image.",
41 +
            "ref": "app.didpic.feed.post#selfLabels",
42 +
            "type": "ref"
43 +
          },
20 44
          "parent": {
21 45
            "description": "The comment being replied to.",
22 46
            "ref": "com.atproto.repo.strongRef",
23 47
            "type": "ref"
24 48
          },
25 49
          "subject": {
26 50
            "description": "The post being commented on.",
27 51
            "ref": "com.atproto.repo.strongRef",
28 52
            "type": "ref"
29 53
          },
30 54
          "text": {
31 55
            "maxGraphemes": 1000,
32 56
            "maxLength": 10000,
33 57
            "type": "string"
34 58
          }
35 59
        },
36 60
        "required": [
37 61
          "subject",
38 -
          "text",
39 62
          "createdAt"
40 63
        ],
41 64
        "type": "object"
42 65
      },
43 66
      "type": "record"
44 67
    }
45 68
  },
46 69
  "id": "app.didpic.feed.comment",
47 70
  "lexicon": 1
48 71
}

Compare Other Versions

Lexicon Garden

@