full diff

net.anisota.chronicle.log.monthly

anisota.net +1 −1
From
bafyreibpyync5gizyn4y22jgtkjgdhrzya6z42u5mkfrqzuqymbdbe5fjm indexed 2026-07-23 23:28 UTC View this version
To
bafyreie6ogb2pwj76qo2wyo54x7gkjky4dplfvg4fwmpvfy6v3ugvyx4te indexed 2026-11-21 20:07 UTC View this version

Compatibility

backward compatible No changes detected.

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 },
4343 "inAppCounts": {
4444 "description": "Per-category counts of activity performed inside anisota, summed across the period and across devices.",
4545 "properties": {
4646 "likes": {
4747 "description": "Likes created in anisota",
4848 "minimum": 0,
4949 "type": "integer"
5050 },
5151 "posts": {
5252 "description": "Top-level posts created in anisota",
5353 "minimum": 0,
5454 "type": "integer"
5555 },
5656 "quotes": {
5757 "description": "Quote posts created in anisota",
5858 "minimum": 0,
5959 "type": "integer"
6060 },
6161 "replies": {
6262 "description": "Replies created in anisota",
6363 "minimum": 0,
6464 "type": "integer"
6565 },
6666 "reposts": {
6767 "description": "Reposts created in anisota",
6868 "minimum": 0,
6969 "type": "integer"
7070 }
7171 },
7272 "type": "object"
7373 },
7474 "main": {
7575 "description": "Monthly aggregation of weekly records. rkey is YYYY-MM. Updated once per week, finalized when month ends.",
7676 "key": "any",
7777 "record": {
7878 "properties": {
7979 "aggregates": {
8080 "ref": "#monthlyAggregates",
8181 "type": "ref"
8282 },
8383 "createdAt": {
8484 "description": "When the monthly record was first created",
8585 "format": "datetime",
8686 "type": "string"
8787 },
8888 "expeditionRefs": {
89 "description": "AT URIs of expedition records that occurred during this month",
89 "description": "Retired with walks: from the 2027 season the app leaves it out of the rollup. AT URIs of expedition records that occurred during this month",
9090 "items": {
9191 "type": "string"
9292 },
9393 "type": "array"
9494 },
9595 "finalizedAt": {
9696 "description": "When the monthly record was finalized (end of month)",
9797 "format": "datetime",
9898 "type": "string"
9999 },
100100 "inApp": {
101101 "description": "Rolled-up in-anisota activity for the month (summed daily inApp across devices, per field). Optional and additive; the read side may instead compute this from the month's daily logs.",
102102 "ref": "#inAppCounts",
103103 "type": "ref"
104104 },
105105 "lowerLogRefs": {
106106 "description": "AT URIs of weekly log records included in this month",
107107 "items": {
108108 "type": "string"
109109 },
110110 "type": "array"
111111 },
112112 "month": {
113113 "description": "Month string in YYYY-MM format (e.g. 2026-02)",
114114 "type": "string"
115115 },
116116 "patterns": {
117117 "ref": "#monthlyPatterns",
118118 "type": "ref"
119119 },
120120 "signature": {
121121 "ref": "#chronicleSignature",
122122 "type": "ref"
123123 },
124124 "status": {
125125 "description": "Whether this month is still being updated or has been finalized",
126126 "enum": [
127127 "active",
128128 "finalized"
129129 ],
130130 "type": "string"
131131 },
132132 "upperLogRefs": {
133133 "description": "AT URIs of containing logs (yearly) this month belongs to",
134134 "items": {
135135 "type": "string"
136136 },
137137 "type": "array"
138138 }
139139 },
140140 "required": [
141141 "month",
142142 "aggregates",
143143 "status",
144144 "signature",
145145 "createdAt"
146146 ],
147147 "type": "object"
148148 },
149149 "type": "record"
150150 },
151151 "monthlyAggregates": {
152152 "description": "Rolled-up counts from weekly records",
153153 "properties": {
154154 "daysActive": {
155155 "description": "Number of days with activity this month",
156156 "minimum": 0,
157157 "type": "integer"
158158 },
159159 "likesReceived": {
160160 "description": "Total likes received this month",
161161 "minimum": 0,
162162 "type": "integer"
163163 },
164164 "postsCreated": {
165165 "description": "Total posts created this month",
166166 "minimum": 0,
167167 "type": "integer"
168168 },
169169 "postsRead": {
170170 "description": "Total posts read this month",
171171 "minimum": 0,
172172 "type": "integer"
173173 },
174174 "repliesReceived": {
175175 "description": "Total replies received this month",
176176 "minimum": 0,
177177 "type": "integer"
178178 },
179179 "specimensPhotographed": {
180180 "description": "New specimens photographed this month",
181181 "minimum": 0,
182182 "type": "integer"
183183 },
184184 "totalXPGained": {
185185 "description": "Total XP gained this month",
186186 "minimum": 0,
187187 "type": "integer"
188188 },
189189 "weeksActive": {
190190 "description": "Number of weeks with activity this month",
191191 "minimum": 0,
192192 "type": "integer"
193193 }
194194 },
195195 "type": "object"
196196 },
197197 "monthlyPatterns": {
198198 "description": "Activity pattern aggregation for the month based on half-hour blocks",
199199 "properties": {
200200 "avgBlocksPerDay": {
201201 "description": "Average active blocks per day (totalActiveBlocks / daysActive, rounded)",
202202 "minimum": 0,
203203 "type": "integer"
204204 },
205205 "peakBlocks": {
206206 "description": "Highest activeBlockCount for any single day in the month",
207207 "maximum": 48,
208208 "minimum": 0,
209209 "type": "integer"
210210 },
211211 "totalActiveBlocks": {
212212 "description": "Sum of activeBlockCount across all days in the month",
213213 "minimum": 0,
214214 "type": "integer"
215215 }
216216 },
217217 "type": "object"
218218 }
219219 },
220220 "id": "net.anisota.chronicle.log.monthly",
221221 "lexicon": 1
222222}

Compare other versions