{
  "type": "object",
  "description": "Structured state schema (v0.3). Keys depend on prop type.",
  "additionalProperties": true,
  "properties": {
    "order": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/qualified_card_ref"
              }
            ]
          }
        }
      ],
      "description": "Ordering (e.g., 'unknown', ['ace', 'king', 'queen']). TAM-92: a member of a playing-cards pile may be another prop's card, written as a qualified_card_ref."
    },
    "orientation": {
      "type": "string",
      "enum": [
        "face_up",
        "face_down",
        "mixed"
      ],
      "description": "Card/prop orientation"
    },
    "reversed_cards": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of reversed card IDs"
    },
    "count": {
      "type": "number",
      "description": "Numeric count"
    },
    "grouping": {
      "type": "string",
      "description": "Grouping identifier"
    },
    "possession": {
      "type": "string",
      "description": "Who possesses the prop"
    }
  }
}