17417: Merge branch 'main' into 17417-add-arm64
[arvados.git] / sdk / cwl / tests / wf / scatter2_subwf.cwl
index df4d992c359a42eeb619826aa14ce4b87aeab19d..218b0c5018df3963596a65854a499d2e0c7e2295 100644 (file)
@@ -1,10 +1,22 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
 {
   "$graph": [
     {
+      "$namespaces": {
+        "arv": "http://arvados.org/cwl#"
+      },
       "class": "Workflow",
+      "cwlVersion": "v1.0",
       "hints": [],
       "id": "#main",
       "inputs": [
+        {
+          "id": "#main/fileblub",
+          "type": "File"
+        },
         {
           "id": "#main/sleeptime",
           "type": "int"
           "run": {
             "baseCommand": "sleep",
             "class": "CommandLineTool",
+            "id": "#main/sleep1/subtool",
             "inputs": [
               {
-                "id": "#main/sleep1/sleeptime",
+                "id": "#main/sleep1/subtool/sleeptime",
                 "inputBinding": {
                   "position": 1
                 },
@@ -61,7 +74,7 @@
             ],
             "outputs": [
               {
-                "id": "#main/sleep1/out",
+                "id": "#main/sleep1/subtool/out",
                 "outputBinding": {
                   "outputEval": "out"
                 },
@@ -73,5 +86,8 @@
       ]
     }
   ],
+  "$namespaces": {
+    "arv": "http://arvados.org/cwl#"
+  },
   "cwlVersion": "v1.0"
-}
\ No newline at end of file
+}