# Deck

The Deck file model describes a complete deck reference.

Parent file: All Decks
Parent property: data

# Model Index

# Model Properties

# code

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
  • Attributes: optional

# fileName

File name for the deck. Combines the name and code fields to avoid namespace collisions.

  • Type: string
  • 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

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: string | null
  • Introduced: v4.3.0

# type

The type of deck.

  • Type: string
  • Introduced: v4.3.0