From
bafyreib6rf6agapqztuek2uwrlgguiuarzmnrkrojwd5idmasx5mcfhf6m
indexed 2026-06-22 18:49 UTC
View this version
To
bafyreib3gjcc3qi6tpj6ce7dxfathy3xe3lwiriaz2lwdkeiymle6p57ii
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
"expeditionConditions": {4444
"description": "Environmental conditions during expedition",4545
"properties": {4646
"biome": {4747
"description": "Forest biome type",4848
"type": "string"4949
},5050
"lightLevel": {5151
"description": "Time-of-day light condition at expedition start",5252
"enum": [5353
"dawn",5454
"morning",5555
"midday",5656
"afternoon",5757
"dusk",5858
"night",5959
"deepnight"6060
],6161
"type": "string"6262
},6363
"moonPhase": {6464
"description": "Moon phase condition (nighttime only)",6565
"enum": [6666
"full_moon",6767
"new_moon"6868
],6969
"type": "string"7070
},7171
"userState": {7272
"description": "User fatigue state at expedition start",7373
"enum": [7474
"well_rested",7575
"tired",7676
"exhausted",7777
"first_expedition"7878
],7979
"type": "string"8080
},8181
"weather": {8282
"description": "Weather condition during expedition",8383
"enum": [8484
"clear",8585
"overcast",8686
"rainy",8787
"stormy",8888
"foggy"8989
],9090
"type": "string"9191
}9292
},9393
"type": "object"9494
},9595
"expeditionFindings": {9696
"description": "What was found/gathered during the expedition",9797
"properties": {9898
"itemsCollected": {9999
"description": "Number of items collected",100100
"minimum": 0,101101
"type": "integer"102102
},103103
"likesSent": {104104
"description": "Likes sent during the expedition",105105
"minimum": 0,106106
"type": "integer"107107
},108108
"mothsSeen": {109109
"description": "Total moth encounters (caught + escaped)",110110
"minimum": 0,111111
"type": "integer"112112
},113113
"postsCreated": {114114
"description": "Posts created during the expedition",115115
"minimum": 0,116116
"type": "integer"117117
},118118
"postsRead": {119119
"description": "Posts read during the expedition",120120
"minimum": 0,121121
"type": "integer"122122
},123123
"specimensFound": {124124
"description": "Number of specimens successfully caught",125125
"minimum": 0,126126
"type": "integer"127127
},128128
"xpGained": {129129
"description": "XP gained from the expedition",130130
"minimum": 0,131131
"type": "integer"132132
}133133
},134134
"type": "object"135135
},136136
"expeditionHeartbeat": {137137
"description": "Periodic snapshot of expedition progress for cross-device sync",138138
"properties": {139139
"light": {140140
"ref": "#heartbeatLight",141141
"type": "ref"142142
},143143
"progress": {144144
"ref": "#heartbeatProgress",145145
"type": "ref"146146
},147147
"updatedAt": {148148
"description": "When this heartbeat was written",149149
"format": "datetime",150150
"type": "string"151151
}152152
},153153
"type": "object"154154
},155155
"expeditionLight": {156156
"description": "Light resource tracking for the expedition",157157
"properties": {158158
"atEnd": {159159
"description": "Light level when expedition ended (in minutes)",160160
"minimum": 0,161161
"type": "integer"162162
},163163
"atStart": {164164
"description": "Light level when expedition started (in minutes)",165165
"minimum": 0,166166
"type": "integer"167167
},168168
"consumed": {169169
"description": "Total light consumed during expedition",170170
"minimum": 0,171171
"type": "integer"172172
},173173
"drainRate": {174174
"description": "Effective drain rate as a percentage (80 = 0.8x drain). Multiply by 0.01 to get the float multiplier.",175175
"type": "integer"176176
},177177
"regenerated": {178178
"description": "Light regenerated during camps",179179
"minimum": 0,180180
"type": "integer"181181
},182182
"status": {183183
"description": "Light status at start of expedition",184184
"enum": [185185
"bright",186186
"steady",187187
"dim",188188
"flickering",189189
"dying",190190
"fullCharge",191191
"charged",192192
"low",193193
"critical",194194
"dead"195195
],196196
"type": "string"197197
}198198
},199199
"type": "object"200200
},201201
"heartbeatLight": {202202
"description": "Light state at heartbeat time",203203
"properties": {204204
"current": {205205
"description": "Current light level",206206
"type": "integer"207207
},208208
"drainActive": {209209
"description": "Whether drain is actively ticking",210210
"type": "boolean"211211
},212212
"drainRate": {213213
"description": "Current drain rate as percentage",214214
"type": "integer"215215
},216216
"frozen": {217217
"description": "Whether light is frozen (at hub/trailhead)",218218
"type": "boolean"219219
}220220
},221221
"type": "object"222222
},223223
"heartbeatProgress": {224224
"description": "Session progress counters at heartbeat time",225225
"properties": {226226
"itemsCount": {227227
"minimum": 0,228228
"type": "integer"229229
},230230
"likesSent": {231231
"minimum": 0,232232
"type": "integer"233233
},234234
"mothsSeenCount": {235235
"minimum": 0,236236
"type": "integer"237237
},238238
"postsCreated": {239239
"minimum": 0,240240
"type": "integer"241241
},242242
"postsRead": {243243
"minimum": 0,244244
"type": "integer"245245
},246246
"repostsSent": {247247
"minimum": 0,248248
"type": "integer"249249
},250250
"specimensCount": {251251
"minimum": 0,252252
"type": "integer"253253
},254254
"xpGained": {255255
"minimum": 0,256256
"type": "integer"257257
}258258
},259259
"type": "object"260260
},261261
"main": {262
"description": "Expedition record. Created with status 'active' when entering the forest, updated to 'completed'/'abandoned' on extraction/abandon. rkey is a TID. Tracks the full lifecycle of a forest expedition including camps, gathered loot, light consumption, and conditions.",262
"description": "Expedition record, retired in the 2027 season with walks: the app no longer writes it, and existing records are kept and still readable. Created with status 'active' when entering the forest, updated to 'completed'/'abandoned' on extraction/abandon. rkey is a TID. Tracks the full lifecycle of a forest expedition including camps, gathered loot, light consumption, and conditions. The chronicleSignature def stays in use: chronicle.log, forest.survey and forest.landmark reference it.",263263
"key": "tid",264264
"record": {265265
"properties": {266266
"abandonReason": {267267
"description": "Reason for abandonment (only set if status is 'abandoned')",268268
"enum": [269269
"light_depleted",270270
"user_abandoned",271271
"app_crash",272272
"force_close",273273
"auto_abandoned_stale"274274
],275275
"type": "string"276276
},277277
"activeDuration": {278278
"description": "Active exploring time in milliseconds (excludes camp rest time)",279279
"minimum": 0,280280
"type": "integer"281281
},282282
"campsCount": {283283
"description": "Number of camps made during the expedition",284284
"minimum": 0,285285
"type": "integer"286286
},287287
"completedAt": {288288
"description": "When the expedition ended (extracted or abandoned)",289289
"format": "datetime",290290
"type": "string"291291
},292292
"conditions": {293293
"ref": "#expeditionConditions",294294
"type": "ref"295295
},296296
"createdAt": {297297
"description": "When the record was created",298298
"format": "datetime",299299
"type": "string"300300
},301301
"duration": {302302
"description": "Total expedition duration in milliseconds",303303
"minimum": 0,304304
"type": "integer"305305
},306306
"expeditionNumber": {307307
"description": "Sequential expedition number for this user (Expedition 1, 2, 3...)",308308
"minimum": 1,309309
"type": "integer"310310
},311311
"findings": {312312
"ref": "#expeditionFindings",313313
"type": "ref"314314
},315315
"heartbeat": {316316
"ref": "#expeditionHeartbeat",317317
"type": "ref"318318
},319319
"light": {320320
"ref": "#expeditionLight",321321
"type": "ref"322322
},323323
"restDuration": {324324
"description": "Total camp/rest time in milliseconds",325325
"minimum": 0,326326
"type": "integer"327327
},328328
"signature": {329329
"ref": "#chronicleSignature",330330
"type": "ref"331331
},332332
"startedAt": {333333
"description": "When the expedition started (entered forest)",334334
"format": "datetime",335335
"type": "string"336336
},337337
"status": {338338
"description": "Current expedition status",339339
"enum": [340340
"active",341341
"completed",342342
"abandoned"343343
],344344
"type": "string"345345
},346346
"updatedAt": {347347
"description": "When the record was last updated",348348
"format": "datetime",349349
"type": "string"350350
}351351
},352352
"required": [353353
"status",354354
"signature",355355
"createdAt"356356
],357357
"type": "object"358358
},359359
"type": "record"360360
}361361
},362362
"id": "net.anisota.chronicle.expedition",363363
"lexicon": 1364364
}