{
  "version": 2,
  "name": "Order Pipeline",
  "nodes": [
    {
      "id": "node-XKIyds0TDg",
      "type": "rectangle",
      "data": {
        "name": "POST /orders",
        "description": "Creates order, kicks off the pipeline.",
        "detail": "file://detail.md"
      }
    },
    {
      "id": "node-GXTKUcE3ye",
      "type": "rectangle",
      "data": {
        "name": "Inventory Service",
        "description": "Reserves stock.",
        "detail": "file://detail.md",
        "icon": "a-arrow-down-icon"
      }
    },
    {
      "id": "node-YOYiHJpY0i",
      "type": "rectangle",
      "data": {
        "name": "Payment Service",
        "description": "Charges card.",
        "detail": "file://detail.md"
      }
    },
    {
      "id": "node-zUIH7WFnhK",
      "type": "rectangle",
      "data": {
        "name": "Fulfillment Service",
        "description": "Enqueues shipment.",
        "detail": "file://detail.md"
      }
    }
  ],
  "connectors": [
    {
      "id": "conn-jJjuWBfe3a",
      "source": "node-XKIyds0TDg",
      "target": "node-GXTKUcE3ye",
      "eventName": "order.created",
      "label": "order.created"
    },
    {
      "id": "conn-8DkPOzrnYo",
      "source": "node-GXTKUcE3ye",
      "target": "node-YOYiHJpY0i",
      "eventName": "stock.reserved",
      "label": "stock.reserved"
    },
    {
      "id": "conn-qp90Rd2cgw",
      "source": "node-YOYiHJpY0i",
      "target": "node-zUIH7WFnhK",
      "eventName": "payment.captured",
      "label": "payment.captured"
    }
  ]
}
