update lexicon

This commit is contained in:
2026-01-23 00:39:04 +09:00
parent 5870541b96
commit fa0b68d622
6 changed files with 241 additions and 1 deletions

View File

@@ -0,0 +1,48 @@
{
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"id": "ai.syui.rse.user",
"defs": {
"main": {
"type": "record",
"key": "literal:self",
"description": "User character and item collection",
"record": {
"type": "object",
"required": ["character", "item", "createdAt", "updatedAt"],
"properties": {
"character": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "cp", "mode", "unique", "shiny"],
"properties": {
"id": { "type": "integer" },
"cp": { "type": "integer" },
"mode": { "type": "integer" },
"unique": { "type": "boolean" },
"shiny": { "type": "boolean" }
}
}
},
"item": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "cp", "mode", "unique", "shiny"],
"properties": {
"id": { "type": "integer" },
"cp": { "type": "integer" },
"mode": { "type": "integer" },
"unique": { "type": "boolean" },
"shiny": { "type": "boolean" }
}
}
},
"createdAt": { "type": "string", "format": "datetime" },
"updatedAt": { "type": "string", "format": "datetime" }
}
}
}
}
}