TamaraThe specification

TCS v0.4

qualified-card-ref

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

TAM-92: a card of another prop, named by its identity (origin prop, local token). A pile lists the host's own cards as bare card_token strings and any other prop's cards as this object; writing the host itself as prop_ref is rejected by the validator (nonCanonicalCardRef). Defined identically in the TCS document schema (conjuring-schema-0.4.json) and the playing-cards state schema (tcs-playing-cards-state-0.1.json); a drift-guard test compares the two.

Source fragment

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

{
  "type": "object",
  "required": [
    "prop_ref",
    "card_ref"
  ],
  "additionalProperties": false,
  "description": "TAM-92: a card of another prop, named by its identity (origin prop, local token). A pile lists the host's own cards as bare card_token strings and any other prop's cards as this object; writing the host itself as prop_ref is rejected by the validator (nonCanonicalCardRef). Defined identically in the TCS document schema (conjuring-schema-0.4.json) and the playing-cards state schema (tcs-playing-cards-state-0.1.json); a drift-guard test compares the two.",
  "properties": {
    "prop_ref": {
      "type": "string",
      "minLength": 1,
      "pattern": "^[a-z0-9][a-z0-9-]*$"
    },
    "card_ref": {
      "type": "string",
      "minLength": 1,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9~_-]*$"
    }
  }
}

Verbatim JSON · Source: schemas/conjuring-schema-0.4.json/$defs/qualified_card_ref