Camp record. Created when a user makes camp during a walk. Updated when camp is broken. References the parent walk record via AT URI.
tid
Timestamp-based ID
Properties
brokeAt
string
datetime
Optional
When camp was broken (only set when status is 'completed')
campNumber
integer
Optional
Sequential camp number within the parent walk (1, 2, 3...)
minimum: 1campedAt
string
datetime
Required
When camp was set up
conditions
ref
#campConditions
Optional
No description available.
createdAt
string
datetime
Required
When the record was created
duration
integer
Optional
Total camp duration in minutes (only set when status is 'completed'). Minutes throughout the walk system, unlike the legacy expedition camp lexicon's milliseconds.
minimum: 0light
ref
#campLight
Optional
No description available.
reason
string
Required
Why camp was made
user_initiated, light_low, stamina_low, conditions_harshsignature
ref
#chronicleSignature
Required
No description available.
status
string
Required
Whether the camp is currently active or has been broken
active, completedupdatedAt
string
datetime
Optional
When the record was last updated (set on break camp)
walkRef
string
at-uri
Required
AT URI of the parent walk record (net.anisota.chronicle.walk)
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"walkRef",
"status",
"campedAt",
"reason",
"signature",
"createdAt"
],
"properties": {
"light": {
"ref": "#campLight",
"type": "ref"
},
"reason": {
"enum": [
"user_initiated",
"light_low",
"stamina_low",
"conditions_harsh"
],
"type": "string",
"description": "Why camp was made"
},
"status": {
"enum": [
"active",
"completed"
],
"type": "string",
"description": "Whether the camp is currently active or has been broken"
},
"brokeAt": {
"type": "string",
"format": "datetime",
"description": "When camp was broken (only set when status is 'completed')"
},
"walkRef": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the parent walk record (net.anisota.chronicle.walk)"
},
"campedAt": {
"type": "string",
"format": "datetime",
"description": "When camp was set up"
},
"duration": {
"type": "integer",
"minimum": 0,
"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."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the record was created"
},
"signature": {
"ref": "#chronicleSignature",
"type": "ref"
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "When the record was last updated (set on break camp)"
},
"campNumber": {
"type": "integer",
"minimum": 1,
"description": "Sequential camp number within the parent walk (1, 2, 3...)"
},
"conditions": {
"ref": "#campConditions",
"type": "ref"
}
}
},
"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."
}