pub.leaflet.blocks.imageGallery

leaflet.pub

Schema Diff

+3 -2

From

CID
bafyreifadl2u2rx...
Indexed At
2026-07-26 20:07 UTC
View this version

To

CID
bafyreigbqysbbzj...
Indexed At
2026-10-08 20:03 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

1 breaking change, 0 non-breaking changes.

Breaking Changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "pub.leaflet.blocks.imageGallery.format", sort: "knownValues", old_value: "[\"grid\",\"carousel\",\"strip\"]", new_value: "[\"grid\",\"carousel\",\"strip\",\"masonry\"]" }

Migration Guidance

Constraint Changes

  • ConstraintTightened ConstraintTightened { vertex_id: "pub.leaflet.blocks.imageGallery.format", sort: "knownValues", old_value: "[\"grid\",\"carousel\",\"strip\"]", new_value: "[\"grid\",\"carousel\",\"strip\",\"masonry\"]" }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "aspectRatio": {
5 5
      "properties": {
6 6
        "height": {
7 7
          "type": "integer"
8 8
        },
9 9
        "width": {
10 10
          "type": "integer"
11 11
        }
12 12
      },
13 13
      "required": [
14 14
        "width",
15 15
        "height"
16 16
      ],
17 17
      "type": "object"
18 18
    },
19 19
    "image": {
20 20
      "properties": {
21 21
        "alt": {
22 22
          "description": "Alt text description of the image, for accessibility.",
23 23
          "type": "string"
24 24
        },
25 25
        "aspectRatio": {
26 26
          "ref": "#aspectRatio",
27 27
          "type": "ref"
28 28
        },
29 29
        "image": {
30 30
          "accept": [
31 31
            "image/*"
32 32
          ],
33 33
          "maxSize": 1000000,
34 34
          "type": "blob"
35 35
        }
36 36
      },
37 37
      "required": [
38 38
        "image",
39 39
        "aspectRatio"
40 40
      ],
41 41
      "type": "object"
42 42
    },
43 43
    "main": {
44 44
      "properties": {
45 45
        "format": {
46 46
          "knownValues": [
47 47
            "grid",
48 48
            "carousel",
49 -
            "strip"
49 +
            "strip",
50 +
            "masonry"
50 51
          ],
51 52
          "type": "string"
52 53
        },
53 54
        "gap": {
54 55
          "description": "Gap between images in pixels.",
55 56
          "type": "integer"
56 57
        },
57 58
        "images": {
58 59
          "items": {
59 60
            "ref": "#image",
60 61
            "type": "ref"
61 62
          },
62 63
          "type": "array"
63 64
        },
64 65
        "maxWidth": {
65 -
          "description": "Max width per image in grid view (px); drives how many columns fit.",
66 +
          "description": "Max width per image in grid and masonry views (px); drives how many columns fit.",
66 67
          "type": "integer"
67 68
        }
68 69
      },
69 70
      "required": [
70 71
        "images"
71 72
      ],
72 73
      "type": "object"
73 74
    }
74 75
  },
75 76
  "id": "pub.leaflet.blocks.imageGallery",
76 77
  "lexicon": 1
77 78
}

Compare Other Versions

Lexicon Garden

@