@inf-monkeys-tech/monkeys 1.0.0

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.
Files changed (188) hide show
  1. package/README.md +38 -0
  2. package/lib/contracts/artifact.d.ts +112 -0
  3. package/lib/contracts/artifact.d.ts.map +1 -0
  4. package/lib/contracts/artifact.js +60 -0
  5. package/lib/contracts/artifact.js.map +1 -0
  6. package/lib/contracts/capability.d.ts +347 -0
  7. package/lib/contracts/capability.d.ts.map +1 -0
  8. package/lib/contracts/capability.js +135 -0
  9. package/lib/contracts/capability.js.map +1 -0
  10. package/lib/contracts/common.d.ts +32 -0
  11. package/lib/contracts/common.d.ts.map +1 -0
  12. package/lib/contracts/common.js +46 -0
  13. package/lib/contracts/common.js.map +1 -0
  14. package/lib/contracts/context.d.ts +213 -0
  15. package/lib/contracts/context.d.ts.map +1 -0
  16. package/lib/contracts/context.js +96 -0
  17. package/lib/contracts/context.js.map +1 -0
  18. package/lib/contracts/continuity.d.ts +142 -0
  19. package/lib/contracts/continuity.d.ts.map +1 -0
  20. package/lib/contracts/continuity.js +66 -0
  21. package/lib/contracts/continuity.js.map +1 -0
  22. package/lib/contracts/data.d.ts +135 -0
  23. package/lib/contracts/data.d.ts.map +1 -0
  24. package/lib/contracts/data.js +85 -0
  25. package/lib/contracts/data.js.map +1 -0
  26. package/lib/contracts/dtcg-format.schema.json +1759 -0
  27. package/lib/contracts/index.d.ts +14 -0
  28. package/lib/contracts/index.d.ts.map +1 -0
  29. package/lib/contracts/index.js +30 -0
  30. package/lib/contracts/index.js.map +1 -0
  31. package/lib/contracts/page.d.ts +482 -0
  32. package/lib/contracts/page.d.ts.map +1 -0
  33. package/lib/contracts/page.js +307 -0
  34. package/lib/contracts/page.js.map +1 -0
  35. package/lib/contracts/render.d.ts +1032 -0
  36. package/lib/contracts/render.d.ts.map +1 -0
  37. package/lib/contracts/render.js +386 -0
  38. package/lib/contracts/render.js.map +1 -0
  39. package/lib/contracts/semantic.d.ts +477 -0
  40. package/lib/contracts/semantic.d.ts.map +1 -0
  41. package/lib/contracts/semantic.js +111 -0
  42. package/lib/contracts/semantic.js.map +1 -0
  43. package/lib/contracts/tenant.d.ts +2495 -0
  44. package/lib/contracts/tenant.d.ts.map +1 -0
  45. package/lib/contracts/tenant.js +573 -0
  46. package/lib/contracts/tenant.js.map +1 -0
  47. package/lib/contracts/theme.d.ts +30 -0
  48. package/lib/contracts/theme.d.ts.map +1 -0
  49. package/lib/contracts/theme.js +55 -0
  50. package/lib/contracts/theme.js.map +1 -0
  51. package/lib/contracts/trend.d.ts +577 -0
  52. package/lib/contracts/trend.d.ts.map +1 -0
  53. package/lib/contracts/trend.js +276 -0
  54. package/lib/contracts/trend.js.map +1 -0
  55. package/lib/contracts/workflow-definition.d.ts +661 -0
  56. package/lib/contracts/workflow-definition.d.ts.map +1 -0
  57. package/lib/contracts/workflow-definition.js +337 -0
  58. package/lib/contracts/workflow-definition.js.map +1 -0
  59. package/lib/index.d.ts +7 -0
  60. package/lib/index.d.ts.map +1 -0
  61. package/lib/index.js +34 -0
  62. package/lib/index.js.map +1 -0
  63. package/lib/json-schema/agent-runtime-event.schema.json +104 -0
  64. package/lib/json-schema/application-handoff.schema.json +377 -0
  65. package/lib/json-schema/application-run.schema.json +302 -0
  66. package/lib/json-schema/artifact-manifest.schema.json +375 -0
  67. package/lib/json-schema/body-relation-record.schema.json +177 -0
  68. package/lib/json-schema/brand-body.schema.json +140 -0
  69. package/lib/json-schema/brand-genetics-profile.schema.json +169 -0
  70. package/lib/json-schema/capability-manifest.schema.json +412 -0
  71. package/lib/json-schema/capability-registry.schema.json +474 -0
  72. package/lib/json-schema/change-impact-graph.schema.json +274 -0
  73. package/lib/json-schema/completion-event.schema.json +321 -0
  74. package/lib/json-schema/completion-header.schema.json +276 -0
  75. package/lib/json-schema/concept-definition.schema.json +101 -0
  76. package/lib/json-schema/conductor-workflow-definition.schema.json +404 -0
  77. package/lib/json-schema/data-continuity-envelope.schema.json +269 -0
  78. package/lib/json-schema/domain-command-definition.schema.json +121 -0
  79. package/lib/json-schema/domain-command.schema.json +204 -0
  80. package/lib/json-schema/domain-event.schema.json +161 -0
  81. package/lib/json-schema/execution-link.schema.json +190 -0
  82. package/lib/json-schema/expiring-access-grant.schema.json +127 -0
  83. package/lib/json-schema/hotword-body.schema.json +186 -0
  84. package/lib/json-schema/index.json +56 -0
  85. package/lib/json-schema/lineage-record.schema.json +370 -0
  86. package/lib/json-schema/ontology-definition.schema.json +91 -0
  87. package/lib/json-schema/output-record.schema.json +157 -0
  88. package/lib/json-schema/overlay-node.schema.json +892 -0
  89. package/lib/json-schema/page-definition.schema.json +527 -0
  90. package/lib/json-schema/page-runtime-descriptor.schema.json +720 -0
  91. package/lib/json-schema/page-runtime-projection.schema.json +464 -0
  92. package/lib/json-schema/product-body.schema.json +178 -0
  93. package/lib/json-schema/product-declaration.schema.json +1410 -0
  94. package/lib/json-schema/projection-spec.schema.json +151 -0
  95. package/lib/json-schema/radar-action-record.schema.json +144 -0
  96. package/lib/json-schema/radar-analysis-run.schema.json +424 -0
  97. package/lib/json-schema/radar-opportunity-matrix.schema.json +155 -0
  98. package/lib/json-schema/radar-panorama.schema.json +235 -0
  99. package/lib/json-schema/radar-query-body.schema.json +101 -0
  100. package/lib/json-schema/radar-score-model-body.schema.json +88 -0
  101. package/lib/json-schema/radar-score-projection.schema.json +184 -0
  102. package/lib/json-schema/radar-selection.schema.json +134 -0
  103. package/lib/json-schema/radar-writeback-record.schema.json +124 -0
  104. package/lib/json-schema/render-node.schema.json +776 -0
  105. package/lib/json-schema/render-tree.schema.json +815 -0
  106. package/lib/json-schema/request-scope.schema.json +193 -0
  107. package/lib/json-schema/saved-radar-query.schema.json +123 -0
  108. package/lib/json-schema/tenant-product-config.schema.json +2720 -0
  109. package/lib/json-schema/tenant-runtime-config.schema.json +2654 -0
  110. package/lib/json-schema/theme-tokens.schema.json +1836 -0
  111. package/lib/json-schema/trend-ingest-run.schema.json +73 -0
  112. package/lib/json-schema/trend-metric-snapshot.schema.json +126 -0
  113. package/lib/json-schema/trend-source-record.schema.json +206 -0
  114. package/lib/json-schema/view-provider-descriptor.schema.json +317 -0
  115. package/lib/json-schema/workflow-definition.schema.json +2174 -0
  116. package/lib/runtime/capability-registry.d.ts +28 -0
  117. package/lib/runtime/capability-registry.d.ts.map +1 -0
  118. package/lib/runtime/capability-registry.js +147 -0
  119. package/lib/runtime/capability-registry.js.map +1 -0
  120. package/lib/runtime/declaration-compiler.d.ts +44 -0
  121. package/lib/runtime/declaration-compiler.d.ts.map +1 -0
  122. package/lib/runtime/declaration-compiler.js +323 -0
  123. package/lib/runtime/declaration-compiler.js.map +1 -0
  124. package/lib/runtime/index.d.ts +12 -0
  125. package/lib/runtime/index.d.ts.map +1 -0
  126. package/lib/runtime/index.js +28 -0
  127. package/lib/runtime/index.js.map +1 -0
  128. package/lib/runtime/page-compiler.d.ts +36 -0
  129. package/lib/runtime/page-compiler.d.ts.map +1 -0
  130. package/lib/runtime/page-compiler.js +220 -0
  131. package/lib/runtime/page-compiler.js.map +1 -0
  132. package/lib/runtime/product-runtime.d.ts +37 -0
  133. package/lib/runtime/product-runtime.d.ts.map +1 -0
  134. package/lib/runtime/product-runtime.js +80 -0
  135. package/lib/runtime/product-runtime.js.map +1 -0
  136. package/lib/runtime/render-tree-compiler.d.ts +11 -0
  137. package/lib/runtime/render-tree-compiler.d.ts.map +1 -0
  138. package/lib/runtime/render-tree-compiler.js +85 -0
  139. package/lib/runtime/render-tree-compiler.js.map +1 -0
  140. package/lib/runtime/tenant-config.d.ts +13 -0
  141. package/lib/runtime/tenant-config.d.ts.map +1 -0
  142. package/lib/runtime/tenant-config.js +31 -0
  143. package/lib/runtime/tenant-config.js.map +1 -0
  144. package/lib/runtime/tenant-runtime-bindings.d.ts +21 -0
  145. package/lib/runtime/tenant-runtime-bindings.d.ts.map +1 -0
  146. package/lib/runtime/tenant-runtime-bindings.js +50 -0
  147. package/lib/runtime/tenant-runtime-bindings.js.map +1 -0
  148. package/lib/runtime/theme-tokens.d.ts +2 -0
  149. package/lib/runtime/theme-tokens.d.ts.map +1 -0
  150. package/lib/runtime/theme-tokens.js +13 -0
  151. package/lib/runtime/theme-tokens.js.map +1 -0
  152. package/lib/runtime/view-provider-registry.d.ts +23 -0
  153. package/lib/runtime/view-provider-registry.d.ts.map +1 -0
  154. package/lib/runtime/view-provider-registry.js +150 -0
  155. package/lib/runtime/view-provider-registry.js.map +1 -0
  156. package/lib/runtime/view-render-model.d.ts +28 -0
  157. package/lib/runtime/view-render-model.d.ts.map +1 -0
  158. package/lib/runtime/view-render-model.js +125 -0
  159. package/lib/runtime/view-render-model.js.map +1 -0
  160. package/lib/runtime/workflow-compiler.d.ts +29 -0
  161. package/lib/runtime/workflow-compiler.d.ts.map +1 -0
  162. package/lib/runtime/workflow-compiler.js +100 -0
  163. package/lib/runtime/workflow-compiler.js.map +1 -0
  164. package/lib/schemas/index.d.ts +4461 -0
  165. package/lib/schemas/index.d.ts.map +1 -0
  166. package/lib/schemas/index.js +187 -0
  167. package/lib/schemas/index.js.map +1 -0
  168. package/lib/theme-tokens/core.d.ts +65 -0
  169. package/lib/theme-tokens/core.d.ts.map +1 -0
  170. package/lib/theme-tokens/core.js +490 -0
  171. package/lib/theme-tokens/core.js.map +1 -0
  172. package/lib/types/i18n.d.ts +19 -0
  173. package/lib/types/i18n.d.ts.map +1 -0
  174. package/lib/types/i18n.js +3 -0
  175. package/lib/types/i18n.js.map +1 -0
  176. package/lib/types/index.d.ts +4 -0
  177. package/lib/types/index.d.ts.map +1 -0
  178. package/lib/types/index.js +20 -0
  179. package/lib/types/index.js.map +1 -0
  180. package/lib/types/tool.d.ts +123 -0
  181. package/lib/types/tool.d.ts.map +1 -0
  182. package/lib/types/tool.js +20 -0
  183. package/lib/types/tool.js.map +1 -0
  184. package/lib/types/workflow.d.ts +80 -0
  185. package/lib/types/workflow.d.ts.map +1 -0
  186. package/lib/types/workflow.js +23 -0
  187. package/lib/types/workflow.js.map +1 -0
  188. package/package.json +58 -0
@@ -0,0 +1,2174 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "WorkflowDefinition"
8
+ },
9
+ "metadata": {
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "maxLength": 256
16
+ },
17
+ "version": {
18
+ "type": "integer",
19
+ "exclusiveMinimum": 0,
20
+ "maximum": 9007199254740991
21
+ },
22
+ "createdAt": {
23
+ "type": "string",
24
+ "format": "date-time",
25
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
26
+ },
27
+ "updatedAt": {
28
+ "type": "string",
29
+ "format": "date-time",
30
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
31
+ },
32
+ "name": {
33
+ "anyOf": [
34
+ {
35
+ "type": "string",
36
+ "minLength": 1
37
+ },
38
+ {
39
+ "type": "object",
40
+ "propertyNames": {
41
+ "type": "string",
42
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
43
+ },
44
+ "additionalProperties": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ }
48
+ }
49
+ ]
50
+ },
51
+ "description": {
52
+ "anyOf": [
53
+ {
54
+ "type": "string",
55
+ "minLength": 1
56
+ },
57
+ {
58
+ "type": "object",
59
+ "propertyNames": {
60
+ "type": "string",
61
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
62
+ },
63
+ "additionalProperties": {
64
+ "type": "string",
65
+ "minLength": 1
66
+ }
67
+ }
68
+ ]
69
+ },
70
+ "role": {
71
+ "type": "string",
72
+ "enum": [
73
+ "workflow",
74
+ "template"
75
+ ]
76
+ },
77
+ "teamId": {
78
+ "type": "string",
79
+ "minLength": 1,
80
+ "maxLength": 256
81
+ },
82
+ "creatorRef": {
83
+ "type": "object",
84
+ "properties": {
85
+ "kind": {
86
+ "type": "string",
87
+ "minLength": 1,
88
+ "maxLength": 256
89
+ },
90
+ "id": {
91
+ "type": "string",
92
+ "minLength": 1,
93
+ "maxLength": 256
94
+ },
95
+ "version": {
96
+ "anyOf": [
97
+ {
98
+ "type": "integer",
99
+ "exclusiveMinimum": 0,
100
+ "maximum": 9007199254740991
101
+ },
102
+ {
103
+ "type": "string",
104
+ "minLength": 1
105
+ }
106
+ ]
107
+ },
108
+ "ownerRepo": {
109
+ "type": "string",
110
+ "minLength": 1,
111
+ "maxLength": 256
112
+ }
113
+ },
114
+ "required": [
115
+ "kind",
116
+ "id"
117
+ ],
118
+ "additionalProperties": false
119
+ },
120
+ "tags": {
121
+ "default": [],
122
+ "type": "array",
123
+ "items": {
124
+ "type": "string",
125
+ "minLength": 1,
126
+ "maxLength": 256
127
+ }
128
+ }
129
+ },
130
+ "required": [
131
+ "id",
132
+ "version",
133
+ "name",
134
+ "role",
135
+ "teamId",
136
+ "creatorRef",
137
+ "tags"
138
+ ],
139
+ "additionalProperties": false
140
+ },
141
+ "revision": {
142
+ "type": "object",
143
+ "properties": {
144
+ "kind": {
145
+ "type": "string",
146
+ "enum": [
147
+ "release",
148
+ "backup"
149
+ ]
150
+ },
151
+ "recordVersion": {
152
+ "type": "integer",
153
+ "exclusiveMinimum": 0,
154
+ "maximum": 9007199254740991
155
+ },
156
+ "sourceVersion": {
157
+ "type": "integer",
158
+ "exclusiveMinimum": 0,
159
+ "maximum": 9007199254740991
160
+ }
161
+ },
162
+ "required": [
163
+ "kind",
164
+ "recordVersion"
165
+ ],
166
+ "additionalProperties": false
167
+ },
168
+ "presentation": {
169
+ "type": "object",
170
+ "properties": {
171
+ "iconUrl": {
172
+ "type": "string"
173
+ },
174
+ "thumbnail": {
175
+ "type": "string"
176
+ }
177
+ },
178
+ "additionalProperties": false
179
+ },
180
+ "ports": {
181
+ "type": "object",
182
+ "properties": {
183
+ "inputs": {
184
+ "default": [],
185
+ "type": "array",
186
+ "items": {
187
+ "type": "object",
188
+ "properties": {
189
+ "name": {
190
+ "type": "string",
191
+ "minLength": 1,
192
+ "maxLength": 256
193
+ },
194
+ "schemaRef": {
195
+ "type": "string",
196
+ "minLength": 1,
197
+ "maxLength": 256
198
+ },
199
+ "required": {
200
+ "default": false,
201
+ "type": "boolean"
202
+ },
203
+ "multiple": {
204
+ "default": false,
205
+ "type": "boolean"
206
+ },
207
+ "description": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ "required": [
212
+ "name",
213
+ "schemaRef",
214
+ "required",
215
+ "multiple"
216
+ ],
217
+ "additionalProperties": false
218
+ }
219
+ },
220
+ "outputs": {
221
+ "default": [],
222
+ "type": "array",
223
+ "items": {
224
+ "type": "object",
225
+ "properties": {
226
+ "name": {
227
+ "type": "string",
228
+ "minLength": 1,
229
+ "maxLength": 256
230
+ },
231
+ "schemaRef": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 256
235
+ },
236
+ "required": {
237
+ "default": false,
238
+ "type": "boolean"
239
+ },
240
+ "multiple": {
241
+ "default": false,
242
+ "type": "boolean"
243
+ },
244
+ "description": {
245
+ "type": "string"
246
+ }
247
+ },
248
+ "required": [
249
+ "name",
250
+ "schemaRef",
251
+ "required",
252
+ "multiple"
253
+ ],
254
+ "additionalProperties": false
255
+ }
256
+ }
257
+ },
258
+ "required": [
259
+ "inputs",
260
+ "outputs"
261
+ ],
262
+ "additionalProperties": false
263
+ },
264
+ "parameters": {
265
+ "type": "object",
266
+ "properties": {
267
+ "variables": {
268
+ "default": [],
269
+ "type": "array",
270
+ "items": {
271
+ "$ref": "#/$defs/__schema0"
272
+ }
273
+ },
274
+ "outputs": {
275
+ "default": [],
276
+ "type": "array",
277
+ "items": {
278
+ "type": "object",
279
+ "properties": {
280
+ "key": {
281
+ "type": "string",
282
+ "minLength": 1,
283
+ "maxLength": 256
284
+ },
285
+ "value": {
286
+ "type": "string"
287
+ }
288
+ },
289
+ "required": [
290
+ "key",
291
+ "value"
292
+ ],
293
+ "additionalProperties": false
294
+ }
295
+ }
296
+ },
297
+ "required": [
298
+ "variables",
299
+ "outputs"
300
+ ],
301
+ "additionalProperties": false
302
+ },
303
+ "graph": {
304
+ "type": "object",
305
+ "properties": {
306
+ "nodes": {
307
+ "type": "array",
308
+ "items": {
309
+ "type": "object",
310
+ "properties": {
311
+ "id": {
312
+ "type": "string",
313
+ "minLength": 1,
314
+ "maxLength": 256
315
+ },
316
+ "referenceName": {
317
+ "type": "string",
318
+ "minLength": 1,
319
+ "maxLength": 256
320
+ },
321
+ "capabilityRef": {
322
+ "type": "string",
323
+ "minLength": 1,
324
+ "maxLength": 256
325
+ },
326
+ "capabilityVersion": {
327
+ "type": "string",
328
+ "minLength": 1,
329
+ "maxLength": 256
330
+ },
331
+ "inputBindings": {
332
+ "default": {},
333
+ "type": "object",
334
+ "propertyNames": {
335
+ "type": "string"
336
+ },
337
+ "additionalProperties": {
338
+ "$ref": "#/$defs/__schema1"
339
+ }
340
+ },
341
+ "configuration": {
342
+ "type": "object",
343
+ "properties": {
344
+ "executor": {
345
+ "type": "string",
346
+ "const": "conductor"
347
+ },
348
+ "task": {
349
+ "$ref": "#/$defs/__schema2"
350
+ }
351
+ },
352
+ "required": [
353
+ "executor",
354
+ "task"
355
+ ],
356
+ "additionalProperties": false
357
+ }
358
+ },
359
+ "required": [
360
+ "id",
361
+ "referenceName",
362
+ "capabilityRef",
363
+ "inputBindings",
364
+ "configuration"
365
+ ],
366
+ "additionalProperties": false
367
+ }
368
+ },
369
+ "edges": {
370
+ "default": [],
371
+ "type": "array",
372
+ "items": {
373
+ "type": "object",
374
+ "properties": {
375
+ "from": {
376
+ "type": "string",
377
+ "minLength": 1,
378
+ "maxLength": 256
379
+ },
380
+ "to": {
381
+ "type": "string",
382
+ "minLength": 1,
383
+ "maxLength": 256
384
+ },
385
+ "outputPort": {
386
+ "type": "string",
387
+ "minLength": 1,
388
+ "maxLength": 256
389
+ },
390
+ "inputPort": {
391
+ "type": "string",
392
+ "minLength": 1,
393
+ "maxLength": 256
394
+ },
395
+ "condition": {
396
+ "type": "string"
397
+ }
398
+ },
399
+ "required": [
400
+ "from",
401
+ "to"
402
+ ],
403
+ "additionalProperties": false
404
+ }
405
+ }
406
+ },
407
+ "required": [
408
+ "nodes",
409
+ "edges"
410
+ ],
411
+ "additionalProperties": false
412
+ },
413
+ "execution": {
414
+ "type": "object",
415
+ "properties": {
416
+ "timeoutMs": {
417
+ "type": "integer",
418
+ "exclusiveMinimum": 0,
419
+ "maximum": 9007199254740991
420
+ },
421
+ "retries": {
422
+ "default": 0,
423
+ "type": "integer",
424
+ "minimum": 0,
425
+ "maximum": 9007199254740991
426
+ },
427
+ "concurrencyLimit": {
428
+ "type": "integer",
429
+ "exclusiveMinimum": 0,
430
+ "maximum": 9007199254740991
431
+ },
432
+ "idempotency": {
433
+ "type": "string",
434
+ "enum": [
435
+ "required",
436
+ "supported",
437
+ "none"
438
+ ]
439
+ },
440
+ "rateLimit": {
441
+ "type": "object",
442
+ "properties": {
443
+ "enabled": {
444
+ "type": "boolean"
445
+ },
446
+ "max": {
447
+ "type": "integer",
448
+ "minimum": 0,
449
+ "maximum": 9007199254740991
450
+ },
451
+ "windowMs": {
452
+ "type": "integer",
453
+ "minimum": 0,
454
+ "maximum": 9007199254740991
455
+ }
456
+ },
457
+ "required": [
458
+ "enabled",
459
+ "max",
460
+ "windowMs"
461
+ ],
462
+ "additionalProperties": false
463
+ },
464
+ "conductor": {
465
+ "type": "object",
466
+ "properties": {
467
+ "ownerApp": {
468
+ "type": "string"
469
+ },
470
+ "createTime": {
471
+ "type": "integer",
472
+ "minimum": 0,
473
+ "maximum": 9007199254740991
474
+ },
475
+ "updateTime": {
476
+ "type": "integer",
477
+ "minimum": 0,
478
+ "maximum": 9007199254740991
479
+ },
480
+ "createdBy": {
481
+ "type": "string"
482
+ },
483
+ "updatedBy": {
484
+ "type": "string"
485
+ },
486
+ "failureWorkflow": {
487
+ "type": "string",
488
+ "minLength": 1,
489
+ "maxLength": 256
490
+ },
491
+ "schemaVersion": {
492
+ "type": "integer",
493
+ "exclusiveMinimum": 0,
494
+ "maximum": 9007199254740991
495
+ },
496
+ "restartable": {
497
+ "type": "boolean"
498
+ },
499
+ "workflowStatusListenerEnabled": {
500
+ "type": "boolean"
501
+ },
502
+ "ownerEmail": {
503
+ "type": "string",
504
+ "format": "email",
505
+ "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
506
+ },
507
+ "timeoutPolicy": {
508
+ "type": "string",
509
+ "enum": [
510
+ "TIME_OUT_WF",
511
+ "ALERT_ONLY"
512
+ ]
513
+ },
514
+ "variables": {
515
+ "type": "object",
516
+ "propertyNames": {
517
+ "type": "string"
518
+ },
519
+ "additionalProperties": {
520
+ "$ref": "#/$defs/__schema1"
521
+ }
522
+ },
523
+ "inputTemplate": {
524
+ "type": "object",
525
+ "propertyNames": {
526
+ "type": "string"
527
+ },
528
+ "additionalProperties": {
529
+ "$ref": "#/$defs/__schema1"
530
+ }
531
+ }
532
+ },
533
+ "additionalProperties": false
534
+ }
535
+ },
536
+ "required": [
537
+ "retries",
538
+ "idempotency",
539
+ "conductor"
540
+ ],
541
+ "additionalProperties": false
542
+ },
543
+ "triggers": {
544
+ "default": [],
545
+ "type": "array",
546
+ "items": {
547
+ "type": "object",
548
+ "properties": {
549
+ "id": {
550
+ "type": "string",
551
+ "minLength": 1,
552
+ "maxLength": 256
553
+ },
554
+ "type": {
555
+ "type": "string",
556
+ "enum": [
557
+ "manual",
558
+ "schedule",
559
+ "webhook",
560
+ "event",
561
+ "api"
562
+ ]
563
+ },
564
+ "enabled": {
565
+ "type": "boolean"
566
+ },
567
+ "schedule": {
568
+ "type": "object",
569
+ "properties": {
570
+ "cron": {
571
+ "type": "string",
572
+ "minLength": 1
573
+ }
574
+ },
575
+ "required": [
576
+ "cron"
577
+ ],
578
+ "additionalProperties": false
579
+ },
580
+ "webhook": {
581
+ "type": "object",
582
+ "properties": {
583
+ "path": {
584
+ "type": "string",
585
+ "minLength": 1
586
+ },
587
+ "method": {
588
+ "type": "string",
589
+ "enum": [
590
+ "GET",
591
+ "POST",
592
+ "PUT",
593
+ "PATCH",
594
+ "DELETE",
595
+ "OPTIONS",
596
+ "HEAD"
597
+ ]
598
+ },
599
+ "auth": {
600
+ "type": "string",
601
+ "enum": [
602
+ "NONE",
603
+ "BASIC",
604
+ "CUSTOM_HEADER"
605
+ ]
606
+ },
607
+ "basicAuth": {
608
+ "type": "object",
609
+ "properties": {
610
+ "username": {
611
+ "type": "string"
612
+ },
613
+ "password": {
614
+ "type": "string"
615
+ }
616
+ },
617
+ "required": [
618
+ "username",
619
+ "password"
620
+ ],
621
+ "additionalProperties": false
622
+ },
623
+ "headerAuth": {
624
+ "type": "object",
625
+ "properties": {
626
+ "name": {
627
+ "type": "string",
628
+ "minLength": 1
629
+ },
630
+ "value": {
631
+ "type": "string"
632
+ }
633
+ },
634
+ "required": [
635
+ "name",
636
+ "value"
637
+ ],
638
+ "additionalProperties": false
639
+ },
640
+ "responseUntil": {
641
+ "type": "string",
642
+ "enum": [
643
+ "WORKFLOW_STARTED",
644
+ "WORKFLOW_COMPLETED_OR_FINISHED"
645
+ ]
646
+ }
647
+ },
648
+ "required": [
649
+ "method",
650
+ "auth",
651
+ "responseUntil"
652
+ ],
653
+ "additionalProperties": false
654
+ },
655
+ "event": {
656
+ "type": "object",
657
+ "properties": {
658
+ "eventType": {
659
+ "type": "string",
660
+ "minLength": 1,
661
+ "maxLength": 256
662
+ },
663
+ "configuration": {
664
+ "$ref": "#/$defs/__schema1"
665
+ }
666
+ },
667
+ "required": [
668
+ "eventType"
669
+ ],
670
+ "additionalProperties": false
671
+ }
672
+ },
673
+ "required": [
674
+ "id",
675
+ "type",
676
+ "enabled"
677
+ ],
678
+ "additionalProperties": false
679
+ }
680
+ },
681
+ "views": {
682
+ "default": [],
683
+ "type": "array",
684
+ "items": {
685
+ "type": "object",
686
+ "properties": {
687
+ "pageRef": {
688
+ "type": "string",
689
+ "minLength": 1,
690
+ "maxLength": 256
691
+ },
692
+ "placement": {
693
+ "type": "string",
694
+ "minLength": 1,
695
+ "maxLength": 256
696
+ }
697
+ },
698
+ "required": [
699
+ "pageRef"
700
+ ],
701
+ "additionalProperties": false
702
+ }
703
+ },
704
+ "dataContracts": {
705
+ "type": "object",
706
+ "properties": {
707
+ "reads": {
708
+ "default": [],
709
+ "type": "array",
710
+ "items": {
711
+ "type": "string",
712
+ "minLength": 1,
713
+ "maxLength": 256
714
+ }
715
+ },
716
+ "writes": {
717
+ "default": [],
718
+ "type": "array",
719
+ "items": {
720
+ "type": "string",
721
+ "minLength": 1,
722
+ "maxLength": 256
723
+ }
724
+ },
725
+ "emits": {
726
+ "default": [],
727
+ "type": "array",
728
+ "items": {
729
+ "type": "string",
730
+ "minLength": 1,
731
+ "maxLength": 256
732
+ }
733
+ }
734
+ },
735
+ "required": [
736
+ "reads",
737
+ "writes",
738
+ "emits"
739
+ ],
740
+ "additionalProperties": false
741
+ },
742
+ "governance": {
743
+ "type": "object",
744
+ "properties": {
745
+ "activated": {
746
+ "type": "boolean"
747
+ },
748
+ "validated": {
749
+ "type": "boolean"
750
+ },
751
+ "validationIssues": {
752
+ "default": [],
753
+ "type": "array",
754
+ "items": {
755
+ "type": "object",
756
+ "properties": {
757
+ "taskReferenceName": {
758
+ "type": "string",
759
+ "minLength": 1,
760
+ "maxLength": 256
761
+ },
762
+ "issueType": {
763
+ "type": "string",
764
+ "enum": [
765
+ "ERROR",
766
+ "WARNING"
767
+ ]
768
+ },
769
+ "detailReason": {
770
+ "type": "object",
771
+ "properties": {
772
+ "type": {
773
+ "type": "string",
774
+ "minLength": 1,
775
+ "maxLength": 256
776
+ },
777
+ "name": {
778
+ "type": "string",
779
+ "minLength": 1,
780
+ "maxLength": 256
781
+ },
782
+ "detailInformation": {
783
+ "$ref": "#/$defs/__schema1"
784
+ }
785
+ },
786
+ "required": [
787
+ "type",
788
+ "name"
789
+ ],
790
+ "additionalProperties": false
791
+ },
792
+ "humanMessage": {
793
+ "type": "object",
794
+ "properties": {
795
+ "en": {
796
+ "type": "string"
797
+ },
798
+ "zh": {
799
+ "type": "string"
800
+ }
801
+ },
802
+ "required": [
803
+ "en",
804
+ "zh"
805
+ ],
806
+ "additionalProperties": false
807
+ }
808
+ },
809
+ "required": [
810
+ "taskReferenceName",
811
+ "issueType",
812
+ "detailReason",
813
+ "humanMessage"
814
+ ],
815
+ "additionalProperties": false
816
+ }
817
+ },
818
+ "hidden": {
819
+ "type": "boolean"
820
+ }
821
+ },
822
+ "required": [
823
+ "activated",
824
+ "validated",
825
+ "validationIssues"
826
+ ],
827
+ "additionalProperties": false
828
+ },
829
+ "interfaces": {
830
+ "type": "object",
831
+ "properties": {
832
+ "openai": {
833
+ "type": "object",
834
+ "properties": {
835
+ "enabled": {
836
+ "type": "boolean"
837
+ },
838
+ "modelName": {
839
+ "type": "string",
840
+ "minLength": 1
841
+ }
842
+ },
843
+ "required": [
844
+ "enabled"
845
+ ],
846
+ "additionalProperties": false
847
+ },
848
+ "shortcutRef": {
849
+ "type": "object",
850
+ "properties": {
851
+ "kind": {
852
+ "type": "string",
853
+ "minLength": 1,
854
+ "maxLength": 256
855
+ },
856
+ "id": {
857
+ "type": "string",
858
+ "minLength": 1,
859
+ "maxLength": 256
860
+ },
861
+ "version": {
862
+ "anyOf": [
863
+ {
864
+ "type": "integer",
865
+ "exclusiveMinimum": 0,
866
+ "maximum": 9007199254740991
867
+ },
868
+ {
869
+ "type": "string",
870
+ "minLength": 1
871
+ }
872
+ ]
873
+ },
874
+ "ownerRepo": {
875
+ "type": "string",
876
+ "minLength": 1,
877
+ "maxLength": 256
878
+ }
879
+ },
880
+ "required": [
881
+ "kind",
882
+ "id"
883
+ ],
884
+ "additionalProperties": false
885
+ },
886
+ "preferredAppId": {
887
+ "type": "string",
888
+ "minLength": 1,
889
+ "maxLength": 256
890
+ }
891
+ },
892
+ "required": [
893
+ "openai"
894
+ ],
895
+ "additionalProperties": false
896
+ }
897
+ },
898
+ "required": [
899
+ "contract",
900
+ "metadata",
901
+ "revision",
902
+ "presentation",
903
+ "ports",
904
+ "parameters",
905
+ "graph",
906
+ "execution",
907
+ "triggers",
908
+ "views",
909
+ "dataContracts",
910
+ "governance",
911
+ "interfaces"
912
+ ],
913
+ "additionalProperties": false,
914
+ "$defs": {
915
+ "__schema0": {
916
+ "type": "object",
917
+ "properties": {
918
+ "displayName": {
919
+ "anyOf": [
920
+ {
921
+ "type": "string",
922
+ "minLength": 1
923
+ },
924
+ {
925
+ "type": "object",
926
+ "propertyNames": {
927
+ "type": "string",
928
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
929
+ },
930
+ "additionalProperties": {
931
+ "type": "string",
932
+ "minLength": 1
933
+ }
934
+ }
935
+ ]
936
+ },
937
+ "name": {
938
+ "type": "string",
939
+ "minLength": 1,
940
+ "maxLength": 256
941
+ },
942
+ "type": {
943
+ "type": "string",
944
+ "enum": [
945
+ "string",
946
+ "file",
947
+ "number",
948
+ "boolean",
949
+ "options",
950
+ "json",
951
+ "notice",
952
+ "canvas-assist"
953
+ ]
954
+ },
955
+ "typeOptions": {
956
+ "type": "object",
957
+ "properties": {
958
+ "editor": {
959
+ "type": "string",
960
+ "enum": [
961
+ "code",
962
+ "codeNodeEditor",
963
+ "htmlEditor",
964
+ "sqlEditor",
965
+ "json"
966
+ ]
967
+ },
968
+ "editorLanguage": {
969
+ "type": "string",
970
+ "enum": [
971
+ "javaScript",
972
+ "json",
973
+ "python",
974
+ "sql"
975
+ ]
976
+ },
977
+ "maxValue": {
978
+ "type": "number"
979
+ },
980
+ "minValue": {
981
+ "type": "number"
982
+ },
983
+ "max": {
984
+ "type": "number"
985
+ },
986
+ "min": {
987
+ "type": "number"
988
+ },
989
+ "multipleValues": {
990
+ "type": "boolean"
991
+ },
992
+ "numberPrecision": {
993
+ "type": "number",
994
+ "minimum": 0
995
+ },
996
+ "password": {
997
+ "type": "boolean"
998
+ },
999
+ "rows": {
1000
+ "type": "integer",
1001
+ "exclusiveMinimum": 0,
1002
+ "maximum": 9007199254740991
1003
+ },
1004
+ "assetType": {
1005
+ "type": "string"
1006
+ },
1007
+ "accept": {
1008
+ "type": "string"
1009
+ },
1010
+ "maxSize": {
1011
+ "type": "number",
1012
+ "exclusiveMinimum": 0
1013
+ },
1014
+ "fileType": {
1015
+ "type": "string"
1016
+ },
1017
+ "aiMultiShotMainImageField": {
1018
+ "type": "string"
1019
+ },
1020
+ "aiMultiShotWorkflowAppId": {
1021
+ "type": "string"
1022
+ },
1023
+ "aiMultiShotWorkflowId": {
1024
+ "type": "string"
1025
+ },
1026
+ "allowCustomInput": {
1027
+ "type": "boolean"
1028
+ },
1029
+ "allowUploadVideo": {
1030
+ "type": "boolean"
1031
+ },
1032
+ "aspectRatioField": {
1033
+ "type": "string"
1034
+ },
1035
+ "assemblyValueType": {
1036
+ "type": "string"
1037
+ },
1038
+ "autoAnalyzeDesignImage": {
1039
+ "type": "boolean"
1040
+ },
1041
+ "autoDetectAspectRatio": {
1042
+ "type": "boolean"
1043
+ },
1044
+ "autoIncrementId": {
1045
+ "type": "boolean"
1046
+ },
1047
+ "comfyuiModelServerId": {
1048
+ "type": "string"
1049
+ },
1050
+ "comfyuiModelTypeName": {
1051
+ "type": "string"
1052
+ },
1053
+ "defaultCustomInput": {
1054
+ "$ref": "#/$defs/__schema1"
1055
+ },
1056
+ "descriptionAlert": {
1057
+ "type": "boolean"
1058
+ },
1059
+ "disabled": {
1060
+ "anyOf": [
1061
+ {
1062
+ "type": "boolean"
1063
+ },
1064
+ {
1065
+ "type": "object",
1066
+ "properties": {
1067
+ "conditions": {
1068
+ "type": "array",
1069
+ "items": {
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "field": {
1073
+ "type": "string"
1074
+ },
1075
+ "operator": {
1076
+ "type": "string",
1077
+ "enum": [
1078
+ "is",
1079
+ "isNot",
1080
+ "isGreaterThan",
1081
+ "isLessThan",
1082
+ "isGreaterThanOrEqual",
1083
+ "isLessThanOrEqual",
1084
+ "in",
1085
+ "notIn"
1086
+ ]
1087
+ },
1088
+ "value": {
1089
+ "$ref": "#/$defs/__schema1"
1090
+ }
1091
+ },
1092
+ "required": [
1093
+ "field",
1094
+ "operator",
1095
+ "value"
1096
+ ],
1097
+ "additionalProperties": false
1098
+ }
1099
+ },
1100
+ "logic": {
1101
+ "type": "string",
1102
+ "enum": [
1103
+ "AND",
1104
+ "OR"
1105
+ ]
1106
+ }
1107
+ },
1108
+ "required": [
1109
+ "conditions"
1110
+ ],
1111
+ "additionalProperties": false
1112
+ }
1113
+ ]
1114
+ },
1115
+ "editable": {
1116
+ "anyOf": [
1117
+ {
1118
+ "type": "boolean"
1119
+ },
1120
+ {
1121
+ "type": "object",
1122
+ "properties": {
1123
+ "conditions": {
1124
+ "type": "array",
1125
+ "items": {
1126
+ "type": "object",
1127
+ "properties": {
1128
+ "field": {
1129
+ "type": "string"
1130
+ },
1131
+ "operator": {
1132
+ "type": "string",
1133
+ "enum": [
1134
+ "is",
1135
+ "isNot",
1136
+ "isGreaterThan",
1137
+ "isLessThan",
1138
+ "isGreaterThanOrEqual",
1139
+ "isLessThanOrEqual",
1140
+ "in",
1141
+ "notIn"
1142
+ ]
1143
+ },
1144
+ "value": {
1145
+ "$ref": "#/$defs/__schema1"
1146
+ }
1147
+ },
1148
+ "required": [
1149
+ "field",
1150
+ "operator",
1151
+ "value"
1152
+ ],
1153
+ "additionalProperties": false
1154
+ }
1155
+ },
1156
+ "logic": {
1157
+ "type": "string",
1158
+ "enum": [
1159
+ "AND",
1160
+ "OR"
1161
+ ]
1162
+ }
1163
+ },
1164
+ "required": [
1165
+ "conditions"
1166
+ ],
1167
+ "additionalProperties": false
1168
+ }
1169
+ ]
1170
+ },
1171
+ "enableAiMultiShot": {
1172
+ "type": "boolean"
1173
+ },
1174
+ "enableBooleanSwitchMode": {
1175
+ "type": "boolean"
1176
+ },
1177
+ "enableClear": {
1178
+ "type": "boolean"
1179
+ },
1180
+ "enableExpand": {
1181
+ "type": "boolean"
1182
+ },
1183
+ "enableImageMask": {
1184
+ "type": "boolean"
1185
+ },
1186
+ "enableImageOverlay": {
1187
+ "type": "boolean"
1188
+ },
1189
+ "enablePopupEditor": {
1190
+ "type": "boolean"
1191
+ },
1192
+ "enablePromptFontSize": {
1193
+ "type": "boolean"
1194
+ },
1195
+ "enableReset": {
1196
+ "type": "boolean"
1197
+ },
1198
+ "enableSelectItemIcon": {
1199
+ "type": "boolean"
1200
+ },
1201
+ "enableSelectList": {
1202
+ "type": "boolean"
1203
+ },
1204
+ "enableSelectSearch": {
1205
+ "type": "boolean"
1206
+ },
1207
+ "enableSliderEnterMode": {
1208
+ "type": "boolean"
1209
+ },
1210
+ "enableVoice": {
1211
+ "type": "boolean"
1212
+ },
1213
+ "expandButtonText": {
1214
+ "type": "string"
1215
+ },
1216
+ "foldUp": {
1217
+ "type": "boolean"
1218
+ },
1219
+ "hidden": {
1220
+ "type": "boolean"
1221
+ },
1222
+ "hideRequiredDot": {
1223
+ "type": "boolean"
1224
+ },
1225
+ "inlineTitleWithSelect": {
1226
+ "type": "boolean"
1227
+ },
1228
+ "knowledgeGraphButtonText": {
1229
+ "type": "string"
1230
+ },
1231
+ "identifyAttributeCount": {
1232
+ "anyOf": [
1233
+ {
1234
+ "type": "number",
1235
+ "minimum": 0
1236
+ },
1237
+ {
1238
+ "type": "string",
1239
+ "minLength": 1
1240
+ },
1241
+ {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "min": {
1245
+ "type": "number",
1246
+ "minimum": 0
1247
+ },
1248
+ "max": {
1249
+ "type": "number",
1250
+ "minimum": 0
1251
+ }
1252
+ },
1253
+ "additionalProperties": false
1254
+ }
1255
+ ]
1256
+ },
1257
+ "identifyAttributes": {
1258
+ "type": "array",
1259
+ "items": {
1260
+ "$ref": "#/$defs/__schema1"
1261
+ }
1262
+ },
1263
+ "identifyMaxVariants": {
1264
+ "type": "integer",
1265
+ "minimum": 0,
1266
+ "maximum": 9007199254740991
1267
+ },
1268
+ "identifySourceField": {
1269
+ "type": "string"
1270
+ },
1271
+ "imageOverlayBaseField": {
1272
+ "type": "string"
1273
+ },
1274
+ "imageOverlayOverlayField": {
1275
+ "type": "string"
1276
+ },
1277
+ "imageSelectMappingAppearance": {
1278
+ "type": "object",
1279
+ "properties": {
1280
+ "columns": {
1281
+ "type": "integer",
1282
+ "minimum": 1,
1283
+ "maximum": 4
1284
+ },
1285
+ "cardSize": {
1286
+ "type": "string",
1287
+ "enum": [
1288
+ "sm",
1289
+ "md",
1290
+ "lg"
1291
+ ]
1292
+ },
1293
+ "imageAspectRatio": {
1294
+ "type": "string",
1295
+ "enum": [
1296
+ "square",
1297
+ "4:5",
1298
+ "3:4",
1299
+ "16:9"
1300
+ ]
1301
+ },
1302
+ "gap": {
1303
+ "type": "string",
1304
+ "enum": [
1305
+ "sm",
1306
+ "md",
1307
+ "lg"
1308
+ ]
1309
+ },
1310
+ "radius": {
1311
+ "type": "string",
1312
+ "enum": [
1313
+ "sm",
1314
+ "md",
1315
+ "lg",
1316
+ "xl"
1317
+ ]
1318
+ },
1319
+ "borderStyle": {
1320
+ "type": "string",
1321
+ "enum": [
1322
+ "none",
1323
+ "soft",
1324
+ "strong"
1325
+ ]
1326
+ },
1327
+ "borderWidth": {
1328
+ "anyOf": [
1329
+ {
1330
+ "type": "number",
1331
+ "const": 0
1332
+ },
1333
+ {
1334
+ "type": "number",
1335
+ "const": 1
1336
+ },
1337
+ {
1338
+ "type": "number",
1339
+ "const": 2
1340
+ }
1341
+ ]
1342
+ },
1343
+ "enableScroll": {
1344
+ "type": "boolean"
1345
+ },
1346
+ "maxHeight": {
1347
+ "type": "integer",
1348
+ "minimum": 160,
1349
+ "maximum": 1200
1350
+ },
1351
+ "enableCollapse": {
1352
+ "type": "boolean"
1353
+ },
1354
+ "visibleRows": {
1355
+ "type": "integer",
1356
+ "minimum": 1,
1357
+ "maximum": 6
1358
+ },
1359
+ "hideLabel": {
1360
+ "type": "boolean"
1361
+ },
1362
+ "hideDescription": {
1363
+ "type": "boolean"
1364
+ },
1365
+ "hideValue": {
1366
+ "type": "boolean"
1367
+ }
1368
+ },
1369
+ "additionalProperties": false
1370
+ },
1371
+ "imageSelectMappingColumns": {
1372
+ "type": "integer",
1373
+ "minimum": 1,
1374
+ "maximum": 4
1375
+ },
1376
+ "imageSelectMappingEnableCustomUpload": {
1377
+ "type": "boolean"
1378
+ },
1379
+ "imageSelectMappingHideLabel": {
1380
+ "type": "boolean"
1381
+ },
1382
+ "imageSelectMappingHideLink": {
1383
+ "type": "boolean"
1384
+ },
1385
+ "imageSelectMappingHideMeta": {
1386
+ "type": "boolean"
1387
+ },
1388
+ "imageSelectMappingInlineUseLargeUploadBox": {
1389
+ "type": "boolean"
1390
+ },
1391
+ "imageSelectMappingPromptField": {
1392
+ "type": "string"
1393
+ },
1394
+ "imageSelectMappingTabOrder": {
1395
+ "type": "string",
1396
+ "enum": [
1397
+ "template-first",
1398
+ "upload-first"
1399
+ ]
1400
+ },
1401
+ "imageSelectMappingTabWidthMode": {
1402
+ "type": "string",
1403
+ "enum": [
1404
+ "content",
1405
+ "fill"
1406
+ ]
1407
+ },
1408
+ "imageSelectMappingTemplatePrompt": {
1409
+ "anyOf": [
1410
+ {
1411
+ "type": "string",
1412
+ "minLength": 1
1413
+ },
1414
+ {
1415
+ "type": "object",
1416
+ "propertyNames": {
1417
+ "type": "string",
1418
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1419
+ },
1420
+ "additionalProperties": {
1421
+ "type": "string",
1422
+ "minLength": 1
1423
+ }
1424
+ }
1425
+ ]
1426
+ },
1427
+ "imageSelectMappingTemplateTabTitle": {
1428
+ "anyOf": [
1429
+ {
1430
+ "type": "string",
1431
+ "minLength": 1
1432
+ },
1433
+ {
1434
+ "type": "object",
1435
+ "propertyNames": {
1436
+ "type": "string",
1437
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1438
+ },
1439
+ "additionalProperties": {
1440
+ "type": "string",
1441
+ "minLength": 1
1442
+ }
1443
+ }
1444
+ ]
1445
+ },
1446
+ "imageSelectMappingUploadMode": {
1447
+ "type": "string",
1448
+ "enum": [
1449
+ "tabs",
1450
+ "inline"
1451
+ ]
1452
+ },
1453
+ "imageSelectMappingUploadPrompt": {
1454
+ "anyOf": [
1455
+ {
1456
+ "type": "string",
1457
+ "minLength": 1
1458
+ },
1459
+ {
1460
+ "type": "object",
1461
+ "propertyNames": {
1462
+ "type": "string",
1463
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1464
+ },
1465
+ "additionalProperties": {
1466
+ "type": "string",
1467
+ "minLength": 1
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ "imageSelectMappingUploadTabTitle": {
1473
+ "anyOf": [
1474
+ {
1475
+ "type": "string",
1476
+ "minLength": 1
1477
+ },
1478
+ {
1479
+ "type": "object",
1480
+ "propertyNames": {
1481
+ "type": "string",
1482
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1483
+ },
1484
+ "additionalProperties": {
1485
+ "type": "string",
1486
+ "minLength": 1
1487
+ }
1488
+ }
1489
+ ]
1490
+ },
1491
+ "endpoints": {
1492
+ "type": "array",
1493
+ "items": {
1494
+ "$ref": "#/$defs/__schema1"
1495
+ }
1496
+ },
1497
+ "examples": {
1498
+ "type": "array",
1499
+ "items": {
1500
+ "$ref": "#/$defs/__schema1"
1501
+ }
1502
+ },
1503
+ "extraData": {
1504
+ "$ref": "#/$defs/__schema1"
1505
+ },
1506
+ "layer": {
1507
+ "$ref": "#/$defs/__schema1"
1508
+ },
1509
+ "map": {
1510
+ "$ref": "#/$defs/__schema1"
1511
+ },
1512
+ "multiline": {
1513
+ "type": "boolean"
1514
+ },
1515
+ "options": {
1516
+ "type": "array",
1517
+ "items": {
1518
+ "$ref": "#/$defs/__schema1"
1519
+ }
1520
+ },
1521
+ "originalFiles": {
1522
+ "type": "array",
1523
+ "items": {
1524
+ "$ref": "#/$defs/__schema1"
1525
+ }
1526
+ },
1527
+ "placeholder": {
1528
+ "anyOf": [
1529
+ {
1530
+ "type": "string",
1531
+ "minLength": 1
1532
+ },
1533
+ {
1534
+ "type": "object",
1535
+ "propertyNames": {
1536
+ "type": "string",
1537
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1538
+ },
1539
+ "additionalProperties": {
1540
+ "type": "string",
1541
+ "minLength": 1
1542
+ }
1543
+ }
1544
+ ]
1545
+ },
1546
+ "preserveSelectListOrder": {
1547
+ "type": "boolean"
1548
+ },
1549
+ "promptDictionary": {
1550
+ "$ref": "#/$defs/__schema1"
1551
+ },
1552
+ "promptFontSize": {
1553
+ "type": "number"
1554
+ },
1555
+ "promptModeToggle": {
1556
+ "$ref": "#/$defs/__schema1"
1557
+ },
1558
+ "requireActiveSelectFilter": {
1559
+ "type": "boolean"
1560
+ },
1561
+ "restoreDefaultOnEmptyEnter": {
1562
+ "type": "boolean"
1563
+ },
1564
+ "search": {
1565
+ "type": "boolean"
1566
+ },
1567
+ "selectButtonEnableCollapse": {
1568
+ "type": "boolean"
1569
+ },
1570
+ "selectButtonVisibleRows": {
1571
+ "type": "integer",
1572
+ "exclusiveMinimum": 0,
1573
+ "maximum": 9007199254740991
1574
+ },
1575
+ "selectList": {
1576
+ "type": "array",
1577
+ "items": {
1578
+ "$ref": "#/$defs/__schema1"
1579
+ }
1580
+ },
1581
+ "selectListDisplayMode": {
1582
+ "type": "string"
1583
+ },
1584
+ "selectPromptField": {
1585
+ "type": "string"
1586
+ },
1587
+ "showAddLocalFileButton": {
1588
+ "type": "boolean"
1589
+ },
1590
+ "singleColumn": {
1591
+ "type": "boolean"
1592
+ },
1593
+ "singleFrameForMultiple": {
1594
+ "type": "boolean"
1595
+ },
1596
+ "textSingleLine": {
1597
+ "type": "boolean"
1598
+ },
1599
+ "textareaMiniHeight": {
1600
+ "type": "number",
1601
+ "minimum": 0
1602
+ },
1603
+ "tips": {
1604
+ "anyOf": [
1605
+ {
1606
+ "type": "string",
1607
+ "minLength": 1
1608
+ },
1609
+ {
1610
+ "type": "object",
1611
+ "propertyNames": {
1612
+ "type": "string",
1613
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1614
+ },
1615
+ "additionalProperties": {
1616
+ "type": "string",
1617
+ "minLength": 1
1618
+ }
1619
+ }
1620
+ ]
1621
+ },
1622
+ "visibility": {
1623
+ "$ref": "#/$defs/__schema1"
1624
+ },
1625
+ "voiceButtonText": {
1626
+ "type": "string"
1627
+ },
1628
+ "designAnalysisFields": {
1629
+ "type": "array",
1630
+ "items": {
1631
+ "$ref": "#/$defs/__schema1"
1632
+ }
1633
+ },
1634
+ "designAnalysisFillStrategy": {
1635
+ "type": "string"
1636
+ },
1637
+ "designAnalysisMaxFields": {
1638
+ "type": "integer",
1639
+ "minimum": 0,
1640
+ "maximum": 9007199254740991
1641
+ },
1642
+ "designAnalysisType": {
1643
+ "type": "string"
1644
+ },
1645
+ "designAnalysisFieldPrefix": {
1646
+ "type": "string"
1647
+ }
1648
+ },
1649
+ "additionalProperties": false
1650
+ },
1651
+ "default": {
1652
+ "$ref": "#/$defs/__schema1"
1653
+ },
1654
+ "description": {
1655
+ "anyOf": [
1656
+ {
1657
+ "type": "string",
1658
+ "minLength": 1
1659
+ },
1660
+ {
1661
+ "type": "object",
1662
+ "propertyNames": {
1663
+ "type": "string",
1664
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1665
+ },
1666
+ "additionalProperties": {
1667
+ "type": "string",
1668
+ "minLength": 1
1669
+ }
1670
+ }
1671
+ ]
1672
+ },
1673
+ "hint": {
1674
+ "type": "string"
1675
+ },
1676
+ "displayOptions": {
1677
+ "type": "object",
1678
+ "properties": {
1679
+ "hide": {
1680
+ "type": "object",
1681
+ "propertyNames": {
1682
+ "type": "string"
1683
+ },
1684
+ "additionalProperties": {
1685
+ "type": "array",
1686
+ "items": {
1687
+ "$ref": "#/$defs/__schema1"
1688
+ }
1689
+ }
1690
+ },
1691
+ "show": {
1692
+ "type": "object",
1693
+ "propertyNames": {
1694
+ "type": "string"
1695
+ },
1696
+ "additionalProperties": {
1697
+ "type": "array",
1698
+ "items": {
1699
+ "$ref": "#/$defs/__schema1"
1700
+ }
1701
+ }
1702
+ }
1703
+ },
1704
+ "additionalProperties": false
1705
+ },
1706
+ "options": {
1707
+ "type": "array",
1708
+ "items": {
1709
+ "anyOf": [
1710
+ {
1711
+ "type": "object",
1712
+ "properties": {
1713
+ "name": {
1714
+ "anyOf": [
1715
+ {
1716
+ "type": "string",
1717
+ "minLength": 1
1718
+ },
1719
+ {
1720
+ "type": "object",
1721
+ "propertyNames": {
1722
+ "type": "string",
1723
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1724
+ },
1725
+ "additionalProperties": {
1726
+ "type": "string",
1727
+ "minLength": 1
1728
+ }
1729
+ }
1730
+ ]
1731
+ },
1732
+ "value": {
1733
+ "anyOf": [
1734
+ {
1735
+ "type": "string"
1736
+ },
1737
+ {
1738
+ "type": "number"
1739
+ },
1740
+ {
1741
+ "type": "boolean"
1742
+ }
1743
+ ]
1744
+ },
1745
+ "action": {
1746
+ "type": "string"
1747
+ },
1748
+ "description": {
1749
+ "anyOf": [
1750
+ {
1751
+ "type": "string",
1752
+ "minLength": 1
1753
+ },
1754
+ {
1755
+ "type": "object",
1756
+ "propertyNames": {
1757
+ "type": "string",
1758
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1759
+ },
1760
+ "additionalProperties": {
1761
+ "type": "string",
1762
+ "minLength": 1
1763
+ }
1764
+ }
1765
+ ]
1766
+ }
1767
+ },
1768
+ "required": [
1769
+ "name",
1770
+ "value"
1771
+ ],
1772
+ "additionalProperties": false
1773
+ },
1774
+ {
1775
+ "$ref": "#/$defs/__schema0"
1776
+ },
1777
+ {
1778
+ "type": "object",
1779
+ "properties": {
1780
+ "displayName": {
1781
+ "type": "string"
1782
+ },
1783
+ "name": {
1784
+ "type": "string",
1785
+ "minLength": 1,
1786
+ "maxLength": 256
1787
+ },
1788
+ "values": {
1789
+ "type": "array",
1790
+ "items": {
1791
+ "$ref": "#/$defs/__schema0"
1792
+ }
1793
+ }
1794
+ },
1795
+ "required": [
1796
+ "displayName",
1797
+ "name",
1798
+ "values"
1799
+ ],
1800
+ "additionalProperties": false
1801
+ }
1802
+ ]
1803
+ }
1804
+ },
1805
+ "placeholder": {
1806
+ "anyOf": [
1807
+ {
1808
+ "type": "string",
1809
+ "minLength": 1
1810
+ },
1811
+ {
1812
+ "type": "object",
1813
+ "propertyNames": {
1814
+ "type": "string",
1815
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1816
+ },
1817
+ "additionalProperties": {
1818
+ "type": "string",
1819
+ "minLength": 1
1820
+ }
1821
+ }
1822
+ ]
1823
+ },
1824
+ "isNodeSetting": {
1825
+ "type": "boolean"
1826
+ },
1827
+ "noDataExpression": {
1828
+ "type": "boolean"
1829
+ },
1830
+ "required": {
1831
+ "type": "boolean"
1832
+ },
1833
+ "example": {
1834
+ "type": "string"
1835
+ },
1836
+ "extractValue": {
1837
+ "type": "object",
1838
+ "properties": {
1839
+ "type": {
1840
+ "type": "string",
1841
+ "const": "regex"
1842
+ },
1843
+ "regex": {
1844
+ "type": "string"
1845
+ }
1846
+ },
1847
+ "required": [
1848
+ "type",
1849
+ "regex"
1850
+ ],
1851
+ "additionalProperties": false
1852
+ },
1853
+ "properties": {
1854
+ "type": "array",
1855
+ "items": {
1856
+ "$ref": "#/$defs/__schema0"
1857
+ }
1858
+ },
1859
+ "assetType": {
1860
+ "type": "string"
1861
+ },
1862
+ "flag": {
1863
+ "type": "boolean"
1864
+ },
1865
+ "enableExpand": {
1866
+ "type": "boolean"
1867
+ },
1868
+ "enableVoice": {
1869
+ "type": "boolean"
1870
+ },
1871
+ "expandButtonText": {
1872
+ "type": "string"
1873
+ },
1874
+ "knowledgeGraphButtonText": {
1875
+ "type": "string"
1876
+ },
1877
+ "selectListDisplayMode": {
1878
+ "type": "string"
1879
+ },
1880
+ "voiceButtonText": {
1881
+ "type": "string"
1882
+ }
1883
+ },
1884
+ "required": [
1885
+ "displayName",
1886
+ "name",
1887
+ "type"
1888
+ ],
1889
+ "additionalProperties": false
1890
+ },
1891
+ "__schema1": {
1892
+ "anyOf": [
1893
+ {
1894
+ "type": "string"
1895
+ },
1896
+ {
1897
+ "type": "number"
1898
+ },
1899
+ {
1900
+ "type": "boolean"
1901
+ },
1902
+ {
1903
+ "type": "null"
1904
+ },
1905
+ {
1906
+ "type": "array",
1907
+ "items": {
1908
+ "$ref": "#/$defs/__schema1"
1909
+ }
1910
+ },
1911
+ {
1912
+ "type": "object",
1913
+ "propertyNames": {
1914
+ "type": "string"
1915
+ },
1916
+ "additionalProperties": {
1917
+ "$ref": "#/$defs/__schema1"
1918
+ }
1919
+ }
1920
+ ]
1921
+ },
1922
+ "__schema2": {
1923
+ "type": "object",
1924
+ "properties": {
1925
+ "name": {
1926
+ "type": "string",
1927
+ "minLength": 1,
1928
+ "maxLength": 256
1929
+ },
1930
+ "taskReferenceName": {
1931
+ "type": "string",
1932
+ "minLength": 1,
1933
+ "maxLength": 256
1934
+ },
1935
+ "type": {
1936
+ "type": "string",
1937
+ "enum": [
1938
+ "SIMPLE",
1939
+ "DYNAMIC",
1940
+ "FORK_JOIN",
1941
+ "FORK_JOIN_DYNAMIC",
1942
+ "DECISION",
1943
+ "SWITCH",
1944
+ "JOIN",
1945
+ "DO_WHILE",
1946
+ "SUB_WORKFLOW",
1947
+ "START_WORKFLOW",
1948
+ "EVENT",
1949
+ "WAIT",
1950
+ "HUMAN",
1951
+ "USER_DEFINED",
1952
+ "HTTP",
1953
+ "LAMBDA",
1954
+ "INLINE",
1955
+ "EXCLUSIVE_JOIN",
1956
+ "TERMINATE",
1957
+ "KAFKA_PUBLISH",
1958
+ "JSON_JQ_TRANSFORM",
1959
+ "SET_VARIABLE",
1960
+ "CALL_MCP_TOOL",
1961
+ "GENERATE_AUDIO",
1962
+ "GENERATE_IMAGE",
1963
+ "GENERATE_PDF",
1964
+ "GENERATE_VIDEO",
1965
+ "LIST_MCP_TOOLS",
1966
+ "LLM_CHAT_COMPLETE",
1967
+ "LLM_GENERATE_EMBEDDINGS",
1968
+ "LLM_INDEX_TEXT",
1969
+ "LLM_SEARCH_INDEX",
1970
+ "TITUS",
1971
+ "USER_TASK"
1972
+ ]
1973
+ },
1974
+ "inputParameters": {
1975
+ "type": "object",
1976
+ "propertyNames": {
1977
+ "type": "string"
1978
+ },
1979
+ "additionalProperties": {
1980
+ "$ref": "#/$defs/__schema1"
1981
+ }
1982
+ },
1983
+ "startDelay": {
1984
+ "type": "integer",
1985
+ "minimum": 0,
1986
+ "maximum": 9007199254740991
1987
+ },
1988
+ "optional": {
1989
+ "type": "boolean"
1990
+ },
1991
+ "asyncComplete": {
1992
+ "type": "boolean"
1993
+ },
1994
+ "rateLimited": {
1995
+ "type": "boolean"
1996
+ },
1997
+ "retryCount": {
1998
+ "type": "integer",
1999
+ "minimum": 0,
2000
+ "maximum": 9007199254740991
2001
+ },
2002
+ "taskDefinition": {
2003
+ "type": "object",
2004
+ "propertyNames": {
2005
+ "type": "string"
2006
+ },
2007
+ "additionalProperties": {
2008
+ "$ref": "#/$defs/__schema1"
2009
+ }
2010
+ },
2011
+ "loopCondition": {
2012
+ "type": "string"
2013
+ },
2014
+ "loopOver": {
2015
+ "type": "array",
2016
+ "items": {
2017
+ "$ref": "#/$defs/__schema2"
2018
+ }
2019
+ },
2020
+ "sink": {
2021
+ "type": "string"
2022
+ },
2023
+ "forkTasks": {
2024
+ "type": "array",
2025
+ "items": {
2026
+ "type": "array",
2027
+ "items": {
2028
+ "$ref": "#/$defs/__schema2"
2029
+ }
2030
+ }
2031
+ },
2032
+ "joinOn": {
2033
+ "type": "array",
2034
+ "items": {
2035
+ "type": "string",
2036
+ "minLength": 1,
2037
+ "maxLength": 256
2038
+ }
2039
+ },
2040
+ "defaultExclusiveJoinTask": {
2041
+ "type": "array",
2042
+ "items": {
2043
+ "type": "string",
2044
+ "minLength": 1,
2045
+ "maxLength": 256
2046
+ }
2047
+ },
2048
+ "dynamicForkTasksParam": {
2049
+ "type": "string"
2050
+ },
2051
+ "dynamicForkTasksInputParamName": {
2052
+ "type": "string"
2053
+ },
2054
+ "subWorkflowParam": {
2055
+ "type": "object",
2056
+ "properties": {
2057
+ "$ref": {
2058
+ "type": "string"
2059
+ },
2060
+ "name": {
2061
+ "type": "string",
2062
+ "minLength": 1,
2063
+ "maxLength": 256
2064
+ },
2065
+ "version": {
2066
+ "type": "integer",
2067
+ "exclusiveMinimum": 0,
2068
+ "maximum": 9007199254740991
2069
+ },
2070
+ "taskToDomain": {
2071
+ "type": "object",
2072
+ "propertyNames": {
2073
+ "type": "string"
2074
+ },
2075
+ "additionalProperties": {
2076
+ "type": "string"
2077
+ }
2078
+ },
2079
+ "workflowDefinition": {
2080
+ "type": "object",
2081
+ "propertyNames": {
2082
+ "type": "string"
2083
+ },
2084
+ "additionalProperties": {
2085
+ "$ref": "#/$defs/__schema1"
2086
+ }
2087
+ }
2088
+ },
2089
+ "required": [
2090
+ "name"
2091
+ ],
2092
+ "additionalProperties": false
2093
+ },
2094
+ "decisionCases": {
2095
+ "type": "object",
2096
+ "propertyNames": {
2097
+ "type": "string"
2098
+ },
2099
+ "additionalProperties": {
2100
+ "type": "array",
2101
+ "items": {
2102
+ "$ref": "#/$defs/__schema2"
2103
+ }
2104
+ }
2105
+ },
2106
+ "defaultCase": {
2107
+ "type": "array",
2108
+ "items": {
2109
+ "$ref": "#/$defs/__schema2"
2110
+ }
2111
+ },
2112
+ "evaluatorType": {
2113
+ "type": "string",
2114
+ "enum": [
2115
+ "value-param",
2116
+ "javascript",
2117
+ "graaljs"
2118
+ ]
2119
+ },
2120
+ "expression": {
2121
+ "type": "string"
2122
+ },
2123
+ "__alias": {
2124
+ "$ref": "#/$defs/__schema1"
2125
+ },
2126
+ "callbackFromWorker": {
2127
+ "type": "boolean"
2128
+ },
2129
+ "caseExpression": {
2130
+ "$ref": "#/$defs/__schema1"
2131
+ },
2132
+ "caseValueParam": {
2133
+ "type": "string"
2134
+ },
2135
+ "dependencies": {
2136
+ "type": "array",
2137
+ "items": {
2138
+ "$ref": "#/$defs/__schema1"
2139
+ }
2140
+ },
2141
+ "description": {
2142
+ "type": "string"
2143
+ },
2144
+ "dynamicTaskNameParam": {
2145
+ "type": "string"
2146
+ },
2147
+ "joinMode": {
2148
+ "type": "string"
2149
+ },
2150
+ "permissive": {
2151
+ "type": "boolean"
2152
+ },
2153
+ "joinTaskRef": {
2154
+ "type": "string",
2155
+ "minLength": 1,
2156
+ "maxLength": 256
2157
+ },
2158
+ "forkTaskRef": {
2159
+ "type": "string",
2160
+ "minLength": 1,
2161
+ "maxLength": 256
2162
+ }
2163
+ },
2164
+ "required": [
2165
+ "name",
2166
+ "taskReferenceName",
2167
+ "type"
2168
+ ],
2169
+ "additionalProperties": false
2170
+ }
2171
+ },
2172
+ "$id": "https://schemas.infmonkeys.com/contracts/workflow-definition.schema.json",
2173
+ "title": "workflow-definition"
2174
+ }