net.anisota.chronicle.fieldwork
Signed quest completion record. rkey is the quest ID (e.g. 'first-post', 'make-camp') before the 2027 season, and the season id and the quest ID (e.g. '2027-first-post') from then on. Created once with createRecord when the quest is completed. Immutable.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | chronicle.anisota.net |
| Commit rev | 3n2tvo7wxmw26 |
| Indexed |
Showing version bafyreicxp3c4zvpcb3evhurhd7xby2b4pq6etwvz423xqyugfaqylx3ocy. Show the latest
Checks
Validunlimited-stringdefs.chronicleSignature.properties.algNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.chronicleSignature.properties.kidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.chronicleSignature.properties.nonceNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.chronicleSignature.properties.sigNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.questContext.properties.appModeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"chronicleSignature": {
"description": "ES256 cryptographic signature proving record authenticity. The signature itself proves legitimacy - no separate verification lexicons needed.",
"properties": {
"alg": {
"description": "Signing algorithm (ES256)",
"type": "string"
},
"kid": {
"description": "Key identifier for the signing key",
"type": "string"
},
"nonce": {
"description": "Unique random nonce to prevent replay",
"type": "string"
},
"sig": {
"description": "Base64-encoded ES256 signature",
"type": "string"
},
"signedAt": {
"description": "When the record was signed",
"format": "datetime",
"type": "string"
},
"version": {
"description": "Signature schema version",
"type": "integer"
}
},
"required": [
"sig",
"alg",
"kid",
"signedAt",
"nonce",
"version"
],
"type": "object"
},
"main": {
"description": "Signed quest completion record. rkey is the quest ID (e.g. 'first-post', 'make-camp') before the 2027 season, and the season id and the quest ID (e.g. '2027-first-post') from then on. Created once with createRecord when the quest is completed. Immutable.",
"key": "any",
"record": {
"properties": {
"completedAt": {
"description": "When the quest was completed",
"format": "datetime",
"type": "string"
},
"context": {
"ref": "#questContext",
"type": "ref"
},
"createdAt": {
"description": "When the quest record was created",
"format": "datetime",
"type": "string"
},
"description": {
"description": "Description of what was accomplished",
"maxLength": 500,
"type": "string"
},
"name": {
"description": "Display title of the quest",
"maxLength": 100,
"type": "string"
},
"questId": {
"description": "Unique identifier for the quest (e.g. 'first-post'), always bare. The rkey is this id, or the season id and this id in a game season.",
"maxLength": 100,
"type": "string"
},
"retroactive": {
"description": "Whether the quest was completed retroactively from existing activity rather than live",
"type": "boolean"
},
"season": {
"description": "The game season this record counts toward, e.g. 2027. Absent: before the 2027 season.",
"maxLength": 8,
"type": "string"
},
"signature": {
"ref": "#chronicleSignature",
"type": "ref"
},
"track": {
"description": "Quest track this quest belongs to (e.g. 'field-basics', 'observatory', 'expedition', 'craft')",
"maxLength": 50,
"type": "string"
},
"xpAwarded": {
"description": "XP awarded for completing this quest",
"minimum": 0,
"type": "integer"
}
},
"required": [
"questId",
"track",
"xpAwarded",
"completedAt",
"signature",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"questContext": {
"description": "Contextual data at the time of quest completion",
"properties": {
"appMode": {
"description": "Retired with the app mode: the app records 'story' on a completion from before the 2027 season, and leaves it out from then on. App mode ('story' or 'open') when the quest was completed",
"type": "string"
},
"level": {
"description": "Player level when the quest was completed",
"minimum": 1,
"type": "integer"
},
"totalXP": {
"description": "Total XP when the quest was completed",
"minimum": 0,
"type": "integer"
}
},
"type": "object"
}
},
"id": "net.anisota.chronicle.fieldwork",
"lexicon": 1
}