@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,370 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "LineageRecord"
8
+ },
9
+ "lineageId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "subjectRef": {
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
+ "sourceRecords": {
53
+ "default": [],
54
+ "type": "array",
55
+ "items": {
56
+ "type": "object",
57
+ "properties": {
58
+ "sourceId": {
59
+ "type": "string",
60
+ "minLength": 1,
61
+ "maxLength": 256
62
+ },
63
+ "recordId": {
64
+ "type": "string",
65
+ "minLength": 1,
66
+ "maxLength": 256
67
+ },
68
+ "recordVersion": {
69
+ "anyOf": [
70
+ {
71
+ "type": "integer",
72
+ "minimum": 0,
73
+ "maximum": 9007199254740991
74
+ },
75
+ {
76
+ "type": "string",
77
+ "minLength": 1,
78
+ "maxLength": 256
79
+ }
80
+ ]
81
+ },
82
+ "hash": {
83
+ "type": "string",
84
+ "pattern": "^[a-f0-9]{64}$"
85
+ }
86
+ },
87
+ "required": [
88
+ "sourceId",
89
+ "recordId",
90
+ "recordVersion",
91
+ "hash"
92
+ ],
93
+ "additionalProperties": false
94
+ }
95
+ },
96
+ "bodyRefs": {
97
+ "default": [],
98
+ "type": "array",
99
+ "items": {
100
+ "type": "object",
101
+ "properties": {
102
+ "kind": {
103
+ "type": "string",
104
+ "minLength": 1,
105
+ "maxLength": 256
106
+ },
107
+ "id": {
108
+ "type": "string",
109
+ "minLength": 1,
110
+ "maxLength": 256
111
+ },
112
+ "version": {
113
+ "anyOf": [
114
+ {
115
+ "type": "integer",
116
+ "exclusiveMinimum": 0,
117
+ "maximum": 9007199254740991
118
+ },
119
+ {
120
+ "type": "string",
121
+ "minLength": 1
122
+ }
123
+ ]
124
+ },
125
+ "ownerRepo": {
126
+ "type": "string",
127
+ "minLength": 1,
128
+ "maxLength": 256
129
+ }
130
+ },
131
+ "required": [
132
+ "kind",
133
+ "id"
134
+ ],
135
+ "additionalProperties": false
136
+ }
137
+ },
138
+ "runRefs": {
139
+ "default": [],
140
+ "type": "array",
141
+ "items": {
142
+ "type": "object",
143
+ "properties": {
144
+ "kind": {
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "maxLength": 256
148
+ },
149
+ "id": {
150
+ "type": "string",
151
+ "minLength": 1,
152
+ "maxLength": 256
153
+ },
154
+ "version": {
155
+ "anyOf": [
156
+ {
157
+ "type": "integer",
158
+ "exclusiveMinimum": 0,
159
+ "maximum": 9007199254740991
160
+ },
161
+ {
162
+ "type": "string",
163
+ "minLength": 1
164
+ }
165
+ ]
166
+ },
167
+ "ownerRepo": {
168
+ "type": "string",
169
+ "minLength": 1,
170
+ "maxLength": 256
171
+ }
172
+ },
173
+ "required": [
174
+ "kind",
175
+ "id"
176
+ ],
177
+ "additionalProperties": false
178
+ }
179
+ },
180
+ "outputRefs": {
181
+ "default": [],
182
+ "type": "array",
183
+ "items": {
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
+ },
222
+ "artifactRefs": {
223
+ "default": [],
224
+ "type": "array",
225
+ "items": {
226
+ "type": "object",
227
+ "properties": {
228
+ "kind": {
229
+ "type": "string",
230
+ "minLength": 1,
231
+ "maxLength": 256
232
+ },
233
+ "id": {
234
+ "type": "string",
235
+ "minLength": 1,
236
+ "maxLength": 256
237
+ },
238
+ "version": {
239
+ "anyOf": [
240
+ {
241
+ "type": "integer",
242
+ "exclusiveMinimum": 0,
243
+ "maximum": 9007199254740991
244
+ },
245
+ {
246
+ "type": "string",
247
+ "minLength": 1
248
+ }
249
+ ]
250
+ },
251
+ "ownerRepo": {
252
+ "type": "string",
253
+ "minLength": 1,
254
+ "maxLength": 256
255
+ }
256
+ },
257
+ "required": [
258
+ "kind",
259
+ "id"
260
+ ],
261
+ "additionalProperties": false
262
+ }
263
+ },
264
+ "actorRefs": {
265
+ "default": [],
266
+ "type": "array",
267
+ "items": {
268
+ "type": "object",
269
+ "properties": {
270
+ "kind": {
271
+ "type": "string",
272
+ "minLength": 1,
273
+ "maxLength": 256
274
+ },
275
+ "id": {
276
+ "type": "string",
277
+ "minLength": 1,
278
+ "maxLength": 256
279
+ },
280
+ "version": {
281
+ "anyOf": [
282
+ {
283
+ "type": "integer",
284
+ "exclusiveMinimum": 0,
285
+ "maximum": 9007199254740991
286
+ },
287
+ {
288
+ "type": "string",
289
+ "minLength": 1
290
+ }
291
+ ]
292
+ },
293
+ "ownerRepo": {
294
+ "type": "string",
295
+ "minLength": 1,
296
+ "maxLength": 256
297
+ }
298
+ },
299
+ "required": [
300
+ "kind",
301
+ "id"
302
+ ],
303
+ "additionalProperties": false
304
+ }
305
+ },
306
+ "evidenceRefs": {
307
+ "default": [],
308
+ "type": "array",
309
+ "items": {
310
+ "type": "object",
311
+ "properties": {
312
+ "kind": {
313
+ "type": "string",
314
+ "minLength": 1,
315
+ "maxLength": 256
316
+ },
317
+ "id": {
318
+ "type": "string",
319
+ "minLength": 1,
320
+ "maxLength": 256
321
+ },
322
+ "version": {
323
+ "anyOf": [
324
+ {
325
+ "type": "integer",
326
+ "exclusiveMinimum": 0,
327
+ "maximum": 9007199254740991
328
+ },
329
+ {
330
+ "type": "string",
331
+ "minLength": 1
332
+ }
333
+ ]
334
+ },
335
+ "ownerRepo": {
336
+ "type": "string",
337
+ "minLength": 1,
338
+ "maxLength": 256
339
+ }
340
+ },
341
+ "required": [
342
+ "kind",
343
+ "id"
344
+ ],
345
+ "additionalProperties": false
346
+ }
347
+ },
348
+ "recordedAt": {
349
+ "type": "string",
350
+ "format": "date-time",
351
+ "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)))$"
352
+ }
353
+ },
354
+ "required": [
355
+ "contract",
356
+ "lineageId",
357
+ "subjectRef",
358
+ "sourceRecords",
359
+ "bodyRefs",
360
+ "runRefs",
361
+ "outputRefs",
362
+ "artifactRefs",
363
+ "actorRefs",
364
+ "evidenceRefs",
365
+ "recordedAt"
366
+ ],
367
+ "additionalProperties": false,
368
+ "$id": "https://schemas.infmonkeys.com/contracts/lineage-record.schema.json",
369
+ "title": "lineage-record"
370
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "OntologyDefinition"
8
+ },
9
+ "ontologyId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "dataSpaceId": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "maxLength": 256
18
+ },
19
+ "ownerRepo": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "maxLength": 256
23
+ },
24
+ "bodySchemaRef": {
25
+ "type": "string",
26
+ "minLength": 1,
27
+ "maxLength": 256
28
+ },
29
+ "authority": {
30
+ "type": "object",
31
+ "properties": {
32
+ "service": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "maxLength": 256
36
+ },
37
+ "storage": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "maxLength": 256
41
+ },
42
+ "scope": {
43
+ "type": "string",
44
+ "enum": [
45
+ "tenant",
46
+ "team",
47
+ "user",
48
+ "global"
49
+ ]
50
+ }
51
+ },
52
+ "required": [
53
+ "service",
54
+ "storage",
55
+ "scope"
56
+ ],
57
+ "additionalProperties": false
58
+ },
59
+ "relationKinds": {
60
+ "default": [],
61
+ "type": "array",
62
+ "items": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 256
66
+ }
67
+ },
68
+ "metricKinds": {
69
+ "default": [],
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "maxLength": 256
75
+ }
76
+ }
77
+ },
78
+ "required": [
79
+ "contract",
80
+ "ontologyId",
81
+ "dataSpaceId",
82
+ "ownerRepo",
83
+ "bodySchemaRef",
84
+ "authority",
85
+ "relationKinds",
86
+ "metricKinds"
87
+ ],
88
+ "additionalProperties": false,
89
+ "$id": "https://schemas.infmonkeys.com/contracts/ontology-definition.schema.json",
90
+ "title": "ontology-definition"
91
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "OutputRecord"
8
+ },
9
+ "outputId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "runRef": {
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
+ "outputPort": {
53
+ "type": "string",
54
+ "minLength": 1,
55
+ "maxLength": 256
56
+ },
57
+ "value": {
58
+ "$ref": "#/$defs/__schema0"
59
+ },
60
+ "artifactRefs": {
61
+ "default": [],
62
+ "type": "array",
63
+ "items": {
64
+ "type": "object",
65
+ "properties": {
66
+ "kind": {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "maxLength": 256
70
+ },
71
+ "id": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "maxLength": 256
75
+ },
76
+ "version": {
77
+ "anyOf": [
78
+ {
79
+ "type": "integer",
80
+ "exclusiveMinimum": 0,
81
+ "maximum": 9007199254740991
82
+ },
83
+ {
84
+ "type": "string",
85
+ "minLength": 1
86
+ }
87
+ ]
88
+ },
89
+ "ownerRepo": {
90
+ "type": "string",
91
+ "minLength": 1,
92
+ "maxLength": 256
93
+ }
94
+ },
95
+ "required": [
96
+ "kind",
97
+ "id"
98
+ ],
99
+ "additionalProperties": false
100
+ }
101
+ },
102
+ "schemaRef": {
103
+ "type": "string",
104
+ "minLength": 1,
105
+ "maxLength": 256
106
+ },
107
+ "createdAt": {
108
+ "type": "string",
109
+ "format": "date-time",
110
+ "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)))$"
111
+ }
112
+ },
113
+ "required": [
114
+ "contract",
115
+ "outputId",
116
+ "runRef",
117
+ "outputPort",
118
+ "artifactRefs",
119
+ "createdAt"
120
+ ],
121
+ "additionalProperties": false,
122
+ "$defs": {
123
+ "__schema0": {
124
+ "anyOf": [
125
+ {
126
+ "type": "string"
127
+ },
128
+ {
129
+ "type": "number"
130
+ },
131
+ {
132
+ "type": "boolean"
133
+ },
134
+ {
135
+ "type": "null"
136
+ },
137
+ {
138
+ "type": "array",
139
+ "items": {
140
+ "$ref": "#/$defs/__schema0"
141
+ }
142
+ },
143
+ {
144
+ "type": "object",
145
+ "propertyNames": {
146
+ "type": "string"
147
+ },
148
+ "additionalProperties": {
149
+ "$ref": "#/$defs/__schema0"
150
+ }
151
+ }
152
+ ]
153
+ }
154
+ },
155
+ "$id": "https://schemas.infmonkeys.com/contracts/output-record.schema.json",
156
+ "title": "output-record"
157
+ }