-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.yaml
More file actions
1354 lines (1354 loc) · 45.2 KB
/
Copy pathschema.yaml
File metadata and controls
1354 lines (1354 loc) · 45.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
$defs:
callTask:
description: Defines the call to perform.
oneOf:
- allOf:
- $ref: '#/$defs/taskBase'
- properties:
call:
const: activity
type: string
with:
description: The activity call arguments.
properties:
arguments:
type: array
name:
description: The name of the activity to call on the defined Activity
service.
title: WithActivityName
type: string
taskQueue:
description: The name of the task queue to call on the defined Activity
service.
title: WithActivityTaskQueue
type: string
required:
- name
- taskQueue
title: ActivityArguments
type: object
unevaluatedProperties: false
description: Defines the external Temporal activity call to perform.
required:
- call
- with
title: CallActivity
type: object
unevaluatedProperties: false
- allOf:
- $ref: '#/$defs/taskBase'
- properties:
call:
const: grpc
type: string
with:
description: The GRPC call arguments.
properties:
arguments:
additionalProperties: true
description: The arguments, if any, to call the method with.
title: WithGRPCArguments
type: object
method:
description: The name of the method to call on the defined GRPC service.
title: WithGRPCMethod
type: string
proto:
$ref: '#/$defs/externalResource'
description: The proto resource that describes the GRPC service to
call.
title: WithGRPCProto
service:
properties:
host:
description: The hostname of the GRPC service to call.
pattern: ^[a-zA-Z0-9](?:[a-zA-Z0-9-.]{0,61}[a-zA-Z0-9])?$
title: WithGRPCServiceHost
type: string
name:
description: The name of the GRPC service to call.
title: WithGRPCServiceName
type: string
port:
description: The port number of the GRPC service to call.
maximum: 65535
minimum: 0
title: WithGRPCServicePort
type: integer
required:
- name
- host
title: WithGRPCService
type: object
unevaluatedProperties: false
required:
- proto
- service
- method
title: GRPCArguments
type: object
unevaluatedProperties: false
description: Defines the GRPC call to perform.
required:
- call
- with
title: CallGRPC
type: object
unevaluatedProperties: false
- allOf:
- $ref: '#/$defs/taskBase'
- properties:
call:
const: http
type: string
with:
description: The HTTP call arguments.
properties:
body:
description: The body, if any, of the HTTP request to perform.
title: HTTPBody
endpoint:
$ref: '#/$defs/endpoint'
description: The HTTP endpoint to send the request to.
title: HTTPEndpoint
headers:
description: A name/value mapping of the headers, if any, of the HTTP
request to perform.
oneOf:
- additionalProperties:
type: string
type: object
- $ref: '#/$defs/runtimeExpression'
title: HTTPHeaders
method:
description: The HTTP method of the HTTP request to perform.
title: HTTPMethod
type: string
output:
description: The http call output format. Defaults to 'content'.
enum:
- raw
- content
- response
title: HTTPOutput
type: string
query:
additionalProperties: true
description: A name/value mapping of the query parameters, if any,
of the HTTP request to perform.
oneOf:
- additionalProperties:
type: string
type: object
- $ref: '#/$defs/runtimeExpression'
title: HTTPQuery
redirect:
description: Specifies whether redirection status codes (`300-399`)
should be treated as errors.
title: HttpRedirect
type: boolean
required:
- method
- endpoint
title: HTTPArguments
type: object
unevaluatedProperties: false
description: Defines the HTTP call to perform.
required:
- call
- with
title: CallHTTP
type: object
unevaluatedProperties: false
title: CallTask
commonMetadata:
additionalProperties: true
properties:
activityOptions:
additionalProperties: true
properties:
disableEagerExecution:
description: If true, eager execution will not be requested, regardless
of worker settings. If false, eager execution may still be disabled
at the worker level or may not be requested due to lack of available
slots.
type: boolean
heartbeatTimeout:
$ref: '#/$defs/duration'
description: Heartbeat interval. A heartbeat must be set and be called
before the interval passes.
title: HeartbeatTimeout
priority:
additionalProperties: false
description: Configure an activity's priority and fairness
properties:
fairnessKey:
description: A short string that's used as a key for a fairness balancing
mechanism
title: FairnessKey
type: string
fairnessWeight:
description: Weight of a task can come from multiple sources for flexibility
title: FairnessWeight
type: number
priorityKey:
description: A positive integer from 1 to n, where smaller integers
correspond to higher priorities (tasks run sooner)
minimum: 1
title: PriorityKey
type: integer
title: Priority
type: object
retryPolicy:
additionalProperties: false
description: Specifies how to retry an Activity if an error occurs
properties:
backoffCoefficient:
default: 2
description: Coefficient used to calculate the next retry backoff
interval.
title: BackoffCoefficient
type: number
initialInterval:
$ref: '#/$defs/duration'
description: Backoff interval for the first retry. If BackoffCoefficient
is 1.0 then it is used for all retries.
title: InitialInterval
maximumAttempts:
default: 5
description: Maximum number of attempts. When exceeded the retries
stop even if not expired yet.
title: MaximumAttempts
type: integer
maximumInterval:
$ref: '#/$defs/duration'
description: Maximum backoff interval between retries.
title: MaximumInterval
nonRetryableErrorTypes:
default: []
description: Temporal server will stop retry if error type matches
this list.
items:
type: string
title: NonRetryableErrorTypes
type: array
title: RetryPolicy
type: object
scheduleToCloseTimeout:
$ref: '#/$defs/duration'
description: Total time that a workflow is willing to wait for an Activity
to complete.
title: ScheduleToCloseTimeout
scheduleToStartTimeout:
$ref: '#/$defs/duration'
description: Time that the Activity Task can stay in the Task Queue before
it is picked up by a Worker. Do not specify this timeout unless using
host specific Task Queues for Activity Tasks are being used for routing.
title: ScheduleToStartTimeout
startToCloseTimeout:
$ref: '#/$defs/duration'
default:
seconds: 15
description: Maximum time of a single Activity execution attempt.
title: StartToCloseTimeout
summary:
description: Add a summary to the Temporal workflow UI.
type: string
title: ActivityOptionsMetadata
type: object
title: CommonMetadata
type: object
containerLifetime:
description: The configuration of a container's lifetime
properties:
cleanup:
default: always
description: The container cleanup policy to use
enum:
- always
- never
title: ContainerCleanupPolicy
type: string
required:
- cleanup
title: ContainerLifetime
type: object
unevaluatedProperties: false
doTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
do:
$ref: '#/$defs/taskList'
description: The configuration of the tasks to perform sequentially.
title: DoTaskConfiguration
description: Allows to execute a list of tasks in sequence.
required:
- do
title: DoTask
type: object
unevaluatedProperties: false
documentMetadata:
additionalProperties: true
properties:
canMaxHistoryLength:
description: Allows you to test the Continue-As-New functionality by specifying
the max history length before triggering.
title: ContinueAsNewMaxHistoryLength
type: integer
scheduleId:
description: Set the schedule ID. If not set, this will to zigflow_<workflow.document.workflowType>
title: ScheduleID
type: string
scheduleInput:
description: Set the input.
title: ScheduleInput
type: array
scheduleWorkflowName:
description: Set the workflow name to trigger - this will either be the document.workflowType
or the Do task
minLength: 1
title: ScheduleWorkflowName
type: string
title: DocumentMetadata
type: object
duration:
oneOf:
- minProperties: 1
properties:
days:
description: Number of days, if any.
title: DurationDays
type: integer
hours:
description: Number of hours, if any.
title: DurationHours
type: integer
milliseconds:
description: Number of milliseconds, if any.
title: DurationMilliseconds
type: integer
minutes:
description: Number of minutes, if any.
title: DurationMinutes
type: integer
seconds:
description: Number of seconds, if any.
title: DurationSeconds
type: integer
type: object
unevaluatedProperties: false
endpoint:
description: Represents an endpoint.
oneOf:
- $ref: '#/$defs/runtimeExpression'
- $ref: '#/$defs/uriTemplate'
- properties:
uri:
description: The endpoint's URI.
oneOf:
- $ref: '#/$defs/uriTemplate'
description: The literal endpoint's URI.
title: LiteralEndpointURI
- $ref: '#/$defs/runtimeExpression'
description: An expression based endpoint's URI.
title: ExpressionEndpointURI
title: EndpointUri
required:
- uri
title: EndpointConfiguration
type: object
unevaluatedProperties: false
title: Endpoint
error:
description: Represents an error.
properties:
detail:
anyOf:
- $ref: '#/$defs/runtimeExpression'
title: ExpressionErrorDetails
- title: LiteralErrorDetails
type: string
description: A human-readable explanation specific to this occurrence of the
error.
title: ErrorDetails
instance:
description: A JSON Pointer used to reference the component the error originates
from.
oneOf:
- description: The literal error instance.
format: json-pointer
title: LiteralErrorInstance
type: string
- $ref: '#/$defs/runtimeExpression'
description: An expression based error instance.
title: ExpressionErrorInstance
title: ErrorInstance
status:
description: The status code generated by the origin for this occurrence of
the error.
title: ErrorStatus
type: integer
title:
anyOf:
- $ref: '#/$defs/runtimeExpression'
title: ExpressionErrorTitle
- title: LiteralErrorTitle
type: string
description: A short, human-readable summary of the error.
title: ErrorTitle
type:
description: A URI reference that identifies the error type.
oneOf:
- $ref: '#/$defs/uriTemplate'
description: The literal error type.
title: LiteralErrorType
- $ref: '#/$defs/runtimeExpression'
description: An expression based error type.
title: ExpressionErrorType
title: ErrorType
required:
- type
- status
title: Error
type: object
unevaluatedProperties: false
eventConsumptionStrategy:
description: Describe the event consumption strategy to adopt.
oneOf:
- properties:
all:
description: A list containing all the events that must be consumed.
items:
$ref: '#/$defs/eventFilter'
title: AllEventConsumptionStrategyConfiguration
type: array
required:
- all
title: AllEventConsumptionStrategy
- properties:
any:
description: A list containing any of the events to consume.
items:
$ref: '#/$defs/eventFilter'
title: AnyEventConsumptionStrategyConfiguration
type: array
required:
- any
title: AnyEventConsumptionStrategy
- properties:
one:
$ref: '#/$defs/eventFilter'
description: The single event to consume.
title: OneEventConsumptionStrategyConfiguration
required:
- one
title: OneEventConsumptionStrategy
title: EventConsumptionStrategy
type: object
unevaluatedProperties: false
eventFilter:
description: An event filter is a mechanism used to selectively process or handle
events based on predefined criteria, such as event type, source, or specific
attributes.
properties:
with:
$ref: '#/$defs/eventProperties'
description: An event filter is a mechanism used to selectively process or
handle events based on predefined criteria, such as event type, source,
or specific attributes.
minProperties: 1
title: WithEvent
required:
- with
title: EventFilter
type: object
unevaluatedProperties: false
eventProperties:
additionalProperties: true
description: Describes the properties of an event.
properties:
data:
anyOf:
- $ref: '#/$defs/runtimeExpression'
- true
description: The event's payload data
title: EventData
datacontenttype:
description: Content type of data value. This attribute enables data to carry
any type of content, whereby format and encoding might differ from that
of the chosen event format.
title: EventDataContentType
type: string
dataschema:
description: The schema describing the event format.
oneOf:
- $ref: '#/$defs/uriTemplate'
description: The literal event data schema.
title: LiteralDataSchema
- $ref: '#/$defs/runtimeExpression'
description: An expression based event data schema.
title: ExpressionDataSchema
title: EventDataschema
id:
description: The event's unique identifier.
title: EventId
type: string
source:
description: Identifies the context in which an event happened.
oneOf:
- $ref: '#/$defs/uriTemplate'
- $ref: '#/$defs/runtimeExpression'
title: EventSource
subject:
description: The subject of the event.
title: EventSubject
type: string
time:
description: When the event occurred.
oneOf:
- format: date-time
title: LiteralTime
type: string
- $ref: '#/$defs/runtimeExpression'
title: EventTime
type:
description: This attribute contains a value describing the type of event
related to the originating occurrence.
title: EventType
type: string
title: EventProperties
type: object
export:
description: Set the content of the context.
properties:
as:
description: A runtime expression, if any, used to export the output data
to the context.
oneOf:
- type: string
- type: object
title: ExportAs
schema:
$ref: '#/$defs/schema'
description: The schema used to describe and validate the workflow context.
title: ExportSchema
title: Export
type: object
unevaluatedProperties: false
externalResource:
description: Represents an external resource.
properties:
endpoint:
$ref: '#/$defs/endpoint'
description: The endpoint of the external resource.
title: ExternalResourceEndpoint
name:
description: The name of the external resource, if any.
title: ExternalResourceName
type: string
required:
- endpoint
title: ExternalResource
type: object
unevaluatedProperties: false
flowDirective:
anyOf:
- default: continue
enum:
- continue
- exit
- end
title: FlowDirectiveEnum
type: string
- type: string
description: Represents different transition options for a workflow.
title: FlowDirective
forTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
do:
$ref: '#/$defs/taskList'
title: ForTaskDo
for:
description: The definition of the loop that iterates over a range of values.
properties:
at:
default: index
description: The name of the variable used to store the index of the
current item being enumerated.
title: ForAt
type: string
each:
default: item
description: The name of the variable used to store the current item
being enumerated.
title: ForEach
type: string
in:
description: A runtime expression used to get the collection to enumerate.
title: ForIn
type: string
required:
- in
title: ForTaskConfiguration
type: object
unevaluatedProperties: false
while:
description: A runtime expression that represents the condition, if any,
that must be met for the iteration to continue.
title: While
type: string
description: Allows workflows to iterate over a collection of items, executing
a defined set of subtasks for each item in the collection. This task type is
instrumental in handling scenarios such as batch processing, data transformation,
and repetitive operations across datasets.
required:
- for
- do
title: ForTask
type: object
unevaluatedProperties: false
forkTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
fork:
description: The configuration of the branches to perform concurrently.
properties:
branches:
$ref: '#/$defs/taskList'
title: ForkBranches
compete:
default: false
description: Indicates whether or not the concurrent tasks are racing
against each other, with a single possible winner, which sets the
composite task's output.
title: ForkCompete
type: boolean
required:
- branches
title: ForkTaskConfiguration
type: object
unevaluatedProperties: false
description: Allows workflows to execute multiple tasks concurrently and optionally
race them against each other, with a single possible winner, which sets the
task's output.
required:
- fork
title: ForkTask
type: object
unevaluatedProperties: false
input:
description: Configures the input of a workflow or task.
properties:
schema:
$ref: '#/$defs/schema'
description: The schema used to describe and validate the input of the workflow
or task.
title: InputSchema
title: Input
type: object
unevaluatedProperties: false
listenTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
listen:
description: The configuration of the listener to use.
properties:
read:
default: data
description: Specifies how events are read during the listen operation.
enum:
- data
- envelope
- raw
title: ListenAndReadAs
type: string
to:
$ref: '#/$defs/eventConsumptionStrategy'
description: Defines the event(s) to listen to.
title: ListenTo
required:
- to
title: ListenTaskConfiguration
type: object
unevaluatedProperties: false
description: Provides a mechanism for workflows to await and react to external
events, enabling event-driven behaviour within workflow systems.
required:
- listen
title: ListenTask
type: object
unevaluatedProperties: false
output:
description: Configures the output of a workflow or task.
properties:
as:
description: A runtime expression, if any, used to mutate and/or filter the
output of the workflow or task.
oneOf:
- type: string
- type: object
title: OutputAs
schema:
$ref: '#/$defs/schema'
description: The schema used to describe and validate the output of the workflow
or task.
title: OutputSchema
title: Output
type: object
unevaluatedProperties: false
raiseTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
raise:
description: The definition of the error to raise.
properties:
error:
oneOf:
- $ref: '#/$defs/error'
description: Defines the error to raise.
title: RaiseErrorDefinition
- description: The name of the error to raise
title: RaiseErrorReference
type: string
title: RaiseTaskError
required:
- error
title: RaiseTaskConfiguration
type: object
unevaluatedProperties: false
description: Intentionally triggers and propagates errors.
required:
- raise
title: RaiseTask
type: object
unevaluatedProperties: false
runTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
run:
description: The configuration of the process to execute.
oneOf:
- description: Enables the execution of external processes encapsulated
within a containerized environment.
properties:
container:
description: The configuration of the container to run.
properties:
arguments:
description: A list of the arguments, if any, passed as argv to
the command or default container CMD
items:
type: string
title: ContainerArguments
type: array
command:
description: The command, if any, to execute on the container.
title: ContainerCommand
type: string
environment:
description: A key/value mapping of the environment variables,
if any, to use when running the configured process.
title: ContainerEnvironment
type: object
image:
description: The name of the container image to run.
title: ContainerImage
type: string
lifetime:
$ref: '#/$defs/containerLifetime'
description: An object, if any, used to configure the container's
lifetime
title: ContainerLifetime
name:
description: A runtime expression, if any, used to give specific
name to the container.
title: ContainerName
type: string
pullPolicy:
description: Pull policy for the container image
enum:
- always
- never
- ifNotPresent
title: PullPolicy
type: string
volumes:
description: The container's volume mappings, if any.
title: ContainerVolumes
type: object
required:
- image
- pullPolicy
title: Container
type: object
unevaluatedProperties: false
required:
- container
title: RunContainer
- description: Enables the execution of custom scripts or code within a
workflow, empowering workflows to perform specialised logic, data processing,
or integration tasks by executing user-defined scripts written in various
programming languages.
properties:
script:
description: The configuration of the script to run.
oneOf:
- description: The script's code.
properties:
code:
title: InlineScriptCode
type: string
required:
- code
title: InlineScript
type: object
- description: The script's resource.
properties:
source:
$ref: '#/$defs/externalResource'
title: ExternalScriptResource
required:
- source
title: ExternalScript
type: object
properties:
arguments:
description: A list of the arguments, if any, to the script as
argv
items:
type: string
title: ScriptArguments
type: array
environment:
additionalProperties: true
description: A key/value mapping of the environment variables,
if any, to use when running the configured script process.
title: ScriptEnvironment
type: object
language:
description: The language of the script to run.
enum:
- js
- python
title: ScriptLanguage
type: string
required:
- language
title: Script
type: object
unevaluatedProperties: false
required:
- script
title: RunScript
- description: Enables the execution of shell commands within a workflow,
enabling workflows to interact with the underlying operating system
and perform system-level operations, such as file manipulation, environment
configuration, or system administration tasks.
properties:
shell:
description: The configuration of the shell command to run.
properties:
arguments:
description: A list of the arguments, if any, to the shell command
as argv
items:
type: string
title: ShellArguments
type: array
command:
description: The shell command to run.
title: ShellCommand
type: string
environment:
additionalProperties: true
description: A key/value mapping of the environment variables,
if any, to use when running the configured process.
title: ShellEnvironment
type: object
required:
- command
title: Shell
type: object
unevaluatedProperties: false
required:
- shell
title: RunShell
- description: Enables the invocation and execution of nested workflows
within a parent workflow, facilitating modularization, reusability,
and abstraction of complex logic or business processes by encapsulating
them into standalone workflow units.
properties:
workflow:
description: The configuration of the workflow to run.
properties:
input:
additionalProperties: true
description: The data, if any, to pass as input to the workflow
to execute. The value should be validated against the target
workflow's input schema, if specified.
title: SubflowInput
type: object
type:
description: The workflow type to run.
title: SubflowType
type: string
required:
- type
title: SubflowConfiguration
type: object
unevaluatedProperties: false
required:
- workflow
title: RunWorkflow
properties:
await:
default: true
description: Whether to await the process completion before continuing.
title: AwaitProcessCompletion
type: boolean
title: RunTaskConfiguration
type: object
unevaluatedProperties: false
description: Provides the capability to execute external containers, shell commands,
scripts, or workflows.
required:
- run
title: RunTask
type: object
unevaluatedProperties: false
runtimeExpression:
description: A runtime expression.
pattern: ^\s*\$\{.+\}\s*$
title: RuntimeExpression
type: string
schema:
description: Represents the definition of a schema.
oneOf:
- properties:
document:
description: The schema's inline definition.
required:
- document
title: SchemaInline
properties:
format:
default: json
description: The schema's format. Defaults to 'json'. The (optional) version
of the format can be set using `{format}:{version}`.
title: SchemaFormat
type: string
title: Schema
type: object
unevaluatedProperties: false
setTask:
allOf:
- $ref: '#/$defs/taskBase'
- properties:
set:
description: The data to set.
oneOf:
- additionalProperties: true
minProperties: 1
type: object
- type: string
title: SetTaskConfiguration
description: A task used to set data.
required:
- set
title: SetTask
type: object
unevaluatedProperties: false
subscriptionIterator:
description: Configures the iteration over each item (event or message) consumed
by a subscription.
properties:
at:
default: index
description: The name of the variable used to store the index of the current
item being enumerated.
title: SubscriptionIteratorIndex
type: string
do:
$ref: '#/$defs/taskList'
description: The tasks to perform for each consumed item.
title: SubscriptionIteratorTasks
export:
$ref: '#/$defs/export'
description: An object, if any, used to customise the content of the workflow
context.
title: SubscriptionIteratorExport
item:
default: item
description: The name of the variable used to store the current item being
enumerated.
title: SubscriptionIteratorItem
type: string
output:
$ref: '#/$defs/output'
description: An object, if any, used to customise the item's output and to
document its schema.
title: SubscriptionIteratorOutput
title: SubscriptionIterator
type: object