@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,151 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "ProjectionSpec"
8
+ },
9
+ "projectionId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "ontologyIds": {
15
+ "minItems": 1,
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string",
19
+ "minLength": 1,
20
+ "maxLength": 256
21
+ }
22
+ },
23
+ "outputSchemaRef": {
24
+ "type": "string",
25
+ "minLength": 1,
26
+ "maxLength": 256
27
+ },
28
+ "operator": {
29
+ "type": "object",
30
+ "properties": {
31
+ "kind": {
32
+ "type": "string",
33
+ "enum": [
34
+ "query",
35
+ "aggregate",
36
+ "relationship",
37
+ "search",
38
+ "custom"
39
+ ]
40
+ },
41
+ "configuration": {
42
+ "default": {},
43
+ "type": "object",
44
+ "propertyNames": {
45
+ "type": "string"
46
+ },
47
+ "additionalProperties": {
48
+ "$ref": "#/$defs/__schema0"
49
+ }
50
+ }
51
+ },
52
+ "required": [
53
+ "kind",
54
+ "configuration"
55
+ ],
56
+ "additionalProperties": false
57
+ },
58
+ "materialization": {
59
+ "type": "string",
60
+ "enum": [
61
+ "on-demand",
62
+ "event-driven",
63
+ "scheduled"
64
+ ]
65
+ },
66
+ "invalidationEvents": {
67
+ "default": [],
68
+ "type": "array",
69
+ "items": {
70
+ "type": "string",
71
+ "minLength": 1,
72
+ "maxLength": 256
73
+ }
74
+ },
75
+ "rebuildable": {
76
+ "type": "boolean",
77
+ "const": true
78
+ },
79
+ "lineagePolicy": {
80
+ "type": "object",
81
+ "properties": {
82
+ "sourceRecords": {
83
+ "type": "boolean"
84
+ },
85
+ "bodyVersions": {
86
+ "type": "boolean"
87
+ },
88
+ "runRefs": {
89
+ "type": "boolean"
90
+ },
91
+ "actorRefs": {
92
+ "type": "boolean"
93
+ }
94
+ },
95
+ "required": [
96
+ "sourceRecords",
97
+ "bodyVersions",
98
+ "runRefs",
99
+ "actorRefs"
100
+ ],
101
+ "additionalProperties": false
102
+ }
103
+ },
104
+ "required": [
105
+ "contract",
106
+ "projectionId",
107
+ "ontologyIds",
108
+ "outputSchemaRef",
109
+ "operator",
110
+ "materialization",
111
+ "invalidationEvents",
112
+ "rebuildable",
113
+ "lineagePolicy"
114
+ ],
115
+ "additionalProperties": false,
116
+ "$defs": {
117
+ "__schema0": {
118
+ "anyOf": [
119
+ {
120
+ "type": "string"
121
+ },
122
+ {
123
+ "type": "number"
124
+ },
125
+ {
126
+ "type": "boolean"
127
+ },
128
+ {
129
+ "type": "null"
130
+ },
131
+ {
132
+ "type": "array",
133
+ "items": {
134
+ "$ref": "#/$defs/__schema0"
135
+ }
136
+ },
137
+ {
138
+ "type": "object",
139
+ "propertyNames": {
140
+ "type": "string"
141
+ },
142
+ "additionalProperties": {
143
+ "$ref": "#/$defs/__schema0"
144
+ }
145
+ }
146
+ ]
147
+ }
148
+ },
149
+ "$id": "https://schemas.infmonkeys.com/contracts/projection-spec.schema.json",
150
+ "title": "projection-spec"
151
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "RadarActionRecord"
8
+ },
9
+ "actionId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "teamId": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "maxLength": 256
18
+ },
19
+ "actorRef": {
20
+ "type": "object",
21
+ "properties": {
22
+ "kind": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "id": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 256
31
+ },
32
+ "version": {
33
+ "anyOf": [
34
+ {
35
+ "type": "integer",
36
+ "exclusiveMinimum": 0,
37
+ "maximum": 9007199254740991
38
+ },
39
+ {
40
+ "type": "string",
41
+ "minLength": 1
42
+ }
43
+ ]
44
+ },
45
+ "ownerRepo": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 256
49
+ }
50
+ },
51
+ "required": [
52
+ "kind",
53
+ "id"
54
+ ],
55
+ "additionalProperties": false
56
+ },
57
+ "action": {
58
+ "type": "string",
59
+ "enum": [
60
+ "stash",
61
+ "select",
62
+ "reject",
63
+ "archive",
64
+ "launch",
65
+ "retry",
66
+ "replay",
67
+ "rollback"
68
+ ]
69
+ },
70
+ "targetRef": {
71
+ "type": "object",
72
+ "properties": {
73
+ "kind": {
74
+ "type": "string",
75
+ "minLength": 1,
76
+ "maxLength": 256
77
+ },
78
+ "id": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "maxLength": 256
82
+ },
83
+ "version": {
84
+ "anyOf": [
85
+ {
86
+ "type": "integer",
87
+ "exclusiveMinimum": 0,
88
+ "maximum": 9007199254740991
89
+ },
90
+ {
91
+ "type": "string",
92
+ "minLength": 1
93
+ }
94
+ ]
95
+ },
96
+ "ownerRepo": {
97
+ "type": "string",
98
+ "minLength": 1,
99
+ "maxLength": 256
100
+ }
101
+ },
102
+ "required": [
103
+ "kind",
104
+ "id"
105
+ ],
106
+ "additionalProperties": false
107
+ },
108
+ "requestId": {
109
+ "type": "string",
110
+ "minLength": 1,
111
+ "maxLength": 256
112
+ },
113
+ "idempotencyKey": {
114
+ "type": "string",
115
+ "minLength": 1,
116
+ "maxLength": 256
117
+ },
118
+ "expectedVersion": {
119
+ "type": "integer",
120
+ "minimum": 0,
121
+ "maximum": 9007199254740991
122
+ },
123
+ "occurredAt": {
124
+ "type": "string",
125
+ "format": "date-time",
126
+ "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)))$"
127
+ }
128
+ },
129
+ "required": [
130
+ "contract",
131
+ "actionId",
132
+ "teamId",
133
+ "actorRef",
134
+ "action",
135
+ "targetRef",
136
+ "requestId",
137
+ "idempotencyKey",
138
+ "expectedVersion",
139
+ "occurredAt"
140
+ ],
141
+ "additionalProperties": false,
142
+ "$id": "https://schemas.infmonkeys.com/contracts/radar-action-record.schema.json",
143
+ "title": "radar-action-record"
144
+ }
@@ -0,0 +1,424 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "RadarAnalysisRun"
8
+ },
9
+ "runId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 256
13
+ },
14
+ "teamId": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "maxLength": 256
18
+ },
19
+ "selectionRef": {
20
+ "type": "object",
21
+ "properties": {
22
+ "kind": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "id": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 256
31
+ },
32
+ "version": {
33
+ "anyOf": [
34
+ {
35
+ "type": "integer",
36
+ "exclusiveMinimum": 0,
37
+ "maximum": 9007199254740991
38
+ },
39
+ {
40
+ "type": "string",
41
+ "minLength": 1
42
+ }
43
+ ]
44
+ },
45
+ "ownerRepo": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 256
49
+ }
50
+ },
51
+ "required": [
52
+ "kind",
53
+ "id"
54
+ ],
55
+ "additionalProperties": false
56
+ },
57
+ "workflowRef": {
58
+ "type": "object",
59
+ "properties": {
60
+ "kind": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 256
64
+ },
65
+ "id": {
66
+ "type": "string",
67
+ "minLength": 1,
68
+ "maxLength": 256
69
+ },
70
+ "version": {
71
+ "anyOf": [
72
+ {
73
+ "type": "integer",
74
+ "exclusiveMinimum": 0,
75
+ "maximum": 9007199254740991
76
+ },
77
+ {
78
+ "type": "string",
79
+ "minLength": 1
80
+ }
81
+ ]
82
+ },
83
+ "ownerRepo": {
84
+ "type": "string",
85
+ "minLength": 1,
86
+ "maxLength": 256
87
+ }
88
+ },
89
+ "required": [
90
+ "kind",
91
+ "id"
92
+ ],
93
+ "additionalProperties": false
94
+ },
95
+ "executionRef": {
96
+ "type": "object",
97
+ "properties": {
98
+ "kind": {
99
+ "type": "string",
100
+ "minLength": 1,
101
+ "maxLength": 256
102
+ },
103
+ "id": {
104
+ "type": "string",
105
+ "minLength": 1,
106
+ "maxLength": 256
107
+ },
108
+ "version": {
109
+ "anyOf": [
110
+ {
111
+ "type": "integer",
112
+ "exclusiveMinimum": 0,
113
+ "maximum": 9007199254740991
114
+ },
115
+ {
116
+ "type": "string",
117
+ "minLength": 1
118
+ }
119
+ ]
120
+ },
121
+ "ownerRepo": {
122
+ "type": "string",
123
+ "minLength": 1,
124
+ "maxLength": 256
125
+ }
126
+ },
127
+ "required": [
128
+ "kind",
129
+ "id"
130
+ ],
131
+ "additionalProperties": false
132
+ },
133
+ "designProjectRef": {
134
+ "type": "object",
135
+ "properties": {
136
+ "kind": {
137
+ "type": "string",
138
+ "minLength": 1,
139
+ "maxLength": 256
140
+ },
141
+ "id": {
142
+ "type": "string",
143
+ "minLength": 1,
144
+ "maxLength": 256
145
+ },
146
+ "version": {
147
+ "anyOf": [
148
+ {
149
+ "type": "integer",
150
+ "exclusiveMinimum": 0,
151
+ "maximum": 9007199254740991
152
+ },
153
+ {
154
+ "type": "string",
155
+ "minLength": 1
156
+ }
157
+ ]
158
+ },
159
+ "ownerRepo": {
160
+ "type": "string",
161
+ "minLength": 1,
162
+ "maxLength": 256
163
+ }
164
+ },
165
+ "required": [
166
+ "kind",
167
+ "id"
168
+ ],
169
+ "additionalProperties": false
170
+ },
171
+ "replayedFromRef": {
172
+ "type": "object",
173
+ "properties": {
174
+ "kind": {
175
+ "type": "string",
176
+ "minLength": 1,
177
+ "maxLength": 256
178
+ },
179
+ "id": {
180
+ "type": "string",
181
+ "minLength": 1,
182
+ "maxLength": 256
183
+ },
184
+ "version": {
185
+ "anyOf": [
186
+ {
187
+ "type": "integer",
188
+ "exclusiveMinimum": 0,
189
+ "maximum": 9007199254740991
190
+ },
191
+ {
192
+ "type": "string",
193
+ "minLength": 1
194
+ }
195
+ ]
196
+ },
197
+ "ownerRepo": {
198
+ "type": "string",
199
+ "minLength": 1,
200
+ "maxLength": 256
201
+ }
202
+ },
203
+ "required": [
204
+ "kind",
205
+ "id"
206
+ ],
207
+ "additionalProperties": false
208
+ },
209
+ "workflowDefinitionTeamId": {
210
+ "type": "string",
211
+ "minLength": 1,
212
+ "maxLength": 256
213
+ },
214
+ "workflowInput": {
215
+ "default": {},
216
+ "type": "object",
217
+ "propertyNames": {
218
+ "type": "string"
219
+ },
220
+ "additionalProperties": {
221
+ "$ref": "#/$defs/__schema0"
222
+ }
223
+ },
224
+ "createDesignProject": {
225
+ "default": true,
226
+ "type": "boolean"
227
+ },
228
+ "designProjectName": {
229
+ "type": "string",
230
+ "minLength": 1,
231
+ "maxLength": 200
232
+ },
233
+ "modelRef": {
234
+ "type": "object",
235
+ "properties": {
236
+ "kind": {
237
+ "type": "string",
238
+ "minLength": 1,
239
+ "maxLength": 256
240
+ },
241
+ "id": {
242
+ "type": "string",
243
+ "minLength": 1,
244
+ "maxLength": 256
245
+ },
246
+ "version": {
247
+ "anyOf": [
248
+ {
249
+ "type": "integer",
250
+ "exclusiveMinimum": 0,
251
+ "maximum": 9007199254740991
252
+ },
253
+ {
254
+ "type": "string",
255
+ "minLength": 1
256
+ }
257
+ ]
258
+ },
259
+ "ownerRepo": {
260
+ "type": "string",
261
+ "minLength": 1,
262
+ "maxLength": 256
263
+ }
264
+ },
265
+ "required": [
266
+ "kind",
267
+ "id"
268
+ ],
269
+ "additionalProperties": false
270
+ },
271
+ "requestId": {
272
+ "type": "string",
273
+ "minLength": 1,
274
+ "maxLength": 256
275
+ },
276
+ "idempotencyKey": {
277
+ "type": "string",
278
+ "minLength": 1,
279
+ "maxLength": 256
280
+ },
281
+ "status": {
282
+ "type": "string",
283
+ "enum": [
284
+ "QUEUED",
285
+ "RUNNING",
286
+ "SUCCEEDED",
287
+ "FAILED",
288
+ "CANCELLED",
289
+ "PARTIAL"
290
+ ]
291
+ },
292
+ "outputRefs": {
293
+ "default": [],
294
+ "type": "array",
295
+ "items": {
296
+ "type": "object",
297
+ "properties": {
298
+ "kind": {
299
+ "type": "string",
300
+ "minLength": 1,
301
+ "maxLength": 256
302
+ },
303
+ "id": {
304
+ "type": "string",
305
+ "minLength": 1,
306
+ "maxLength": 256
307
+ },
308
+ "version": {
309
+ "anyOf": [
310
+ {
311
+ "type": "integer",
312
+ "exclusiveMinimum": 0,
313
+ "maximum": 9007199254740991
314
+ },
315
+ {
316
+ "type": "string",
317
+ "minLength": 1
318
+ }
319
+ ]
320
+ },
321
+ "ownerRepo": {
322
+ "type": "string",
323
+ "minLength": 1,
324
+ "maxLength": 256
325
+ }
326
+ },
327
+ "required": [
328
+ "kind",
329
+ "id"
330
+ ],
331
+ "additionalProperties": false
332
+ }
333
+ },
334
+ "error": {
335
+ "type": "object",
336
+ "properties": {
337
+ "code": {
338
+ "type": "string",
339
+ "minLength": 1,
340
+ "maxLength": 256
341
+ },
342
+ "message": {
343
+ "type": "string",
344
+ "minLength": 1
345
+ },
346
+ "retryable": {
347
+ "type": "boolean"
348
+ }
349
+ },
350
+ "required": [
351
+ "code",
352
+ "message",
353
+ "retryable"
354
+ ],
355
+ "additionalProperties": false
356
+ },
357
+ "startedAt": {
358
+ "type": "string",
359
+ "format": "date-time",
360
+ "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)))$"
361
+ },
362
+ "completedAt": {
363
+ "type": "string",
364
+ "format": "date-time",
365
+ "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)))$"
366
+ },
367
+ "createdAt": {
368
+ "type": "string",
369
+ "format": "date-time",
370
+ "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)))$"
371
+ }
372
+ },
373
+ "required": [
374
+ "contract",
375
+ "runId",
376
+ "teamId",
377
+ "selectionRef",
378
+ "workflowRef",
379
+ "workflowInput",
380
+ "createDesignProject",
381
+ "modelRef",
382
+ "requestId",
383
+ "idempotencyKey",
384
+ "status",
385
+ "outputRefs",
386
+ "createdAt"
387
+ ],
388
+ "additionalProperties": false,
389
+ "$defs": {
390
+ "__schema0": {
391
+ "anyOf": [
392
+ {
393
+ "type": "string"
394
+ },
395
+ {
396
+ "type": "number"
397
+ },
398
+ {
399
+ "type": "boolean"
400
+ },
401
+ {
402
+ "type": "null"
403
+ },
404
+ {
405
+ "type": "array",
406
+ "items": {
407
+ "$ref": "#/$defs/__schema0"
408
+ }
409
+ },
410
+ {
411
+ "type": "object",
412
+ "propertyNames": {
413
+ "type": "string"
414
+ },
415
+ "additionalProperties": {
416
+ "$ref": "#/$defs/__schema0"
417
+ }
418
+ }
419
+ ]
420
+ }
421
+ },
422
+ "$id": "https://schemas.infmonkeys.com/contracts/radar-analysis-run.schema.json",
423
+ "title": "radar-analysis-run"
424
+ }