@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.
- package/README.md +38 -0
- package/lib/contracts/artifact.d.ts +112 -0
- package/lib/contracts/artifact.d.ts.map +1 -0
- package/lib/contracts/artifact.js +60 -0
- package/lib/contracts/artifact.js.map +1 -0
- package/lib/contracts/capability.d.ts +347 -0
- package/lib/contracts/capability.d.ts.map +1 -0
- package/lib/contracts/capability.js +135 -0
- package/lib/contracts/capability.js.map +1 -0
- package/lib/contracts/common.d.ts +32 -0
- package/lib/contracts/common.d.ts.map +1 -0
- package/lib/contracts/common.js +46 -0
- package/lib/contracts/common.js.map +1 -0
- package/lib/contracts/context.d.ts +213 -0
- package/lib/contracts/context.d.ts.map +1 -0
- package/lib/contracts/context.js +96 -0
- package/lib/contracts/context.js.map +1 -0
- package/lib/contracts/continuity.d.ts +142 -0
- package/lib/contracts/continuity.d.ts.map +1 -0
- package/lib/contracts/continuity.js +66 -0
- package/lib/contracts/continuity.js.map +1 -0
- package/lib/contracts/data.d.ts +135 -0
- package/lib/contracts/data.d.ts.map +1 -0
- package/lib/contracts/data.js +85 -0
- package/lib/contracts/data.js.map +1 -0
- package/lib/contracts/dtcg-format.schema.json +1759 -0
- package/lib/contracts/index.d.ts +14 -0
- package/lib/contracts/index.d.ts.map +1 -0
- package/lib/contracts/index.js +30 -0
- package/lib/contracts/index.js.map +1 -0
- package/lib/contracts/page.d.ts +482 -0
- package/lib/contracts/page.d.ts.map +1 -0
- package/lib/contracts/page.js +307 -0
- package/lib/contracts/page.js.map +1 -0
- package/lib/contracts/render.d.ts +1032 -0
- package/lib/contracts/render.d.ts.map +1 -0
- package/lib/contracts/render.js +386 -0
- package/lib/contracts/render.js.map +1 -0
- package/lib/contracts/semantic.d.ts +477 -0
- package/lib/contracts/semantic.d.ts.map +1 -0
- package/lib/contracts/semantic.js +111 -0
- package/lib/contracts/semantic.js.map +1 -0
- package/lib/contracts/tenant.d.ts +2495 -0
- package/lib/contracts/tenant.d.ts.map +1 -0
- package/lib/contracts/tenant.js +573 -0
- package/lib/contracts/tenant.js.map +1 -0
- package/lib/contracts/theme.d.ts +30 -0
- package/lib/contracts/theme.d.ts.map +1 -0
- package/lib/contracts/theme.js +55 -0
- package/lib/contracts/theme.js.map +1 -0
- package/lib/contracts/trend.d.ts +577 -0
- package/lib/contracts/trend.d.ts.map +1 -0
- package/lib/contracts/trend.js +276 -0
- package/lib/contracts/trend.js.map +1 -0
- package/lib/contracts/workflow-definition.d.ts +661 -0
- package/lib/contracts/workflow-definition.d.ts.map +1 -0
- package/lib/contracts/workflow-definition.js +337 -0
- package/lib/contracts/workflow-definition.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +34 -0
- package/lib/index.js.map +1 -0
- package/lib/json-schema/agent-runtime-event.schema.json +104 -0
- package/lib/json-schema/application-handoff.schema.json +377 -0
- package/lib/json-schema/application-run.schema.json +302 -0
- package/lib/json-schema/artifact-manifest.schema.json +375 -0
- package/lib/json-schema/body-relation-record.schema.json +177 -0
- package/lib/json-schema/brand-body.schema.json +140 -0
- package/lib/json-schema/brand-genetics-profile.schema.json +169 -0
- package/lib/json-schema/capability-manifest.schema.json +412 -0
- package/lib/json-schema/capability-registry.schema.json +474 -0
- package/lib/json-schema/change-impact-graph.schema.json +274 -0
- package/lib/json-schema/completion-event.schema.json +321 -0
- package/lib/json-schema/completion-header.schema.json +276 -0
- package/lib/json-schema/concept-definition.schema.json +101 -0
- package/lib/json-schema/conductor-workflow-definition.schema.json +404 -0
- package/lib/json-schema/data-continuity-envelope.schema.json +269 -0
- package/lib/json-schema/domain-command-definition.schema.json +121 -0
- package/lib/json-schema/domain-command.schema.json +204 -0
- package/lib/json-schema/domain-event.schema.json +161 -0
- package/lib/json-schema/execution-link.schema.json +190 -0
- package/lib/json-schema/expiring-access-grant.schema.json +127 -0
- package/lib/json-schema/hotword-body.schema.json +186 -0
- package/lib/json-schema/index.json +56 -0
- package/lib/json-schema/lineage-record.schema.json +370 -0
- package/lib/json-schema/ontology-definition.schema.json +91 -0
- package/lib/json-schema/output-record.schema.json +157 -0
- package/lib/json-schema/overlay-node.schema.json +892 -0
- package/lib/json-schema/page-definition.schema.json +527 -0
- package/lib/json-schema/page-runtime-descriptor.schema.json +720 -0
- package/lib/json-schema/page-runtime-projection.schema.json +464 -0
- package/lib/json-schema/product-body.schema.json +178 -0
- package/lib/json-schema/product-declaration.schema.json +1410 -0
- package/lib/json-schema/projection-spec.schema.json +151 -0
- package/lib/json-schema/radar-action-record.schema.json +144 -0
- package/lib/json-schema/radar-analysis-run.schema.json +424 -0
- package/lib/json-schema/radar-opportunity-matrix.schema.json +155 -0
- package/lib/json-schema/radar-panorama.schema.json +235 -0
- package/lib/json-schema/radar-query-body.schema.json +101 -0
- package/lib/json-schema/radar-score-model-body.schema.json +88 -0
- package/lib/json-schema/radar-score-projection.schema.json +184 -0
- package/lib/json-schema/radar-selection.schema.json +134 -0
- package/lib/json-schema/radar-writeback-record.schema.json +124 -0
- package/lib/json-schema/render-node.schema.json +776 -0
- package/lib/json-schema/render-tree.schema.json +815 -0
- package/lib/json-schema/request-scope.schema.json +193 -0
- package/lib/json-schema/saved-radar-query.schema.json +123 -0
- package/lib/json-schema/tenant-product-config.schema.json +2720 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +2654 -0
- package/lib/json-schema/theme-tokens.schema.json +1836 -0
- package/lib/json-schema/trend-ingest-run.schema.json +73 -0
- package/lib/json-schema/trend-metric-snapshot.schema.json +126 -0
- package/lib/json-schema/trend-source-record.schema.json +206 -0
- package/lib/json-schema/view-provider-descriptor.schema.json +317 -0
- package/lib/json-schema/workflow-definition.schema.json +2174 -0
- package/lib/runtime/capability-registry.d.ts +28 -0
- package/lib/runtime/capability-registry.d.ts.map +1 -0
- package/lib/runtime/capability-registry.js +147 -0
- package/lib/runtime/capability-registry.js.map +1 -0
- package/lib/runtime/declaration-compiler.d.ts +44 -0
- package/lib/runtime/declaration-compiler.d.ts.map +1 -0
- package/lib/runtime/declaration-compiler.js +323 -0
- package/lib/runtime/declaration-compiler.js.map +1 -0
- package/lib/runtime/index.d.ts +12 -0
- package/lib/runtime/index.d.ts.map +1 -0
- package/lib/runtime/index.js +28 -0
- package/lib/runtime/index.js.map +1 -0
- package/lib/runtime/page-compiler.d.ts +36 -0
- package/lib/runtime/page-compiler.d.ts.map +1 -0
- package/lib/runtime/page-compiler.js +220 -0
- package/lib/runtime/page-compiler.js.map +1 -0
- package/lib/runtime/product-runtime.d.ts +37 -0
- package/lib/runtime/product-runtime.d.ts.map +1 -0
- package/lib/runtime/product-runtime.js +80 -0
- package/lib/runtime/product-runtime.js.map +1 -0
- package/lib/runtime/render-tree-compiler.d.ts +11 -0
- package/lib/runtime/render-tree-compiler.d.ts.map +1 -0
- package/lib/runtime/render-tree-compiler.js +85 -0
- package/lib/runtime/render-tree-compiler.js.map +1 -0
- package/lib/runtime/tenant-config.d.ts +13 -0
- package/lib/runtime/tenant-config.d.ts.map +1 -0
- package/lib/runtime/tenant-config.js +31 -0
- package/lib/runtime/tenant-config.js.map +1 -0
- package/lib/runtime/tenant-runtime-bindings.d.ts +21 -0
- package/lib/runtime/tenant-runtime-bindings.d.ts.map +1 -0
- package/lib/runtime/tenant-runtime-bindings.js +50 -0
- package/lib/runtime/tenant-runtime-bindings.js.map +1 -0
- package/lib/runtime/theme-tokens.d.ts +2 -0
- package/lib/runtime/theme-tokens.d.ts.map +1 -0
- package/lib/runtime/theme-tokens.js +13 -0
- package/lib/runtime/theme-tokens.js.map +1 -0
- package/lib/runtime/view-provider-registry.d.ts +23 -0
- package/lib/runtime/view-provider-registry.d.ts.map +1 -0
- package/lib/runtime/view-provider-registry.js +150 -0
- package/lib/runtime/view-provider-registry.js.map +1 -0
- package/lib/runtime/view-render-model.d.ts +28 -0
- package/lib/runtime/view-render-model.d.ts.map +1 -0
- package/lib/runtime/view-render-model.js +125 -0
- package/lib/runtime/view-render-model.js.map +1 -0
- package/lib/runtime/workflow-compiler.d.ts +29 -0
- package/lib/runtime/workflow-compiler.d.ts.map +1 -0
- package/lib/runtime/workflow-compiler.js +100 -0
- package/lib/runtime/workflow-compiler.js.map +1 -0
- package/lib/schemas/index.d.ts +4461 -0
- package/lib/schemas/index.d.ts.map +1 -0
- package/lib/schemas/index.js +187 -0
- package/lib/schemas/index.js.map +1 -0
- package/lib/theme-tokens/core.d.ts +65 -0
- package/lib/theme-tokens/core.d.ts.map +1 -0
- package/lib/theme-tokens/core.js +490 -0
- package/lib/theme-tokens/core.js.map +1 -0
- package/lib/types/i18n.d.ts +19 -0
- package/lib/types/i18n.d.ts.map +1 -0
- package/lib/types/i18n.js +3 -0
- package/lib/types/i18n.js.map +1 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +20 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/tool.d.ts +123 -0
- package/lib/types/tool.d.ts.map +1 -0
- package/lib/types/tool.js +20 -0
- package/lib/types/tool.js.map +1 -0
- package/lib/types/workflow.d.ts +80 -0
- package/lib/types/workflow.d.ts.map +1 -0
- package/lib/types/workflow.js +23 -0
- package/lib/types/workflow.js.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"contract": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "RadarOpportunityMatrix"
|
|
8
|
+
},
|
|
9
|
+
"xMetric": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": [
|
|
12
|
+
"currentSales",
|
|
13
|
+
"forecastSales",
|
|
14
|
+
"searchHeat",
|
|
15
|
+
"socialHeat",
|
|
16
|
+
"confidence"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"yMetric": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"currentSales",
|
|
23
|
+
"forecastSales",
|
|
24
|
+
"searchHeat",
|
|
25
|
+
"socialHeat",
|
|
26
|
+
"confidence"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"points": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"subjectRef": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"kind": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"maxLength": 256
|
|
41
|
+
},
|
|
42
|
+
"id": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"minLength": 1,
|
|
45
|
+
"maxLength": 256
|
|
46
|
+
},
|
|
47
|
+
"version": {
|
|
48
|
+
"anyOf": [
|
|
49
|
+
{
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"exclusiveMinimum": 0,
|
|
52
|
+
"maximum": 9007199254740991
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "string",
|
|
56
|
+
"minLength": 1
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"ownerRepo": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1,
|
|
63
|
+
"maxLength": 256
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": [
|
|
67
|
+
"kind",
|
|
68
|
+
"id"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
},
|
|
72
|
+
"label": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1
|
|
75
|
+
},
|
|
76
|
+
"x": {
|
|
77
|
+
"type": "number"
|
|
78
|
+
},
|
|
79
|
+
"y": {
|
|
80
|
+
"type": "number"
|
|
81
|
+
},
|
|
82
|
+
"score": {
|
|
83
|
+
"type": "number"
|
|
84
|
+
},
|
|
85
|
+
"evidenceRefs": {
|
|
86
|
+
"default": [],
|
|
87
|
+
"type": "array",
|
|
88
|
+
"items": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"kind": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"minLength": 1,
|
|
94
|
+
"maxLength": 256
|
|
95
|
+
},
|
|
96
|
+
"id": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"minLength": 1,
|
|
99
|
+
"maxLength": 256
|
|
100
|
+
},
|
|
101
|
+
"version": {
|
|
102
|
+
"anyOf": [
|
|
103
|
+
{
|
|
104
|
+
"type": "integer",
|
|
105
|
+
"exclusiveMinimum": 0,
|
|
106
|
+
"maximum": 9007199254740991
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"ownerRepo": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"maxLength": 256
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"kind",
|
|
122
|
+
"id"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"required": [
|
|
129
|
+
"subjectRef",
|
|
130
|
+
"label",
|
|
131
|
+
"x",
|
|
132
|
+
"y",
|
|
133
|
+
"score",
|
|
134
|
+
"evidenceRefs"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": false
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"computedAt": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"format": "date-time",
|
|
142
|
+
"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)))$"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"contract",
|
|
147
|
+
"xMetric",
|
|
148
|
+
"yMetric",
|
|
149
|
+
"points",
|
|
150
|
+
"computedAt"
|
|
151
|
+
],
|
|
152
|
+
"additionalProperties": false,
|
|
153
|
+
"$id": "https://schemas.infmonkeys.com/contracts/radar-opportunity-matrix.schema.json",
|
|
154
|
+
"title": "radar-opportunity-matrix"
|
|
155
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"contract": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "RadarPanorama"
|
|
8
|
+
},
|
|
9
|
+
"nodes": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"ref": {
|
|
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
|
+
"label": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"minLength": 1
|
|
55
|
+
},
|
|
56
|
+
"categories": {
|
|
57
|
+
"default": [],
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"minLength": 1,
|
|
62
|
+
"maxLength": 256
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"score": {
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
68
|
+
"freshnessAt": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"format": "date-time",
|
|
71
|
+
"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)))$"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": [
|
|
75
|
+
"ref",
|
|
76
|
+
"label",
|
|
77
|
+
"categories"
|
|
78
|
+
],
|
|
79
|
+
"additionalProperties": false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"edges": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"sourceRef": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"kind": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"minLength": 1,
|
|
93
|
+
"maxLength": 256
|
|
94
|
+
},
|
|
95
|
+
"id": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"minLength": 1,
|
|
98
|
+
"maxLength": 256
|
|
99
|
+
},
|
|
100
|
+
"version": {
|
|
101
|
+
"anyOf": [
|
|
102
|
+
{
|
|
103
|
+
"type": "integer",
|
|
104
|
+
"exclusiveMinimum": 0,
|
|
105
|
+
"maximum": 9007199254740991
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "string",
|
|
109
|
+
"minLength": 1
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"ownerRepo": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 1,
|
|
116
|
+
"maxLength": 256
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"kind",
|
|
121
|
+
"id"
|
|
122
|
+
],
|
|
123
|
+
"additionalProperties": false
|
|
124
|
+
},
|
|
125
|
+
"targetRef": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"kind": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"minLength": 1,
|
|
131
|
+
"maxLength": 256
|
|
132
|
+
},
|
|
133
|
+
"id": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"minLength": 1,
|
|
136
|
+
"maxLength": 256
|
|
137
|
+
},
|
|
138
|
+
"version": {
|
|
139
|
+
"anyOf": [
|
|
140
|
+
{
|
|
141
|
+
"type": "integer",
|
|
142
|
+
"exclusiveMinimum": 0,
|
|
143
|
+
"maximum": 9007199254740991
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "string",
|
|
147
|
+
"minLength": 1
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"ownerRepo": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"minLength": 1,
|
|
154
|
+
"maxLength": 256
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"kind",
|
|
159
|
+
"id"
|
|
160
|
+
],
|
|
161
|
+
"additionalProperties": false
|
|
162
|
+
},
|
|
163
|
+
"relation": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"minLength": 1,
|
|
166
|
+
"maxLength": 256
|
|
167
|
+
},
|
|
168
|
+
"evidenceRefs": {
|
|
169
|
+
"default": [],
|
|
170
|
+
"type": "array",
|
|
171
|
+
"items": {
|
|
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
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"required": [
|
|
212
|
+
"sourceRef",
|
|
213
|
+
"targetRef",
|
|
214
|
+
"relation",
|
|
215
|
+
"evidenceRefs"
|
|
216
|
+
],
|
|
217
|
+
"additionalProperties": false
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"generatedAt": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"format": "date-time",
|
|
223
|
+
"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)))$"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"required": [
|
|
227
|
+
"contract",
|
|
228
|
+
"nodes",
|
|
229
|
+
"edges",
|
|
230
|
+
"generatedAt"
|
|
231
|
+
],
|
|
232
|
+
"additionalProperties": false,
|
|
233
|
+
"$id": "https://schemas.infmonkeys.com/contracts/radar-panorama.schema.json",
|
|
234
|
+
"title": "radar-panorama"
|
|
235
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"contract": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "RadarQueryBody"
|
|
8
|
+
},
|
|
9
|
+
"queryId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"maxLength": 256
|
|
13
|
+
},
|
|
14
|
+
"filters": {
|
|
15
|
+
"default": {},
|
|
16
|
+
"type": "object",
|
|
17
|
+
"propertyNames": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": {
|
|
21
|
+
"$ref": "#/$defs/__schema0"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"sort": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"field": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"maxLength": 256
|
|
31
|
+
},
|
|
32
|
+
"direction": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": [
|
|
35
|
+
"asc",
|
|
36
|
+
"desc"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"field",
|
|
42
|
+
"direction"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
},
|
|
46
|
+
"pageSize": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"minimum": 1,
|
|
49
|
+
"maximum": 200
|
|
50
|
+
},
|
|
51
|
+
"updatedAt": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"format": "date-time",
|
|
54
|
+
"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)))$"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"contract",
|
|
59
|
+
"queryId",
|
|
60
|
+
"filters",
|
|
61
|
+
"sort",
|
|
62
|
+
"pageSize",
|
|
63
|
+
"updatedAt"
|
|
64
|
+
],
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"$defs": {
|
|
67
|
+
"__schema0": {
|
|
68
|
+
"anyOf": [
|
|
69
|
+
{
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "number"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "null"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "array",
|
|
83
|
+
"items": {
|
|
84
|
+
"$ref": "#/$defs/__schema0"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "object",
|
|
89
|
+
"propertyNames": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"additionalProperties": {
|
|
93
|
+
"$ref": "#/$defs/__schema0"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"$id": "https://schemas.infmonkeys.com/contracts/radar-query-body.schema.json",
|
|
100
|
+
"title": "radar-query-body"
|
|
101
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"contract": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "RadarScoreModelBody"
|
|
8
|
+
},
|
|
9
|
+
"modelId": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"maxLength": 256
|
|
13
|
+
},
|
|
14
|
+
"version": {
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"exclusiveMinimum": 0,
|
|
17
|
+
"maximum": 9007199254740991
|
|
18
|
+
},
|
|
19
|
+
"weights": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"currentSales": {
|
|
23
|
+
"type": "number"
|
|
24
|
+
},
|
|
25
|
+
"forecastSales": {
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
"searchHeat": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
"socialHeat": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
"confidence": {
|
|
35
|
+
"type": "number",
|
|
36
|
+
"minimum": 0,
|
|
37
|
+
"maximum": 1
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"currentSales",
|
|
42
|
+
"forecastSales",
|
|
43
|
+
"searchHeat",
|
|
44
|
+
"socialHeat",
|
|
45
|
+
"confidence"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
"thresholds": {
|
|
50
|
+
"default": {},
|
|
51
|
+
"type": "object",
|
|
52
|
+
"propertyNames": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": {
|
|
56
|
+
"type": "number"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"explanationRules": {
|
|
60
|
+
"default": {},
|
|
61
|
+
"type": "object",
|
|
62
|
+
"propertyNames": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"additionalProperties": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"createdAt": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"format": "date-time",
|
|
73
|
+
"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)))$"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": [
|
|
77
|
+
"contract",
|
|
78
|
+
"modelId",
|
|
79
|
+
"version",
|
|
80
|
+
"weights",
|
|
81
|
+
"thresholds",
|
|
82
|
+
"explanationRules",
|
|
83
|
+
"createdAt"
|
|
84
|
+
],
|
|
85
|
+
"additionalProperties": false,
|
|
86
|
+
"$id": "https://schemas.infmonkeys.com/contracts/radar-score-model-body.schema.json",
|
|
87
|
+
"title": "radar-score-model-body"
|
|
88
|
+
}
|