1
0
bot/at/lexicons/ai/syui/game/user.json
syui 2c7f518790
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
fix
2024-11-09 14:25:39 +09:00

98 lines
2.0 KiB
JSON

{
"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", "test"],
"properties": {
"ai":{
"type": "object",
"properties": {
"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"
}
}
}
}
}
}
}