YGOPRODeck · Schema

CardTypeEntry

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

GamesTrading Card GamesYu Gi OhCard DatabaseOpen DataCommunity APIPublic APIs

Properties

Name Type Description
name string Card type name.
group string Top-level card class.
sortGroup integer Sort order for displaying types together.
area array Deck areas where this type may be placed.
View JSON Schema on GitHub

JSON Schema

ygoprodeck-api-card-type-entry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/yu-gi-oh/refs/heads/main/json-schema/ygoprodeck-api-card-type-entry-schema.json",
  "title": "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": "integer",
      "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"
      ]
    }
  }
}