update lexi

This commit is contained in:
syui 2024-12-26 21:49:42 +09:00
parent 7c39de1c9f
commit fe54a8f939
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
3 changed files with 116 additions and 2 deletions

View File

@ -0,0 +1,34 @@
{
"lexicon": 1,
"id": "ai.syui.game",
"defs": {
"main": {
"type": "record",
"key": "self",
"description": "Record containing a game user.",
"input": {
"encoding": "application/json",
"record": {
"type": "object",
"required": [
"account",
"username"
],
"properties": {
"account": {
"type": "at-uri"
},
"username": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this post was originally created."
}
}
}
}
}
}
}

View File

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

View File

@ -5,7 +5,7 @@
"main": { "main": {
"type": "record", "type": "record",
"key": "tid", "key": "tid",
"description": "Record containing a game user.", "description": "record containing a game user.",
"input": { "input": {
"encoding": "application/json", "encoding": "application/json",
"record": { "record": {
@ -112,7 +112,7 @@
"createdAt": { "createdAt": {
"type": "string", "type": "string",
"format": "datetime", "format": "datetime",
"description": "Client-declared timestamp when this post was originally created." "description": "client-declared timestamp when this post was originally created."
}, },
"updatedAt": { "updatedAt": {
"type": "string", "type": "string",