Individual Set

The individual 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.

Data Structure

Property Traits

The property trait tags you see below earmark possible conditions for a field in this data structure.

Property Information

Name

baseSetSize

Type

integer

Example

259

Description

Number of cards in the set. Will default to {{code:totalSetSize}} if not available. Note that Wizards sometimes prints extra cards beyond the set size into promos or supplemental products.

Name

block

Type

string

Example

"Guilds of Ravnica"

Description

Block name the set was in.

Name

boosterV3

Type

array(array, string)

Example

[[mythic, rare], uncommon]

Description

The card rarity contents of a typical booster pack.

Name

cards

Type

array(object)

Example

{{link:card}}

Description

List of cards in this set.

Name

code

Type

string

Example

"RNA"

Description

Set code for the set.

Name

codeV3

Type

string

Traits

optional

Example

"XYZ"

Description

Alternate set code Wizards uses for a select few duel deck sets.

Name

isFoilOnly

Type

boolean

Traits

optional

Example

true

Description

Is the set available only in foil?

Name

isOnlineOnly

Type

boolean

Traits

optional

Example

true

Description

Is the set available online only?

Name

keyruneCode

Type

string

Example

"KTK"

Description

The matching keyrune code for {{external:Keyrune$https://andrewgioia.github.io/Keyrune/}} image icons.

Name

mcmName

Type

string

Example

"Ravnica Allegiance"

Description

The Magic Card Market set name.

Name

mcmId

Type

integer

Example

2411

Description

The Magic Card Market set ID.

Name

meta

Type

object(string: string)

Example

{{link:version}}

Description

See the {{link:version}} structure.

Name

mtgoCode

Type

string

Example

"RNA"

Description

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

Name

name

Type

string

Example

"Ravnica Allegiance"

Description

Name of the set.

Name

parentCode

Type

string

Example

"RNA"

Description

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

Name

releaseDate

Type

string

Example

"2019-01-25"

Description

Release date in {{external:ISO-8601$https://www.iso.org/iso-8601-date-and-time-format.html}} format for the set.

Name

tcgplayerGroupId

Type

integer

Example

2366

Description

Group ID of the set on TCGPlayer.

Name

tokens

Type

array(object)

Example

{{link:token}}

Description

Tokens available to the set. See the {{link:token}} structure.

Name

totalSetSize

Type

integer

Example

273

Description

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

Name

translations

Type

object(string: string)

Example

{{link:translations}}

Description

Translated set name by language. See the {{link:translations}} structure.

Name

type

Type

string

Traits

stale

Example

"expansion"

Description

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-07-08