Skip to content

Deck (Set)

The Deck (Set) Data Model describes the properties of an individual Deck within a Set.

  • Parent model: Set
  • Parent property: decks

TypeScript Model

Toggle Model
TypeScript
export type DeckSet = {
  code: string;
  commander: CardSetDeck[];
  mainBoard: CardSetDeck[];
  name: string;
  releaseDate: string;
  sealedProductUuids: string[] | null;
  sideBoard: CardSetDeck[];
  type: string;
};

Model Properties

code

The printing set code for the deck.

  • Type: string
  • Introduced: v5.2.2

commander

The card that is the Commander in this deck. See the Card (Set Deck) Data Model.

  • Type: CardSetDeck[]
  • Introduced: v5.2.2

mainBoard

The cards in the main-board. See the Card (Set Deck) Data Model.

  • Type: CardSetDeck[]
  • Introduced: v5.2.2

name

The name of the deck.

  • Type: string
  • Introduced: v5.2.2

releaseDate

The release date in ISO 8601 format for the deck.

  • Type: string
  • Introduced: v5.2.2

sealedProductUuids

A list of UUID's associated to this Deck in a Sealed Product.

  • Type: string[] | null
  • Introduced: v5.2.2

sideBoard

The cards in the side-board. See the Card (Set Deck) Data Model.

  • Type: CardSetDeck[]
  • Introduced: v5.2.2

type

The type of deck.

  • Type: string
  • Introduced: v5.2.2