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