# Deck
The Deck Data Model describes a complete deck reference.
Parent file: All Decks
Parent property: data
# Model Index
# Model Properties
# code
The set code for the deck.
- Type:
string
- Introduced:
v4.3.0
# commander
The card that is the Commander in this deck. See the Card (Deck) Data Model.
- Type:
object{props}
- Introduced:
v5.1.0
- Tags: Optional
# fileName
The file name for the deck. Combines the
name
andcode
fields to avoid namespace collisions and are given a delimiter of_
.
- Type:
string
- Examples:
"SpiritSquadron_VOC"
- Introduced:
v4.3.0
# mainBoard
The cards in the main-board. See the Card (Deck) Data Model.
- Type:
array[object]
- Introduced:
v4.3.0
# name
The name of the deck.
- Type:
string
- Introduced:
v4.3.0
# sideBoard
The cards in the side-board. See the Card (Deck) Data Model.
- Type:
array[object]
- Introduced:
v4.3.0
# releaseDate
The release date in ISO 8601 (opens new window) format for the set. Returns
null
if the set was not formally released as a product.
- Type:
null || string
- Introduced:
v4.3.0
# type
The type of deck.
- Type:
string
- Introduced:
v4.3.0