File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
specs/ingestion/common/schemas Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 28
28
$ref : ' ./common.yml#/cursor'
29
29
notifications :
30
30
$ref : ' #/Notifications'
31
+ policies :
32
+ $ref : ' #/Policies'
31
33
createdAt :
32
34
$ref : ' ./common.yml#/createdAt'
33
35
updatedAt :
@@ -67,6 +69,8 @@ TaskV1:
67
69
$ref : ' ./common.yml#/cursor'
68
70
notifications :
69
71
$ref : ' #/Notifications'
72
+ policies :
73
+ $ref : ' #/Policies'
70
74
createdAt :
71
75
$ref : ' ./common.yml#/createdAt'
72
76
updatedAt :
@@ -111,6 +115,8 @@ TaskCreate:
111
115
$ref : ' ./common.yml#/cursor'
112
116
notifications :
113
117
$ref : ' #/Notifications'
118
+ policies :
119
+ $ref : ' #/Policies'
114
120
required :
115
121
- sourceID
116
122
- destinationID
@@ -183,6 +189,8 @@ TaskUpdate:
183
189
$ref : ' #/failureThreshold'
184
190
notifications :
185
191
$ref : ' #/Notifications'
192
+ policies :
193
+ $ref : ' #/Policies'
186
194
187
195
TaskUpdateV1 :
188
196
type : object
@@ -575,10 +583,16 @@ Notifications:
575
583
enabled :
576
584
description : Whether to send email notifications, note that this doesn't prevent the task from being blocked.
577
585
type : boolean
578
- criticalThreshold :
579
- description : The number of critical failures in a row before blocking the task and sending a notification.
580
- type : integer
581
- minimum : 1
582
- maximum : 10
583
586
required :
584
587
- email
588
+
589
+ Policies :
590
+ type : object
591
+ additionalProperties : false
592
+ description : Set of rules for a task.
593
+ properties :
594
+ criticalThreshold :
595
+ description : The number of critical failures in a row before blocking the task and sending a notification.
596
+ type : integer
597
+ minimum : 1
598
+ maximum : 10
You can’t perform that action at this time.
0 commit comments