test lexicon

This commit is contained in:
2026-01-25 15:49:15 +09:00
parent ba15759595
commit dc5218b1ad
7 changed files with 53 additions and 62 deletions

View File

@@ -8,7 +8,7 @@
"description": "Migrated card data from api.syui.ai",
"record": {
"type": "object",
"required": ["user", "cards", "migratedAt"],
"required": ["user", "card", "migratedAt"],
"properties": {
"user": {
"type": "object",
@@ -24,18 +24,17 @@
"updatedAt": { "type": "string", "format": "datetime" }
}
},
"cards": {
"card": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "card", "cp"],
"required": ["id", "cp", "rare", "cid", "unique"],
"properties": {
"id": { "type": "integer" },
"card": { "type": "integer" },
"cp": { "type": "integer" },
"status": { "type": "string" },
"skill": { "type": "string" },
"createdAt": { "type": "string", "format": "datetime" }
"id": { "type": "integer", "description": "Card type ID" },
"cp": { "type": "integer", "description": "Card power" },
"rare": { "type": "integer", "description": "Rarity level" },
"cid": { "type": "string", "description": "Unique card instance ID" },
"unique": { "type": "boolean", "description": "Unique card flag" }
}
}
},