mightstone.services.mtgjson.models.Set
- pydantic model mightstone.services.mtgjson.models.Set
Show JSON schema
{ "title": "Set", "type": "object", "properties": { "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" }, "baseSetSize": { "since": "v4.1.0", "title": "Basesetsize", "type": "integer" }, "block": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Block" }, "booster": { "anyOf": [ { "type": "object" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Booster" }, "cards": { "items": { "$ref": "#/$defs/CardSet" }, "since": "v4.0.0", "title": "Cards", "type": "array" }, "cardsphereSetId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Cardspheresetid" }, "code": { "since": "v4.0.0", "title": "Code", "type": "string" }, "codeV3": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.2.1", "title": "Codev3" }, "isForeignOnly": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.1", "title": "Isforeignonly" }, "isFoilOnly": { "since": "v4.0.0", "title": "Isfoilonly", "type": "boolean" }, "isNonFoilOnly": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Isnonfoilonly" }, "isOnlineOnly": { "since": "v4.0.0", "title": "Isonlineonly", "type": "boolean" }, "isPaperOnly": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.6.2", "title": "Ispaperonly" }, "isPartialPreview": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Ispartialpreview" }, "keyruneCode": { "since": "v4.3.2", "title": "Keyrunecode", "type": "string" }, "languages": { "items": { "type": "string" }, "since": "v5.2.1", "title": "Languages", "type": "array" }, "mcmId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v4.4.0", "title": "Mcmid" }, "mcmIdExtras": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v5.1.0", "title": "Mcmidextras" }, "mcmName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.4.0", "title": "Mcmname" }, "mtgoCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Mtgocode" }, "name": { "since": "v4.0.0", "title": "Name", "type": "string" }, "parentCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.3.0", "title": "Parentcode" }, "releaseDate": { "format": "date", "since": "v4.0.0", "title": "Releasedate", "type": "string" }, "sealedProduct": { "anyOf": [ { "items": { "$ref": "#/$defs/SealedProduct" }, "type": "array" }, { "type": "null" } ], "since": "v5.2.0", "title": "Sealedproduct" }, "tcgplayerGroupId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v4.2.1", "title": "Tcgplayergroupid" }, "tokens": { "items": { "$ref": "#/$defs/CardToken" }, "since": "v4.0.0", "title": "Tokens", "type": "array" }, "tokenSetcode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Tokensetcode" }, "totalSetSize": { "since": "v4.1.0", "title": "Totalsetsize", "type": "integer" }, "translations": { "allOf": [ { "$ref": "#/$defs/Translations" } ], "since": "v4.3.2" }, "type": { "since": "v4.0.0", "title": "Type", "type": "string" } }, "$defs": { "CardSet": { "description": "The Card (Set) Data Model describes the properties of a single card in a ``Set``\nData Model.", "properties": { "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" }, "artist": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Artist" }, "asciiName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Asciiname" }, "attractionLights": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Attractionlights" }, "availability": { "items": { "type": "string" }, "since": "v5.0.0", "title": "Availability", "type": "array" }, "boosterTypes": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Boostertypes" }, "borderColor": { "since": "v4.0.0", "title": "Bordercolor", "type": "string" }, "cardParts": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Cardparts" }, "colorIdentity": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Coloridentity", "type": "array" }, "colorIndicator": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.0.2", "title": "Colorindicator" }, "colors": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Colors", "type": "array" }, "convertedManaCost": { "deprecated": true, "since": "v4.0.0", "title": "Convertedmanacost", "type": "number" }, "defense": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Defense" }, "edhrecRank": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v4.5.0", "title": "Edhrecrank" }, "edhrecSaltiness": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "since": "v4.5.0", "title": "Edhrecsaltiness" }, "faceConvertedManaCost": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "deprecated": true, "since": "v4.1.1", "title": "Faceconvertedmanacost" }, "faceFlavorName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Faceflavorname" }, "faceManaValue": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Facemanavalue" }, "faceName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Facename" }, "finishes": { "items": { "type": "string" }, "since": "v5.2.0", "title": "Finishes", "type": "array" }, "flavorName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Flavorname" }, "flavorText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Flavortext" }, "foreignData": { "items": { "$ref": "#/$defs/ForeignData" }, "since": "v4.0.0", "title": "Foreigndata", "type": "array" }, "frameEffects": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Frameeffects" }, "frameVersion": { "since": "v4.0.0", "title": "Frameversion", "type": "string" }, "hand": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.2.1", "title": "Hand" }, "hasAlternativeDeckLimit": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Hasalternativedecklimit" }, "hasContentWarning": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Hascontentwarning" }, "hasFoil": { "deprecated": true, "since": "v4.0.0", "title": "Hasfoil", "type": "boolean" }, "hasNonFoil": { "deprecated": true, "since": "v4.0.0", "title": "Hasnonfoil", "type": "boolean" }, "identifiers": { "allOf": [ { "$ref": "#/$defs/Identifiers" } ], "since": "v5.0.0" }, "isAlternative": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.2.0", "title": "Isalternative" }, "isFullArt": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Isfullart" }, "isFunny": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Isfunny" }, "isOnlineOnly": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.0.1", "title": "Isonlineonly" }, "isOversized": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Isoversized" }, "isPromo": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Ispromo" }, "isRebalanced": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Isrebalanced" }, "isReprint": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Isreprint" }, "isReserved": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.0.1", "title": "Isreserved" }, "isStarter": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Isstarter" }, "isStorySpotlight": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Isstoryspotlight" }, "isTextless": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Istextless" }, "isTimeshifted": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.1", "title": "Istimeshifted" }, "keywords": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Keywords" }, "language": { "since": "v5.2.1", "title": "Language", "type": "string" }, "layout": { "since": "v4.0.0", "title": "Layout", "type": "string" }, "leadershipSkills": { "anyOf": [ { "$ref": "#/$defs/LeadershipSkills" }, { "type": "null" } ], "default": null, "since": "v4.5.1" }, "legalities": { "allOf": [ { "$ref": "#/$defs/Legalities" } ], "since": "v4.0.0" }, "life": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.2.1", "title": "Life" }, "loyalty": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Loyalty" }, "manaCost": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Manacost" }, "manaValue": { "since": "v5.2.0", "title": "Manavalue", "type": "number" }, "name": { "since": "v4.0.0", "title": "Name", "type": "string" }, "number": { "since": "v4.0.0", "title": "Number", "type": "string" }, "originalPrintings": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Originalprintings" }, "originalReleaseDate": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.1.0", "title": "Originalreleasedate" }, "originalText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Originaltext" }, "originalType": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Originaltype" }, "otherFaceIds": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.6.1", "title": "Otherfaceids" }, "power": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Power" }, "printings": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Printings" }, "promoTypes": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Promotypes" }, "purchaseUrls": { "allOf": [ { "$ref": "#/$defs/PurchaseUrls" } ], "since": "v4.4.0" }, "rarity": { "since": "v4.0.0", "title": "Rarity", "type": "string" }, "rebalancedPrintings": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Rebalancedprintings" }, "relatedCards": { "anyOf": [ { "$ref": "#/$defs/RelatedCards" }, { "type": "null" } ], "default": null, "since": "v5.2.1" }, "rulings": { "anyOf": [ { "items": { "$ref": "#/$defs/Rulings" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Rulings" }, "securityStamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Securitystamp" }, "setCode": { "since": "v5.0.1", "title": "Setcode", "type": "string" }, "side": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.1.0", "title": "Side" }, "signature": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Signature" }, "subsets": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Subsets" }, "subtypes": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Subtypes", "type": "array" }, "supertypes": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Supertypes", "type": "array" }, "text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Text" }, "toughness": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Toughness" }, "type": { "since": "v4.0.0", "title": "Type", "type": "string" }, "types": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Types", "type": "array" }, "uuid": { "format": "uuid", "since": "v4.0.0", "title": "Uuid", "type": "string" }, "variations": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.1.2", "title": "Variations" }, "watermark": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Watermark" } }, "required": [ "availability", "borderColor", "colorIdentity", "colors", "convertedManaCost", "finishes", "foreignData", "frameVersion", "hasFoil", "hasNonFoil", "identifiers", "language", "layout", "legalities", "manaValue", "name", "number", "purchaseUrls", "rarity", "setCode", "subtypes", "supertypes", "type", "types", "uuid" ], "title": "CardSet", "type": "object" }, "CardToken": { "properties": { "uuid": { "format": "uuid", "since": "v4.0.0", "title": "Uuid", "type": "string" }, "artist": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Artist" }, "asciiName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Asciiname" }, "availability": { "items": { "type": "string" }, "since": "v5.0.0", "title": "Availability", "type": "array" }, "boosterTypes": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Boostertypes" }, "borderColor": { "since": "v4.0.0", "title": "Bordercolor", "type": "string" }, "cardParts": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Cardparts" }, "colorIdentity": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Coloridentity", "type": "array" }, "colorIndicator": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.0.2", "title": "Colorindicator" }, "colors": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Colors", "type": "array" }, "faceName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Facename" }, "faceFlavorName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Faceflavorname" }, "finishes": { "items": { "type": "string" }, "since": "v5.2.0", "title": "Finishes", "type": "array" }, "flavorText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Flavortext" }, "frameEffects": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Frameeffects" }, "frameVersion": { "since": "v4.0.0", "title": "Frameversion", "type": "string" }, "hasFoil": { "deprecated": true, "since": "v4.0.0", "title": "Hasfoil", "type": "boolean" }, "hasNonFoil": { "deprecated": true, "since": "v4.0.0", "title": "Hasnonfoil", "type": "boolean" }, "identifiers": { "allOf": [ { "$ref": "#/$defs/Identifiers" } ], "since": "v5.0.0" }, "isFullArt": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Isfullart" }, "isFunny": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Isfunny" }, "isOnlineOnly": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.0.1", "title": "Isonlineonly" }, "isPromo": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Ispromo" }, "isReprint": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "since": "v4.4.2", "title": "Isreprint" }, "keywords": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Keywords" }, "language": { "since": "v5.2.1", "title": "Language", "type": "string" }, "layout": { "since": "v4.0.0", "title": "Layout", "type": "string" }, "loyalty": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Loyalty" }, "name": { "since": "v4.0.0", "title": "Name", "type": "string" }, "number": { "since": "v4.0.0", "title": "Number", "type": "string" }, "orientation": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Orientation" }, "otherFaceIds": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.6.1", "title": "Otherfaceids" }, "power": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Power" }, "promoTypes": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Promotypes" }, "relatedCards": { "allOf": [ { "$ref": "#/$defs/RelatedCards" } ], "since": "v5.2.1" }, "reverseRelated": { "deprecated": true, "items": { "type": "string" }, "since": "v4.0.0", "title": "Reverserelated", "type": "array" }, "securityStamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Securitystamp" }, "setCode": { "since": "v5.0.1", "title": "Setcode", "type": "string" }, "side": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.1.0", "title": "Side" }, "signature": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Signature" }, "subsets": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Subsets" }, "subtypes": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Subtypes", "type": "array" }, "supertypes": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Supertypes", "type": "array" }, "text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Text" }, "toughness": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Toughness" }, "type": { "since": "v4.0.0", "title": "Type", "type": "string" }, "types": { "items": { "type": "string" }, "since": "v4.0.0", "title": "Types", "type": "array" }, "watermark": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Watermark" } }, "required": [ "uuid", "availability", "borderColor", "colorIdentity", "colors", "finishes", "frameVersion", "hasFoil", "hasNonFoil", "identifiers", "language", "layout", "name", "number", "relatedCards", "reverseRelated", "setCode", "subtypes", "supertypes", "type", "types" ], "title": "CardToken", "type": "object" }, "ForeignData": { "description": "The Foreign Data Data Model describes a list of properties for various Card Data\nModels in alternate languages.", "properties": { "faceName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.1", "title": "Facename" }, "flavorText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Flavortext" }, "language": { "since": "v4.0.0", "title": "Language", "type": "string" }, "multiverseId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Multiverseid" }, "name": { "since": "v4.0.0", "title": "Name", "type": "string" }, "text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Text" }, "type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Type" } }, "required": [ "language", "name" ], "title": "ForeignData", "type": "object" }, "Identifiers": { "properties": { "cardKingdomEtchedId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Cardkingdometchedid" }, "cardKingdomFoilId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Cardkingdomfoilid" }, "cardKingdomId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Cardkingdomid" }, "cardsphereId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Cardsphereid" }, "mcmId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.4.0", "title": "Mcmid" }, "mcmMetaId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.4.0", "title": "Mcmmetaid" }, "mtgArenaId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.5.0", "title": "Mtgarenaid" }, "mtgjsonFoilVersionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Mtgjsonfoilversionid" }, "mtgjsonNonFoilVersionId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Mtgjsonnonfoilversionid" }, "mtgoFoilId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.5.0", "title": "Mtgofoilid" }, "mtgoId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.5.0", "title": "Mtgoid" }, "mtgjsonV4Id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Mtgjsonv4Id" }, "multiverseId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Multiverseid" }, "scryfallId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Scryfallid" }, "scryfallOracleId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.3.1", "title": "Scryfalloracleid" }, "scryfallIllustrationId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.3.1", "title": "Scryfallillustrationid" }, "tcgplayerProductId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.2.1", "title": "Tcgplayerproductid" }, "tcgplayerEtchedProductId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Tcgplayeretchedproductid" } }, "title": "Identifiers", "type": "object" }, "LeadershipSkills": { "properties": { "brawl": { "since": "v4.5.1", "title": "Brawl", "type": "boolean" }, "commander": { "since": "v4.5.1", "title": "Commander", "type": "boolean" }, "oathbreaker": { "since": "v4.5.1", "title": "Oathbreaker", "type": "boolean" } }, "required": [ "brawl", "commander", "oathbreaker" ], "title": "LeadershipSkills", "type": "object" }, "Legalities": { "properties": { "brawl": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Brawl" }, "commander": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Commander" }, "duel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Duel" }, "explorer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Explorer" }, "future": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Future" }, "gladiator": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Gladiator" }, "historic": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.1.0", "title": "Historic" }, "historicbrawl": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Historicbrawl" }, "legacy": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Legacy" }, "modern": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Modern" }, "oldschool": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Oldschool" }, "pauper": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Pauper" }, "paupercommander": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Paupercommander" }, "penny": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Penny" }, "pioneer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Pioneer" }, "predh": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Predh" }, "premodern": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Premodern" }, "standard": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Standard" }, "vintage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Vintage" } }, "title": "Legalities", "type": "object" }, "PurchaseUrls": { "properties": { "cardKingdom": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Cardkingdom" }, "cardKingdomEtched": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Cardkingdometched" }, "cardKingdomFoil": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.0.0", "title": "Cardkingdomfoil" }, "cardmarket": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.4.0", "title": "Cardmarket" }, "tcgplayer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.4.0", "title": "Tcgplayer" }, "tcgplayerEtched": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Tcgplayeretched" } }, "title": "PurchaseUrls", "type": "object" }, "RelatedCards": { "properties": { "reverseRelated": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Reverserelated" }, "spellbook": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Spellbook" } }, "title": "RelatedCards", "type": "object" }, "Rulings": { "properties": { "date": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Date" }, "text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Text" } }, "title": "Rulings", "type": "object" }, "SealedProduct": { "properties": { "category": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Category" }, "identifiers": { "allOf": [ { "$ref": "#/$defs/Identifiers" } ], "since": "v5.2.0" }, "name": { "since": "v5.2.0", "title": "Name", "type": "string" }, "productSize": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Productsize" }, "purchaseUrls": { "allOf": [ { "$ref": "#/$defs/PurchaseUrls" } ], "since": "v5.2.0" }, "releaseDate": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.0", "title": "Releasedate" }, "subtype": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v5.2.1", "title": "Subtype" }, "uuid": { "format": "uuid", "since": "v5.2.0", "title": "Uuid", "type": "string" } }, "required": [ "identifiers", "name", "purchaseUrls", "uuid" ], "title": "SealedProduct", "type": "object" }, "Translations": { "description": "The Translations Data Model describes a Set name translated per available language.", "properties": { "Ancient Greek": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Ancient Greek" }, "Arabic": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Arabic" }, "Chinese Simplified": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Chinese Simplified" }, "Chinese Traditional": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Chinese Traditional" }, "French": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "French" }, "German": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "German" }, "Hebrew": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Hebrew" }, "Italian": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Italian" }, "Japanese": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Japanese" }, "Korean": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Korean" }, "Latin": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Latin" }, "Phyrexian": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.7.0", "title": "Phyrexian" }, "Portuguese (Brazil)": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Portuguese (Brazil)" }, "Russian": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Russian" }, "Sanskrit": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.6.0", "title": "Sanskrit" }, "Spanish": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "since": "v4.0.0", "title": "Spanish" } }, "title": "Translations", "type": "object" } }, "required": [ "baseSetSize", "cards", "code", "isFoilOnly", "isOnlineOnly", "keyruneCode", "languages", "name", "releaseDate", "sealedProduct", "tokens", "totalSetSize", "translations", "type" ] }
- Fields:
- Validators:
- field base_set_size: int [Required] (alias 'baseSetSize')
The number of cards in the set. This will default to totalSetSize if not available. Wizards of the Coast sometimes prints extra cards beyond the set size into promos or supplemental products.
- Validated by:
enforce_id
- field block: str | None = None
The block name the set was in.
- Validated by:
enforce_id
- field booster: dict | None = None
A breakdown of possibilities and weights of cards in a booster pack. See the Booster abstract model.
- Validated by:
enforce_id
- field cards: List[CardSet] [Required]
The list of cards in the set. See the Card (Set) Data Model.
- Validated by:
enforce_id
- field cardsphere_set_id: int | None = None (alias 'cardsphereSetId')
The Cardsphere set identifier.
- Validated by:
enforce_id
- field code: str [Required]
The set code for the set.
- Validated by:
enforce_id
- field code_v3: str | None = None (alias 'codeV3')
The alternate set code Wizards of the Coast uses for a select few duel deck sets.
- Validated by:
enforce_id
- field is_foil_only: bool [Required] (alias 'isFoilOnly')
If the set is only available in foil.
- Validated by:
enforce_id
- field is_foreign_only: bool | None = None (alias 'isForeignOnly')
If the set is available only outside the United States of America.
- Validated by:
enforce_id
- field is_non_foil_only: bool | None = None (alias 'isNonFoilOnly')
If the set is only available in non-foil.
- Validated by:
enforce_id
- field is_online_only: bool [Required] (alias 'isOnlineOnly')
If the set is only available in online game variations.
- Validated by:
enforce_id
- field is_paper_only: bool | None = None (alias 'isPaperOnly')
If the set is available only in paper.
- Validated by:
enforce_id
- field is_partial_preview: bool | None = None (alias 'isPartialPreview')
If the set is still in preview (spoiled). Preview sets do not have complete data.
- Validated by:
enforce_id
- field keyrune_code: str [Required] (alias 'keyruneCode')
The matching Keyrune code for set image icons.
- Validated by:
enforce_id
- field languages: List[str] [Required]
The languages the set was printed in.
- Validated by:
enforce_id
- field mcm_id: int | None = None (alias 'mcmId')
The Magic Card Market set identifier.
- Validated by:
enforce_id
- field mcm_id_extras: int | None = None (alias 'mcmIdExtras')
The split Magic Card Market set identifier if a set is printed in two sets. This identifier represents the second set’s identifier.
- Validated by:
enforce_id
- field mcm_name: str | None = None (alias 'mcmName')
The Magic Card Market set name.
- Validated by:
enforce_id
- field mtgo_code: str | None = None (alias 'mtgoCode')
The set code for the set as it appears on Magic: The Gathering Online.
- Validated by:
enforce_id
- field name: str [Required]
The name of the set.
- Validated by:
enforce_id
- field parent_code: str | None = None (alias 'parentCode')
The parent set code for set variations like promotions, guild kits, etc.
- Validated by:
enforce_id
- field release_date: date [Required] (alias 'releaseDate')
The release date in ISO 8601 format for the set.
- Validated by:
enforce_id
- field sealed_product: List[SealedProduct] | None [Required] (alias 'sealedProduct')
The sealed product information for the set. See the Sealed Product Data Model.
- Validated by:
enforce_id
- field tcgplayer_group_id: int | None = None (alias 'tcgplayerGroupId')
The group identifier of the set on TCGplayer.
- Validated by:
enforce_id
- field token_set_code: str | None = None (alias 'tokenSetcode')
The tokens set code, formatted in uppercase.
- Validated by:
enforce_id
- field tokens: List[CardToken] [Required]
The tokens available to the set. See the Card (Token) Data Model.
- Validated by:
enforce_id
- field total_set_size: int [Required] (alias 'totalSetSize')
The total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modifications - however those cards are included in the set itself.
- Validated by:
enforce_id
- field translations: Translations [Required]
The translated set name by language. See the Translations Data Model.
- Validated by:
enforce_id
- field type: str [Required]
The expansion type of the set. Examples: “alchemy”, “archenemy”, “arsenal”, “box”, “commander”
- Validated by:
enforce_id