Author Topic: JSON standard Magic data definition document  (Read 1415 times)

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 934
  • Selina is my Superstar
    • View Profile
    • Amuseum
JSON standard Magic data definition document
« on: December 02, 2013, 11:38:41 AM »
This topic is a formal definition using JSON format for all Magic related data, including cards, sets, packs, etc.

CARD data
Card data contains only game-play related info, not set or art data (these are contained in Instance data).
Code: [Select]
{
"name":string,
"cost":string,
"rules":string,
"flavor":string,
"color":array of strings,
"supertype":array of strings,
"type":array of strings,
"subtype":array of strings,
"power":integer,
"toughness":integer,
"loyalty":integer,
"cmc":integer,
"share":array of names of other spells on the same physical card if available, // e.g. split cards, double-face, flip,

}




References:
http://mtgjson.com/
« Last Edit: December 02, 2013, 03:55:07 PM by Den »
Humans can be gay.
Superman is superhuman.
Q.E.D. Superman can be supergay.

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 934
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: JSON standard Magic data definition document
« Reply #1 on: December 11, 2013, 12:18:22 AM »
Reserved

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 934
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: JSON standard Magic data definition document
« Reply #2 on: December 11, 2013, 12:18:37 AM »
Reserved

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 934
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: JSON standard Magic data definition document
« Reply #3 on: December 11, 2013, 12:18:48 AM »
Reserved