pub.leaflet.publication

leaflet.pub

Schema Diff

+0 -9

From

CID
bafyreibyek3ltdh...
Indexed At
2026-08-05 01:27 UTC
View this version

To

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

Compatibility Analysis

Breaking Changes Detected

4 breaking changes, 0 non-breaking changes.

Breaking Changes (4)
  • RemovedVertex RemovedVertex { vertex_id: "pub.leaflet.publication:body.recommendations" }
  • RemovedVertex RemovedVertex { vertex_id: "pub.leaflet.publication:body.recommendations:items" }
  • RemovedEdge RemovedEdge { src: "pub.leaflet.publication:body", tgt: "pub.leaflet.publication:body.recommendations", kind: "prop", name: Some("recommendations") }
  • RemovedEdge RemovedEdge { src: "pub.leaflet.publication:body.recommendations", tgt: "pub.leaflet.publication:body.recommendations:items", kind: "items", name: None }

Migration Guidance

Removed Elements

  • RemovedVertex { vertex_id: "pub.leaflet.publication:body.recommendations" }
  • RemovedVertex { vertex_id: "pub.leaflet.publication:body.recommendations:items" }

Additional Notes

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

Compare Other Versions

Lexicon Garden

@