ai/at
1
0

curl を更新

2026-01-14 02:13:12 +00:00
parent 99b86375a5
commit 267f30dba7

94
curl.md

@@ -312,100 +312,6 @@ if echo $json|jq . ;then
fi fi
``` ```
## lexicon
```sh
[user]oauth --> [yui]ai.syui.game.user --> [user]ai.syui.game
```
```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"
},
"charactor": {
"type": "object",
"enum": [
"ai",
"test"
],
"properties": {
"ai": {
"type": "object",
"properties": {
"lv": {
"type": "integer",
"minimum": 1,
"maximum": 7,
"default": 1
},
"exp": {
"type": "integer"
},
"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"
}
}
}
}
}
}
}
```
## profile ## profile
img(avatar) + record pin img(avatar) + record pin