{
  "flow": {
    "nodes": {
      "node": [
        {
          "id": "s1",
          "name": "普通脚本",
          "type": "script",
          "file": "json-script-file/s1.groovy"
        },
        {
          "id": "s2",
          "name": "条件脚本",
          "type": "switch_script",
          "file": "json-script-file/s2.groovy"
        }
      ]
    },
    "chain": [
      {
        "name": "chain1",
        "value": "THEN(a, b, c, s1);"
      },
      {
        "name": "chain2",
        "value": "THEN(d, SWITCH(s2).to(a, b));"
      }
    ]
  }
}