11095: Add arv:ReuseRequirement hint. Update tests & documentation.
[arvados.git] / sdk / cwl / arvados_cwl / arv-cwl-schema.yml
index 6838c0f1ae9328878c0e638ae607b6cc3e5d9892..3107628958b3aa1101f419a1943949be2e7340c0 100644 (file)
@@ -149,3 +149,19 @@ $graph:
         be trashed before downstream steps that consume it are started.  The
         recommended minimum value for TTL is the expected duration of the
         entire the workflow.
+
+- name: ReuseRequirement
+  type: record
+  extends: cwl:ProcessRequirement
+  inVocab: false
+  doc: |
+    Enable/disable work reuse for current process.  Default true (work reuse enabled).
+  fields:
+    - name: class
+      type: string
+      doc: "Always 'arv:ReuseRequirement'"
+      jsonldPredicate:
+        _id: "@type"
+        _type: "@vocab"
+    - name: enableReuse
+      type: boolean