net.anisota.chronicle.inventory
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.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | chronicle.anisota.net |
| Commit rev | 3n2tvo7z6w626 |
| Indexed |
Showing version bafyreihead6jzocczfqru5py7czragvfl4t5hes3bnq53fyfhnvcmidmmy. 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.main.record.properties.rarityNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.sourceNo 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"
},
"main": {
"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.",
"key": "any",
"record": {
"properties": {
"consumable": {
"description": "Whether this item is consumed on use (quantity decreases)",
"type": "boolean"
},
"createdAt": {
"description": "When the item was first acquired",
"format": "datetime",
"type": "string"
},
"itemId": {
"description": "Unique identifier for the item",
"maxLength": 100,
"type": "string"
},
"itemName": {
"description": "Display name of the item",
"maxLength": 200,
"type": "string"
},
"itemType": {
"description": "Item category: power, camera, light, supplies, field, lore",
"maxLength": 50,
"type": "string"
},
"metadata": {
"description": "Additional item-specific data (stats, attributes, etc.)",
"type": "unknown"
},
"quantity": {
"description": "Current quantity in inventory",
"minimum": 0,
"type": "integer"
},
"rarity": {
"description": "Rarity level of the item",
"enum": [
"veryCommon",
"common",
"uncommon",
"rare",
"veryRare",
"epic",
"legendary"
],
"type": "string"
},
"signature": {
"ref": "#chronicleSignature",
"type": "ref"
},
"source": {
"description": "How the item was acquired",
"enum": [
"quest",
"trade",
"crafted",
"found",
"purchased",
"expedition",
"starter"
],
"type": "string"
},
"updatedAt": {
"description": "When the record was last updated",
"format": "datetime",
"type": "string"
}
},
"required": [
"itemId",
"quantity",
"signature",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "net.anisota.chronicle.inventory",
"lexicon": 1
}