ai.syui.card.admin

Card game configuration and master data (admin only)

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritycard.syui.ai
Indexed
cid bafyreigewzwc2kfrgd7wailuoefi5elxgouy2x7qsmyg66s5ycd3qwh7qy

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Card game configuration and master data (admin only)",
      "key": "literal:self",
      "record": {
        "properties": {
          "card": {
            "description": "Card master data",
            "items": {
              "properties": {
                "character": {
                  "description": "Associated character ID",
                  "type": "integer"
                },
                "cp": {
                  "description": "CP type (status, time, damage)",
                  "type": "string"
                },
                "effect": {
                  "description": "Effect type (status, fly, mode, damage)",
                  "type": "string"
                },
                "id": {
                  "description": "Card ID",
                  "type": "integer"
                },
                "key": {
                  "description": "Key binding (R1, L1, Y, X, etc.)",
                  "type": "string"
                },
                "name": {
                  "properties": {
                    "en": {
                      "type": "string"
                    },
                    "ja": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "ja",
                    "en"
                  ],
                  "type": "object"
                },
                "text": {
                  "properties": {
                    "en": {
                      "type": "string"
                    },
                    "ja": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "ja",
                    "en"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "id",
                "character",
                "name",
                "text",
                "cp",
                "effect"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "gacha": {
            "properties": {
              "pickup": {
                "description": "Pickup card ID",
                "type": "integer"
              },
              "pool": {
                "description": "Card IDs available in gacha pool",
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "rate": {
                "properties": {
                  "pickup": {
                    "description": "1/n for pickup rate (100 = 1%)",
                    "type": "integer"
                  },
                  "rare": {
                    "description": "1/n for rare:1 rate (10 = 10%), rare:2 = 1/(n*10), rare:3 = 1/(n*100)",
                    "type": "integer"
                  }
                },
                "required": [
                  "pickup",
                  "rare"
                ],
                "type": "object"
              }
            },
            "required": [
              "pickup",
              "rate",
              "pool"
            ],
            "type": "object"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "gacha",
          "card",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.syui.card.admin",
  "lexicon": 1
}