cards.openstacks.mtg.card

openstacks.cards

{
  "id": "cards.openstacks.mtg.card",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "scryfallOracleId",
          "layout"
        ],
        "properties": {
          "cmc": {
            "type": "integer",
            "description": "Converted mana cost / mana value"
          },
          "name": {
            "type": "string",
            "description": "Card name (front face name for multi-face cards)"
          },
          "faces": {
            "type": "array",
            "items": {
              "ref": "#cardFace",
              "type": "ref"
            },
            "description": "Individual faces for multi-face cards"
          },
          "power": {
            "type": "string",
            "description": "Power (for creatures), can be '*' or other special values"
          },
          "colors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Colors in the card's mana cost (W, U, B, R, G)"
          },
          "layout": {
            "type": "string",
            "description": "Card layout type",
            "knownValues": [
              "normal",
              "split",
              "flip",
              "transform",
              "modal_dfc",
              "meld",
              "leveler",
              "class",
              "saga",
              "adventure",
              "mutate",
              "prototype",
              "battle",
              "planar",
              "scheme",
              "vanguard",
              "token",
              "double_faced_token",
              "emblem",
              "augment",
              "host",
              "art_series",
              "reversible_card"
            ]
          },
          "loyalty": {
            "type": "string",
            "description": "Starting loyalty (for planeswalkers)"
          },
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Keyword abilities, e.g. ['Flying', 'Haste']"
          },
          "manaCost": {
            "type": "string",
            "description": "Mana cost in MTG notation, e.g. '{2}{U}{U}'"
          },
          "typeLine": {
            "type": "string",
            "description": "Full type line, e.g. 'Legendary Creature — Human Wizard'"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this record was created"
          },
          "toughness": {
            "type": "string",
            "description": "Toughness (for creatures), can be '*' or other special values"
          },
          "legalities": {
            "ref": "#legalities",
            "type": "ref",
            "description": "Format legality status"
          },
          "oracleText": {
            "type": "string",
            "description": "Rules text"
          },
          "colorIdentity": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Colors for Commander color identity rules"
          },
          "scryfallOracleId": {
            "type": "string",
            "description": "Scryfall oracle_id - shared across all printings"
          }
        }
      },
      "description": "A Magic: The Gathering card (oracle data)"
    },
    "cardFace": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Face name"
        },
        "power": {
          "type": "string"
        },
        "colors": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Colors for this face"
        },
        "loyalty": {
          "type": "string"
        },
        "manaCost": {
          "type": "string",
          "description": "Mana cost for this face"
        },
        "typeLine": {
          "type": "string",
          "description": "Type line for this face"
        },
        "toughness": {
          "type": "string"
        },
        "oracleText": {
          "type": "string",
          "description": "Oracle text for this face"
        }
      },
      "description": "One face of a multi-face card"
    },
    "legalities": {
      "type": "object",
      "properties": {
        "duel": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "brawl": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "penny": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "predh": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "future": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "legacy": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "modern": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "pauper": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "alchemy": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "pioneer": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "vintage": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "historic": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "standard": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "timeless": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "commander": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "gladiator": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "oldschool": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "premodern": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "oathbreaker": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "standardbrawl": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        },
        "paupercommander": {
          "type": "string",
          "knownValues": [
            "legal",
            "not_legal",
            "banned",
            "suspended"
          ]
        }
      },
      "description": "Format legality information"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against cards.openstacks.mtg.card

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:w34fhwhm4pcgw6k6at6cd3qf
CID
bafyreia5bgtp64numkz5jhltcs7iynjovfcagauwfqi2orjzug646onypa
Indexed At
2026-08-11 17:29 UTC
AT-URI
at://did:plc:w34fhwhm4pcgw6k6at6cd3qf/com.atproto.lexicon.schema/cards.openstacks.mtg.card

Lexicon Garden

@