com.jackschumann.test.deck

jackschumann.com

Documentation

MTG Decklist

main record

MTG Decklist

Record Key any Any valid record key

Properties

cards array of ref #cardEntry Required

Cards included in this deck

minLength: 1 items
createdAt string datetime Required

An RFC 3339 formatted timestamp.

name string Required

Name of deck

maxLength: 512 bytesminLength: 1 bytesmaxGraphemes: 128 graphemes
View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "cards",
      "createdAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 512,
        "minLength": 1,
        "description": "Name of deck",
        "maxGraphemes": 128
      },
      "cards": {
        "type": "array",
        "items": {
          "ref": "#cardEntry",
          "type": "ref"
        },
        "minLength": 1,
        "description": "Cards included in this deck"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "MTG Decklist"
}
cardEntry object

A single card entry in a decklist

Properties

count integer Required

Number of copies of this card

minimum: 1
oracleId string Required

Scryfall Oracle ID (UUID) for the card

maxLength: 36 bytesminLength: 36 bytes
tags array of ref#cardTag Optional

Optional free-form tags for this card entry

View raw schema
{
  "type": "object",
  "required": [
    "oracleId",
    "count"
  ],
  "properties": {
    "tags": {
      "type": "array",
      "items": {
        "ref": "#cardTag",
        "type": "ref"
      },
      "description": "Optional free-form tags for this card entry"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of copies of this card"
    },
    "oracleId": {
      "type": "string",
      "maxLength": 36,
      "minLength": 36,
      "description": "Scryfall Oracle ID (UUID) for the card"
    }
  },
  "description": "A single card entry in a decklist"
}
cardTag object

A free-form tag applied to a card entry

Properties

tag string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 128 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "tag"
  ],
  "properties": {
    "tag": {
      "type": "string",
      "maxLength": 640,
      "maxGraphemes": 128
    }
  },
  "description": "A free-form tag applied to a card entry"
}

Lexicon Garden

@