net.anisota.chronicle.level
Immutable level milestone record. Created once on level-up with createRecord. rkey is the zero-padded level (001-099) before the 2027 season, and the season id and the padded level (e.g. 2027-002) from then on.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | chronicle.anisota.net |
| Commit rev | 3n2tvoa3tuw26 |
| Indexed |
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.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"chronicleSignature": {
"description": "ES256 cryptographic signature proving record authenticity",
"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"
},
"journeyData": {
"description": "Journey info from previous level",
"properties": {
"daysFromPreviousLevel": {
"description": "Days taken to advance from previous level",
"minimum": 0,
"type": "integer"
},
"xpGainedFromPreviousLevel": {
"description": "XP gained since previous level",
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"levelSnapshot": {
"description": "Player state at the moment of leveling up",
"properties": {
"daysPlayed": {
"description": "Total days played at time of level-up",
"minimum": 0,
"type": "integer"
},
"itemsTotal": {
"description": "Total items at time of level-up",
"minimum": 0,
"type": "integer"
},
"postsReadTotal": {
"description": "Total posts read all-time at level-up",
"minimum": 0,
"type": "integer"
},
"specimensDocumented": {
"description": "Total specimens documented at time of level-up",
"minimum": 0,
"type": "integer"
},
"totalXP": {
"description": "Total XP at time of level-up",
"minimum": 0,
"type": "integer"
}
},
"required": [
"totalXP"
],
"type": "object"
},
"main": {
"description": "Immutable level milestone record. Created once on level-up with createRecord. rkey is the zero-padded level (001-099) before the 2027 season, and the season id and the padded level (e.g. 2027-002) from then on.",
"key": "any",
"record": {
"properties": {
"createdAt": {
"description": "When the level was reached",
"format": "datetime",
"type": "string"
},
"journey": {
"ref": "#journeyData",
"type": "ref"
},
"level": {
"description": "The level that was reached",
"maximum": 99,
"minimum": 1,
"type": "integer"
},
"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"
},
"snapshot": {
"ref": "#levelSnapshot",
"type": "ref"
}
},
"required": [
"level",
"snapshot",
"signature",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "net.anisota.chronicle.level",
"lexicon": 1
}