Skip to content

Foreign Data ​

The Foreign Data Data Model describes the properties for a card in alternate languages.

TypeScript Model ​

Toggle Model
TypeScript
export type ForeignData = {
  faceName?: string;
  flavorText?: string;
  identifiers: Identifiers;
  language: string;
  name: string;
  skuIds: SkuIds;
  text?: string;
  type?: string;
  uuid: string;
};

Model Properties ​

faceName O ​

The foreign name on the face of the card.

  • Type: string
  • Introduced: v5.0.1

flavorText O ​

The foreign flavor text of the card.

  • Type: string
  • Introduced: v4.0.0

identifiers ​

The identifiers associated to a card. See the Identifiers Data Model.

  • Type: Identifiers
  • Introduced: v5.2.2

language ​

The foreign language of card.

  • Type: string
  • Introduced: v4.0.0

name ​

The foreign name of the card.

  • Type: string
  • Introduced: v4.0.0

skuIds ​

Per-finish unique identifiers for this language variant. See the SKU IDs Data Model.

  • Type: SkuIds
  • Introduced: v5.3.0

text O ​

The foreign text of the card.

  • Type: string
  • Introduced: v4.0.0

type O ​

The foreign type of the card, including any supertypes and subtypes, and are given a - delimiter if appropriate.

  • Type: string
  • Introduced: v4.0.0

uuid ​

The universal unique identifier (v5) generated by MTGJSON.

  • Type: string
  • Introduced: v5.2.2