full diff

net.anisota.chronicle.log.yearly

anisota.net +36 −0
From
bafyreibtkm5jlsz4r7vkbripm4btzye6xxhw46hx2iuhjyvg3rznynk7am indexed 2026-06-22 18:49 UTC View this version
To
bafyreiaaffkzmgsrf24t7jfuniolizkpqyonskwpzb3qj4g4zvc3ieqe74 indexed 2026-07-23 23:28 UTC View this version

Compatibility

backward compatible Backward compatible. 14 non-breaking changes.

Non-breaking changes (14)
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.likes" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.posts" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.quotes" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.replies" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.reposts" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly:body.inApp" }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.likes", kind: "prop", name: Some("likes") }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.posts", kind: "prop", name: Some("posts") }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.quotes", kind: "prop", name: Some("quotes") }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.replies", kind: "prop", name: Some("replies") }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.reposts", kind: "prop", name: Some("reposts") }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly:body", tgt: "net.anisota.chronicle.log.yearly:body.inApp", kind: "prop", name: Some("inApp") }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.log.yearly:body.inApp", tgt: "net.anisota.chronicle.log.yearly#inAppCounts", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts" }
  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.likes" }
  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.posts" }
  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.quotes" }
  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.replies" }
  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly#inAppCounts.reposts" }
  • AddedVertex { vertex_id: "net.anisota.chronicle.log.yearly:body.inApp" }

Notes

  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.likes", kind: "prop", name: Some("likes") }
  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.posts", kind: "prop", name: Some("posts") }
  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.quotes", kind: "prop", name: Some("quotes") }
  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.replies", kind: "prop", name: Some("replies") }
  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly#inAppCounts", tgt: "net.anisota.chronicle.log.yearly#inAppCounts.reposts", kind: "prop", name: Some("reposts") }
  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly:body", tgt: "net.anisota.chronicle.log.yearly:body.inApp", kind: "prop", name: Some("inApp") }
  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.log.yearly:body.inApp", tgt: "net.anisota.chronicle.log.yearly#inAppCounts", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "chronicleSignature": {
55 "description": "ES256 cryptographic signature proving record authenticity",
66 "properties": {
77 "alg": {
88 "description": "Signing algorithm (ES256)",
99 "type": "string"
1010 },
1111 "kid": {
1212 "description": "Key identifier for the signing key",
1313 "type": "string"
1414 },
1515 "nonce": {
1616 "description": "Unique random nonce to prevent replay",
1717 "type": "string"
1818 },
1919 "sig": {
2020 "description": "Base64-encoded ES256 signature",
2121 "type": "string"
2222 },
2323 "signedAt": {
2424 "description": "When the record was signed",
2525 "format": "datetime",
2626 "type": "string"
2727 },
2828 "version": {
2929 "description": "Signature schema version",
3030 "type": "integer"
3131 }
3232 },
3333 "required": [
3434 "sig",
3535 "alg",
3636 "kid",
3737 "signedAt",
3838 "nonce",
3939 "version"
4040 ],
4141 "type": "object"
4242 },
43 "inAppCounts": {
44 "description": "Per-category counts of activity performed inside anisota, summed across the period and across devices.",
45 "properties": {
46 "likes": {
47 "description": "Likes created in anisota",
48 "minimum": 0,
49 "type": "integer"
50 },
51 "posts": {
52 "description": "Top-level posts created in anisota",
53 "minimum": 0,
54 "type": "integer"
55 },
56 "quotes": {
57 "description": "Quote posts created in anisota",
58 "minimum": 0,
59 "type": "integer"
60 },
61 "replies": {
62 "description": "Replies created in anisota",
63 "minimum": 0,
64 "type": "integer"
65 },
66 "reposts": {
67 "description": "Reposts created in anisota",
68 "minimum": 0,
69 "type": "integer"
70 }
71 },
72 "type": "object"
73 },
4374 "main": {
4475 "description": "Yearly aggregation of monthly records. rkey is YYYY. Updated once per month, finalized when year ends.",
4576 "key": "any",
4677 "record": {
4778 "properties": {
4879 "aggregates": {
4980 "ref": "#yearlyAggregates",
5081 "type": "ref"
5182 },
5283 "createdAt": {
5384 "description": "When the yearly record was first created",
5485 "format": "datetime",
5586 "type": "string"
5687 },
5788 "finalizedAt": {
5889 "description": "When the yearly record was finalized (end of year)",
5990 "format": "datetime",
6091 "type": "string"
6192 },
93 "inApp": {
94 "description": "Rolled-up in-anisota activity for the year (summed daily inApp across devices, per field). Optional and additive; the read side may instead compute this from the year's daily logs.",
95 "ref": "#inAppCounts",
96 "type": "ref"
97 },
6298 "lowerLogRefs": {
6399 "description": "AT URIs of monthly log records included in this year",
64100 "items": {
65101 "type": "string"
66102 },
67103 "type": "array"
68104 },
69105 "patterns": {
70106 "ref": "#yearlyPatterns",
71107 "type": "ref"
72108 },
73109 "signature": {
74110 "ref": "#chronicleSignature",
75111 "type": "ref"
76112 },
77113 "status": {
78114 "description": "Whether this year is still being updated or has been finalized",
79115 "enum": [
80116 "active",
81117 "finalized"
82118 ],
83119 "type": "string"
84120 },
85121 "year": {
86122 "description": "Year string in YYYY format (e.g. 2026)",
87123 "type": "string"
88124 }
89125 },
90126 "required": [
91127 "year",
92128 "aggregates",
93129 "status",
94130 "signature",
95131 "createdAt"
96132 ],
97133 "type": "object"
98134 },
99135 "type": "record"
100136 },
101137 "yearlyAggregates": {
102138 "description": "Rolled-up counts from monthly records",
103139 "properties": {
104140 "daysActive": {
105141 "description": "Total days with activity this year",
106142 "minimum": 0,
107143 "type": "integer"
108144 },
109145 "levelsGained": {
110146 "description": "Levels gained this year",
111147 "minimum": 0,
112148 "type": "integer"
113149 },
114150 "likesReceived": {
115151 "description": "Total likes received this year",
116152 "minimum": 0,
117153 "type": "integer"
118154 },
119155 "monthsActive": {
120156 "description": "Number of months with activity this year",
121157 "minimum": 0,
122158 "type": "integer"
123159 },
124160 "postsCreated": {
125161 "description": "Total posts created this year",
126162 "minimum": 0,
127163 "type": "integer"
128164 },
129165 "postsRead": {
130166 "description": "Total posts read this year",
131167 "minimum": 0,
132168 "type": "integer"
133169 },
134170 "repliesReceived": {
135171 "description": "Total replies received this year",
136172 "minimum": 0,
137173 "type": "integer"
138174 },
139175 "specimensPhotographed": {
140176 "description": "New specimens photographed this year",
141177 "minimum": 0,
142178 "type": "integer"
143179 },
144180 "totalXPGained": {
145181 "description": "Total XP gained this year",
146182 "minimum": 0,
147183 "type": "integer"
148184 }
149185 },
150186 "type": "object"
151187 },
152188 "yearlyPatterns": {
153189 "description": "Activity pattern aggregation for the year based on half-hour blocks",
154190 "properties": {
155191 "avgBlocksPerDay": {
156192 "description": "Average active blocks per day (totalActiveBlocks / daysActive, rounded)",
157193 "minimum": 0,
158194 "type": "integer"
159195 },
160196 "peakBlocks": {
161197 "description": "Highest activeBlockCount for any single day in the year",
162198 "maximum": 48,
163199 "minimum": 0,
164200 "type": "integer"
165201 },
166202 "totalActiveBlocks": {
167203 "description": "Sum of activeBlockCount across all days in the year",
168204 "minimum": 0,
169205 "type": "integer"
170206 }
171207 },
172208 "type": "object"
173209 }
174210 },
175211 "id": "net.anisota.chronicle.log.yearly",
176212 "lexicon": 1
177213}

Compare other versions