full diff

net.anisota.chronicle.inventory

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

Compatibility

backward compatible No changes detected.

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 "main": {
44 "description": "Item record in the player's inventory. rkey is the item ID. Updated via putRecord when quantities change.",
44 "description": "Item record in the player's inventory, retired in the 2027 season with items: the app no longer writes it, and existing records are kept and still readable. rkey is the item ID. Updated via putRecord when quantities change.",
4545 "key": "any",
4646 "record": {
4747 "properties": {
4848 "consumable": {
4949 "description": "Whether this item is consumed on use (quantity decreases)",
5050 "type": "boolean"
5151 },
5252 "createdAt": {
5353 "description": "When the item was first acquired",
5454 "format": "datetime",
5555 "type": "string"
5656 },
5757 "itemId": {
5858 "description": "Unique identifier for the item",
5959 "maxLength": 100,
6060 "type": "string"
6161 },
6262 "itemName": {
6363 "description": "Display name of the item",
6464 "maxLength": 200,
6565 "type": "string"
6666 },
6767 "itemType": {
6868 "description": "Item category: power, camera, light, supplies, field, lore",
6969 "maxLength": 50,
7070 "type": "string"
7171 },
7272 "metadata": {
7373 "description": "Additional item-specific data (stats, attributes, etc.)",
7474 "type": "unknown"
7575 },
7676 "quantity": {
7777 "description": "Current quantity in inventory",
7878 "minimum": 0,
7979 "type": "integer"
8080 },
8181 "rarity": {
8282 "description": "Rarity level of the item",
8383 "enum": [
8484 "veryCommon",
8585 "common",
8686 "uncommon",
8787 "rare",
8888 "veryRare",
8989 "epic",
9090 "legendary"
9191 ],
9292 "type": "string"
9393 },
9494 "signature": {
9595 "ref": "#chronicleSignature",
9696 "type": "ref"
9797 },
9898 "source": {
9999 "description": "How the item was acquired",
100100 "enum": [
101101 "quest",
102102 "trade",
103103 "crafted",
104104 "found",
105105 "purchased",
106106 "expedition",
107107 "starter"
108108 ],
109109 "type": "string"
110110 },
111111 "updatedAt": {
112112 "description": "When the record was last updated",
113113 "format": "datetime",
114114 "type": "string"
115115 }
116116 },
117117 "required": [
118118 "itemId",
119119 "quantity",
120120 "signature",
121121 "createdAt"
122122 ],
123123 "type": "object"
124124 },
125125 "type": "record"
126126 }
127127 },
128128 "id": "net.anisota.chronicle.inventory",
129129 "lexicon": 1
130130}

Compare other versions