Defines the enriched, but reduced set of card face data transferred from the Scryfall DB.

interface LLMCardFace {
    cmc?: number;
    colors?: string[];
    defense?: string;
    loyalty?: string;
    mana_cost: string;
    name: string;
    norm_type?: string;
    object: "llm_card_face";
    oracle_text?: string;
    power?: string;
    toughness?: string;
    type_line?: string;
}
Index

Properties

cmc?: number

The card face mana value. Note that some funny cards have fractional mana costs.

colors?: string[]

This card face colors.

defense?: string

This face’s defense, if any. Battle cards.

loyalty?: string

This loyalty if any. Note that some cards have loyalties that are not numeric, such as X.

mana_cost: string

The mana cost for this card. This value will be any empty string "" if the cost is absent.

name: string

Card face name.

norm_type?: string

Normalized card type based on type line parsing.

object: "llm_card_face"

Discriminator identifying this record as a card face.

oracle_text?: string

The Oracle text for this card face, if any.

power?: string

This face’s power, if any. Note that some cards have powers that are not numeric, such as *.

toughness?: string

This face’s toughness, if any. Note that some cards have toughnesses that are not numeric, such as *.

type_line?: string

The type line of this card face.