@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,815 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "RenderTree"
8
+ },
9
+ "treeId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "product": {
15
+ "type": "string",
16
+ "enum": [
17
+ "studio",
18
+ "kernel",
19
+ "compute"
20
+ ]
21
+ },
22
+ "rootNodeId": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "nodes": {
28
+ "minItems": 1,
29
+ "type": "array",
30
+ "items": {
31
+ "type": "object",
32
+ "properties": {
33
+ "contract": {
34
+ "type": "string",
35
+ "const": "RenderNode"
36
+ },
37
+ "nodeId": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "maxLength": 256
41
+ },
42
+ "kind": {
43
+ "type": "string",
44
+ "enum": [
45
+ "shell",
46
+ "page",
47
+ "navigation",
48
+ "view",
49
+ "record",
50
+ "control",
51
+ "detail",
52
+ "action",
53
+ "overlay",
54
+ "professional-provider"
55
+ ]
56
+ },
57
+ "version": {
58
+ "type": "integer",
59
+ "exclusiveMinimum": 0,
60
+ "maximum": 9007199254740991
61
+ },
62
+ "ownerRepo": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 256
66
+ },
67
+ "parentNodeId": {
68
+ "type": "string",
69
+ "minLength": 1,
70
+ "maxLength": 256
71
+ },
72
+ "children": {
73
+ "type": "array",
74
+ "items": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "maxLength": 256
78
+ }
79
+ },
80
+ "slot": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 256
84
+ },
85
+ "pageRef": {
86
+ "type": "object",
87
+ "properties": {
88
+ "kind": {
89
+ "type": "string",
90
+ "minLength": 1,
91
+ "maxLength": 256
92
+ },
93
+ "id": {
94
+ "type": "string",
95
+ "minLength": 1,
96
+ "maxLength": 256
97
+ },
98
+ "version": {
99
+ "anyOf": [
100
+ {
101
+ "type": "integer",
102
+ "exclusiveMinimum": 0,
103
+ "maximum": 9007199254740991
104
+ },
105
+ {
106
+ "type": "string",
107
+ "minLength": 1
108
+ }
109
+ ]
110
+ },
111
+ "ownerRepo": {
112
+ "type": "string",
113
+ "minLength": 1,
114
+ "maxLength": 256
115
+ }
116
+ },
117
+ "required": [
118
+ "kind",
119
+ "id"
120
+ ],
121
+ "additionalProperties": false
122
+ },
123
+ "semanticRef": {
124
+ "type": "object",
125
+ "properties": {
126
+ "kind": {
127
+ "type": "string",
128
+ "minLength": 1,
129
+ "maxLength": 256
130
+ },
131
+ "id": {
132
+ "type": "string",
133
+ "minLength": 1,
134
+ "maxLength": 256
135
+ },
136
+ "version": {
137
+ "anyOf": [
138
+ {
139
+ "type": "integer",
140
+ "exclusiveMinimum": 0,
141
+ "maximum": 9007199254740991
142
+ },
143
+ {
144
+ "type": "string",
145
+ "minLength": 1
146
+ }
147
+ ]
148
+ },
149
+ "ownerRepo": {
150
+ "type": "string",
151
+ "minLength": 1,
152
+ "maxLength": 256
153
+ }
154
+ },
155
+ "required": [
156
+ "kind",
157
+ "id"
158
+ ],
159
+ "additionalProperties": false
160
+ },
161
+ "dataContextRef": {
162
+ "type": "object",
163
+ "properties": {
164
+ "kind": {
165
+ "type": "string",
166
+ "minLength": 1,
167
+ "maxLength": 256
168
+ },
169
+ "id": {
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "maxLength": 256
173
+ },
174
+ "version": {
175
+ "anyOf": [
176
+ {
177
+ "type": "integer",
178
+ "exclusiveMinimum": 0,
179
+ "maximum": 9007199254740991
180
+ },
181
+ {
182
+ "type": "string",
183
+ "minLength": 1
184
+ }
185
+ ]
186
+ },
187
+ "ownerRepo": {
188
+ "type": "string",
189
+ "minLength": 1,
190
+ "maxLength": 256
191
+ }
192
+ },
193
+ "required": [
194
+ "kind",
195
+ "id"
196
+ ],
197
+ "additionalProperties": false
198
+ },
199
+ "capabilityRef": {
200
+ "type": "object",
201
+ "properties": {
202
+ "kind": {
203
+ "type": "string",
204
+ "minLength": 1,
205
+ "maxLength": 256
206
+ },
207
+ "id": {
208
+ "type": "string",
209
+ "minLength": 1,
210
+ "maxLength": 256
211
+ },
212
+ "version": {
213
+ "anyOf": [
214
+ {
215
+ "type": "integer",
216
+ "exclusiveMinimum": 0,
217
+ "maximum": 9007199254740991
218
+ },
219
+ {
220
+ "type": "string",
221
+ "minLength": 1
222
+ }
223
+ ]
224
+ },
225
+ "ownerRepo": {
226
+ "type": "string",
227
+ "minLength": 1,
228
+ "maxLength": 256
229
+ }
230
+ },
231
+ "required": [
232
+ "kind",
233
+ "id"
234
+ ],
235
+ "additionalProperties": false
236
+ },
237
+ "providerRef": {
238
+ "type": "object",
239
+ "properties": {
240
+ "kind": {
241
+ "type": "string",
242
+ "minLength": 1,
243
+ "maxLength": 256
244
+ },
245
+ "id": {
246
+ "type": "string",
247
+ "minLength": 1,
248
+ "maxLength": 256
249
+ },
250
+ "version": {
251
+ "anyOf": [
252
+ {
253
+ "type": "integer",
254
+ "exclusiveMinimum": 0,
255
+ "maximum": 9007199254740991
256
+ },
257
+ {
258
+ "type": "string",
259
+ "minLength": 1
260
+ }
261
+ ]
262
+ },
263
+ "ownerRepo": {
264
+ "type": "string",
265
+ "minLength": 1,
266
+ "maxLength": 256
267
+ }
268
+ },
269
+ "required": [
270
+ "kind",
271
+ "id"
272
+ ],
273
+ "additionalProperties": false
274
+ },
275
+ "stateRef": {
276
+ "type": "object",
277
+ "properties": {
278
+ "kind": {
279
+ "type": "string",
280
+ "minLength": 1,
281
+ "maxLength": 256
282
+ },
283
+ "id": {
284
+ "type": "string",
285
+ "minLength": 1,
286
+ "maxLength": 256
287
+ },
288
+ "version": {
289
+ "anyOf": [
290
+ {
291
+ "type": "integer",
292
+ "exclusiveMinimum": 0,
293
+ "maximum": 9007199254740991
294
+ },
295
+ {
296
+ "type": "string",
297
+ "minLength": 1
298
+ }
299
+ ]
300
+ },
301
+ "ownerRepo": {
302
+ "type": "string",
303
+ "minLength": 1,
304
+ "maxLength": 256
305
+ }
306
+ },
307
+ "required": [
308
+ "kind",
309
+ "id"
310
+ ],
311
+ "additionalProperties": false
312
+ },
313
+ "surface": {
314
+ "type": "object",
315
+ "properties": {
316
+ "frameOwner": {
317
+ "type": "string",
318
+ "enum": [
319
+ "host",
320
+ "provider",
321
+ "none"
322
+ ]
323
+ },
324
+ "tone": {
325
+ "type": "string",
326
+ "minLength": 1,
327
+ "maxLength": 256
328
+ },
329
+ "density": {
330
+ "type": "string",
331
+ "enum": [
332
+ "compact",
333
+ "default",
334
+ "comfortable"
335
+ ]
336
+ }
337
+ },
338
+ "required": [
339
+ "frameOwner",
340
+ "density"
341
+ ],
342
+ "additionalProperties": false
343
+ },
344
+ "scroll": {
345
+ "type": "object",
346
+ "properties": {
347
+ "owner": {
348
+ "type": "string",
349
+ "enum": [
350
+ "page",
351
+ "surface",
352
+ "provider"
353
+ ]
354
+ },
355
+ "axis": {
356
+ "type": "string",
357
+ "enum": [
358
+ "x",
359
+ "y",
360
+ "both",
361
+ "none"
362
+ ]
363
+ },
364
+ "restoreKey": {
365
+ "type": "string",
366
+ "minLength": 1,
367
+ "maxLength": 256
368
+ },
369
+ "virtualizationBoundary": {
370
+ "type": "boolean"
371
+ }
372
+ },
373
+ "required": [
374
+ "owner",
375
+ "axis",
376
+ "virtualizationBoundary"
377
+ ],
378
+ "additionalProperties": false
379
+ },
380
+ "activation": {
381
+ "type": "object",
382
+ "properties": {
383
+ "activationId": {
384
+ "type": "string",
385
+ "minLength": 1,
386
+ "maxLength": 256
387
+ },
388
+ "mode": {
389
+ "type": "string",
390
+ "enum": [
391
+ "navigate",
392
+ "select",
393
+ "drawer",
394
+ "modal",
395
+ "fullscreen",
396
+ "inline"
397
+ ]
398
+ },
399
+ "targetPath": {
400
+ "type": "string",
401
+ "pattern": "^\\/(?!\\/)"
402
+ },
403
+ "history": {
404
+ "type": "string",
405
+ "enum": [
406
+ "push",
407
+ "replace"
408
+ ]
409
+ }
410
+ },
411
+ "required": [
412
+ "activationId",
413
+ "mode"
414
+ ],
415
+ "additionalProperties": false
416
+ },
417
+ "lifecycle": {
418
+ "type": "object",
419
+ "properties": {
420
+ "mountPolicy": {
421
+ "type": "string",
422
+ "enum": [
423
+ "always",
424
+ "when-visible",
425
+ "when-active"
426
+ ]
427
+ },
428
+ "queryPolicy": {
429
+ "type": "string",
430
+ "enum": [
431
+ "always",
432
+ "when-visible",
433
+ "when-active",
434
+ "manual"
435
+ ]
436
+ },
437
+ "retainOnDeactivate": {
438
+ "type": "boolean"
439
+ },
440
+ "deepLink": {
441
+ "type": "boolean"
442
+ },
443
+ "focusReturn": {
444
+ "type": "boolean"
445
+ }
446
+ },
447
+ "required": [
448
+ "mountPolicy",
449
+ "queryPolicy",
450
+ "retainOnDeactivate",
451
+ "deepLink",
452
+ "focusReturn"
453
+ ],
454
+ "additionalProperties": false
455
+ },
456
+ "layout": {
457
+ "type": "object",
458
+ "properties": {
459
+ "mode": {
460
+ "type": "string",
461
+ "enum": [
462
+ "contents",
463
+ "block",
464
+ "flex",
465
+ "grid",
466
+ "absolute"
467
+ ]
468
+ },
469
+ "direction": {
470
+ "type": "string",
471
+ "enum": [
472
+ "row",
473
+ "column"
474
+ ]
475
+ },
476
+ "columns": {
477
+ "type": "integer",
478
+ "exclusiveMinimum": 0,
479
+ "maximum": 9007199254740991
480
+ },
481
+ "align": {
482
+ "type": "string",
483
+ "enum": [
484
+ "start",
485
+ "center",
486
+ "end",
487
+ "stretch"
488
+ ]
489
+ },
490
+ "justify": {
491
+ "type": "string",
492
+ "enum": [
493
+ "start",
494
+ "center",
495
+ "end",
496
+ "between",
497
+ "around"
498
+ ]
499
+ },
500
+ "gapTokenRef": {
501
+ "type": "object",
502
+ "properties": {
503
+ "kind": {
504
+ "type": "string",
505
+ "minLength": 1,
506
+ "maxLength": 256
507
+ },
508
+ "id": {
509
+ "type": "string",
510
+ "minLength": 1,
511
+ "maxLength": 256
512
+ },
513
+ "version": {
514
+ "anyOf": [
515
+ {
516
+ "type": "integer",
517
+ "exclusiveMinimum": 0,
518
+ "maximum": 9007199254740991
519
+ },
520
+ {
521
+ "type": "string",
522
+ "minLength": 1
523
+ }
524
+ ]
525
+ },
526
+ "ownerRepo": {
527
+ "type": "string",
528
+ "minLength": 1,
529
+ "maxLength": 256
530
+ }
531
+ },
532
+ "required": [
533
+ "kind",
534
+ "id"
535
+ ],
536
+ "additionalProperties": false
537
+ }
538
+ },
539
+ "required": [
540
+ "mode"
541
+ ],
542
+ "additionalProperties": false
543
+ },
544
+ "responsive": {
545
+ "type": "array",
546
+ "items": {
547
+ "type": "object",
548
+ "properties": {
549
+ "minWidthPx": {
550
+ "type": "number",
551
+ "minimum": 0
552
+ },
553
+ "maxWidthPx": {
554
+ "type": "number",
555
+ "exclusiveMinimum": 0
556
+ },
557
+ "layout": {
558
+ "type": "object",
559
+ "properties": {
560
+ "mode": {
561
+ "type": "string",
562
+ "enum": [
563
+ "contents",
564
+ "block",
565
+ "flex",
566
+ "grid",
567
+ "absolute"
568
+ ]
569
+ },
570
+ "direction": {
571
+ "type": "string",
572
+ "enum": [
573
+ "row",
574
+ "column"
575
+ ]
576
+ },
577
+ "columns": {
578
+ "type": "integer",
579
+ "exclusiveMinimum": 0,
580
+ "maximum": 9007199254740991
581
+ },
582
+ "align": {
583
+ "type": "string",
584
+ "enum": [
585
+ "start",
586
+ "center",
587
+ "end",
588
+ "stretch"
589
+ ]
590
+ },
591
+ "justify": {
592
+ "type": "string",
593
+ "enum": [
594
+ "start",
595
+ "center",
596
+ "end",
597
+ "between",
598
+ "around"
599
+ ]
600
+ },
601
+ "gapTokenRef": {
602
+ "type": "object",
603
+ "properties": {
604
+ "kind": {
605
+ "type": "string",
606
+ "minLength": 1,
607
+ "maxLength": 256
608
+ },
609
+ "id": {
610
+ "type": "string",
611
+ "minLength": 1,
612
+ "maxLength": 256
613
+ },
614
+ "version": {
615
+ "anyOf": [
616
+ {
617
+ "type": "integer",
618
+ "exclusiveMinimum": 0,
619
+ "maximum": 9007199254740991
620
+ },
621
+ {
622
+ "type": "string",
623
+ "minLength": 1
624
+ }
625
+ ]
626
+ },
627
+ "ownerRepo": {
628
+ "type": "string",
629
+ "minLength": 1,
630
+ "maxLength": 256
631
+ }
632
+ },
633
+ "required": [
634
+ "kind",
635
+ "id"
636
+ ],
637
+ "additionalProperties": false
638
+ }
639
+ },
640
+ "required": [
641
+ "mode"
642
+ ],
643
+ "additionalProperties": false
644
+ }
645
+ },
646
+ "required": [
647
+ "layout"
648
+ ],
649
+ "additionalProperties": false
650
+ }
651
+ },
652
+ "accessRef": {
653
+ "type": "object",
654
+ "properties": {
655
+ "kind": {
656
+ "type": "string",
657
+ "minLength": 1,
658
+ "maxLength": 256
659
+ },
660
+ "id": {
661
+ "type": "string",
662
+ "minLength": 1,
663
+ "maxLength": 256
664
+ },
665
+ "version": {
666
+ "anyOf": [
667
+ {
668
+ "type": "integer",
669
+ "exclusiveMinimum": 0,
670
+ "maximum": 9007199254740991
671
+ },
672
+ {
673
+ "type": "string",
674
+ "minLength": 1
675
+ }
676
+ ]
677
+ },
678
+ "ownerRepo": {
679
+ "type": "string",
680
+ "minLength": 1,
681
+ "maxLength": 256
682
+ }
683
+ },
684
+ "required": [
685
+ "kind",
686
+ "id"
687
+ ],
688
+ "additionalProperties": false
689
+ },
690
+ "evidenceRef": {
691
+ "type": "object",
692
+ "properties": {
693
+ "kind": {
694
+ "type": "string",
695
+ "minLength": 1,
696
+ "maxLength": 256
697
+ },
698
+ "id": {
699
+ "type": "string",
700
+ "minLength": 1,
701
+ "maxLength": 256
702
+ },
703
+ "version": {
704
+ "anyOf": [
705
+ {
706
+ "type": "integer",
707
+ "exclusiveMinimum": 0,
708
+ "maximum": 9007199254740991
709
+ },
710
+ {
711
+ "type": "string",
712
+ "minLength": 1
713
+ }
714
+ ]
715
+ },
716
+ "ownerRepo": {
717
+ "type": "string",
718
+ "minLength": 1,
719
+ "maxLength": 256
720
+ }
721
+ },
722
+ "required": [
723
+ "kind",
724
+ "id"
725
+ ],
726
+ "additionalProperties": false
727
+ },
728
+ "state": {
729
+ "type": "string",
730
+ "enum": [
731
+ "idle",
732
+ "loading",
733
+ "empty",
734
+ "error",
735
+ "success",
736
+ "disabled",
737
+ "selected"
738
+ ]
739
+ },
740
+ "renderModel": {
741
+ "type": "object",
742
+ "propertyNames": {
743
+ "type": "string"
744
+ },
745
+ "additionalProperties": {
746
+ "$ref": "#/$defs/__schema0"
747
+ }
748
+ }
749
+ },
750
+ "required": [
751
+ "contract",
752
+ "nodeId",
753
+ "kind",
754
+ "version",
755
+ "ownerRepo",
756
+ "children",
757
+ "pageRef",
758
+ "capabilityRef",
759
+ "surface",
760
+ "scroll",
761
+ "activation",
762
+ "lifecycle",
763
+ "layout",
764
+ "responsive",
765
+ "state",
766
+ "renderModel"
767
+ ],
768
+ "additionalProperties": false
769
+ }
770
+ }
771
+ },
772
+ "required": [
773
+ "contract",
774
+ "treeId",
775
+ "product",
776
+ "rootNodeId",
777
+ "nodes"
778
+ ],
779
+ "additionalProperties": false,
780
+ "$defs": {
781
+ "__schema0": {
782
+ "anyOf": [
783
+ {
784
+ "type": "string"
785
+ },
786
+ {
787
+ "type": "number"
788
+ },
789
+ {
790
+ "type": "boolean"
791
+ },
792
+ {
793
+ "type": "null"
794
+ },
795
+ {
796
+ "type": "array",
797
+ "items": {
798
+ "$ref": "#/$defs/__schema0"
799
+ }
800
+ },
801
+ {
802
+ "type": "object",
803
+ "propertyNames": {
804
+ "type": "string"
805
+ },
806
+ "additionalProperties": {
807
+ "$ref": "#/$defs/__schema0"
808
+ }
809
+ }
810
+ ]
811
+ }
812
+ },
813
+ "$id": "https://schemas.infmonkeys.com/contracts/render-tree.schema.json",
814
+ "title": "render-tree"
815
+ }