Camp record. Created when a user makes camp during an expedition. Updated when camp is broken. References the parent expedition 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 expedition (1, 2, 3...). Combined with expeditionNumber gives e.g. Camp 2.1, Camp 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 milliseconds (only set when status is 'completed')
minimum: 0expeditionRef
string
at-uri
Required
AT URI of the parent expedition record (net.anisota.chronicle.expedition)
light
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)
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"expeditionRef",
"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')"
},
"campedAt": {
"type": "string",
"format": "datetime",
"description": "When camp was set up"
},
"duration": {
"type": "integer",
"minimum": 0,
"description": "Total camp duration in milliseconds (only set when status is 'completed')"
},
"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 expedition (1, 2, 3...). Combined with expeditionNumber gives e.g. Camp 2.1, Camp 2.3"
},
"conditions": {
"ref": "#campConditions",
"type": "ref"
},
"expeditionRef": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the parent expedition record (net.anisota.chronicle.expedition)"
}
}
},
"description": "Camp record. Created when a user makes camp during an expedition. Updated when camp is broken. References the parent expedition record via AT URI."
}