{
  "version": 0,
  "entry": "b1",
  "blocks": {
    "b1": {
      "type": "setVar",
      "inputs": {
        "name": "fields",
        "value": []
      },
      "next": "b2"
    },
    "b2": {
      "type": "listPush",
      "inputs": {
        "name": "fields",
        "value": {
          "type": "uiPromptField",
          "inputs": {
            "kind": "TEXT",
            "label": "Sequence name",
            "var": "sequenceName",
            "required": true,
            "defaultValue": "My Sequence"
          }
        }
      },
      "next": "b3"
    },
    "b3": {
      "type": "listPush",
      "inputs": {
        "name": "fields",
        "value": {
          "type": "uiPromptField",
          "inputs": {
            "kind": "CHECKBOX",
            "label": "Include markers",
            "var": "includeMarkers",
            "defaultValue": true
          }
        }
      },
      "next": "b4"
    },
    "b4": {
      "type": "listPush",
      "inputs": {
        "name": "fields",
        "value": {
          "type": "uiPromptField",
          "inputs": {
            "kind": "SELECT",
            "label": "Target video track",
            "var": "targetTrack",
            "options": [
              "V1",
              "V2",
              "V3"
            ],
            "defaultValue": "V1"
          }
        }
      },
      "next": "b5"
    },
    "b5": {
      "type": "uiPromptForm",
      "inputs": {
        "title": "Sequence Setup",
        "message": "Fill in the values for this workflow.",
        "fields": {
          "var": "fields"
        },
        "cancelBehavior": "STOP"
      },
      "next": "b6"
    },
    "b6": {
      "type": "uiShowMessage",
      "inputs": {
        "message": {
          "type": "textJoin",
          "inputs": {
            "items": [
              "sequenceName=",
              {
                "var": "sequenceName"
              },
              " includeMarkers=",
              {
                "var": "includeMarkers"
              },
              " targetTrack=",
              {
                "var": "targetTrack"
              }
            ]
          }
        }
      },
      "next": null
    }
  }
}
