mightstone.services.mtgjson.models.CardTypes

pydantic model mightstone.services.mtgjson.models.CardTypes

The Card Types Data Model describes card types that a card may have.

Show JSON schema
{
   "title": "CardTypes",
   "description": "The Card Types Data Model describes card types that a card may have.",
   "type": "object",
   "properties": {
      "artifact": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "conspiracy": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "creature": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "enchantment": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "instant": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "land": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "phenomenon": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "plane": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "planeswalker": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "scheme": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "sorcery": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "tribal": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      },
      "vanguard": {
         "allOf": [
            {
               "$ref": "#/$defs/Types"
            }
         ],
         "since": "v4.0.0"
      }
   },
   "$defs": {
      "Types": {
         "description": "The Types Data Model describes all types available on a Card.",
         "properties": {
            "subTypes": {
               "items": {
                  "type": "string"
               },
               "since": "v4.0.0",
               "title": "Subtypes",
               "type": "array"
            },
            "superTypes": {
               "items": {
                  "type": "string"
               },
               "since": "v4.0.0",
               "title": "Supertypes",
               "type": "array"
            }
         },
         "required": [
            "subTypes",
            "superTypes"
         ],
         "title": "Types",
         "type": "object"
      }
   },
   "required": [
      "artifact",
      "conspiracy",
      "creature",
      "enchantment",
      "instant",
      "land",
      "phenomenon",
      "plane",
      "planeswalker",
      "scheme",
      "sorcery",
      "tribal",
      "vanguard"
   ]
}

Fields:
field artifact: Types [Required]

All possible subtypes and supertypes for Artifact cards.

field conspiracy: Types [Required]

All possible subtypes and supertypes for Conspiracy cards.

field creature: Types [Required]

All possible subtypes and supertypes for Creature cards.

field enchantment: Types [Required]

All possible subtypes and supertypes for Enchantment cards.

field instant: Types [Required]

All possible subtypes and supertypes for Instant cards.

field land: Types [Required]

All possible subtypes and supertypes for Land cards.

field phenomenon: Types [Required]

All possible subtypes and supertypes for Phenomenon cards.

field plane: Types [Required]

All possible subtypes and supertypes for Plane cards.

field planeswalker: Types [Required]

All possible subtypes and supertypes for Planeswalker.

field scheme: Types [Required]

All possible subtypes and supertypes for Scheme cards.

field sorcery: Types [Required]

All possible subtypes and supertypes for Sorcery cards.

field tribal: Types [Required]

All possible subtypes and supertypes for Tribal cards.

field vanguard: Types [Required]

All possible subtypes and supertypes for Vanguard cards.