Card (Token)
The Card (Token) Data Model describes the properties of a single token card found in a Set.
- Parent model: Set
- Parent property:
tokens
TypeScript Model
Show/Hide Model
export type CardToken = {
artist?: string;
asciiName?: string;
availability: string[];
boosterTypes?: string[];
borderColor: string;
cardParts?: string[];
colorIdentity: string[];
colorIndicator?: string[];
colors: string[];
faceName?: string;
faceFlavorName?: string;
finishes: string[];
flavorText?: string;
frameEffects?: string[];
frameVersion: string;
hasFoil: boolean;
hasNonFoil: boolean;
identifiers: Identifiers;
isFullArt?: boolean;
isFunny?: boolean;
isOnlineOnly?: boolean;
isPromo?: boolean;
isReprint?: boolean;
keywords?: string[];
language: string;
layout: string;
loyalty?: string;
name: string;
number: string;
orientation?: string;
otherFaceIds?: string[];
power?: string;
promoTypes?: string[];
relatedCards: RelatedCards;
reverseRelated?: string[];
securityStamp?: string;
setCode: string;
side?: string;
signature?: string;
subsets?: string[];
subtypes: string[];
supertypes: string[];
text?: string;
toughness?: string;
type: string;
types: string[];
uuid: string;
watermark?: string;
};
Model Properties
artist optional
The name of the artist that illustrated the card art.
- Type:
string
- Introduced:
v4.0.0
asciiName optional
The ASCII (Basic/128) code formatted card name with no special unicode characters.
- Type:
string
- Introduced:
v5.0.0
availability
A list of the card's available printing types.
- Type:
string[]
- Introduced:
v5.0.0
boosterTypes optional
A list of types this card is in a booster pack.
- Type:
string[]
- Introduced:
v5.2.1
borderColor
The color of the card border.
- Type:
string
- Introduced:
v4.0.0
cardParts optional
A list of card names associated to this card, such as
"Meld"
card face names.
- Type:
string[]
- Introduced:
v5.2.0
colorIdentity
A list of all the colors found in
manaCost
,colorIndicator
, andtext
properties.
- Type:
string[]
- Introduced:
v4.0.0
colorIndicator optional
A list of all the colors in the color indicator. This is the symbol prefixed to a card's types.
- Type:
string[]
- Introduced:
v4.0.2
colors
A list of all the colors in
manaCost
andcolorIndicator
properties. Some cards may not have values, such as cards with"Devoid"
in its text.
- Type:
string[]
- Introduced:
v4.0.0
faceName optional
The name on the face of the card.
- Type:
string
- Introduced:
v5.0.0
faceFlavorName optional
The flavor name on the face of the card.
- Type:
string
- Introduced:
v5.2.0
finishes
The finishes of the card.
- Type:
string[]
- Introduced:
v5.2.0
flavorText optional
The italicized text found below the rules text that has no game function.
- Type:
string
- Introduced:
v4.0.0
frameEffects optional
The visual frame effects.
- Type:
string[]
- Introduced:
v4.6.0
frameVersion
The version of the card frame style.
- Type:
string
- Introduced:
v4.0.0
hasFoil deprecated
If the card can be found in foil.
This property is deprecated. Use the finishes property instead.
- Type:
boolean
- Introduced:
v4.0.0
hasNonFoil deprecated
If the card can be found in non-foil.
This property is deprecated. Use the finishes property instead.
- Type:
boolean
- Introduced:
v4.0.0
identifiers
The identifiers associated to a card. See the Identifiers Data Model.
- Type:
Identifiers
- Introduced:
v5.0.0
isFullArt optional
If the card has full artwork.
- Type:
boolean
- Introduced:
v4.4.2
isFunny optional
If the card is part of a funny set, such as an Un-set.
- Type:
boolean
- Introduced:
v5.2.0
isOnlineOnly optional
If the card is only available in online game play variations.
- Type:
boolean
- Introduced:
v4.0.1
isPromo optional
If the card is a promotional printing.
- Type:
boolean
- Introduced:
v4.4.2
isReprint optional
If the card has been reprinted.
- Type:
boolean
- Introduced:
v4.4.2
keywords optional
A list of keywords found on the card.
- Type:
string[]
- Introduced:
v5.0.0
language
The language the card is printed in.
- Type:
string
- Introduced:
v5.2.1
layout
The type of card layout. For a Card (Token), this will only ever be
"token"
.
- Type:
string
- Introduced:
v4.0.0
loyalty optional
The starting loyalty value of the card. Used only on cards with
"Planeswalker"
in its types.
- Type:
string
- Introduced:
v4.0.0
name
The name of the card. Cards with multiple faces are given a
//
delimiter.
- Type:
string
- Example:
"Wear // Tear"
- Introduced:
v4.0.0
number
The number of the card. Cards can have a variety of numbers, letters and/or symbols for promotional qualities.
- Type:
string
- Introduced:
v4.0.0
orientation optional
The orientation of the card.
- Type:
string
- Introduced:
v5.2.1
otherFaceIds optional
A list of card
uuid
's to this card's counterparts, such as transformed or melded faces.
- Type:
string[]
- Introduced:
v4.6.1
power optional
The power of the card.
- Type:
string
- Introduced:
v4.0.0
promoTypes optional
A list of promotional types for a card.
- Type:
string[]
- Introduced:
v5.0.0
relatedCards
The related cards for this card. See the Related Cards Data Model.
- Type:
RelatedCards
- Introduced:
v5.2.1
reverseRelated deprecatedoptional
The names of the cards that produce this card.
This property is deprecated. Use the relatedCards property instead.
- Type:
string[]
- Introduced:
v4.0.0
securityStamp optional
The security stamp printed on the card.
- Type:
string
- Introduced:
v5.2.0
setCode
The printing set code that the card is from, formatted in uppercase.
- Type:
string
- Introduced:
v5.0.1
side optional
The identifier of the card side. Used on cards with multiple faces on the same card.
- Type:
string
- Introduced:
v4.1.0
signature optional
The name of the signature on the card.
- Type:
string
- Introduced:
v5.2.0
subsets optional
The names of the subset printings a card is in. Used primarily on "Secret Lair Drop" cards.
- Type:
string[]
- Introduced:
v5.2.1
subtypes
A list of card subtypes found after em-dash.
- Type:
string[]
- Introduced:
v4.0.0
supertypes
A list of card supertypes found before em-dash.
- Type:
string[]
- Introduced:
v4.0.0
text optional
The rules text of the card.
- Type:
string
- Introduced:
v4.0.0
toughness optional
The toughness of the card.
- Type:
string
- Introduced:
v4.0.0
type
The type of the card as visible, including any supertypes and subtypes and are given a
-
delimiter if appropriate.
- Type:
string
- Introduced:
v4.0.0
types
A list of all card types of the card, including Un‑sets and gameplay variants.
- Type:
string[]
- Introduced:
v4.0.0
uuid
The universal unique identifier (v5) generated by MTGJSON.
- Type:
string
- Introduced:
v4.0.0
watermark optional
The name of the watermark on the card.
- Type:
string
- Introduced:
v4.0.0