@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,1410 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "ProductDeclaration"
8
+ },
9
+ "declarationId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "ownerRepo": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "maxLength": 256
18
+ },
19
+ "concepts": {
20
+ "default": [],
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "contract": {
26
+ "type": "string",
27
+ "const": "ConceptDefinition"
28
+ },
29
+ "conceptId": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 256
33
+ },
34
+ "ownerRepo": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 256
38
+ },
39
+ "displayName": {
40
+ "type": "string",
41
+ "minLength": 1
42
+ },
43
+ "description": {
44
+ "type": "string"
45
+ },
46
+ "schemaRef": {
47
+ "type": "string",
48
+ "minLength": 1,
49
+ "maxLength": 256
50
+ },
51
+ "ontologyId": {
52
+ "type": "string",
53
+ "minLength": 1,
54
+ "maxLength": 256
55
+ },
56
+ "capabilityIds": {
57
+ "default": [],
58
+ "type": "array",
59
+ "items": {
60
+ "type": "string",
61
+ "minLength": 1,
62
+ "maxLength": 256
63
+ }
64
+ },
65
+ "commandNames": {
66
+ "default": [],
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string",
70
+ "minLength": 1,
71
+ "maxLength": 256
72
+ }
73
+ },
74
+ "relationships": {
75
+ "default": [],
76
+ "type": "array",
77
+ "items": {
78
+ "type": "object",
79
+ "properties": {
80
+ "kind": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 256
84
+ },
85
+ "targetConceptId": {
86
+ "type": "string",
87
+ "minLength": 1,
88
+ "maxLength": 256
89
+ },
90
+ "cardinality": {
91
+ "type": "string",
92
+ "enum": [
93
+ "one",
94
+ "optional",
95
+ "many"
96
+ ]
97
+ }
98
+ },
99
+ "required": [
100
+ "kind",
101
+ "targetConceptId",
102
+ "cardinality"
103
+ ],
104
+ "additionalProperties": false
105
+ }
106
+ }
107
+ },
108
+ "required": [
109
+ "contract",
110
+ "conceptId",
111
+ "ownerRepo",
112
+ "displayName",
113
+ "schemaRef",
114
+ "capabilityIds",
115
+ "commandNames",
116
+ "relationships"
117
+ ],
118
+ "additionalProperties": false
119
+ }
120
+ },
121
+ "ontologies": {
122
+ "default": [],
123
+ "type": "array",
124
+ "items": {
125
+ "type": "object",
126
+ "properties": {
127
+ "contract": {
128
+ "type": "string",
129
+ "const": "OntologyDefinition"
130
+ },
131
+ "ontologyId": {
132
+ "type": "string",
133
+ "minLength": 1,
134
+ "maxLength": 256
135
+ },
136
+ "dataSpaceId": {
137
+ "type": "string",
138
+ "minLength": 1,
139
+ "maxLength": 256
140
+ },
141
+ "ownerRepo": {
142
+ "type": "string",
143
+ "minLength": 1,
144
+ "maxLength": 256
145
+ },
146
+ "bodySchemaRef": {
147
+ "type": "string",
148
+ "minLength": 1,
149
+ "maxLength": 256
150
+ },
151
+ "authority": {
152
+ "type": "object",
153
+ "properties": {
154
+ "service": {
155
+ "type": "string",
156
+ "minLength": 1,
157
+ "maxLength": 256
158
+ },
159
+ "storage": {
160
+ "type": "string",
161
+ "minLength": 1,
162
+ "maxLength": 256
163
+ },
164
+ "scope": {
165
+ "type": "string",
166
+ "enum": [
167
+ "tenant",
168
+ "team",
169
+ "user",
170
+ "global"
171
+ ]
172
+ }
173
+ },
174
+ "required": [
175
+ "service",
176
+ "storage",
177
+ "scope"
178
+ ],
179
+ "additionalProperties": false
180
+ },
181
+ "relationKinds": {
182
+ "default": [],
183
+ "type": "array",
184
+ "items": {
185
+ "type": "string",
186
+ "minLength": 1,
187
+ "maxLength": 256
188
+ }
189
+ },
190
+ "metricKinds": {
191
+ "default": [],
192
+ "type": "array",
193
+ "items": {
194
+ "type": "string",
195
+ "minLength": 1,
196
+ "maxLength": 256
197
+ }
198
+ }
199
+ },
200
+ "required": [
201
+ "contract",
202
+ "ontologyId",
203
+ "dataSpaceId",
204
+ "ownerRepo",
205
+ "bodySchemaRef",
206
+ "authority",
207
+ "relationKinds",
208
+ "metricKinds"
209
+ ],
210
+ "additionalProperties": false
211
+ }
212
+ },
213
+ "projections": {
214
+ "default": [],
215
+ "type": "array",
216
+ "items": {
217
+ "type": "object",
218
+ "properties": {
219
+ "contract": {
220
+ "type": "string",
221
+ "const": "ProjectionSpec"
222
+ },
223
+ "projectionId": {
224
+ "type": "string",
225
+ "minLength": 1,
226
+ "maxLength": 256
227
+ },
228
+ "ontologyIds": {
229
+ "minItems": 1,
230
+ "type": "array",
231
+ "items": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 256
235
+ }
236
+ },
237
+ "outputSchemaRef": {
238
+ "type": "string",
239
+ "minLength": 1,
240
+ "maxLength": 256
241
+ },
242
+ "operator": {
243
+ "type": "object",
244
+ "properties": {
245
+ "kind": {
246
+ "type": "string",
247
+ "enum": [
248
+ "query",
249
+ "aggregate",
250
+ "relationship",
251
+ "search",
252
+ "custom"
253
+ ]
254
+ },
255
+ "configuration": {
256
+ "default": {},
257
+ "type": "object",
258
+ "propertyNames": {
259
+ "type": "string"
260
+ },
261
+ "additionalProperties": {
262
+ "$ref": "#/$defs/__schema0"
263
+ }
264
+ }
265
+ },
266
+ "required": [
267
+ "kind",
268
+ "configuration"
269
+ ],
270
+ "additionalProperties": false
271
+ },
272
+ "materialization": {
273
+ "type": "string",
274
+ "enum": [
275
+ "on-demand",
276
+ "event-driven",
277
+ "scheduled"
278
+ ]
279
+ },
280
+ "invalidationEvents": {
281
+ "default": [],
282
+ "type": "array",
283
+ "items": {
284
+ "type": "string",
285
+ "minLength": 1,
286
+ "maxLength": 256
287
+ }
288
+ },
289
+ "rebuildable": {
290
+ "type": "boolean",
291
+ "const": true
292
+ },
293
+ "lineagePolicy": {
294
+ "type": "object",
295
+ "properties": {
296
+ "sourceRecords": {
297
+ "type": "boolean"
298
+ },
299
+ "bodyVersions": {
300
+ "type": "boolean"
301
+ },
302
+ "runRefs": {
303
+ "type": "boolean"
304
+ },
305
+ "actorRefs": {
306
+ "type": "boolean"
307
+ }
308
+ },
309
+ "required": [
310
+ "sourceRecords",
311
+ "bodyVersions",
312
+ "runRefs",
313
+ "actorRefs"
314
+ ],
315
+ "additionalProperties": false
316
+ }
317
+ },
318
+ "required": [
319
+ "contract",
320
+ "projectionId",
321
+ "ontologyIds",
322
+ "outputSchemaRef",
323
+ "operator",
324
+ "materialization",
325
+ "invalidationEvents",
326
+ "rebuildable",
327
+ "lineagePolicy"
328
+ ],
329
+ "additionalProperties": false
330
+ }
331
+ },
332
+ "commands": {
333
+ "default": [],
334
+ "type": "array",
335
+ "items": {
336
+ "type": "object",
337
+ "properties": {
338
+ "contract": {
339
+ "type": "string",
340
+ "const": "DomainCommandDefinition"
341
+ },
342
+ "commandName": {
343
+ "type": "string",
344
+ "minLength": 1,
345
+ "maxLength": 256
346
+ },
347
+ "ownerRepo": {
348
+ "type": "string",
349
+ "minLength": 1,
350
+ "maxLength": 256
351
+ },
352
+ "displayName": {
353
+ "type": "string",
354
+ "minLength": 1
355
+ },
356
+ "description": {
357
+ "type": "string"
358
+ },
359
+ "targetKinds": {
360
+ "minItems": 1,
361
+ "type": "array",
362
+ "items": {
363
+ "type": "string",
364
+ "minLength": 1,
365
+ "maxLength": 256
366
+ }
367
+ },
368
+ "inputSchemaRef": {
369
+ "type": "string",
370
+ "minLength": 1,
371
+ "maxLength": 256
372
+ },
373
+ "outputSchemaRef": {
374
+ "type": "string",
375
+ "minLength": 1,
376
+ "maxLength": 256
377
+ },
378
+ "requiredPermissionCodes": {
379
+ "default": [],
380
+ "type": "array",
381
+ "items": {
382
+ "type": "string",
383
+ "minLength": 1,
384
+ "maxLength": 256
385
+ }
386
+ },
387
+ "handlerRef": {
388
+ "type": "object",
389
+ "properties": {
390
+ "kind": {
391
+ "type": "string",
392
+ "minLength": 1,
393
+ "maxLength": 256
394
+ },
395
+ "id": {
396
+ "type": "string",
397
+ "minLength": 1,
398
+ "maxLength": 256
399
+ },
400
+ "version": {
401
+ "anyOf": [
402
+ {
403
+ "type": "integer",
404
+ "exclusiveMinimum": 0,
405
+ "maximum": 9007199254740991
406
+ },
407
+ {
408
+ "type": "string",
409
+ "minLength": 1
410
+ }
411
+ ]
412
+ },
413
+ "ownerRepo": {
414
+ "type": "string",
415
+ "minLength": 1,
416
+ "maxLength": 256
417
+ }
418
+ },
419
+ "required": [
420
+ "kind",
421
+ "id"
422
+ ],
423
+ "additionalProperties": false
424
+ },
425
+ "sideEffects": {
426
+ "default": [],
427
+ "type": "array",
428
+ "items": {
429
+ "type": "string",
430
+ "enum": [
431
+ "data-write",
432
+ "execution",
433
+ "navigation",
434
+ "notification",
435
+ "external-call"
436
+ ]
437
+ }
438
+ }
439
+ },
440
+ "required": [
441
+ "contract",
442
+ "commandName",
443
+ "ownerRepo",
444
+ "displayName",
445
+ "targetKinds",
446
+ "inputSchemaRef",
447
+ "requiredPermissionCodes",
448
+ "handlerRef",
449
+ "sideEffects"
450
+ ],
451
+ "additionalProperties": false
452
+ }
453
+ },
454
+ "capabilities": {
455
+ "default": [],
456
+ "type": "array",
457
+ "items": {
458
+ "type": "object",
459
+ "properties": {
460
+ "contract": {
461
+ "type": "string",
462
+ "const": "CapabilityManifest"
463
+ },
464
+ "id": {
465
+ "type": "string",
466
+ "minLength": 1,
467
+ "maxLength": 256
468
+ },
469
+ "capabilityVersion": {
470
+ "type": "string",
471
+ "minLength": 1,
472
+ "maxLength": 256
473
+ },
474
+ "ownerRepo": {
475
+ "type": "string",
476
+ "minLength": 1,
477
+ "maxLength": 256
478
+ },
479
+ "kind": {
480
+ "type": "string",
481
+ "enum": [
482
+ "primitive",
483
+ "composite",
484
+ "view",
485
+ "professional-provider",
486
+ "tool",
487
+ "workflow"
488
+ ]
489
+ },
490
+ "displayName": {
491
+ "type": "string",
492
+ "minLength": 1
493
+ },
494
+ "description": {
495
+ "type": "string"
496
+ },
497
+ "ports": {
498
+ "type": "object",
499
+ "properties": {
500
+ "inputs": {
501
+ "default": [],
502
+ "type": "array",
503
+ "items": {
504
+ "type": "object",
505
+ "properties": {
506
+ "name": {
507
+ "type": "string",
508
+ "minLength": 1,
509
+ "maxLength": 256
510
+ },
511
+ "schemaRef": {
512
+ "type": "string",
513
+ "minLength": 1,
514
+ "maxLength": 256
515
+ },
516
+ "required": {
517
+ "default": false,
518
+ "type": "boolean"
519
+ },
520
+ "multiple": {
521
+ "default": false,
522
+ "type": "boolean"
523
+ },
524
+ "description": {
525
+ "type": "string"
526
+ }
527
+ },
528
+ "required": [
529
+ "name",
530
+ "schemaRef",
531
+ "required",
532
+ "multiple"
533
+ ],
534
+ "additionalProperties": false
535
+ }
536
+ },
537
+ "outputs": {
538
+ "default": [],
539
+ "type": "array",
540
+ "items": {
541
+ "type": "object",
542
+ "properties": {
543
+ "name": {
544
+ "type": "string",
545
+ "minLength": 1,
546
+ "maxLength": 256
547
+ },
548
+ "schemaRef": {
549
+ "type": "string",
550
+ "minLength": 1,
551
+ "maxLength": 256
552
+ },
553
+ "required": {
554
+ "default": false,
555
+ "type": "boolean"
556
+ },
557
+ "multiple": {
558
+ "default": false,
559
+ "type": "boolean"
560
+ },
561
+ "description": {
562
+ "type": "string"
563
+ }
564
+ },
565
+ "required": [
566
+ "name",
567
+ "schemaRef",
568
+ "required",
569
+ "multiple"
570
+ ],
571
+ "additionalProperties": false
572
+ }
573
+ }
574
+ },
575
+ "required": [
576
+ "inputs",
577
+ "outputs"
578
+ ],
579
+ "additionalProperties": false
580
+ },
581
+ "runtime": {
582
+ "type": "object",
583
+ "properties": {
584
+ "providerBindings": {
585
+ "minItems": 1,
586
+ "type": "array",
587
+ "items": {
588
+ "type": "object",
589
+ "properties": {
590
+ "providerRef": {
591
+ "type": "object",
592
+ "properties": {
593
+ "kind": {
594
+ "type": "string",
595
+ "minLength": 1,
596
+ "maxLength": 256
597
+ },
598
+ "id": {
599
+ "type": "string",
600
+ "minLength": 1,
601
+ "maxLength": 256
602
+ },
603
+ "version": {
604
+ "anyOf": [
605
+ {
606
+ "type": "integer",
607
+ "exclusiveMinimum": 0,
608
+ "maximum": 9007199254740991
609
+ },
610
+ {
611
+ "type": "string",
612
+ "minLength": 1
613
+ }
614
+ ]
615
+ },
616
+ "ownerRepo": {
617
+ "type": "string",
618
+ "minLength": 1,
619
+ "maxLength": 256
620
+ }
621
+ },
622
+ "required": [
623
+ "kind",
624
+ "id"
625
+ ],
626
+ "additionalProperties": false
627
+ },
628
+ "productContexts": {
629
+ "default": [],
630
+ "type": "array",
631
+ "items": {
632
+ "type": "string",
633
+ "enum": [
634
+ "studio",
635
+ "kernel",
636
+ "compute"
637
+ ]
638
+ }
639
+ },
640
+ "priority": {
641
+ "default": 0,
642
+ "type": "integer",
643
+ "minimum": -9007199254740991,
644
+ "maximum": 9007199254740991
645
+ }
646
+ },
647
+ "required": [
648
+ "providerRef",
649
+ "productContexts",
650
+ "priority"
651
+ ],
652
+ "additionalProperties": false
653
+ }
654
+ },
655
+ "loading": {
656
+ "type": "string",
657
+ "enum": [
658
+ "eager",
659
+ "lazy",
660
+ "viewport",
661
+ "on-activation"
662
+ ]
663
+ },
664
+ "fallbackCapabilityRef": {
665
+ "type": "object",
666
+ "properties": {
667
+ "kind": {
668
+ "type": "string",
669
+ "minLength": 1,
670
+ "maxLength": 256
671
+ },
672
+ "id": {
673
+ "type": "string",
674
+ "minLength": 1,
675
+ "maxLength": 256
676
+ },
677
+ "version": {
678
+ "anyOf": [
679
+ {
680
+ "type": "integer",
681
+ "exclusiveMinimum": 0,
682
+ "maximum": 9007199254740991
683
+ },
684
+ {
685
+ "type": "string",
686
+ "minLength": 1
687
+ }
688
+ ]
689
+ },
690
+ "ownerRepo": {
691
+ "type": "string",
692
+ "minLength": 1,
693
+ "maxLength": 256
694
+ }
695
+ },
696
+ "required": [
697
+ "kind",
698
+ "id"
699
+ ],
700
+ "additionalProperties": false
701
+ },
702
+ "stateOwner": {
703
+ "type": "string",
704
+ "enum": [
705
+ "host",
706
+ "provider",
707
+ "external"
708
+ ]
709
+ },
710
+ "stateSchemaRef": {
711
+ "type": "string",
712
+ "minLength": 1,
713
+ "maxLength": 256
714
+ },
715
+ "sideEffects": {
716
+ "default": [],
717
+ "type": "array",
718
+ "items": {
719
+ "type": "string",
720
+ "enum": [
721
+ "network",
722
+ "storage",
723
+ "navigation",
724
+ "worker",
725
+ "websocket"
726
+ ]
727
+ }
728
+ }
729
+ },
730
+ "required": [
731
+ "providerBindings",
732
+ "loading",
733
+ "stateOwner",
734
+ "sideEffects"
735
+ ],
736
+ "additionalProperties": false
737
+ },
738
+ "placement": {
739
+ "type": "object",
740
+ "properties": {
741
+ "surfaces": {
742
+ "minItems": 1,
743
+ "type": "array",
744
+ "items": {
745
+ "type": "string",
746
+ "minLength": 1,
747
+ "maxLength": 256
748
+ }
749
+ },
750
+ "slots": {
751
+ "default": [],
752
+ "type": "array",
753
+ "items": {
754
+ "type": "string",
755
+ "minLength": 1,
756
+ "maxLength": 256
757
+ }
758
+ },
759
+ "variants": {
760
+ "default": [],
761
+ "type": "array",
762
+ "items": {
763
+ "type": "string",
764
+ "minLength": 1,
765
+ "maxLength": 256
766
+ }
767
+ },
768
+ "tokenRefs": {
769
+ "default": [],
770
+ "type": "array",
771
+ "items": {
772
+ "type": "string",
773
+ "minLength": 1,
774
+ "maxLength": 256
775
+ }
776
+ }
777
+ },
778
+ "required": [
779
+ "surfaces",
780
+ "slots",
781
+ "variants",
782
+ "tokenRefs"
783
+ ],
784
+ "additionalProperties": false
785
+ },
786
+ "accessibility": {
787
+ "type": "object",
788
+ "properties": {
789
+ "keyboardModel": {
790
+ "type": "string",
791
+ "minLength": 1,
792
+ "maxLength": 256
793
+ },
794
+ "focusModel": {
795
+ "type": "string",
796
+ "minLength": 1,
797
+ "maxLength": 256
798
+ },
799
+ "labelContract": {
800
+ "type": "string",
801
+ "minLength": 1,
802
+ "maxLength": 256
803
+ }
804
+ },
805
+ "required": [
806
+ "keyboardModel",
807
+ "focusModel",
808
+ "labelContract"
809
+ ],
810
+ "additionalProperties": false
811
+ },
812
+ "observability": {
813
+ "type": "object",
814
+ "properties": {
815
+ "eventNamespace": {
816
+ "type": "string",
817
+ "minLength": 1,
818
+ "maxLength": 256
819
+ },
820
+ "metrics": {
821
+ "default": [],
822
+ "type": "array",
823
+ "items": {
824
+ "type": "string",
825
+ "minLength": 1,
826
+ "maxLength": 256
827
+ }
828
+ },
829
+ "evidenceRefs": {
830
+ "default": [],
831
+ "type": "array",
832
+ "items": {
833
+ "type": "string",
834
+ "minLength": 1,
835
+ "maxLength": 256
836
+ }
837
+ },
838
+ "performanceBudgetMs": {
839
+ "type": "number",
840
+ "exclusiveMinimum": 0
841
+ }
842
+ },
843
+ "required": [
844
+ "eventNamespace",
845
+ "metrics",
846
+ "evidenceRefs"
847
+ ],
848
+ "additionalProperties": false
849
+ }
850
+ },
851
+ "required": [
852
+ "contract",
853
+ "id",
854
+ "capabilityVersion",
855
+ "ownerRepo",
856
+ "kind",
857
+ "displayName",
858
+ "ports",
859
+ "runtime",
860
+ "placement",
861
+ "accessibility",
862
+ "observability"
863
+ ],
864
+ "additionalProperties": false
865
+ }
866
+ },
867
+ "pages": {
868
+ "default": [],
869
+ "type": "array",
870
+ "items": {
871
+ "type": "object",
872
+ "properties": {
873
+ "contract": {
874
+ "type": "string",
875
+ "const": "PageDefinition"
876
+ },
877
+ "pageId": {
878
+ "type": "string",
879
+ "minLength": 1,
880
+ "maxLength": 256
881
+ },
882
+ "ownerRepo": {
883
+ "type": "string",
884
+ "minLength": 1,
885
+ "maxLength": 256
886
+ },
887
+ "title": {
888
+ "anyOf": [
889
+ {
890
+ "type": "string",
891
+ "minLength": 1
892
+ },
893
+ {
894
+ "type": "object",
895
+ "propertyNames": {
896
+ "type": "string",
897
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
898
+ },
899
+ "additionalProperties": {
900
+ "type": "string",
901
+ "minLength": 1
902
+ }
903
+ }
904
+ ]
905
+ },
906
+ "pageType": {
907
+ "type": "string",
908
+ "enum": [
909
+ "page",
910
+ "workspace",
911
+ "view",
912
+ "record",
913
+ "action",
914
+ "overlay",
915
+ "agent",
916
+ "process",
917
+ "log",
918
+ "chat",
919
+ "preview",
920
+ "api",
921
+ "enhanced",
922
+ "agent-chat",
923
+ "agent-config",
924
+ "agent-log",
925
+ "design-board",
926
+ "global-design-board",
927
+ "iframe"
928
+ ]
929
+ },
930
+ "ownership": {
931
+ "type": "object",
932
+ "properties": {
933
+ "teamId": {
934
+ "type": "string",
935
+ "minLength": 1,
936
+ "maxLength": 256
937
+ },
938
+ "creatorRef": {
939
+ "type": "object",
940
+ "properties": {
941
+ "kind": {
942
+ "type": "string",
943
+ "minLength": 1,
944
+ "maxLength": 256
945
+ },
946
+ "id": {
947
+ "type": "string",
948
+ "minLength": 1,
949
+ "maxLength": 256
950
+ },
951
+ "version": {
952
+ "anyOf": [
953
+ {
954
+ "type": "integer",
955
+ "exclusiveMinimum": 0,
956
+ "maximum": 9007199254740991
957
+ },
958
+ {
959
+ "type": "string",
960
+ "minLength": 1
961
+ }
962
+ ]
963
+ },
964
+ "ownerRepo": {
965
+ "type": "string",
966
+ "minLength": 1,
967
+ "maxLength": 256
968
+ }
969
+ },
970
+ "required": [
971
+ "kind",
972
+ "id"
973
+ ],
974
+ "additionalProperties": false
975
+ },
976
+ "studioId": {
977
+ "type": "string",
978
+ "minLength": 1,
979
+ "maxLength": 256
980
+ },
981
+ "builtIn": {
982
+ "type": "boolean"
983
+ }
984
+ },
985
+ "required": [
986
+ "builtIn"
987
+ ],
988
+ "additionalProperties": false
989
+ },
990
+ "record": {
991
+ "type": "object",
992
+ "properties": {
993
+ "createdTimestamp": {
994
+ "type": "integer",
995
+ "minimum": 0,
996
+ "maximum": 9007199254740991
997
+ },
998
+ "updatedTimestamp": {
999
+ "type": "integer",
1000
+ "minimum": 0,
1001
+ "maximum": 9007199254740991
1002
+ },
1003
+ "deleted": {
1004
+ "default": false,
1005
+ "type": "boolean"
1006
+ }
1007
+ },
1008
+ "required": [
1009
+ "deleted"
1010
+ ],
1011
+ "additionalProperties": false
1012
+ },
1013
+ "surface": {
1014
+ "type": "string",
1015
+ "enum": [
1016
+ "page",
1017
+ "workspace",
1018
+ "view",
1019
+ "record",
1020
+ "action",
1021
+ "overlay",
1022
+ "agent"
1023
+ ]
1024
+ },
1025
+ "routeId": {
1026
+ "type": "string",
1027
+ "minLength": 1,
1028
+ "maxLength": 256
1029
+ },
1030
+ "routePath": {
1031
+ "type": "string",
1032
+ "pattern": "^\\/(?!\\/)"
1033
+ },
1034
+ "rendererKey": {
1035
+ "type": "string",
1036
+ "minLength": 1,
1037
+ "maxLength": 256
1038
+ },
1039
+ "capabilityRef": {
1040
+ "type": "object",
1041
+ "properties": {
1042
+ "kind": {
1043
+ "type": "string",
1044
+ "minLength": 1,
1045
+ "maxLength": 256
1046
+ },
1047
+ "id": {
1048
+ "type": "string",
1049
+ "minLength": 1,
1050
+ "maxLength": 256
1051
+ },
1052
+ "version": {
1053
+ "anyOf": [
1054
+ {
1055
+ "type": "integer",
1056
+ "exclusiveMinimum": 0,
1057
+ "maximum": 9007199254740991
1058
+ },
1059
+ {
1060
+ "type": "string",
1061
+ "minLength": 1
1062
+ }
1063
+ ]
1064
+ },
1065
+ "ownerRepo": {
1066
+ "type": "string",
1067
+ "minLength": 1,
1068
+ "maxLength": 256
1069
+ }
1070
+ },
1071
+ "required": [
1072
+ "kind",
1073
+ "id"
1074
+ ],
1075
+ "additionalProperties": false
1076
+ },
1077
+ "capabilityRefs": {
1078
+ "default": [],
1079
+ "type": "array",
1080
+ "items": {
1081
+ "type": "object",
1082
+ "properties": {
1083
+ "kind": {
1084
+ "type": "string",
1085
+ "minLength": 1,
1086
+ "maxLength": 256
1087
+ },
1088
+ "id": {
1089
+ "type": "string",
1090
+ "minLength": 1,
1091
+ "maxLength": 256
1092
+ },
1093
+ "version": {
1094
+ "anyOf": [
1095
+ {
1096
+ "type": "integer",
1097
+ "exclusiveMinimum": 0,
1098
+ "maximum": 9007199254740991
1099
+ },
1100
+ {
1101
+ "type": "string",
1102
+ "minLength": 1
1103
+ }
1104
+ ]
1105
+ },
1106
+ "ownerRepo": {
1107
+ "type": "string",
1108
+ "minLength": 1,
1109
+ "maxLength": 256
1110
+ }
1111
+ },
1112
+ "required": [
1113
+ "kind",
1114
+ "id"
1115
+ ],
1116
+ "additionalProperties": false
1117
+ }
1118
+ },
1119
+ "workflowRef": {
1120
+ "type": "object",
1121
+ "properties": {
1122
+ "kind": {
1123
+ "type": "string",
1124
+ "minLength": 1,
1125
+ "maxLength": 256
1126
+ },
1127
+ "id": {
1128
+ "type": "string",
1129
+ "minLength": 1,
1130
+ "maxLength": 256
1131
+ },
1132
+ "version": {
1133
+ "anyOf": [
1134
+ {
1135
+ "type": "integer",
1136
+ "exclusiveMinimum": 0,
1137
+ "maximum": 9007199254740991
1138
+ },
1139
+ {
1140
+ "type": "string",
1141
+ "minLength": 1
1142
+ }
1143
+ ]
1144
+ },
1145
+ "ownerRepo": {
1146
+ "type": "string",
1147
+ "minLength": 1,
1148
+ "maxLength": 256
1149
+ }
1150
+ },
1151
+ "required": [
1152
+ "kind",
1153
+ "id"
1154
+ ],
1155
+ "additionalProperties": false
1156
+ },
1157
+ "binding": {
1158
+ "type": "object",
1159
+ "properties": {
1160
+ "sourceRef": {
1161
+ "type": "string",
1162
+ "minLength": 1,
1163
+ "maxLength": 256
1164
+ },
1165
+ "ontologyId": {
1166
+ "type": "string",
1167
+ "minLength": 1,
1168
+ "maxLength": 256
1169
+ },
1170
+ "projectionRef": {
1171
+ "type": "string",
1172
+ "minLength": 1,
1173
+ "maxLength": 256
1174
+ },
1175
+ "stateRef": {
1176
+ "type": "string",
1177
+ "minLength": 1,
1178
+ "maxLength": 256
1179
+ }
1180
+ },
1181
+ "additionalProperties": false
1182
+ },
1183
+ "access": {
1184
+ "type": "object",
1185
+ "properties": {
1186
+ "actions": {
1187
+ "default": [],
1188
+ "type": "array",
1189
+ "items": {
1190
+ "type": "string",
1191
+ "enum": [
1192
+ "read",
1193
+ "write",
1194
+ "execute",
1195
+ "manage-permissions"
1196
+ ]
1197
+ }
1198
+ }
1199
+ },
1200
+ "required": [
1201
+ "actions"
1202
+ ],
1203
+ "additionalProperties": false
1204
+ },
1205
+ "rendererConfig": {
1206
+ "type": "object",
1207
+ "properties": {
1208
+ "schemaRef": {
1209
+ "type": "string",
1210
+ "minLength": 1,
1211
+ "maxLength": 256
1212
+ },
1213
+ "value": {
1214
+ "type": "object",
1215
+ "propertyNames": {
1216
+ "type": "string"
1217
+ },
1218
+ "additionalProperties": {
1219
+ "$ref": "#/$defs/__schema0"
1220
+ }
1221
+ }
1222
+ },
1223
+ "required": [
1224
+ "schemaRef",
1225
+ "value"
1226
+ ],
1227
+ "additionalProperties": false
1228
+ },
1229
+ "navigation": {
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "label": {
1233
+ "anyOf": [
1234
+ {
1235
+ "type": "string",
1236
+ "minLength": 1
1237
+ },
1238
+ {
1239
+ "type": "object",
1240
+ "propertyNames": {
1241
+ "type": "string",
1242
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1243
+ },
1244
+ "additionalProperties": {
1245
+ "type": "string",
1246
+ "minLength": 1
1247
+ }
1248
+ }
1249
+ ]
1250
+ },
1251
+ "iconRef": {
1252
+ "type": "string",
1253
+ "minLength": 1,
1254
+ "maxLength": 256
1255
+ },
1256
+ "parentPageId": {
1257
+ "type": "string",
1258
+ "minLength": 1,
1259
+ "maxLength": 256
1260
+ },
1261
+ "order": {
1262
+ "type": "integer",
1263
+ "minimum": -9007199254740991,
1264
+ "maximum": 9007199254740991
1265
+ },
1266
+ "hidden": {
1267
+ "default": false,
1268
+ "type": "boolean"
1269
+ },
1270
+ "pinned": {
1271
+ "default": false,
1272
+ "type": "boolean"
1273
+ }
1274
+ },
1275
+ "required": [
1276
+ "label",
1277
+ "hidden",
1278
+ "pinned"
1279
+ ],
1280
+ "additionalProperties": false
1281
+ },
1282
+ "visibility": {
1283
+ "type": "object",
1284
+ "properties": {
1285
+ "authenticated": {
1286
+ "default": true,
1287
+ "type": "boolean"
1288
+ },
1289
+ "permissionAllOf": {
1290
+ "default": [],
1291
+ "type": "array",
1292
+ "items": {
1293
+ "type": "string",
1294
+ "minLength": 1,
1295
+ "maxLength": 256
1296
+ }
1297
+ },
1298
+ "permissionAnyOf": {
1299
+ "default": [],
1300
+ "type": "array",
1301
+ "items": {
1302
+ "type": "string",
1303
+ "minLength": 1,
1304
+ "maxLength": 256
1305
+ }
1306
+ },
1307
+ "featureFlags": {
1308
+ "default": [],
1309
+ "type": "array",
1310
+ "items": {
1311
+ "type": "string",
1312
+ "minLength": 1,
1313
+ "maxLength": 256
1314
+ }
1315
+ },
1316
+ "productContexts": {
1317
+ "minItems": 1,
1318
+ "type": "array",
1319
+ "items": {
1320
+ "type": "string",
1321
+ "enum": [
1322
+ "studio",
1323
+ "kernel",
1324
+ "compute"
1325
+ ]
1326
+ }
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "authenticated",
1331
+ "permissionAllOf",
1332
+ "permissionAnyOf",
1333
+ "featureFlags",
1334
+ "productContexts"
1335
+ ],
1336
+ "additionalProperties": false
1337
+ }
1338
+ },
1339
+ "required": [
1340
+ "contract",
1341
+ "pageId",
1342
+ "ownerRepo",
1343
+ "title",
1344
+ "pageType",
1345
+ "ownership",
1346
+ "record",
1347
+ "surface",
1348
+ "routeId",
1349
+ "routePath",
1350
+ "rendererKey",
1351
+ "capabilityRef",
1352
+ "capabilityRefs",
1353
+ "binding",
1354
+ "access",
1355
+ "rendererConfig",
1356
+ "navigation",
1357
+ "visibility"
1358
+ ],
1359
+ "additionalProperties": false
1360
+ }
1361
+ }
1362
+ },
1363
+ "required": [
1364
+ "contract",
1365
+ "declarationId",
1366
+ "ownerRepo",
1367
+ "concepts",
1368
+ "ontologies",
1369
+ "projections",
1370
+ "commands",
1371
+ "capabilities",
1372
+ "pages"
1373
+ ],
1374
+ "additionalProperties": false,
1375
+ "$defs": {
1376
+ "__schema0": {
1377
+ "anyOf": [
1378
+ {
1379
+ "type": "string"
1380
+ },
1381
+ {
1382
+ "type": "number"
1383
+ },
1384
+ {
1385
+ "type": "boolean"
1386
+ },
1387
+ {
1388
+ "type": "null"
1389
+ },
1390
+ {
1391
+ "type": "array",
1392
+ "items": {
1393
+ "$ref": "#/$defs/__schema0"
1394
+ }
1395
+ },
1396
+ {
1397
+ "type": "object",
1398
+ "propertyNames": {
1399
+ "type": "string"
1400
+ },
1401
+ "additionalProperties": {
1402
+ "$ref": "#/$defs/__schema0"
1403
+ }
1404
+ }
1405
+ ]
1406
+ }
1407
+ },
1408
+ "$id": "https://schemas.infmonkeys.com/contracts/product-declaration.schema.json",
1409
+ "title": "product-declaration"
1410
+ }