[
  {
    "name": "Success Path (Order to Shipment)",
    "description": "The standard customer journey: Order Placement -> Availability Check -> Payment -> Shipment.",
    "steps": [
      "PLACE_ORDER", 
      "CHECK_AVAILABILITY->PENDING_PAYMENT", 
      "PAY_ORDER", 
      "SHIP_ORDER"
    ]
  },
  {
    "name": "Immediate Cancellation",
    "description": "User cancels the order immediately after payment.",
    "steps": [
      "PLACE_ORDER", 
      "CHECK_AVAILABILITY->PENDING_PAYMENT", 
      "PAY_ORDER", 
      "CANCEL_ORDER"
    ]
  },
  {
    "name": "Stock Out Flow",
    "description": "Order is cancelled because items are out of stock.",
    "steps": [
      "PLACE_ORDER", 
      "CHECK_AVAILABILITY->CANCELLED"
    ]
  }
]
