From 9398ac56464c31943f0f18fa27b1ab4ef6b747c1 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 9 Nov 2024 11:31:01 +0900 Subject: [PATCH] add game --- at/lexicons/ai/syui/game.json | 27 +++++++++++++++++++++++++ at/lexicons/ai/syui/game/user.json | 32 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 at/lexicons/ai/syui/game.json create mode 100644 at/lexicons/ai/syui/game/user.json diff --git a/at/lexicons/ai/syui/game.json b/at/lexicons/ai/syui/game.json new file mode 100644 index 0000000..f86fb6c --- /dev/null +++ b/at/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": ["verify", "createdAt"], + "properties": { + "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/at/lexicons/ai/syui/game/user.json b/at/lexicons/ai/syui/game/user.json new file mode 100644 index 0000000..1c58c19 --- /dev/null +++ b/at/lexicons/ai/syui/game/user.json @@ -0,0 +1,32 @@ +{ + "lexicon": 1, + "id": "ai.syui.game.user", + "defs": { + "main": { + "type": "procedure", + "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" + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "Client-declared timestamp when this post was originally created." + } + } + } + } + } + } +}