pub.leaflet.pages.canvas

leaflet.pub

Schema Diff

+1 -1

From

CID
bafyreifidxorq5x...
Indexed At
2026-09-29 04:39 UTC
View this version

To

CID
bafyreieujs5jjk6...
Indexed At
2026-09-29 05:17 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
        "alignment": {
7 7
          "description": "Alignment of a single block's content. A linear document's blocks carry their own.",
8 8
          "knownValues": [
9 9
            "lex:pub.leaflet.pages.linearDocument#textAlignLeft",
10 10
            "lex:pub.leaflet.pages.linearDocument#textAlignCenter",
11 11
            "lex:pub.leaflet.pages.linearDocument#textAlignRight",
12 12
            "lex:pub.leaflet.pages.linearDocument#textAlignJustify"
13 13
          ],
14 14
          "type": "string"
15 15
        },
16 16
        "block": {
17 17
          "description": "A single block, or a linear document: blocks grouped in reading order that are positioned, sized and rotated on the canvas as one.",
18 18
          "refs": [
19 19
            "pub.leaflet.blocks.iframe",
20 20
            "pub.leaflet.blocks.html",
21 21
            "pub.leaflet.blocks.text",
22 22
            "pub.leaflet.blocks.blockquote",
23 23
            "pub.leaflet.blocks.header",
24 24
            "pub.leaflet.blocks.image",
25 25
            "pub.leaflet.blocks.imageGallery",
26 26
            "pub.leaflet.blocks.unorderedList",
27 27
            "pub.leaflet.blocks.orderedList",
28 28
            "pub.leaflet.blocks.website",
29 29
            "pub.leaflet.blocks.math",
30 30
            "pub.leaflet.blocks.code",
31 31
            "pub.leaflet.blocks.horizontalRule",
32 32
            "pub.leaflet.blocks.bskyPost",
33 33
            "pub.leaflet.blocks.standardSitePost",
34 34
            "pub.leaflet.blocks.standardSitePublication",
35 35
            "pub.leaflet.blocks.page",
36 36
            "pub.leaflet.blocks.embeddedCanvas",
37 37
            "pub.leaflet.blocks.poll",
38 38
            "pub.leaflet.blocks.button",
39 39
            "pub.leaflet.blocks.postsList",
40 40
            "pub.leaflet.blocks.signup",
41 41
            "pub.leaflet.blocks.recommendedPubs",
42 42
            "pub.leaflet.blocks.membersOnlyDelimiter",
43 43
            "pub.leaflet.blocks.postHeader",
44 44
            "pub.leaflet.blocks.drawing",
45 45
            "pub.leaflet.pages.linearDocument"
46 46
          ],
47 47
          "type": "union"
48 48
        },
49 49
        "height": {
50 50
          "type": "integer"
51 51
        },
52 52
        "rotation": {
53 53
          "description": "The rotation of the block in degrees",
54 54
          "type": "integer"
55 55
        },
56 56
        "stackOrder": {
57 57
          "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.",
58 58
          "type": "string"
59 59
        },
60 60
        "width": {
61 61
          "type": "integer"
62 62
        },
63 63
        "x": {
64 64
          "type": "integer"
65 65
        },
66 66
        "y": {
67 67
          "type": "integer"
68 68
        }
69 69
      },
70 70
      "required": [
71 71
        "block",
72 72
        "x",
73 73
        "y",
74 74
        "width"
75 75
      ],
76 76
      "type": "object"
77 77
    },
78 78
    "main": {
79 79
      "properties": {
80 80
        "blocks": {
81 81
          "items": {
82 82
            "ref": "#block",
83 83
            "type": "ref"
84 84
          },
85 85
          "type": "array"
86 86
        },
87 87
        "height": {
88 88
          "description": "Fixed canvas height in canvas px; see width.",
89 89
          "type": "integer"
90 90
        },
91 91
        "id": {
92 92
          "type": "string"
93 93
        },
94 94
        "lockViewerZoom": {
95 95
          "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.",
96 96
          "type": "boolean"
97 97
        },
98 98
        "mobileView": {
99 99
          "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.",
100 100
          "knownValues": [
101 101
            "unconstrained",
102 102
            "left",
103 103
            "center"
104 104
          ],
105 105
          "type": "string"
106 106
        },
107 107
        "width": {
108 -
          "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.",
108 +
          "description": "Fixed canvas width in canvas px. With height, bounds the canvas: blocks are clipped to the area. Absent, the canvas grows with its content and is 1272px wide, or as wide as the inside of the publication's page (its theme's pageWidth) when it is one of a publication's pages.",
109 109
          "type": "integer"
110 110
        }
111 111
      },
112 112
      "required": [
113 113
        "blocks"
114 114
      ],
115 115
      "type": "object"
116 116
    },
117 117
    "position": {
118 118
      "properties": {
119 119
        "block": {
120 120
          "items": {
121 121
            "type": "integer"
122 122
          },
123 123
          "type": "array"
124 124
        },
125 125
        "offset": {
126 126
          "type": "integer"
127 127
        }
128 128
      },
129 129
      "required": [
130 130
        "block",
131 131
        "offset"
132 132
      ],
133 133
      "type": "object"
134 134
    },
135 135
    "quote": {
136 136
      "properties": {
137 137
        "end": {
138 138
          "ref": "#position",
139 139
          "type": "ref"
140 140
        },
141 141
        "start": {
142 142
          "ref": "#position",
143 143
          "type": "ref"
144 144
        }
145 145
      },
146 146
      "required": [
147 147
        "start",
148 148
        "end"
149 149
      ],
150 150
      "type": "object"
151 151
    },
152 152
    "textAlignCenter": {
153 153
      "type": "token"
154 154
    },
155 155
    "textAlignLeft": {
156 156
      "type": "token"
157 157
    },
158 158
    "textAlignRight": {
159 159
      "type": "token"
160 160
    }
161 161
  },
162 162
  "id": "pub.leaflet.pages.canvas",
163 163
  "lexicon": 1
164 164
}

Compare Other Versions

Lexicon Garden

@