A Magic: The Gathering deck
Record Key
tid
Timestamp-based ID
Properties
commanders
array
of
ref
#deckEntry
Optional
Commander(s) for Commander format
companions
array
of
ref
#deckEntry
Optional
Companion(s)
createdAt
string
datetime
Required
When this deck was created
description
string
Optional
Deck description / primer
maxLength: 5000 bytesformat
string
Optional
Deck format
Known values:
standard, modern, legacy, vintage, pioneer, commander, pauper, brawl, historic, alchemy, oathbreaker, premodern, casualmainboard
array
of
ref
#deckEntry
Optional
Main deck cards
maybeboard
array
of
ref
#deckEntry
Optional
Cards being considered
name
string
Required
Deck name
maxLength: 256 bytessideboard
array
of
ref
#deckEntry
Optional
Sideboard cards
sourceUrl
string
uri
Optional
Original source URL if imported (e.g., Moxfield link)
updatedAt
string
datetime
Optional
When this deck was last updated
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"maxLength": 256,
"description": "Deck name"
},
"format": {
"type": "string",
"description": "Deck format",
"knownValues": [
"standard",
"modern",
"legacy",
"vintage",
"pioneer",
"commander",
"pauper",
"brawl",
"historic",
"alchemy",
"oathbreaker",
"premodern",
"casual"
]
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When this deck was created"
},
"mainboard": {
"type": "array",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"description": "Main deck cards"
},
"sideboard": {
"type": "array",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"description": "Sideboard cards"
},
"sourceUrl": {
"type": "string",
"format": "uri",
"description": "Original source URL if imported (e.g., Moxfield link)"
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "When this deck was last updated"
},
"commanders": {
"type": "array",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"description": "Commander(s) for Commander format"
},
"companions": {
"type": "array",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"description": "Companion(s)"
},
"maybeboard": {
"type": "array",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"description": "Cards being considered"
},
"description": {
"type": "string",
"maxLength": 5000,
"description": "Deck description / primer"
}
}
},
"description": "A Magic: The Gathering deck"
}