forked from External/mage
Tests: migrating to mtgjson v5 (#6808);
This commit is contained in:
parent
e1806f808c
commit
ca254c6562
6 changed files with 171 additions and 154 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package mage.verify.mtgjson;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public final class MtgJsonCard {
|
||||
// v5 support
|
||||
// https://mtgjson.com/data-models/card-atomic/
|
||||
// contains only used fields, if you need more for tests then just add it here
|
||||
|
||||
public String name;
|
||||
|
||||
public String faceName;
|
||||
public String side;
|
||||
|
||||
public String manaCost;
|
||||
public List<String> colorIdentity;
|
||||
public List<String> colors;
|
||||
|
||||
public List<String> supertypes;
|
||||
public List<String> types;
|
||||
public List<String> subtypes;
|
||||
|
||||
public String text; // rules splits by \n
|
||||
|
||||
public String loyalty;
|
||||
public String power;
|
||||
public String toughness;
|
||||
|
||||
public Integer edhrecRank;
|
||||
public String layout;
|
||||
public List<String> printings; // set codes with that card
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue