mightstone.services.scryfall.models.Ruling

pydantic model mightstone.services.scryfall.models.Ruling

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).

Show JSON schema
{
   "title": "Ruling",
   "description": "Rulings represent Oracle rulings, Wizards of the Coast set release notes,\nor Scryfall notes for a particular card.\n\nIf two cards have the same name, they will have the same set of rulings objects.\nIf a card has rulings, it usually has more than one.\n\nRulings with a scryfall source have been added by the Scryfall team, either to\nprovide additional context for the card, or explain how the card works in an\nunofficial format (such as Duel Commander).",
   "type": "object",
   "properties": {
      "object": {
         "const": "ruling",
         "enum": [
            "ruling"
         ],
         "title": "Object",
         "type": "string"
      },
      "oracle_id": {
         "format": "uuid",
         "title": "Oracle Id",
         "type": "string"
      },
      "source": {
         "title": "Source",
         "type": "string"
      },
      "published_at": {
         "format": "date",
         "title": "Published At",
         "type": "string"
      },
      "comment": {
         "title": "Comment",
         "type": "string"
      }
   },
   "required": [
      "object",
      "oracle_id",
      "source",
      "published_at",
      "comment"
   ]
}

Fields:
field comment: str [Required]

The text of the ruling.

field object: Literal['ruling'] [Required]
field oracle_id: UUID [Required]

Oracle unique identifier

field published_at: date [Required]

The date when the ruling or note was published.

field source: str [Required]

A computer-readable string indicating which company produced this ruling, either wotc or scryfall.