MTG Copilot Docs
Data model

Card subtypes

Which subtypes each card has, parsed from its type line.

2 columns. Every value below is generated from the provenance registry.

FieldTypeSourceUpdatedWritten by
card_idstringcalculatedon writedatabase
Oracle-level card (FK → cards.id).
subtypestringcalculatedon writedatabase
One subtype parsed from the card's type line; a card contributes one row per subtype.

TypeScript model

interface card_subtypes {
  card_id: string
  subtype: string
}

On this page