pub.leaflet.pages.canvas

leaflet.pub

Schema Diff

+1 -1

From

CID
bafyreifgilfuk7y...
Indexed At
2026-09-26 03:40 UTC
View this version

To

CID
bafyreie4woxmfnq...
Indexed At
2026-09-27 03:36 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "block": {
5 5
      "properties": {
6 6
        "block": {
7 7
          "description": "A single block, or a linear document: blocks grouped in reading order that are positioned, sized and rotated on the canvas as one.",
8 8
          "refs": [
9 9
            "pub.leaflet.blocks.iframe",
10 10
            "pub.leaflet.blocks.html",
11 11
            "pub.leaflet.blocks.text",
12 12
            "pub.leaflet.blocks.blockquote",
13 13
            "pub.leaflet.blocks.header",
14 14
            "pub.leaflet.blocks.image",
15 15
            "pub.leaflet.blocks.imageGallery",
16 16
            "pub.leaflet.blocks.unorderedList",
17 17
            "pub.leaflet.blocks.orderedList",
18 18
            "pub.leaflet.blocks.website",
19 19
            "pub.leaflet.blocks.math",
20 20
            "pub.leaflet.blocks.code",
21 21
            "pub.leaflet.blocks.horizontalRule",
22 22
            "pub.leaflet.blocks.bskyPost",
23 23
            "pub.leaflet.blocks.standardSitePost",
24 24
            "pub.leaflet.blocks.standardSitePublication",
25 25
            "pub.leaflet.blocks.page",
26 26
            "pub.leaflet.blocks.embeddedCanvas",
27 27
            "pub.leaflet.blocks.poll",
28 28
            "pub.leaflet.blocks.button",
29 29
            "pub.leaflet.blocks.postsList",
30 30
            "pub.leaflet.blocks.signup",
31 31
            "pub.leaflet.blocks.recommendedPubs",
32 32
            "pub.leaflet.blocks.membersOnlyDelimiter",
33 33
            "pub.leaflet.blocks.postHeader",
34 34
            "pub.leaflet.blocks.drawing",
35 35
            "pub.leaflet.pages.linearDocument"
36 36
          ],
37 37
          "type": "union"
38 38
        },
39 39
        "height": {
40 40
          "type": "integer"
41 41
        },
42 42
        "rotation": {
43 43
          "description": "The rotation of the block in degrees",
44 44
          "type": "integer"
45 45
        },
46 46
        "stackOrder": {
47 47
          "description": "Fractional index ordering this block against its siblings on the z axis. Blocks without one stack below every block with one, ordered by position.",
48 48
          "type": "string"
49 49
        },
50 50
        "width": {
51 51
          "type": "integer"
52 52
        },
53 53
        "x": {
54 54
          "type": "integer"
55 55
        },
56 56
        "y": {
57 57
          "type": "integer"
58 58
        }
59 59
      },
60 60
      "required": [
61 61
        "block",
62 62
        "x",
63 63
        "y",
64 64
        "width"
65 65
      ],
66 66
      "type": "object"
67 67
    },
68 68
    "main": {
69 69
      "properties": {
70 70
        "blocks": {
71 71
          "items": {
72 72
            "ref": "#block",
73 73
            "type": "ref"
74 74
          },
75 75
          "type": "array"
76 76
        },
77 77
        "height": {
78 78
          "description": "Fixed canvas height in canvas px; see width.",
79 79
          "type": "integer"
80 80
        },
81 81
        "id": {
82 82
          "type": "string"
83 83
        },
84 84
        "lockViewerZoom": {
85 -
          "description": "Viewers cannot zoom the canvas: no wheel, pinch, double-tap or zoom controls.",
85 +
          "description": "Viewers cannot zoom the canvas or scroll it sideways: no wheel, pinch, double-tap or zoom controls, and the initial framing (see mobileView) stays. Vertical scrolling is unaffected.",
86 86
          "type": "boolean"
87 87
        },
88 88
        "mobileView": {
89 89
          "description": "How a narrow viewport frames the canvas: the whole canvas scaled to fit the width (unconstrained, the default), or a phone-width area anchored to the canvas's left edge or centered on it, shown at up to 1:1.",
90 90
          "knownValues": [
91 91
            "unconstrained",
92 92
            "left",
93 93
            "center"
94 94
          ],
95 95
          "type": "string"
96 96
        },
97 97
        "width": {
98 98
          "description": "Fixed canvas width in canvas px. With height, bounds the canvas: blocks are clipped to the area. Absent, the canvas is 1272px wide and grows with its content.",
99 99
          "type": "integer"
100 100
        }
101 101
      },
102 102
      "required": [
103 103
        "blocks"
104 104
      ],
105 105
      "type": "object"
106 106
    },
107 107
    "position": {
108 108
      "properties": {
109 109
        "block": {
110 110
          "items": {
111 111
            "type": "integer"
112 112
          },
113 113
          "type": "array"
114 114
        },
115 115
        "offset": {
116 116
          "type": "integer"
117 117
        }
118 118
      },
119 119
      "required": [
120 120
        "block",
121 121
        "offset"
122 122
      ],
123 123
      "type": "object"
124 124
    },
125 125
    "quote": {
126 126
      "properties": {
127 127
        "end": {
128 128
          "ref": "#position",
129 129
          "type": "ref"
130 130
        },
131 131
        "start": {
132 132
          "ref": "#position",
133 133
          "type": "ref"
134 134
        }
135 135
      },
136 136
      "required": [
137 137
        "start",
138 138
        "end"
139 139
      ],
140 140
      "type": "object"
141 141
    },
142 142
    "textAlignCenter": {
143 143
      "type": "token"
144 144
    },
145 145
    "textAlignLeft": {
146 146
      "type": "token"
147 147
    },
148 148
    "textAlignRight": {
149 149
      "type": "token"
150 150
    }
151 151
  },
152 152
  "id": "pub.leaflet.pages.canvas",
153 153
  "lexicon": 1
154 154
}

Compare Other Versions

Lexicon Garden

@