{
  "id": "reverse",
  "description": "Reverse the order of the cards in a pile: the top card becomes the bottom card; faces and end orientations are untouched",
  "labels": {
    "en": "Reverse",
    "es": "Invertir el orden",
    "fr": "Inverser l'ordre",
    "de": "Reihenfolge umkehren"
  },
  "family_ref": "true-handling",
  "action_contract": {
    "requires": [
      "target"
    ],
    "parameters": {},
    "post_state_invariant": "The target's cards end in the opposite order: the former top card is the bottom card and the former bottom card is the top card. No card changes face, end orientation, marks, crimp or jog, and no card leaves or joins the pile.",
    "post_state": {
      "state_schema_ref": "https://tamaraspec.org/schema/tcs-playing-cards-state-0.1.json",
      "effects": [
        {
          "op": "permute",
          "subject": "target",
          "permutation": "reverse"
        }
      ]
    }
  }
}