TamaraThe specification

TCS v0.3

structured-state

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

Structured state schema (v0.3). Keys depend on prop type.

Source fragment

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

{
  "type": "object",
  "description": "Structured state schema (v0.3). Keys depend on prop type.",
  "additionalProperties": true,
  "properties": {
    "order": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "description": "Ordering (e.g., 'unknown', ['ace', 'king', 'queen'])"
    },
    "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"
    }
  }
}

Verbatim JSON · Source: schemas/conjuring-schema-0.3.json/$defs/structured_state