YGOPRODeck · JSON Structure

Ygoprodeck Api Card Class Values Structure

Valid values for a non-monster card class (Spell, Trap, or Skill).

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

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

Properties

type race

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-class-values-structure.json",
  "name": "CardClassValues",
  "description": "Valid values for a non-monster card class (Spell, Trap, or Skill).",
  "type": "object",
  "properties": {
    "type": {
      "type": "array",
      "description": "Types within this card class.",
      "items": {
        "type": "string"
      }
    },
    "race": {
      "type": "array",
      "description": "Sub-types or races within this card class.",
      "items": {
        "type": "string"
      }
    }
  }
}