YGOPRODeck · JSON Structure

Ygoprodeck Api Card Type Entry Structure

Metadata for a single card type used by sort/filter UIs.

Type: object Properties: 4
GamesTrading Card GamesYu Gi OhCard DatabaseOpen DataCommunity APIPublic APIs

CardTypeEntry is a JSON Structure definition published by YGOPRODeck, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name group sortGroup area

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/yu-gi-oh/refs/heads/main/json-structure/ygoprodeck-api-card-type-entry-structure.json",
  "name": "CardTypeEntry",
  "description": "Metadata for a single card type used by sort/filter UIs.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Card type name.",
      "example": "Effect Monster"
    },
    "group": {
      "type": "string",
      "description": "Top-level card class.",
      "enum": [
        "MONSTER",
        "SPELL",
        "TRAP",
        "SKILL"
      ],
      "example": "MONSTER"
    },
    "sortGroup": {
      "type": "int32",
      "description": "Sort order for displaying types together.",
      "example": 2
    },
    "area": {
      "type": "array",
      "description": "Deck areas where this type may be placed.",
      "items": {
        "type": "string",
        "enum": [
          "MAIN",
          "EXTRA",
          "SIDE"
        ]
      },
      "example": [
        "MAIN",
        "SIDE"
      ]
    }
  }
}