{ "$type": "com.atproto.lexicon.schema", "lexicon": 1, "id": "ai.syui.rse.user", "defs": { "main": { "type": "record", "key": "literal:self", "description": "User character and item collection", "record": { "type": "object", "required": ["character", "item", "createdAt", "updatedAt"], "properties": { "character": { "type": "array", "items": { "type": "object", "required": ["id", "cp", "rare", "cid", "unique"], "properties": { "id": { "type": "integer", "description": "Character type ID" }, "cp": { "type": "integer", "description": "Character power" }, "rare": { "type": "integer", "description": "Rarity level" }, "cid": { "type": "string", "description": "Unique character instance ID" }, "unique": { "type": "boolean", "description": "Unique character flag" } } } }, "item": { "type": "array", "items": { "type": "object", "required": ["id", "cp", "rare", "cid", "unique"], "properties": { "id": { "type": "integer", "description": "Item type ID" }, "cp": { "type": "integer", "description": "Item power" }, "rare": { "type": "integer", "description": "Rarity level" }, "cid": { "type": "string", "description": "Unique item instance ID" }, "unique": { "type": "boolean", "description": "Unique item flag" } } } }, "createdAt": { "type": "string", "format": "datetime" }, "updatedAt": { "type": "string", "format": "datetime" } } } } } }