From b0bf2ff0dfdf8aa804126387a16fb6725006117b Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 3 Dec 2024 02:20:51 +0900 Subject: [PATCH] fix --- lexicons/ai/syui/game/user.json | 125 ++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 lexicons/ai/syui/game/user.json diff --git a/lexicons/ai/syui/game/user.json b/lexicons/ai/syui/game/user.json new file mode 100644 index 0000000..008d4f0 --- /dev/null +++ b/lexicons/ai/syui/game/user.json @@ -0,0 +1,125 @@ +{ + "lexicon": 1, + "id": "ai.syui.game.user", + "defs": { + "main": { + "type": "record", + "key": "tid", + "description": "Record containing a game user.", + "input": { + "encoding": "application/json", + "record": { + "type": "object", + "required": [ + "did", + "createdAt" + ], + "properties": { + "aiten": { + "type": "integer", + "default": 0 + }, + "limit": { + "type": "bool" + }, + "login": { + "type": "bool" + }, + "did": { + "type": "string" + }, + "handle": { + "type": "string" + }, + "gender": { + "type": "string", + "enum": [ + "none", + "male", + "famale" + ] + }, + "charactor": { + "type": "object", + "enum": [ "ai", "phoenix", "kirin", "leviathan", "wyvern", "cerberus", "dragon", "kitsune", "pegasus" ], + "properties": { + "type": "object", + "properties": { + "season": { + "type": "integer", + "default": 0 + }, + "group": { + "type": "string", + "default": "origin" + }, + "img": { + "type": "uri", + "default": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:4hqjfn7m6n5hno3doamuhgef/bafkreie34pjuc6coenzcdwrgrh4fbacq7bkhsz263g5vpbsqxwaz37kkwy@jpeg" + }, + "lv": { + "type": "integer", + "minimum": 1, + "maximum": 7, + "default": 1 + }, + "exp": { + "type": "integer" + }, + "hp": { + "type": "integer", + "maximum": 255, + "default": 0 + }, + "attach": { + "type": "integer", + "minimum": 1, + "maximum": 255, + "default": 0 + }, + "attach_post": { + "type": "integer", + "default": 0 + }, + "critical": { + "type": "integer", + "minimum": 0, + "maximum": 255, + "default": 0 + }, + "critical_d": { + "type": "integer", + "minimum": 0, + "maximum": 255, + "default": 0 + }, + "rank": { + "type": "integer", + "minimum": 0, + "maximum": 7, + "default": 0 + }, + "mode": { + "type": "integer", + "minimum": 0, + "maximum": 3, + "default": 0 + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + }, + "updatedAt": { + "type": "string", + "format": "datetime" + } + } + } + } + } +}