pub.leaflet.publication

leaflet.pub

Schema Diff

+4 -9

From

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

To

CID
bafyreib54wec7fd...
Indexed At
2026-09-15 20:43 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

4 breaking changes, 2 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 }
Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#preferences.showOtherPublicationsInTags" }
  • AddedEdge AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.showOtherPublicationsInTags", kind: "prop", name: Some("showOtherPublicationsInTags") }

Migration Guidance

Removed Elements

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

Added Elements

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

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 }
  • Non-breaking: AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.showOtherPublicationsInTags", kind: "prop", name: Some("showOtherPublicationsInTags") }
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 -
          "recommendations": {
32 -
            "description": "Publications this publication recommends",
33 -
            "items": {
34 -
              "format": "at-uri",
35 -
              "type": "string"
36 -
            },
37 -
            "maxLength": 3,
38 -
            "type": "array"
39 -
          },
40 31
          "theme": {
41 32
            "ref": "#theme",
42 33
            "type": "ref"
43 34
          }
44 35
        },
45 36
        "required": [
46 37
          "name"
47 38
        ],
48 39
        "type": "object"
49 40
      },
50 41
      "type": "record"
51 42
    },
52 43
    "preferences": {
53 44
      "properties": {
54 45
        "prevNextDirection": {
55 46
          "default": "rtl",
56 47
          "knownValues": [
57 48
            "ltr",
58 49
            "rtl"
59 50
          ],
60 51
          "type": "string"
61 52
        },
62 53
        "showComments": {
63 54
          "default": true,
64 55
          "type": "boolean"
65 56
        },
66 57
        "showFirstLast": {
67 58
          "default": false,
68 59
          "type": "boolean"
69 60
        },
70 61
        "showInDiscover": {
71 62
          "default": true,
72 63
          "type": "boolean"
73 64
        },
74 65
        "showMentions": {
75 66
          "default": true,
76 67
          "type": "boolean"
77 68
        },
69 +
        "showOtherPublicationsInTags": {
70 +
          "default": true,
71 +
          "type": "boolean"
72 +
        },
78 73
        "showPrevNext": {
79 74
          "default": true,
80 75
          "type": "boolean"
81 76
        },
82 77
        "showRecommends": {
83 78
          "default": true,
84 79
          "type": "boolean"
85 80
        }
86 81
      },
87 82
      "type": "object"
88 83
    },
89 84
    "theme": {
90 85
      "properties": {
91 86
        "accentBackground": {
92 87
          "refs": [
93 88
            "pub.leaflet.theme.color#rgba",
94 89
            "pub.leaflet.theme.color#rgb"
95 90
          ],
96 91
          "type": "union"
97 92
        },
98 93
        "accentText": {
99 94
          "refs": [
100 95
            "pub.leaflet.theme.color#rgba",
101 96
            "pub.leaflet.theme.color#rgb"
102 97
          ],
103 98
          "type": "union"
104 99
        },
105 100
        "backgroundColor": {
106 101
          "refs": [
107 102
            "pub.leaflet.theme.color#rgba",
108 103
            "pub.leaflet.theme.color#rgb"
109 104
          ],
110 105
          "type": "union"
111 106
        },
112 107
        "backgroundImage": {
113 108
          "ref": "pub.leaflet.theme.backgroundImage",
114 109
          "type": "ref"
115 110
        },
116 111
        "bodyFont": {
117 112
          "maxLength": 100,
118 113
          "type": "string"
119 114
        },
120 115
        "headingFont": {
121 116
          "maxLength": 100,
122 117
          "type": "string"
123 118
        },
124 119
        "pageBackground": {
125 120
          "refs": [
126 121
            "pub.leaflet.theme.color#rgba",
127 122
            "pub.leaflet.theme.color#rgb"
128 123
          ],
129 124
          "type": "union"
130 125
        },
131 126
        "pageWidth": {
132 127
          "maximum": 1600,
133 128
          "minimum": 0,
134 129
          "type": "integer"
135 130
        },
136 131
        "primary": {
137 132
          "refs": [
138 133
            "pub.leaflet.theme.color#rgba",
139 134
            "pub.leaflet.theme.color#rgb"
140 135
          ],
141 136
          "type": "union"
142 137
        },
143 138
        "showPageBackground": {
144 139
          "default": false,
145 140
          "type": "boolean"
146 141
        },
147 142
        "wordmark": {
148 143
          "ref": "pub.leaflet.theme.wordmark",
149 144
          "type": "ref"
150 145
        }
151 146
      },
152 147
      "type": "object"
153 148
    }
154 149
  },
155 150
  "id": "pub.leaflet.publication",
156 151
  "lexicon": 1
157 152
}

Compare Other Versions

Lexicon Garden

@