{
  "id": "locate",
  "description": "Find a card of a packet by a state trait or physical state and note where it lies; nothing moves. A later cut, cull or other action can use the card as its key",
  "labels": {
    "en": "Locate",
    "es": "Localizar",
    "fr": "Localiser",
    "de": "Orten"
  },
  "family_ref": "true-handling",
  "action_contract": {
    "parameters": {
      "located_by": {
        "required": true,
        "description": "The state trait or physical state that identifies the card; it must pick out exactly one card of the packet",
        "domain": [
          "short",
          "long",
          "wide",
          "thick",
          "corner_short",
          "crimped",
          "jogged"
        ]
      },
      "key_to": {
        "required": false,
        "description": "Which side of the card the location lies on: directly above (top) or directly below (bottom) it. Whether the card itself is included is decided by the action that takes cards from the location",
        "domain": [
          "top",
          "bottom"
        ],
        "default": "top"
      },
      "name": {
        "required": false,
        "description": "A label for the location, so that a sequence can tell several locations apart",
        "domain": "string"
      }
    },
    "post_state_invariant": "target is unchanged: no card moves, turns or changes mark, crimp or jog. The location is knowledge about where a card lies, not prop state, so it stays a register entry rather than structured post_state; the action that uses it states its own located_by and key_to."
  }
}