From f26ef781f37799dbc8952586ee8d8c70101e53f9 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 27 Dec 2024 16:36:46 +0900 Subject: [PATCH] update lexicon --- lexicons/ai/syui/card.json | 56 +++++++++++++++ lexicons/ai/syui/card/verify.json | 72 +++++++++++++++++++ lexicons/ai/syui/game.json | 27 +++++++ lexicons/ai/syui/game/character.json | 80 +++++++++++++++++++++ lexicons/ai/syui/game/user.json | 101 +++++++++++++++++++++++++++ lexicons/ai/syui/o/comment.json | 30 ++++++++ lexicons/ai/syui/o/post.json | 33 +++++++++ lexicons/ai/syui/o/vote.json | 23 ++++++ 8 files changed, 422 insertions(+) create mode 100644 lexicons/ai/syui/card.json create mode 100644 lexicons/ai/syui/card/verify.json create mode 100644 lexicons/ai/syui/game.json create mode 100644 lexicons/ai/syui/game/character.json create mode 100644 lexicons/ai/syui/game/user.json create mode 100644 lexicons/ai/syui/o/comment.json create mode 100644 lexicons/ai/syui/o/post.json create mode 100644 lexicons/ai/syui/o/vote.json diff --git a/lexicons/ai/syui/card.json b/lexicons/ai/syui/card.json new file mode 100644 index 0000000..b809cca --- /dev/null +++ b/lexicons/ai/syui/card.json @@ -0,0 +1,56 @@ +{ + "lexicon": 1, + "id": "ai.syui.card", + "defs": { + "main": { + "type": "record", + "description": "Record containing a cards box.", + "key": "tid", + "record": { + "type": "object", + "required": ["verify", "createdAt"], + "properties": { + "id":{ + "type": "integer", + "minimum": 0, + "maximum": 14, + "default": 0 + }, + "cp":{ + "type": "integer", + "minimum": 1, + "maximum": 5000, + "default": 1 + }, + "rank":{ + "type": "integer", + "minimum": 0, + "maximum": 7, + "default": 0 + }, + "rare": { + "type": "string", + "enum": ["normal", "super", "ultra", "yui", "ai"], + "default": "normal" + }, + "author": { + "type": "string", + "format": "uri", + "description": "https://verify...", + "default": "https://yui.syui.ai" + }, + "verify": { + "type": "string", + "format": "at-uri", + "description": "at://verify..." + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + } + } + } + } + } +} diff --git a/lexicons/ai/syui/card/verify.json b/lexicons/ai/syui/card/verify.json new file mode 100644 index 0000000..8d256e7 --- /dev/null +++ b/lexicons/ai/syui/card/verify.json @@ -0,0 +1,72 @@ +{ + "lexicon": 1, + "id": "ai.syui.card.verify", + "defs": { + "main": { + "type": "record", + "description": "Record containing a card verify.", + "key": "tid", + "record": { + "type": "object", + "required": [ + "handle", + "did", + "createdAt" + ], + "properties": { + "id": { + "type": "integer", + "minimum": 0, + "maximum": 14, + "default": 0 + }, + "cp": { + "type": "integer", + "minimum": 1, + "maximum": 10000, + "default": 1 + }, + "rank": { + "type": "integer", + "minimum": 0, + "maximum": 7, + "default": 0 + }, + "rare": { + "type": "string", + "enum": [ + "normal", + "super", + "ultra", + "yui", + "ai" + ], + "default": "normal" + }, + "handle": { + "type": "string", + "maxLength": 32, + "maxGraphemes": 32 + }, + "did": { + "type": "string" + }, + "embed": { + "type": "union", + "refs": [ + "app.bsky.embed.images", + "app.bsky.embed.external", + "app.bsky.embed.record", + "app.bsky.embed.recordWithMedia" + ] + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + } + } + } + } + } +} diff --git a/lexicons/ai/syui/game.json b/lexicons/ai/syui/game.json new file mode 100644 index 0000000..cfdeb13 --- /dev/null +++ b/lexicons/ai/syui/game.json @@ -0,0 +1,27 @@ +{ + "lexicon": 1, + "id": "ai.syui.game", + "defs": { + "main": { + "type": "record", + "description": "Record containing a game.", + "key": "literal:self", + "record": { + "type": "object", + "required": ["account", "createdAt"], + "properties": { + "account": { + "type": "string", + "format": "at-uri", + "description": "at://verify..." + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + } + } + } + } + } +} diff --git a/lexicons/ai/syui/game/character.json b/lexicons/ai/syui/game/character.json new file mode 100644 index 0000000..8949966 --- /dev/null +++ b/lexicons/ai/syui/game/character.json @@ -0,0 +1,80 @@ +{ + "lexicon": 1, + "id": "ai.syui.game.character", + "defs": { + "main": { + "type": "record", + "key": "string", + "description": "record containing a game character.", + "input": { + "encoding": "application/json", + "record": { + "type": "object", + "required": [ + "createdAt" + ], + "charactor": { + "type": "object", + "enum": [ + "ai", + "manny", + "quinn", + "chinese", + "phoenix", + "kirin", + "leviathan", + "wyvern", + "cerberus", + "dragon", + "kitsune", + "pegasus" + ], + "properties": { + "type": "object", + "properties": { + "season": { + "type": "integer", + "minimum": 0, + "maximum": 3, + "default": 1 + }, + "group": { + "type": "string", + "default": "fantasy", + "enum": [ + "origin", + "fantasy", + "animal" + ] + }, + "gender": { + "type": "string", + "enum": [ + "none", + "male", + "famale" + ] + }, + "fullname": { + "type": "string" + }, + "nickname": { + "type": "string" + } + } + } + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + }, + "updatedAt": { + "type": "string", + "format": "datetime" + } + } + } + } + } +} diff --git a/lexicons/ai/syui/game/user.json b/lexicons/ai/syui/game/user.json new file mode 100644 index 0000000..9d3724f --- /dev/null +++ b/lexicons/ai/syui/game/user.json @@ -0,0 +1,101 @@ +{ + "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 + }, + "did": { + "type": "string" + }, + "login": { + "type": "bool" + }, + "limit": { + "type": "bool" + }, + "charactor": { + "type": "object", + "enum": ["ai","cerberus","chinesedragon","dragon","kirin","kitsune","leviathan","pegasus","phoenix"], + "properties": { + "type": "object", + "properties": { + "group":{ + "type": "string" + }, + "season":{ + "type": "integer" + }, + "lv":{ + "type": "integer", + "minimum": 1, + "maximum": 7, + "default": 1 + }, + "exp":{ + "type": "integer" + }, + "rank":{ + "type": "integer", + "minimum": 0, + "maximum": 7, + "default": 0 + }, + "mode":{ + "type": "integer", + "minimum": 0, + "maximum": 7, + "default": 0 + }, + "hp":{ + "type": "integer", + "maximum": 255, + "default": 0 + }, + "attach":{ + "type": "integer", + "minimum": 1, + "maximum": 255, + "default": 1 + }, + "critical":{ + "type": "integer", + "minimum": 0, + "maximum": 255, + "default": 0 + }, + "critical_d":{ + "type": "integer", + "minimum": 0, + "maximum": 255, + "default": 0 + } + } + } + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + }, + "updatedAt": { + "type": "string", + "format": "datetime" + } + } + } + } + } + } +} diff --git a/lexicons/ai/syui/o/comment.json b/lexicons/ai/syui/o/comment.json new file mode 100644 index 0000000..c52ec9d --- /dev/null +++ b/lexicons/ai/syui/o/comment.json @@ -0,0 +1,30 @@ +{ + "lexicon": 1, + "id": "ai.syui.o.comment", + "defs": { + "main": { + "type": "record", + "description": "Record containing a Frontpage comment.", + "key": "tid", + "record": { + "type": "object", + "required": ["content", "createdAt", "post"], + "properties": { + "content": { + "type": "string", + "maxLength": 100000, + "maxGraphemes": 10000, + "description": "The content of the comment." + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this comment was originally created." + }, + "parent": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, + "post": { "type": "ref", "ref": "com.atproto.repo.strongRef" } + } + } + } + } +} diff --git a/lexicons/ai/syui/o/post.json b/lexicons/ai/syui/o/post.json new file mode 100644 index 0000000..b18659c --- /dev/null +++ b/lexicons/ai/syui/o/post.json @@ -0,0 +1,33 @@ +{ + "lexicon": 1, + "id": "ai.syui.o.post", + "defs": { + "main": { + "type": "record", + "description": "Record containing a Frontpage post.", + "key": "tid", + "record": { + "type": "object", + "required": ["title", "url", "createdAt"], + "properties": { + "title": { + "type": "string", + "maxLength": 3000, + "maxGraphemes": 300, + "description": "The title of the post." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL of the post." + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + } + } + } + } + } +} diff --git a/lexicons/ai/syui/o/vote.json b/lexicons/ai/syui/o/vote.json new file mode 100644 index 0000000..0870658 --- /dev/null +++ b/lexicons/ai/syui/o/vote.json @@ -0,0 +1,23 @@ +{ + "lexicon": 1, + "id": "ai.syui.o.vote", + "defs": { + "main": { + "type": "record", + "description": "Record containing a Frontpage vote.", + "key": "tid", + "record": { + "type": "object", + "required": ["subject", "createdAt"], + "properties": { + "subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this vote was originally created." + } + } + } + } + } +}