full diff

net.anisota.chronicle.walk.camp

anisota.net +1 −1
From
bafyreic2e6fizkxxzrwo5sgsz5nwjj5ofpi3gr6unikenj3au23l5uxnxy indexed 2026-07-23 03:14 UTC View this version
To
bafyreidbw6nyswg2hznfd5gq2xx4uutfic4kjeo6lmo54uebwvczxjlboe 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 "campConditions": {
55 "description": "Environmental conditions when camp was made",
66 "properties": {
77 "lightLevel": {
88 "description": "Time-of-day light condition when camp was made",
99 "enum": [
1010 "dawn",
1111 "morning",
1212 "midday",
1313 "afternoon",
1414 "dusk",
1515 "night",
1616 "deepnight"
1717 ],
1818 "type": "string"
1919 },
2020 "weather": {
2121 "description": "Weather condition when camp was made",
2222 "enum": [
2323 "clear",
2424 "overcast",
2525 "rainy",
2626 "stormy",
2727 "foggy"
2828 ],
2929 "type": "string"
3030 }
3131 },
3232 "type": "object"
3333 },
3434 "campLight": {
3535 "description": "Light levels at camp start/end",
3636 "properties": {
3737 "atBreak": {
3838 "description": "Light level when camp was broken (in minutes)",
3939 "minimum": 0,
4040 "type": "integer"
4141 },
4242 "atCamp": {
4343 "description": "Light level when camp was made (in minutes)",
4444 "minimum": 0,
4545 "type": "integer"
4646 },
4747 "regenerated": {
4848 "description": "Light regenerated during camp",
4949 "minimum": 0,
5050 "type": "integer"
5151 }
5252 },
5353 "type": "object"
5454 },
5555 "chronicleSignature": {
5656 "description": "ES256 cryptographic signature proving record authenticity",
5757 "properties": {
5858 "alg": {
5959 "description": "Signing algorithm (ES256)",
6060 "type": "string"
6161 },
6262 "kid": {
6363 "description": "Key identifier for the signing key",
6464 "type": "string"
6565 },
6666 "nonce": {
6767 "description": "Unique random nonce to prevent replay",
6868 "type": "string"
6969 },
7070 "sig": {
7171 "description": "Base64-encoded ES256 signature",
7272 "type": "string"
7373 },
7474 "signedAt": {
7575 "description": "When the record was signed",
7676 "format": "datetime",
7777 "type": "string"
7878 },
7979 "version": {
8080 "description": "Signature schema version",
8181 "type": "integer"
8282 }
8383 },
8484 "required": [
8585 "sig",
8686 "alg",
8787 "kid",
8888 "signedAt",
8989 "nonce",
9090 "version"
9191 ],
9292 "type": "object"
9393 },
9494 "main": {
95 "description": "Camp record. Created when a user makes camp during a walk. Updated when camp is broken. References the parent walk record via AT URI.",
95 "description": "Camp record, retired in the 2027 season with walks and making camp: the app no longer writes it, and existing records are kept and still readable. Created when a user makes camp during a walk. Updated when camp is broken. References the parent walk record via AT URI.",
9696 "key": "tid",
9797 "record": {
9898 "properties": {
9999 "brokeAt": {
100100 "description": "When camp was broken (only set when status is 'completed')",
101101 "format": "datetime",
102102 "type": "string"
103103 },
104104 "campNumber": {
105105 "description": "Sequential camp number within the parent walk (1, 2, 3...)",
106106 "minimum": 1,
107107 "type": "integer"
108108 },
109109 "campedAt": {
110110 "description": "When camp was set up",
111111 "format": "datetime",
112112 "type": "string"
113113 },
114114 "conditions": {
115115 "ref": "#campConditions",
116116 "type": "ref"
117117 },
118118 "createdAt": {
119119 "description": "When the record was created",
120120 "format": "datetime",
121121 "type": "string"
122122 },
123123 "duration": {
124124 "description": "Total camp duration in minutes (only set when status is 'completed'). Minutes throughout the walk system, unlike the legacy expedition camp lexicon's milliseconds.",
125125 "minimum": 0,
126126 "type": "integer"
127127 },
128128 "light": {
129129 "ref": "#campLight",
130130 "type": "ref"
131131 },
132132 "reason": {
133133 "description": "Why camp was made",
134134 "enum": [
135135 "user_initiated",
136136 "light_low",
137137 "stamina_low",
138138 "conditions_harsh"
139139 ],
140140 "type": "string"
141141 },
142142 "signature": {
143143 "ref": "#chronicleSignature",
144144 "type": "ref"
145145 },
146146 "status": {
147147 "description": "Whether the camp is currently active or has been broken",
148148 "enum": [
149149 "active",
150150 "completed"
151151 ],
152152 "type": "string"
153153 },
154154 "updatedAt": {
155155 "description": "When the record was last updated (set on break camp)",
156156 "format": "datetime",
157157 "type": "string"
158158 },
159159 "walkRef": {
160160 "description": "AT URI of the parent walk record (net.anisota.chronicle.walk)",
161161 "format": "at-uri",
162162 "type": "string"
163163 }
164164 },
165165 "required": [
166166 "walkRef",
167167 "status",
168168 "campedAt",
169169 "reason",
170170 "signature",
171171 "createdAt"
172172 ],
173173 "type": "object"
174174 },
175175 "type": "record"
176176 }
177177 },
178178 "id": "net.anisota.chronicle.walk.camp",
179179 "lexicon": 1
180180}

Compare other versions