ai/at
ai/at
1
0

update lexicon

This commit is contained in:
syui 2024-12-27 16:36:46 +09:00
parent b5b3850f7b
commit f26ef781f3
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
8 changed files with 422 additions and 0 deletions

View File

@ -0,0 +1,56 @@
{
"lexicon": 1,
"id": "ai.syui.card",
"defs": {
"main": {
"type": "record",
"description": "Record containing a cards box.",
"key": "tid",
"record": {
"type": "object",
"required": ["verify", "createdAt"],
"properties": {
"id":{
"type": "integer",
"minimum": 0,
"maximum": 14,
"default": 0
},
"cp":{
"type": "integer",
"minimum": 1,
"maximum": 5000,
"default": 1
},
"rank":{
"type": "integer",
"minimum": 0,
"maximum": 7,
"default": 0
},
"rare": {
"type": "string",
"enum": ["normal", "super", "ultra", "yui", "ai"],
"default": "normal"
},
"author": {
"type": "string",
"format": "uri",
"description": "https://verify...",
"default": "https://yui.syui.ai"
},
"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,72 @@
{
"lexicon": 1,
"id": "ai.syui.card.verify",
"defs": {
"main": {
"type": "record",
"description": "Record containing a card verify.",
"key": "tid",
"record": {
"type": "object",
"required": [
"handle",
"did",
"createdAt"
],
"properties": {
"id": {
"type": "integer",
"minimum": 0,
"maximum": 14,
"default": 0
},
"cp": {
"type": "integer",
"minimum": 1,
"maximum": 10000,
"default": 1
},
"rank": {
"type": "integer",
"minimum": 0,
"maximum": 7,
"default": 0
},
"rare": {
"type": "string",
"enum": [
"normal",
"super",
"ultra",
"yui",
"ai"
],
"default": "normal"
},
"handle": {
"type": "string",
"maxLength": 32,
"maxGraphemes": 32
},
"did": {
"type": "string"
},
"embed": {
"type": "union",
"refs": [
"app.bsky.embed.images",
"app.bsky.embed.external",
"app.bsky.embed.record",
"app.bsky.embed.recordWithMedia"
]
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this post was originally created."
}
}
}
}
}
}

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": ["account", "createdAt"],
"properties": {
"account": {
"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,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

@ -0,0 +1,101 @@
{
"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","cerberus","chinesedragon","dragon","kirin","kitsune","leviathan","pegasus","phoenix"],
"properties": {
"type": "object",
"properties": {
"group":{
"type": "string"
},
"season":{
"type": "integer"
},
"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"
}
}
}
}
}
}
}

View File

@ -0,0 +1,30 @@
{
"lexicon": 1,
"id": "ai.syui.o.comment",
"defs": {
"main": {
"type": "record",
"description": "Record containing a Frontpage comment.",
"key": "tid",
"record": {
"type": "object",
"required": ["content", "createdAt", "post"],
"properties": {
"content": {
"type": "string",
"maxLength": 100000,
"maxGraphemes": 10000,
"description": "The content of the comment."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this comment was originally created."
},
"parent": { "type": "ref", "ref": "com.atproto.repo.strongRef" },
"post": { "type": "ref", "ref": "com.atproto.repo.strongRef" }
}
}
}
}
}

View File

@ -0,0 +1,33 @@
{
"lexicon": 1,
"id": "ai.syui.o.post",
"defs": {
"main": {
"type": "record",
"description": "Record containing a Frontpage post.",
"key": "tid",
"record": {
"type": "object",
"required": ["title", "url", "createdAt"],
"properties": {
"title": {
"type": "string",
"maxLength": 3000,
"maxGraphemes": 300,
"description": "The title of the post."
},
"url": {
"type": "string",
"format": "uri",
"description": "The URL of the post."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this post was originally created."
}
}
}
}
}
}

View File

@ -0,0 +1,23 @@
{
"lexicon": 1,
"id": "ai.syui.o.vote",
"defs": {
"main": {
"type": "record",
"description": "Record containing a Frontpage vote.",
"key": "tid",
"record": {
"type": "object",
"required": ["subject", "createdAt"],
"properties": {
"subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" },
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this vote was originally created."
}
}
}
}
}
}