{
 "schema_version": "1.0",
 "nodes": [
  {
   "id": "product",
   "type": "input/image",
   "label": "Product",
   "parameters": {
    "image": "__JAR__",
    "required": true
   }
  },
  {
   "id": "rep",
   "type": "workflow/repeat",
   "label": "Until faithful",
   "parameters": {
    "max_attempts": 3,
    "on_exhausted": "best",
    "workflow": "__BODY__"
   }
  },
  {
   "id": "o_img",
   "type": "output/image",
   "label": "packshot",
   "parameters": {
    "output_name": "packshot"
   }
  },
  {
   "id": "o_acc",
   "type": "output/json",
   "label": "accepted",
   "parameters": {
    "output_name": "accepted"
   }
  },
  {
   "id": "o_disp",
   "type": "output/text",
   "label": "disposition",
   "parameters": {
    "output_name": "disposition"
   }
  },
  {
   "id": "o_rep",
   "type": "output/json",
   "label": "report",
   "parameters": {
    "output_name": "report"
   }
  }
 ],
 "connections": [
  {
   "from_node": "product",
   "from_output": "image",
   "to_node": "rep",
   "to_input": "product"
  },
  {
   "from_node": "rep",
   "from_output": "candidate",
   "to_node": "o_img",
   "to_input": "image"
  },
  {
   "from_node": "rep",
   "from_output": "accepted",
   "to_node": "o_acc",
   "to_input": "json"
  },
  {
   "from_node": "rep",
   "from_output": "disposition",
   "to_node": "o_disp",
   "to_input": "text"
  },
  {
   "from_node": "rep",
   "from_output": "report",
   "to_node": "o_rep",
   "to_input": "json"
  }
 ],
 "layout": {
  "nodes": {
   "product": {
    "x": 80,
    "y": 80
   },
   "rep": {
    "x": 420,
    "y": 80
   },
   "o_img": {
    "x": 760,
    "y": 80
   },
   "o_acc": {
    "x": 760,
    "y": 280
   },
   "o_disp": {
    "x": 760,
    "y": 480
   },
   "o_rep": {
    "x": 760,
    "y": 680
   }
  }
 }
}
