@onlineapps/cookbook-core 2.1.11 → 2.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schemas/cookbook.v2.schema.json +39 -13
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
{ "$ref": "#/definitions/ForeachStep" },
|
|
60
60
|
{ "$ref": "#/definitions/ForkJoinStep" },
|
|
61
61
|
{ "$ref": "#/definitions/SwitchStep" },
|
|
62
|
-
{ "$ref": "#/definitions/
|
|
62
|
+
{ "$ref": "#/definitions/StepsStep" },
|
|
63
63
|
{ "$ref": "#/definitions/WaitStep" },
|
|
64
64
|
{ "$ref": "#/definitions/DispatchStep" }
|
|
65
65
|
]
|
|
@@ -137,16 +137,26 @@
|
|
|
137
137
|
"type": "string",
|
|
138
138
|
"const": "foreach"
|
|
139
139
|
},
|
|
140
|
-
"
|
|
140
|
+
"name": {
|
|
141
141
|
"type": "string",
|
|
142
142
|
"minLength": 1
|
|
143
143
|
},
|
|
144
|
+
"iterator": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"minLength": 1,
|
|
147
|
+
"description": "JSONPath expression to iterate over"
|
|
148
|
+
},
|
|
144
149
|
"body": {
|
|
145
|
-
"type": "
|
|
146
|
-
"
|
|
147
|
-
"
|
|
150
|
+
"type": "array",
|
|
151
|
+
"minItems": 1,
|
|
152
|
+
"items": {
|
|
148
153
|
"$ref": "#/definitions/Step"
|
|
149
|
-
}
|
|
154
|
+
},
|
|
155
|
+
"description": "Array of steps to execute for each iteration"
|
|
156
|
+
},
|
|
157
|
+
"output": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": true
|
|
150
160
|
}
|
|
151
161
|
}
|
|
152
162
|
},
|
|
@@ -216,7 +226,7 @@
|
|
|
216
226
|
}
|
|
217
227
|
}
|
|
218
228
|
},
|
|
219
|
-
"
|
|
229
|
+
"StepsStep": {
|
|
220
230
|
"type": "object",
|
|
221
231
|
"required": ["step_id", "type", "steps"],
|
|
222
232
|
"additionalProperties": true,
|
|
@@ -228,17 +238,33 @@
|
|
|
228
238
|
},
|
|
229
239
|
"type": {
|
|
230
240
|
"type": "string",
|
|
231
|
-
"const": "
|
|
241
|
+
"const": "steps"
|
|
242
|
+
},
|
|
243
|
+
"name": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"minLength": 1
|
|
232
246
|
},
|
|
233
247
|
"input": {
|
|
234
|
-
"type": "object"
|
|
248
|
+
"type": "object",
|
|
249
|
+
"description": "Input parameters for the nested steps group"
|
|
235
250
|
},
|
|
236
251
|
"steps": {
|
|
237
|
-
"type": "
|
|
238
|
-
"
|
|
239
|
-
"
|
|
252
|
+
"type": "array",
|
|
253
|
+
"minItems": 1,
|
|
254
|
+
"items": {
|
|
240
255
|
"$ref": "#/definitions/Step"
|
|
241
|
-
}
|
|
256
|
+
},
|
|
257
|
+
"description": "Array of nested steps (consistent with root steps)"
|
|
258
|
+
},
|
|
259
|
+
"max_depth": {
|
|
260
|
+
"type": "integer",
|
|
261
|
+
"minimum": 1,
|
|
262
|
+
"maximum": 10,
|
|
263
|
+
"description": "Override default nesting depth limit for this group"
|
|
264
|
+
},
|
|
265
|
+
"output": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"additionalProperties": true
|
|
242
268
|
}
|
|
243
269
|
}
|
|
244
270
|
},
|