cards.openstacks.mtg.deck
A Magic: The Gathering deck
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | mtg.openstacks.cards |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.formatNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"deckEntry": {
"description": "A card in a deck with quantity",
"properties": {
"card": {
"description": "AT URI reference to a card record",
"format": "at-uri",
"type": "string"
},
"quantity": {
"description": "Number of copies",
"minimum": 1,
"type": "integer"
}
},
"required": [
"card",
"quantity"
],
"type": "object"
},
"main": {
"description": "A Magic: The Gathering deck",
"key": "tid",
"record": {
"properties": {
"commanders": {
"description": "Commander(s) for Commander format",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"type": "array"
},
"companions": {
"description": "Companion(s)",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"description": "When this deck was created",
"format": "datetime",
"type": "string"
},
"description": {
"description": "Deck description / primer",
"maxLength": 5000,
"type": "string"
},
"format": {
"description": "Deck format",
"knownValues": [
"standard",
"modern",
"legacy",
"vintage",
"pioneer",
"commander",
"pauper",
"brawl",
"historic",
"alchemy",
"oathbreaker",
"premodern",
"casual"
],
"type": "string"
},
"mainboard": {
"description": "Main deck cards",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"type": "array"
},
"maybeboard": {
"description": "Cards being considered",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"type": "array"
},
"name": {
"description": "Deck name",
"maxLength": 256,
"type": "string"
},
"sideboard": {
"description": "Sideboard cards",
"items": {
"ref": "#deckEntry",
"type": "ref"
},
"type": "array"
},
"sourceUrl": {
"description": "Original source URL if imported (e.g., Moxfield link)",
"format": "uri",
"type": "string"
},
"updatedAt": {
"description": "When this deck was last updated",
"format": "datetime",
"type": "string"
}
},
"required": [
"name",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "cards.openstacks.mtg.deck",
"lexicon": 1
}