full diff

net.anisota.chronicle.log.daily

anisota.net +13 −6
From
bafyreigfc6clsy4mlmmjnpouxmbdnklsbu4cygs6yy2ndzpynz2af3wm3m indexed 2026-08-21 20:03 UTC View this version
To
bafyreib5qkvegjo5ji3de4arwbk3jgjsxsaxrikbxfd5ealzb3b3s4hgni indexed 2026-11-21 20:07 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.daily#playerSnapshot.season" }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.daily#playerSnapshot", tgt: "net.anisota.chronicle.log.daily#playerSnapshot.season", kind: "prop", name: Some("season") }

Migration guidance

Added

  • AddedVertex { vertex_id: "net.anisota.chronicle.log.daily#playerSnapshot.season" }

Notes

  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.daily#playerSnapshot", tgt: "net.anisota.chronicle.log.daily#playerSnapshot.season", kind: "prop", name: Some("season") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "activityCounts": {
55 "description": "Aggregate activity counts for the day (no timestamps or URIs)",
66 "properties": {
77 "likesSent": {
88 "description": "Likes sent today",
99 "minimum": 0,
1010 "type": "integer"
1111 },
1212 "postsCreated": {
1313 "description": "Posts created today",
1414 "minimum": 0,
1515 "type": "integer"
1616 },
1717 "postsRead": {
1818 "description": "Posts read today",
1919 "minimum": 0,
2020 "type": "integer"
2121 },
2222 "repliesSent": {
2323 "description": "Replies sent today",
2424 "minimum": 0,
2525 "type": "integer"
2626 },
2727 "repostsSent": {
2828 "description": "Reposts sent today",
2929 "minimum": 0,
3030 "type": "integer"
3131 }
3232 },
3333 "type": "object"
3434 },
3535 "chronicleSignature": {
3636 "description": "ES256 cryptographic signature proving record authenticity",
3737 "properties": {
3838 "alg": {
3939 "description": "Signing algorithm (ES256)",
4040 "type": "string"
4141 },
4242 "kid": {
4343 "description": "Key identifier for the signing key",
4444 "type": "string"
4545 },
4646 "nonce": {
4747 "description": "Unique random nonce to prevent replay",
4848 "type": "string"
4949 },
5050 "sig": {
5151 "description": "Base64-encoded ES256 signature",
5252 "type": "string"
5353 },
5454 "signedAt": {
5555 "description": "When the record was signed",
5656 "format": "datetime",
5757 "type": "string"
5858 },
5959 "version": {
6060 "description": "Signature schema version",
6161 "type": "integer"
6262 }
6363 },
6464 "required": [
6565 "sig",
6666 "alg",
6767 "kid",
6868 "signedAt",
6969 "nonce",
7070 "version"
7171 ],
7272 "type": "object"
7373 },
7474 "engagementCounts": {
7575 "description": "Engagement received on user's posts (aggregate counts only)",
7676 "properties": {
7777 "likesReceived": {
7878 "description": "Likes received on posts today",
7979 "minimum": 0,
8080 "type": "integer"
8181 },
8282 "quotesReceived": {
8383 "description": "Quotes received today",
8484 "minimum": 0,
8585 "type": "integer"
8686 },
8787 "repliesReceived": {
8888 "description": "Replies received on posts today",
8989 "minimum": 0,
9090 "type": "integer"
9191 },
9292 "repostsReceived": {
9393 "description": "Reposts received today",
9494 "minimum": 0,
9595 "type": "integer"
9696 }
9797 },
9898 "type": "object"
9999 },
100100 "expeditionSummary": {
101 "description": "Summary of expeditions for the day (details in chronicle.expedition)",
101 "description": "Retired with walks: from the 2027 season the daily has no expeditions block. Summary of expeditions for the day (details in chronicle.expedition)",
102102 "properties": {
103103 "count": {
104104 "description": "Number of expeditions completed today",
105105 "minimum": 0,
106106 "type": "integer"
107107 },
108108 "currentCampNumber": {
109109 "description": "Current camp number within the active expedition (0 = exploring, not camped; unset if no active expedition)",
110110 "minimum": 0,
111111 "type": "integer"
112112 },
113113 "currentExpeditionNumber": {
114114 "description": "Number of the currently active expedition (unset if no active expedition)",
115115 "minimum": 1,
116116 "type": "integer"
117117 },
118118 "totalDuration": {
119119 "description": "Total expedition duration in milliseconds",
120120 "minimum": 0,
121121 "type": "integer"
122122 }
123123 },
124124 "type": "object"
125125 },
126126 "inAppCounts": {
127127 "description": "Per-category counts of activity performed inside anisota (never inferred; recorded at write time).",
128128 "properties": {
129129 "likes": {
130130 "description": "Likes created in anisota",
131131 "minimum": 0,
132132 "type": "integer"
133133 },
134134 "posts": {
135135 "description": "Top-level posts created in anisota",
136136 "minimum": 0,
137137 "type": "integer"
138138 },
139139 "quotes": {
140140 "description": "Quote posts created in anisota",
141141 "minimum": 0,
142142 "type": "integer"
143143 },
144144 "replies": {
145145 "description": "Replies created in anisota",
146146 "minimum": 0,
147147 "type": "integer"
148148 },
149149 "reposts": {
150150 "description": "Reposts created in anisota",
151151 "minimum": 0,
152152 "type": "integer"
153153 }
154154 },
155155 "type": "object"
156156 },
157157 "inAppDeviceBucket": {
158158 "description": "One device's in-anisota activity counts for the day. Keyed by a stable per-install-per-account device id, so concurrent putRecords from different devices never clobber each other. The reserved deviceId 'scheduled' holds scheduled posts published server-side by the cocoon cron worker on their publish day.",
159159 "properties": {
160160 "counts": {
161161 "ref": "#inAppCounts",
162162 "type": "ref"
163163 },
164164 "deviceId": {
165165 "description": "Stable per-install-per-account device id (random; no fingerprinting). Reserved value 'scheduled' for cocoon-published scheduled posts.",
166166 "type": "string"
167167 }
168168 },
169169 "required": [
170170 "deviceId",
171171 "counts"
172172 ],
173173 "type": "object"
174174 },
175175 "main": {
176176 "description": "Daily activity snapshot. Updated throughout the day via putRecord. rkey is YYYY-MM-DD in user's local timezone.",
177177 "key": "any",
178178 "record": {
179179 "properties": {
180180 "activity": {
181181 "ref": "#activityCounts",
182182 "type": "ref"
183183 },
184184 "createdAt": {
185185 "description": "When the daily record was first created",
186186 "format": "datetime",
187187 "type": "string"
188188 },
189189 "date": {
190190 "description": "Date string in YYYY-MM-DD format (user's local timezone)",
191191 "type": "string"
192192 },
193193 "engagement": {
194194 "ref": "#engagementCounts",
195195 "type": "ref"
196196 },
197197 "expeditionRefs": {
198 "description": "AT URIs of expedition records that occurred on this day",
198 "description": "Retired with walks: from the 2027 season the app leaves it out of the daily. AT URIs of expedition records that occurred on this day",
199199 "items": {
200200 "type": "string"
201201 },
202202 "type": "array"
203203 },
204204 "expeditions": {
205 "description": "Retired with walks: from the 2027 season the app leaves it out of the daily. The day's expedition summary",
205206 "ref": "#expeditionSummary",
206207 "type": "ref"
207208 },
208209 "inApp": {
209210 "description": "First-party ledger of activity performed INSIDE anisota this day, one bucket per device. Optional and additive. The cross-device in-app total per field is the SUM over buckets. Used to compute an honest 'outside' floor (max(0, total - inApp)); a device only ever writes its own bucket.",
210211 "items": {
211212 "ref": "#inAppDeviceBucket",
212213 "type": "ref"
213214 },
214215 "type": "array"
215216 },
216217 "patterns": {
217218 "ref": "#patternsData",
218219 "type": "ref"
219220 },
220221 "player": {
221222 "ref": "#playerSnapshot",
222223 "type": "ref"
223224 },
224225 "signature": {
225226 "ref": "#chronicleSignature",
226227 "type": "ref"
227228 },
228229 "updatedAt": {
229230 "description": "When the daily record was last updated",
230231 "format": "datetime",
231232 "type": "string"
232233 },
233234 "upperLogRefs": {
234235 "description": "AT URIs of containing logs (weekly, monthly, yearly) this day belongs to",
235236 "items": {
236237 "type": "string"
237238 },
238239 "type": "array"
239240 },
240241 "walks": {
242 "description": "Retired with walks: from the 2027 season the app leaves it out of the daily. The day's walk summary",
241243 "ref": "#walkSummary",
242244 "type": "ref"
243245 }
244246 },
245247 "required": [
246248 "date",
247249 "player",
248250 "activity",
249251 "signature",
250252 "createdAt"
251253 ],
252254 "type": "object"
253255 },
254256 "type": "record"
255257 },
256258 "patternsData": {
257259 "description": "Activity pattern data for the day based on half-hour blocks",
258260 "properties": {
259261 "activeBlockCount": {
260262 "description": "Number of half-hour blocks with activity today",
261263 "maximum": 48,
262264 "minimum": 0,
263265 "type": "integer"
264266 },
265267 "activeBlocks": {
266268 "description": "Half-hour slots with activity, as HH:MM strings (e.g. '09:00', '09:30'). Max 48 per day.",
267269 "items": {
268270 "type": "string"
269271 },
270272 "maxLength": 48,
271273 "type": "array"
272274 },
273275 "longestPatienceHours": {
274276 "description": "Longest gap in whole hours between notification checks on this day. Monotonic: only ever raised, never lowered. Capped at 48, matching the notification-patience curve's ceiling.",
275277 "maximum": 48,
276278 "minimum": 0,
277279 "type": "integer"
278280 },
279281 "offlineXPAwarded": {
280282 "description": "XP awarded for offline time",
281283 "minimum": 0,
282284 "type": "integer"
283285 }
284286 },
285287 "type": "object"
286288 },
287289 "playerSnapshot": {
288290 "description": "Player state snapshot for this day",
289291 "properties": {
290292 "itemsAcquiredToday": {
291 "description": "Number of items acquired today",
293 "description": "Retired with items: from the 2027 season the app leaves it out of the daily. Number of items acquired today",
292294 "minimum": 0,
293295 "type": "integer"
294296 },
295297 "itemsConsumedToday": {
296 "description": "Number of items consumed/used today",
298 "description": "Retired with items: from the 2027 season the app leaves it out of the daily. Number of items consumed/used today",
297299 "minimum": 0,
298300 "type": "integer"
299301 },
300302 "itemsTotal": {
301 "description": "Total items in inventory",
303 "description": "Retired with items: from the 2027 season the app leaves it out of the daily. Total items in inventory",
302304 "minimum": 0,
303305 "type": "integer"
304306 },
305307 "level": {
306308 "description": "Player level at end of day",
307309 "minimum": 1,
308310 "type": "integer"
309311 },
312 "season": {
313 "description": "The game season this record counts toward, e.g. 2027. Absent: before the 2027 season. level, totalXP and xpGainedToday are that season's figures; a player block without it is from before the 2027 season or from an older client.",
314 "maxLength": 8,
315 "type": "string"
316 },
310317 "specimensDocumented": {
311318 "description": "Total specimens in collection",
312319 "minimum": 0,
313320 "type": "integer"
314321 },
315322 "totalXP": {
316323 "description": "Total accumulated XP",
317324 "minimum": 0,
318325 "type": "integer"
319326 },
320327 "xpGainedToday": {
321328 "description": "XP gained during this day",
322329 "minimum": 0,
323330 "type": "integer"
324331 }
325332 },
326333 "required": [
327334 "level",
328335 "totalXP"
329336 ],
330337 "type": "object"
331338 },
332339 "walkSummary": {
333 "description": "Summary of walks for the day (details in chronicle.walk). Parallel to expeditionSummary; both are merged additively.",
340 "description": "Retired with walks: from the 2027 season the daily has no walks block. Summary of walks for the day (details in chronicle.walk). Parallel to expeditionSummary; both are merged additively.",
334341 "properties": {
335342 "count": {
336343 "description": "Number of walks completed today (additive)",
337344 "minimum": 0,
338345 "type": "integer"
339346 },
340347 "totalDuration": {
341348 "description": "Total walk duration in minutes (additive)",
342349 "minimum": 0,
343350 "type": "integer"
344351 },
345352 "walkRefs": {
346353 "description": "AT URIs of walk records that occurred on this day",
347354 "items": {
348355 "type": "string"
349356 },
350357 "type": "array"
351358 }
352359 },
353360 "type": "object"
354361 }
355362 },
356363 "id": "net.anisota.chronicle.log.daily",
357364 "lexicon": 1
358365}

Compare other versions