-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIScryfallRuling.ts
39 lines (34 loc) · 1.03 KB
/
IScryfallRuling.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { IScryfallObject } from "./IScryfallObject";
/**
* Rulings represent Oracle rulings, Wizards of the Coast set release notes, or Scryfall notes for a particular card.
*
* If two cards have the same name, they will have the same set of rulings objects. If a card has rulings, it usually
* has more than one.
*
* Rulings with a `scryfall` source have been added by the Scryfall team, either to provide additional context for the
* card, or explain how the card works in an unofficial format (such as Duel Commander).
*
* @see https://scryfall.com/docs/api/rulings
*/
export interface IScryfallRuling extends IScryfallObject {
/**
* @inheritDoc
*/
object: "ruling";
/**
* A computer-readable string indicating which company produced this ruling, either `wotc` or `scryfall`.
*/
source: string;
/**
* The date when the ruling or note was published.
*/
published_at: string;
/**
* The text of the ruling.
*/
comment: string;
/**
* Oracle ID of the card.
*/
oracle_id?: string | null;
}