@@ -33,13 +33,47 @@ properties:
33
33
description : A key/value mapping of the workflow's tags, if any.
34
34
additionalProperties : true
35
35
required : [ dsl, namespace, name, version ]
36
- description : Documents the workflow
36
+ description : Documents the workflow.
37
+ use :
38
+ type : object
39
+ properties :
40
+ authentications :
41
+ type : object
42
+ additionalProperties :
43
+ $ref : ' #/$defs/authenticationPolicy'
44
+ description : The workflow's reusable authentication policies.
45
+ errors :
46
+ type : object
47
+ additionalProperties :
48
+ $ref : ' #/$defs/error'
49
+ description : The workflow's reusable errors.
50
+ extensions :
51
+ type : object
52
+ additionalProperties :
53
+ $ref : ' #/$defs/extension'
54
+ description : The workflow's extensions.
55
+ functions :
56
+ type : object
57
+ additionalProperties :
58
+ $ref : ' #/$defs/function'
59
+ description : The workflow's reusable functions.
60
+ retries :
61
+ type : object
62
+ additionalProperties :
63
+ $ref : ' #/$defs/retryPolicy'
64
+ description : The workflow's reusable retry policies.
65
+ secrets :
66
+ type : array
67
+ items :
68
+ type : string
69
+ description : The workflow's secrets.
70
+ description : Defines the workflow's reusable components.
37
71
do :
38
72
type : object
39
73
minProperties : 1
40
74
additionalProperties :
41
75
$ref : ' #/$defs/task'
42
- description : Defines the tasks the workflow must perform
76
+ description : Defines the tasks the workflow must perform.
43
77
$defs :
44
78
task :
45
79
type : object
@@ -512,6 +546,24 @@ $defs:
512
546
type : string
513
547
additionalProperties : true
514
548
required : [ with ]
549
+ extension :
550
+ type : object
551
+ properties :
552
+ extend :
553
+ type : string
554
+ enum : [ call, composite, emit, for, listen, raise, run, set, switch, try, wait, all ]
555
+ description : The type of task to extend.
556
+ when :
557
+ type : string
558
+ description : A runtime expression, if any, used to determine whether or not the extension should apply in the specified context.
559
+ before :
560
+ $ref : ' #/$defs/task'
561
+ description : The task to execute before the extended task, if any.
562
+ after :
563
+ $ref : ' #/$defs/task'
564
+ description : The task to execute after the extended task, if any.
565
+ required : [ extend ]
566
+ description : The definition of a an extension.
515
567
externalResource :
516
568
type : object
517
569
properties :
0 commit comments