Set

The set structure describes the properties and values of a single set.

Potential Parent property type: object(string: any)
Property type: string

The `Individual Set` file type and `set` structure type are both the same.

Structure

propertytypeexampledescription

baseSetSize

integer
259
Number of cards in the set. Will default to `totalSetSize` if not available. Note that Wizards sometimes prints extra cards beyond the set size into promos or supplemental products.

block

string
"Guilds of Ravnica"
Block name the set was in.

boosterV3

array(array, string)
[[mythic, rare], uncommon]
The card rarity contents of a typical booster pack.

cards

array(object)
{{link:card}}
List of cards in this set.

code

string
"RNA"
Set code for the set.

codeV3

string
"XYZ"
Alternate set code Wizards uses for a select few duel deck sets. (If there is not an alternate set code, this field is omitted.)

isFoilOnly

boolean
false
Set available only in foil. (If false, it is usually omitted.)

isOnlineOnly

boolean
false
Set available online only. (If false, it is usually omitted.)

keyruneCode

string
"KTK"
The matching keyrune code for keyrune.css image icons.

mcmName

string
"Ravnica Allegiance"
The Magic Card Market set name.

mcmId

integer
2411
The Magic Card Market set id.

meta

object(string: string)
{{link:version}}
See the {{link:version}} structure.

mtgoCode

string
"RNA"
Set code for the set as it appears on Magic: The Gathering Online.

name

string
"Ravnica Allegiance"
Name of the set.

parentCode

string
"RNA"
The parent set code for set variations like promotions, guild kits, etc.

releaseDate

string
"2019-01-25"
Date of release for the set.

tcgplayerGroupId

integer
2366
Group ID of the set on TCGPlayer.

tokens

array(object)
{{link:token}}
Tokens available to the set. See the {{link:token}} structure.

totalSetSize

integer
273
Total number of cards in the set, including promos and related supplemental products.

translations

object(string: string)
{{link:translations}}
Translated set name by language. See the {{link:translations}} structure.

type

string
"expansion"
As of 03-28-2019, the possible values are {{code:archenemy}}, {{code:box}}, {{code:core}}, {{code:commander}}, {{code:draft_innovation}}, {{code:duel_deck}}, {{code:expansion}}, {{code:from_the_vault}}, {{code:funny}}, {{code:masters}}, {{code:masterpiece}}, {{code:memorabilia}}, {{code:spellbook}}, {{code:planechase}}, {{code:premium_deck}}, {{code:promo}}, {{code:starter}}, {{code:token}}, {{code:treasure_chest}} or {{code:vanguard}}
Last Updated: 2019-04-26