{ "lexicon": 1, "id": "ai.syui.card.old", "defs": { "main": { "type": "record", "key": "literal:self", "description": "Migrated card data from api.syui.ai", "record": { "type": "object", "required": ["user", "card", "migratedAt"], "properties": { "user": { "type": "object", "required": ["username"], "properties": { "username": { "type": "string" }, "did": { "type": "string" }, "aiten": { "type": "integer" }, "fav": { "type": "integer" }, "coin": { "type": "integer" }, "planet": { "type": "integer" }, "createdAt": { "type": "string", "format": "datetime" }, "updatedAt": { "type": "string", "format": "datetime" } } }, "card": { "type": "array", "items": { "type": "object", "required": ["id", "cp", "rare", "cid", "unique"], "properties": { "id": { "type": "integer", "description": "Card type ID" }, "cp": { "type": "integer", "description": "Card power" }, "rare": { "type": "integer", "description": "Rarity level" }, "cid": { "type": "string", "description": "Unique card instance ID" }, "unique": { "type": "boolean", "description": "Unique card flag" } } } }, "checksum": { "type": "string" }, "migratedAt": { "type": "string", "format": "datetime" } } } } } }