full diff

net.anisota.chronicle.level

anisota.net +6 −1
From
bafyreic2plobyicdhz72ocab4svgg4xgf23yf7yiqss3tqrcci5nm5dfmu indexed 2026-06-22 18:49 UTC View this version
To
bafyreigq63d7dfxhvgwk7ujsmafgsaeaqkxcwr6uhb4tzq664uc7nuibtq indexed 2026-11-21 20:07 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "net.anisota.chronicle.level:body.season" }
  • AddedEdge AddedEdge { src: "net.anisota.chronicle.level:body", tgt: "net.anisota.chronicle.level:body.season", kind: "prop", name: Some("season") }

Migration guidance

Added

  • AddedVertex { vertex_id: "net.anisota.chronicle.level:body.season" }

Notes

  • Non-breaking: AddedEdge { src: "net.anisota.chronicle.level:body", tgt: "net.anisota.chronicle.level:body.season", kind: "prop", name: Some("season") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "chronicleSignature": {
55 "description": "ES256 cryptographic signature proving record authenticity",
66 "properties": {
77 "alg": {
88 "description": "Signing algorithm (ES256)",
99 "type": "string"
1010 },
1111 "kid": {
1212 "description": "Key identifier for the signing key",
1313 "type": "string"
1414 },
1515 "nonce": {
1616 "description": "Unique random nonce to prevent replay",
1717 "type": "string"
1818 },
1919 "sig": {
2020 "description": "Base64-encoded ES256 signature",
2121 "type": "string"
2222 },
2323 "signedAt": {
2424 "description": "When the record was signed",
2525 "format": "datetime",
2626 "type": "string"
2727 },
2828 "version": {
2929 "description": "Signature schema version",
3030 "type": "integer"
3131 }
3232 },
3333 "required": [
3434 "sig",
3535 "alg",
3636 "kid",
3737 "signedAt",
3838 "nonce",
3939 "version"
4040 ],
4141 "type": "object"
4242 },
4343 "journeyData": {
4444 "description": "Journey info from previous level",
4545 "properties": {
4646 "daysFromPreviousLevel": {
4747 "description": "Days taken to advance from previous level",
4848 "minimum": 0,
4949 "type": "integer"
5050 },
5151 "xpGainedFromPreviousLevel": {
5252 "description": "XP gained since previous level",
5353 "minimum": 0,
5454 "type": "integer"
5555 }
5656 },
5757 "type": "object"
5858 },
5959 "levelSnapshot": {
6060 "description": "Player state at the moment of leveling up",
6161 "properties": {
6262 "daysPlayed": {
6363 "description": "Total days played at time of level-up",
6464 "minimum": 0,
6565 "type": "integer"
6666 },
6767 "itemsTotal": {
6868 "description": "Total items at time of level-up",
6969 "minimum": 0,
7070 "type": "integer"
7171 },
7272 "postsReadTotal": {
7373 "description": "Total posts read all-time at level-up",
7474 "minimum": 0,
7575 "type": "integer"
7676 },
7777 "specimensDocumented": {
7878 "description": "Total specimens documented at time of level-up",
7979 "minimum": 0,
8080 "type": "integer"
8181 },
8282 "totalXP": {
8383 "description": "Total XP at time of level-up",
8484 "minimum": 0,
8585 "type": "integer"
8686 }
8787 },
8888 "required": [
8989 "totalXP"
9090 ],
9191 "type": "object"
9292 },
9393 "main": {
94 "description": "Immutable level milestone record. Created once on level-up with createRecord. rkey is zero-padded level (001-099).",
94 "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.",
9595 "key": "any",
9696 "record": {
9797 "properties": {
9898 "createdAt": {
9999 "description": "When the level was reached",
100100 "format": "datetime",
101101 "type": "string"
102102 },
103103 "journey": {
104104 "ref": "#journeyData",
105105 "type": "ref"
106106 },
107107 "level": {
108108 "description": "The level that was reached",
109109 "maximum": 99,
110110 "minimum": 1,
111111 "type": "integer"
112112 },
113 "season": {
114 "description": "The game season this record counts toward, e.g. 2027. Absent: before the 2027 season.",
115 "maxLength": 8,
116 "type": "string"
117 },
113118 "signature": {
114119 "ref": "#chronicleSignature",
115120 "type": "ref"
116121 },
117122 "snapshot": {
118123 "ref": "#levelSnapshot",
119124 "type": "ref"
120125 }
121126 },
122127 "required": [
123128 "level",
124129 "snapshot",
125130 "signature",
126131 "createdAt"
127132 ],
128133 "type": "object"
129134 },
130135 "type": "record"
131136 }
132137 },
133138 "id": "net.anisota.chronicle.level",
134139 "lexicon": 1
135140}

Compare other versions