Skip to content

DDragonSchema

from pulsefire.schemas import DDragonSchema
Source code in pulsefire/schemas.py
class DDragonSchema:

    LorCardAsset = TypedDict("LorCardAsset", {
        "gameAbsolutePath": str,
        "fullAbsolutePath": str
    })
    LorCard = TypedDict("LorCard", {
        "associatedCards": list[str],
        "associatedCardRefs": list[str],
        "assets": list[LorCardAsset],
        "regions": list[str],
        "regionRefs": list[str],
        "attack": int,
        "cost": int,
        "health": int,
        "description": str,
        "descriptionRaw": str,
        "levelupDescription": str,
        "levelupDescriptionRaw": str,
        "flavorText": str,
        "artistName": str,
        "name": str,
        "cardCode": str,
        "keywords": list[str],
        "keywordRefs": list[str],
        "spellSpeed": str,
        "spellSpeedRef": str,
        "rarity": str,
        "rarityRef": str,
        "subtypes": list[str],
        "supertype": str,
        "type": str,
        "collectible": bool,
        "set": str,
        "formats": list[str],
        "formatRefs": list[str]
    })
Attributes
LorCardAsset class-attribute instance-attribute
LorCardAsset = TypedDict(
    "LorCardAsset", {"gameAbsolutePath": str, "fullAbsolutePath": str}
)
LorCard class-attribute instance-attribute
LorCard = TypedDict(
    "LorCard",
    {
        "associatedCards": list[str],
        "associatedCardRefs": list[str],
        "assets": list[LorCardAsset],
        "regions": list[str],
        "regionRefs": list[str],
        "attack": int,
        "cost": int,
        "health": int,
        "description": str,
        "descriptionRaw": str,
        "levelupDescription": str,
        "levelupDescriptionRaw": str,
        "flavorText": str,
        "artistName": str,
        "name": str,
        "cardCode": str,
        "keywords": list[str],
        "keywordRefs": list[str],
        "spellSpeed": str,
        "spellSpeedRef": str,
        "rarity": str,
        "rarityRef": str,
        "subtypes": list[str],
        "supertype": str,
        "type": str,
        "collectible": bool,
        "set": str,
        "formats": list[str],
        "formatRefs": list[str],
    },
)