pub.leaflet.publication

leaflet.pub

Schema Diff

+8 -0

From

CID
bafyreicvzk6v46o...
Indexed At
2026-06-17 21:28 UTC
View this version

To

CID
bafyreidonnw6cik...
Indexed At
2026-08-05 19:14 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#preferences.prevNextDirection" }
  • AddedEdge AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.prevNextDirection", kind: "prop", name: Some("prevNextDirection") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "pub.leaflet.publication#preferences.prevNextDirection" }

Additional Notes

  • Non-breaking: AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.prevNextDirection", kind: "prop", name: Some("prevNextDirection") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Record declaring a publication",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 9
          "base_path": {
10 10
            "type": "string"
11 11
          },
12 12
          "description": {
13 13
            "maxLength": 2000,
14 14
            "type": "string"
15 15
          },
16 16
          "icon": {
17 17
            "accept": [
18 18
              "image/*"
19 19
            ],
20 20
            "maxSize": 1000000,
21 21
            "type": "blob"
22 22
          },
23 23
          "name": {
24 24
            "maxLength": 2000,
25 25
            "type": "string"
26 26
          },
27 27
          "preferences": {
28 28
            "ref": "#preferences",
29 29
            "type": "ref"
30 30
          },
31 31
          "theme": {
32 32
            "ref": "#theme",
33 33
            "type": "ref"
34 34
          }
35 35
        },
36 36
        "required": [
37 37
          "name"
38 38
        ],
39 39
        "type": "object"
40 40
      },
41 41
      "type": "record"
42 42
    },
43 43
    "preferences": {
44 44
      "properties": {
45 +
        "prevNextDirection": {
46 +
          "default": "rtl",
47 +
          "knownValues": [
48 +
            "ltr",
49 +
            "rtl"
50 +
          ],
51 +
          "type": "string"
52 +
        },
45 53
        "showComments": {
46 54
          "default": true,
47 55
          "type": "boolean"
48 56
        },
49 57
        "showFirstLast": {
50 58
          "default": false,
51 59
          "type": "boolean"
52 60
        },
53 61
        "showInDiscover": {
54 62
          "default": true,
55 63
          "type": "boolean"
56 64
        },
57 65
        "showMentions": {
58 66
          "default": true,
59 67
          "type": "boolean"
60 68
        },
61 69
        "showPrevNext": {
62 70
          "default": true,
63 71
          "type": "boolean"
64 72
        },
65 73
        "showRecommends": {
66 74
          "default": true,
67 75
          "type": "boolean"
68 76
        }
69 77
      },
70 78
      "type": "object"
71 79
    },
72 80
    "theme": {
73 81
      "properties": {
74 82
        "accentBackground": {
75 83
          "refs": [
76 84
            "pub.leaflet.theme.color#rgba",
77 85
            "pub.leaflet.theme.color#rgb"
78 86
          ],
79 87
          "type": "union"
80 88
        },
81 89
        "accentText": {
82 90
          "refs": [
83 91
            "pub.leaflet.theme.color#rgba",
84 92
            "pub.leaflet.theme.color#rgb"
85 93
          ],
86 94
          "type": "union"
87 95
        },
88 96
        "backgroundColor": {
89 97
          "refs": [
90 98
            "pub.leaflet.theme.color#rgba",
91 99
            "pub.leaflet.theme.color#rgb"
92 100
          ],
93 101
          "type": "union"
94 102
        },
95 103
        "backgroundImage": {
96 104
          "ref": "pub.leaflet.theme.backgroundImage",
97 105
          "type": "ref"
98 106
        },
99 107
        "bodyFont": {
100 108
          "maxLength": 100,
101 109
          "type": "string"
102 110
        },
103 111
        "headingFont": {
104 112
          "maxLength": 100,
105 113
          "type": "string"
106 114
        },
107 115
        "pageBackground": {
108 116
          "refs": [
109 117
            "pub.leaflet.theme.color#rgba",
110 118
            "pub.leaflet.theme.color#rgb"
111 119
          ],
112 120
          "type": "union"
113 121
        },
114 122
        "pageWidth": {
115 123
          "maximum": 1600,
116 124
          "minimum": 0,
117 125
          "type": "integer"
118 126
        },
119 127
        "primary": {
120 128
          "refs": [
121 129
            "pub.leaflet.theme.color#rgba",
122 130
            "pub.leaflet.theme.color#rgb"
123 131
          ],
124 132
          "type": "union"
125 133
        },
126 134
        "showPageBackground": {
127 135
          "default": false,
128 136
          "type": "boolean"
129 137
        },
130 138
        "wordmark": {
131 139
          "ref": "pub.leaflet.theme.wordmark",
132 140
          "type": "ref"
133 141
        }
134 142
      },
135 143
      "type": "object"
136 144
    }
137 145
  },
138 146
  "id": "pub.leaflet.publication",
139 147
  "lexicon": 1
140 148
}

Compare Other Versions

Lexicon Garden

@