1
0

add game
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
syui 2024-11-09 11:31:01 +09:00
parent 454de01881
commit 9398ac5646
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 59 additions and 0 deletions

View File

@ -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."
}
}
}
}
}
}

View File

@ -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."
}
}
}
}
}
}
}