@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,464 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "PageRuntimeProjection"
8
+ },
9
+ "product": {
10
+ "type": "string",
11
+ "enum": [
12
+ "studio",
13
+ "kernel",
14
+ "compute"
15
+ ]
16
+ },
17
+ "routes": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "pageId": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "routeId": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 256
31
+ },
32
+ "path": {
33
+ "type": "string",
34
+ "pattern": "^\\/(?!\\/)"
35
+ }
36
+ },
37
+ "required": [
38
+ "pageId",
39
+ "routeId",
40
+ "path"
41
+ ],
42
+ "additionalProperties": false
43
+ }
44
+ },
45
+ "navigation": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "object",
49
+ "properties": {
50
+ "pageId": {
51
+ "type": "string",
52
+ "minLength": 1,
53
+ "maxLength": 256
54
+ },
55
+ "routeId": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "maxLength": 256
59
+ },
60
+ "path": {
61
+ "type": "string",
62
+ "pattern": "^\\/(?!\\/)"
63
+ },
64
+ "label": {
65
+ "anyOf": [
66
+ {
67
+ "type": "string",
68
+ "minLength": 1
69
+ },
70
+ {
71
+ "type": "object",
72
+ "propertyNames": {
73
+ "type": "string",
74
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
75
+ },
76
+ "additionalProperties": {
77
+ "type": "string",
78
+ "minLength": 1
79
+ }
80
+ }
81
+ ]
82
+ },
83
+ "iconRef": {
84
+ "type": "string",
85
+ "minLength": 1,
86
+ "maxLength": 256
87
+ },
88
+ "parentPageId": {
89
+ "type": "string",
90
+ "minLength": 1,
91
+ "maxLength": 256
92
+ },
93
+ "order": {
94
+ "type": "integer",
95
+ "minimum": -9007199254740991,
96
+ "maximum": 9007199254740991
97
+ },
98
+ "pinned": {
99
+ "type": "boolean"
100
+ }
101
+ },
102
+ "required": [
103
+ "pageId",
104
+ "routeId",
105
+ "path",
106
+ "label",
107
+ "pinned"
108
+ ],
109
+ "additionalProperties": false
110
+ }
111
+ },
112
+ "guards": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "object",
116
+ "properties": {
117
+ "pageId": {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "maxLength": 256
121
+ },
122
+ "authenticated": {
123
+ "type": "boolean"
124
+ },
125
+ "permissionAllOf": {
126
+ "type": "array",
127
+ "items": {
128
+ "type": "string",
129
+ "minLength": 1,
130
+ "maxLength": 256
131
+ }
132
+ },
133
+ "permissionAnyOf": {
134
+ "type": "array",
135
+ "items": {
136
+ "type": "string",
137
+ "minLength": 1,
138
+ "maxLength": 256
139
+ }
140
+ },
141
+ "featureFlags": {
142
+ "type": "array",
143
+ "items": {
144
+ "type": "string",
145
+ "minLength": 1,
146
+ "maxLength": 256
147
+ }
148
+ },
149
+ "actions": {
150
+ "type": "array",
151
+ "items": {
152
+ "type": "string",
153
+ "enum": [
154
+ "read",
155
+ "write",
156
+ "execute",
157
+ "manage-permissions"
158
+ ]
159
+ }
160
+ }
161
+ },
162
+ "required": [
163
+ "pageId",
164
+ "authenticated",
165
+ "permissionAllOf",
166
+ "permissionAnyOf",
167
+ "featureFlags",
168
+ "actions"
169
+ ],
170
+ "additionalProperties": false
171
+ }
172
+ },
173
+ "renderers": {
174
+ "type": "array",
175
+ "items": {
176
+ "type": "object",
177
+ "properties": {
178
+ "pageId": {
179
+ "type": "string",
180
+ "minLength": 1,
181
+ "maxLength": 256
182
+ },
183
+ "surface": {
184
+ "type": "string",
185
+ "enum": [
186
+ "page",
187
+ "workspace",
188
+ "view",
189
+ "record",
190
+ "action",
191
+ "overlay",
192
+ "agent"
193
+ ]
194
+ },
195
+ "rendererKey": {
196
+ "type": "string",
197
+ "minLength": 1,
198
+ "maxLength": 256
199
+ },
200
+ "capabilityRef": {
201
+ "type": "object",
202
+ "properties": {
203
+ "kind": {
204
+ "type": "string",
205
+ "minLength": 1,
206
+ "maxLength": 256
207
+ },
208
+ "id": {
209
+ "type": "string",
210
+ "minLength": 1,
211
+ "maxLength": 256
212
+ },
213
+ "version": {
214
+ "anyOf": [
215
+ {
216
+ "type": "integer",
217
+ "exclusiveMinimum": 0,
218
+ "maximum": 9007199254740991
219
+ },
220
+ {
221
+ "type": "string",
222
+ "minLength": 1
223
+ }
224
+ ]
225
+ },
226
+ "ownerRepo": {
227
+ "type": "string",
228
+ "minLength": 1,
229
+ "maxLength": 256
230
+ }
231
+ },
232
+ "required": [
233
+ "kind",
234
+ "id"
235
+ ],
236
+ "additionalProperties": false
237
+ },
238
+ "capabilityRefs": {
239
+ "type": "array",
240
+ "items": {
241
+ "type": "object",
242
+ "properties": {
243
+ "kind": {
244
+ "type": "string",
245
+ "minLength": 1,
246
+ "maxLength": 256
247
+ },
248
+ "id": {
249
+ "type": "string",
250
+ "minLength": 1,
251
+ "maxLength": 256
252
+ },
253
+ "version": {
254
+ "anyOf": [
255
+ {
256
+ "type": "integer",
257
+ "exclusiveMinimum": 0,
258
+ "maximum": 9007199254740991
259
+ },
260
+ {
261
+ "type": "string",
262
+ "minLength": 1
263
+ }
264
+ ]
265
+ },
266
+ "ownerRepo": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "maxLength": 256
270
+ }
271
+ },
272
+ "required": [
273
+ "kind",
274
+ "id"
275
+ ],
276
+ "additionalProperties": false
277
+ }
278
+ },
279
+ "providerRef": {
280
+ "type": "object",
281
+ "properties": {
282
+ "kind": {
283
+ "type": "string",
284
+ "minLength": 1,
285
+ "maxLength": 256
286
+ },
287
+ "id": {
288
+ "type": "string",
289
+ "minLength": 1,
290
+ "maxLength": 256
291
+ },
292
+ "version": {
293
+ "anyOf": [
294
+ {
295
+ "type": "integer",
296
+ "exclusiveMinimum": 0,
297
+ "maximum": 9007199254740991
298
+ },
299
+ {
300
+ "type": "string",
301
+ "minLength": 1
302
+ }
303
+ ]
304
+ },
305
+ "ownerRepo": {
306
+ "type": "string",
307
+ "minLength": 1,
308
+ "maxLength": 256
309
+ }
310
+ },
311
+ "required": [
312
+ "kind",
313
+ "id"
314
+ ],
315
+ "additionalProperties": false
316
+ },
317
+ "binding": {
318
+ "type": "object",
319
+ "properties": {
320
+ "sourceRef": {
321
+ "type": "string",
322
+ "minLength": 1,
323
+ "maxLength": 256
324
+ },
325
+ "ontologyId": {
326
+ "type": "string",
327
+ "minLength": 1,
328
+ "maxLength": 256
329
+ },
330
+ "projectionRef": {
331
+ "type": "string",
332
+ "minLength": 1,
333
+ "maxLength": 256
334
+ },
335
+ "stateRef": {
336
+ "type": "string",
337
+ "minLength": 1,
338
+ "maxLength": 256
339
+ }
340
+ },
341
+ "additionalProperties": false
342
+ },
343
+ "rendererConfig": {
344
+ "type": "object",
345
+ "properties": {
346
+ "schemaRef": {
347
+ "type": "string",
348
+ "minLength": 1,
349
+ "maxLength": 256
350
+ },
351
+ "value": {
352
+ "type": "object",
353
+ "propertyNames": {
354
+ "type": "string"
355
+ },
356
+ "additionalProperties": {
357
+ "$ref": "#/$defs/__schema0"
358
+ }
359
+ }
360
+ },
361
+ "required": [
362
+ "schemaRef",
363
+ "value"
364
+ ],
365
+ "additionalProperties": false
366
+ },
367
+ "workflowRef": {
368
+ "type": "object",
369
+ "properties": {
370
+ "kind": {
371
+ "type": "string",
372
+ "minLength": 1,
373
+ "maxLength": 256
374
+ },
375
+ "id": {
376
+ "type": "string",
377
+ "minLength": 1,
378
+ "maxLength": 256
379
+ },
380
+ "version": {
381
+ "anyOf": [
382
+ {
383
+ "type": "integer",
384
+ "exclusiveMinimum": 0,
385
+ "maximum": 9007199254740991
386
+ },
387
+ {
388
+ "type": "string",
389
+ "minLength": 1
390
+ }
391
+ ]
392
+ },
393
+ "ownerRepo": {
394
+ "type": "string",
395
+ "minLength": 1,
396
+ "maxLength": 256
397
+ }
398
+ },
399
+ "required": [
400
+ "kind",
401
+ "id"
402
+ ],
403
+ "additionalProperties": false
404
+ }
405
+ },
406
+ "required": [
407
+ "pageId",
408
+ "surface",
409
+ "rendererKey",
410
+ "capabilityRef",
411
+ "capabilityRefs",
412
+ "providerRef",
413
+ "binding",
414
+ "rendererConfig"
415
+ ],
416
+ "additionalProperties": false
417
+ }
418
+ }
419
+ },
420
+ "required": [
421
+ "contract",
422
+ "product",
423
+ "routes",
424
+ "navigation",
425
+ "guards",
426
+ "renderers"
427
+ ],
428
+ "additionalProperties": false,
429
+ "$defs": {
430
+ "__schema0": {
431
+ "anyOf": [
432
+ {
433
+ "type": "string"
434
+ },
435
+ {
436
+ "type": "number"
437
+ },
438
+ {
439
+ "type": "boolean"
440
+ },
441
+ {
442
+ "type": "null"
443
+ },
444
+ {
445
+ "type": "array",
446
+ "items": {
447
+ "$ref": "#/$defs/__schema0"
448
+ }
449
+ },
450
+ {
451
+ "type": "object",
452
+ "propertyNames": {
453
+ "type": "string"
454
+ },
455
+ "additionalProperties": {
456
+ "$ref": "#/$defs/__schema0"
457
+ }
458
+ }
459
+ ]
460
+ }
461
+ },
462
+ "$id": "https://schemas.infmonkeys.com/contracts/page-runtime-projection.schema.json",
463
+ "title": "page-runtime-projection"
464
+ }
@@ -0,0 +1,178 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "ProductBody"
8
+ },
9
+ "productId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "brandRef": {
15
+ "type": "object",
16
+ "properties": {
17
+ "kind": {
18
+ "type": "string",
19
+ "minLength": 1,
20
+ "maxLength": 256
21
+ },
22
+ "id": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "version": {
28
+ "anyOf": [
29
+ {
30
+ "type": "integer",
31
+ "exclusiveMinimum": 0,
32
+ "maximum": 9007199254740991
33
+ },
34
+ {
35
+ "type": "string",
36
+ "minLength": 1
37
+ }
38
+ ]
39
+ },
40
+ "ownerRepo": {
41
+ "type": "string",
42
+ "minLength": 1,
43
+ "maxLength": 256
44
+ }
45
+ },
46
+ "required": [
47
+ "kind",
48
+ "id"
49
+ ],
50
+ "additionalProperties": false
51
+ },
52
+ "displayName": {
53
+ "type": "string",
54
+ "minLength": 1
55
+ },
56
+ "normalizedName": {
57
+ "type": "string",
58
+ "minLength": 1
59
+ },
60
+ "categories": {
61
+ "default": [],
62
+ "type": "array",
63
+ "items": {
64
+ "type": "string",
65
+ "minLength": 1,
66
+ "maxLength": 256
67
+ }
68
+ },
69
+ "sourceRefs": {
70
+ "minItems": 1,
71
+ "type": "array",
72
+ "items": {
73
+ "type": "object",
74
+ "properties": {
75
+ "kind": {
76
+ "type": "string",
77
+ "minLength": 1,
78
+ "maxLength": 256
79
+ },
80
+ "id": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 256
84
+ },
85
+ "version": {
86
+ "anyOf": [
87
+ {
88
+ "type": "integer",
89
+ "exclusiveMinimum": 0,
90
+ "maximum": 9007199254740991
91
+ },
92
+ {
93
+ "type": "string",
94
+ "minLength": 1
95
+ }
96
+ ]
97
+ },
98
+ "ownerRepo": {
99
+ "type": "string",
100
+ "minLength": 1,
101
+ "maxLength": 256
102
+ }
103
+ },
104
+ "required": [
105
+ "kind",
106
+ "id"
107
+ ],
108
+ "additionalProperties": false
109
+ }
110
+ },
111
+ "relationRefs": {
112
+ "default": [],
113
+ "type": "array",
114
+ "items": {
115
+ "type": "object",
116
+ "properties": {
117
+ "kind": {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "maxLength": 256
121
+ },
122
+ "id": {
123
+ "type": "string",
124
+ "minLength": 1,
125
+ "maxLength": 256
126
+ },
127
+ "version": {
128
+ "anyOf": [
129
+ {
130
+ "type": "integer",
131
+ "exclusiveMinimum": 0,
132
+ "maximum": 9007199254740991
133
+ },
134
+ {
135
+ "type": "string",
136
+ "minLength": 1
137
+ }
138
+ ]
139
+ },
140
+ "ownerRepo": {
141
+ "type": "string",
142
+ "minLength": 1,
143
+ "maxLength": 256
144
+ }
145
+ },
146
+ "required": [
147
+ "kind",
148
+ "id"
149
+ ],
150
+ "additionalProperties": false
151
+ }
152
+ },
153
+ "createdAt": {
154
+ "type": "string",
155
+ "format": "date-time",
156
+ "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)))$"
157
+ },
158
+ "updatedAt": {
159
+ "type": "string",
160
+ "format": "date-time",
161
+ "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)))$"
162
+ }
163
+ },
164
+ "required": [
165
+ "contract",
166
+ "productId",
167
+ "displayName",
168
+ "normalizedName",
169
+ "categories",
170
+ "sourceRefs",
171
+ "relationRefs",
172
+ "createdAt",
173
+ "updatedAt"
174
+ ],
175
+ "additionalProperties": false,
176
+ "$id": "https://schemas.infmonkeys.com/contracts/product-body.schema.json",
177
+ "title": "product-body"
178
+ }