TamaraThe specification

TCS taxonomy v0.2

Playing Cards

Experimental: structure may change in a subsequent edition. This page is pinned to v0.2.

Standard playing card deck

Source fragment

The following is documentation data, not a standalone document or validation schema. Resolve references against the original source schema.

{
  "id": "playing_cards",
  "description": "Standard playing card deck",
  "labels": {
    "en": "Playing Cards",
    "es": "Cartas",
    "fr": "Cartes à Jouer",
    "de": "Spielkarten"
  },
  "state_schema": {
    "order": {
      "type": "string",
      "enum": [
        "unknown",
        "ordered",
        "shuffled"
      ]
    },
    "orientation": {
      "type": "string",
      "enum": [
        "face_up",
        "face_down",
        "mixed"
      ]
    },
    "count": {
      "type": "number",
      "minimum": 0,
      "maximum": 52
    },
    "reversed_cards": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "common_states": [
    "order",
    "orientation",
    "count",
    "reversed_cards"
  ]
}

Verbatim JSON · Source: schemas/tcs-taxonomy-0.2.json/prop_types/playing_cards