archctx-contracts 0.17.1 → 0.18.1
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/fixtures/valid/archctx-capabilities.json +2 -2
- package/fixtures/valid/product-version-manifest.json +4 -10
- package/package.json +4 -1
- package/schemas/repo/refactor-decision.schema.json +307 -37
- package/schemas/runtime/archctx-capabilities.schema.json +144 -20
- package/schemas/runtime/architecture-debt-delta.schema.json +58 -19
- package/schemas/runtime/architecture-debt.schema.json +42 -42
- package/schemas/runtime/architecture-event.schema.json +1 -1
- package/schemas/runtime/architecture-history.schema.json +354 -0
- package/schemas/runtime/capability-dependencies.schema.json +266 -59
- package/schemas/runtime/cli-check.schema.json +209 -0
- package/schemas/runtime/cli-help.schema.json +28 -0
- package/schemas/runtime/dependency-constraint-evaluation.schema.json +67 -68
- package/schemas/runtime/docs-anchors.schema.json +262 -67
- package/schemas/runtime/doctor-code-facts.schema.json +49 -0
- package/schemas/runtime/evidence-binding.schema.json +1 -1
- package/schemas/runtime/flow-selector-check.schema.json +179 -46
- package/schemas/runtime/hook-debt-checkpoint.schema.json +12 -12
- package/schemas/runtime/index-seed.schema.json +56 -0
- package/schemas/runtime/path-context.schema.json +120 -0
- package/schemas/runtime/product-version-manifest.schema.json +142 -54
- package/schemas/runtime/projection-slice.schema.json +34 -34
- package/schemas/runtime/recommendation-v3.schema.json +372 -1
- package/schemas/runtime/ref-impact-batch-request.schema.json +20 -7
- package/schemas/runtime/ref-impact-batch.schema.json +83 -13
- package/schemas/runtime/ref-impact.schema.json +68 -61
- package/schemas/runtime/refactor-scan-v2.schema.json +1392 -0
- package/schemas/runtime/refactor-simulate.schema.json +553 -0
- package/schemas/runtime/refactor-verify-v2.schema.json +172 -0
- package/schemas/runtime/resolve-path.schema.json +69 -0
- package/schemas/runtime/runtime-recommendation-show.schema.json +531 -2
- package/schemas/runtime/runtime-refactor-scan.schema.json +498 -2
- package/schemas/runtime/runtime-verify.schema.json +274 -56
- package/schemas/runtime/state-machine-check.schema.json +357 -89
- package/schemas/runtime/structural-observation-payload.schema.json +372 -1
- package/schemas/runtime/sync-check.schema.json +77 -0
- package/src/architecture-debt.ts +125 -38
- package/src/architecture-history.ts +168 -42
- package/src/architecture.ts +100 -0
- package/src/cli-read.ts +228 -0
- package/src/docs-anchors.ts +105 -50
- package/src/explorer-occurrence-ports.ts +175 -0
- package/src/explorer-query-ports.ts +270 -0
- package/src/failure.ts +4 -0
- package/src/index-seed.ts +42 -0
- package/src/index.ts +5 -0
- package/src/ledger-records.ts +262 -0
- package/src/ledger.ts +27 -566
- package/src/ownership-dependencies.ts +115 -5
- package/src/ports.ts +6 -541
- package/src/product-version.ts +74 -55
- package/src/projection-apply-types.ts +216 -0
- package/src/projection-apply-validators.ts +355 -0
- package/src/projection-capabilities.ts +181 -0
- package/src/projection-constants.ts +317 -0
- package/src/projection-manifest-types.ts +298 -0
- package/src/projection-manifest.ts +12 -299
- package/src/projection-recovery-validators.ts +229 -0
- package/src/projection-request-validators.ts +326 -0
- package/src/projection-types.ts +365 -0
- package/src/projection-validation-helpers.ts +15 -0
- package/src/projection.ts +7 -1689
- package/src/ref-impact.ts +225 -33
- package/src/refactor-constants.ts +213 -0
- package/src/refactor-decision-validators.ts +351 -0
- package/src/refactor-evidence-types.ts +286 -0
- package/src/refactor-observation-validators.ts +359 -0
- package/src/refactor-resolution-validators.ts +229 -0
- package/src/refactor-snapshot-validators.ts +368 -0
- package/src/refactor-types.ts +270 -0
- package/src/refactor-v2.ts +554 -0
- package/src/refactor-validation-helpers.ts +199 -0
- package/src/refactor.ts +7 -1849
- package/src/review-guards.ts +3 -23
- package/src/runtime-verify.ts +87 -0
- package/src/schema-kit.ts +187 -0
- package/src/schema-registry.ts +73 -0
- package/src/schema.ts +15 -4
- package/src/state-machine-schemas.ts +192 -0
- package/src/state-machine-types.ts +188 -0
- package/src/state-machine.ts +9 -189
- package/fixtures/boundary/agent-job-expired.json +0 -33
- package/fixtures/invalid/adapter-fidelity-reverse-sync.json +0 -9
- package/fixtures/invalid/agent-job-direct-mutation.json +0 -32
- package/fixtures/invalid/cloud-egress-envelope-private-field.json +0 -12
- package/fixtures/invalid/investigation-report-direct-mutation.json +0 -38
- package/fixtures/invalid/investigation-report-missing-proposed-delta.json +0 -19
- package/fixtures/invalid/notification-event-code-field.json +0 -11
- package/fixtures/valid/adapter-fidelity.json +0 -9
- package/fixtures/valid/agent-job.json +0 -33
- package/fixtures/valid/architecture-candidate-delta-policy.json +0 -45
- package/fixtures/valid/architecture-candidate-delta.json +0 -188
- package/fixtures/valid/chatgpt-ga-tool.json +0 -9
- package/fixtures/valid/cloud-egress-envelope.json +0 -11
- package/fixtures/valid/entitlement.json +0 -12
- package/fixtures/valid/investigation-report.json +0 -38
- package/fixtures/valid/likec4-mapping.json +0 -14
- package/fixtures/valid/notification-event.json +0 -10
- package/fixtures/valid/notification-provider.json +0 -12
- package/fixtures/valid/structurizr-mapping.json +0 -15
- package/schemas/cloud/cloud-egress-envelope.schema.json +0 -19
- package/schemas/cloud/entitlement.schema.json +0 -24
- package/schemas/integrations/adapter-fidelity.schema.json +0 -21
- package/schemas/integrations/chatgpt-ga-tool.schema.json +0 -25
- package/schemas/integrations/likec4-mapping.schema.json +0 -32
- package/schemas/integrations/structurizr-mapping.schema.json +0 -33
- package/schemas/runtime/agent-job.schema.json +0 -63
- package/schemas/runtime/architecture-candidate-delta-policy.schema.json +0 -129
- package/schemas/runtime/architecture-candidate-delta.schema.json +0 -386
- package/schemas/runtime/investigation-report.schema.json +0 -119
- package/schemas/runtime/notification-event.schema.json +0 -18
- package/schemas/runtime/notification-provider.schema.json +0 -26
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "archcontext.capabilities/v1",
|
|
3
|
-
"package": { "name": "archctx", "version": "0.
|
|
3
|
+
"package": { "name": "archctx", "version": "0.18.1" },
|
|
4
4
|
"protocols": {
|
|
5
5
|
"projectionRequest": "archcontext.projection-request/v1",
|
|
6
6
|
"projectionResult": "archcontext.projection-result/v3",
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
"architectureDocs": "archcontext.docs-renderer/v6",
|
|
11
11
|
"agentContext": "archcontext.agent-context-renderer/v2"
|
|
12
12
|
},
|
|
13
|
-
"features": ["architecture-change-capabilities-v1", "architecture-debt-v1", "architecture-docs-renderer-v2", "architecture-refresh-signal-v1", "capability-dependencies-declared-v1", "capability-dependencies-v1", "changeset-entity-operations-v1", "changeset-ownership-delta-v1", "code-facts-unavailable-error-v1", "docs-anchors-v1", "flow-selector-check-v1", "
|
|
13
|
+
"features": ["architecture-change-capabilities-v1", "architecture-debt-v1", "architecture-docs-renderer-v2", "architecture-refresh-signal-v1", "capability-dependencies-declared-v1", "capability-dependencies-v1", "changeset-entity-operations-v1", "changeset-ownership-delta-v1", "cli-check-v1", "code-facts-unavailable-error-v1", "deps-calls-matrix-v1", "docs-anchors-v1", "flow-selector-check-v1", "host-ownership-isolation-v1", "index-seed-v1", "module-statistics-v1", "native-context-export-v1", "projection-apply-receipt-v1", "projection-apply-replay-restore-v1", "projection-apply-replay-v1", "projection-architecture-debt-v1", "projection-capability-isolation-v1", "projection-change-classification-v2", "projection-check-freshness-v2", "projection-freshness-v2", "projection-manifest-contract-v4", "projection-observed-major-change-acceptance-v1", "projection-orphan-review-v1", "projection-preview-v1", "projection-prior-committed-applies-v1", "projection-protocol-v2", "projection-publish-v1", "projection-slice-v1", "projection-snapshot-v1", "projection-verify-pr-v1", "recommendation-scan-decision-v1", "recommendation-v3", "refactor-assessment-v1", "refactor-observation-evidence-v1", "refactor-radar-v2", "refactor-resolution-v1", "refactor-scan-limits-v1", "refactor-scan-untracked-count-v1", "refactor-simulate-v1", "refactor-symbol-kill-list-v1"]
|
|
14
14
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": "archcontext.product-version-manifest/v1",
|
|
3
3
|
"product": {
|
|
4
4
|
"name": "archctx",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.18.1",
|
|
6
6
|
"distribution": "one-package"
|
|
7
7
|
},
|
|
8
8
|
"packageManager": "bun@1.4.4",
|
|
@@ -12,25 +12,19 @@
|
|
|
12
12
|
"surfaces": {
|
|
13
13
|
"cli": {
|
|
14
14
|
"packageName": "@archcontext/surfaces",
|
|
15
|
-
"version": "0.
|
|
15
|
+
"version": "0.18.1",
|
|
16
16
|
"entrypoint": "archctx"
|
|
17
17
|
},
|
|
18
18
|
"daemon": {
|
|
19
19
|
"packageName": "@archcontext/local-runtime",
|
|
20
|
-
"version": "0.
|
|
20
|
+
"version": "0.18.1",
|
|
21
21
|
"entrypoint": "archctx daemon start",
|
|
22
22
|
"rpcSchemaVersion": "archcontext.runtime-rpc/v2"
|
|
23
|
-
},
|
|
24
|
-
"mcp": {
|
|
25
|
-
"packageName": "@archcontext/surfaces",
|
|
26
|
-
"version": "0.17.1",
|
|
27
|
-
"entrypoint": "archctx mcp",
|
|
28
|
-
"transport": "stdio"
|
|
29
23
|
}
|
|
30
24
|
},
|
|
31
25
|
"schemas": {
|
|
32
26
|
"schemaSetVersion": "2026-06-25.al0-ledger",
|
|
33
|
-
"contractsPackageVersion": "0.
|
|
27
|
+
"contractsPackageVersion": "0.18.1"
|
|
34
28
|
},
|
|
35
29
|
"runtime": {
|
|
36
30
|
"localRpc": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "archctx-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,5 +15,8 @@
|
|
|
15
15
|
"exports": {
|
|
16
16
|
".": "./src/index.ts",
|
|
17
17
|
"./schemas/*": "./schemas/*"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@sinclair/typebox": "^0.34.52"
|
|
18
21
|
}
|
|
19
22
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"$id": "https://archctx.repoharness.com/schemas/repo/refactor-decision.schema.json",
|
|
4
4
|
"title": "RefactorDecision",
|
|
5
5
|
"description": "The latest human decision for one refactor recommendation generation, stored at .archcontext/refactor-decisions/<recommendationId>.json (ADR-0046). Identity that needs the core hashers (recommendationId from fingerprint and regressesFrom, the namespace-scoped subject selector) is checked by the runtime reader.",
|
|
6
|
-
"type": "object",
|
|
7
6
|
"additionalProperties": false,
|
|
7
|
+
"type": "object",
|
|
8
8
|
"required": [
|
|
9
9
|
"schemaVersion",
|
|
10
10
|
"namespace",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"const": "archcontext.refactor-decision/v1"
|
|
30
30
|
},
|
|
31
31
|
"namespace": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"pattern": "^[a-z][a-z0-9]*(\\.[a-z0-9][a-z0-9-]*)+$",
|
|
33
|
+
"type": "string"
|
|
34
34
|
},
|
|
35
35
|
"recommendationId": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"pattern": "^recommendation\\.[a-f0-9]{16}$",
|
|
37
|
+
"type": "string"
|
|
38
38
|
},
|
|
39
39
|
"fingerprint": {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
41
|
+
"type": "string"
|
|
42
42
|
},
|
|
43
43
|
"fingerprintSchemaVersion": {
|
|
44
44
|
"const": "archcontext.recommendation-fingerprint/v3"
|
|
@@ -58,20 +58,31 @@
|
|
|
58
58
|
{
|
|
59
59
|
"type": "string",
|
|
60
60
|
"enum": [
|
|
61
|
+
"co-change-coupling",
|
|
62
|
+
"component-cycle",
|
|
61
63
|
"cycle",
|
|
64
|
+
"dead-public-export",
|
|
62
65
|
"direction-violation",
|
|
66
|
+
"entrypoint-bypass",
|
|
63
67
|
"evidence-gap",
|
|
68
|
+
"file-cycle",
|
|
69
|
+
"god-file",
|
|
70
|
+
"low-cohesion-god-file",
|
|
64
71
|
"ownership-ambiguous",
|
|
72
|
+
"purity-violation",
|
|
65
73
|
"residual-cycle",
|
|
74
|
+
"shotgun-surgery-hotspot",
|
|
75
|
+
"undeclared-dependency",
|
|
66
76
|
"undeclared-footprint",
|
|
67
|
-
"unowned-paths"
|
|
77
|
+
"unowned-paths",
|
|
78
|
+
"unstable-dependency"
|
|
68
79
|
]
|
|
69
80
|
}
|
|
70
81
|
]
|
|
71
82
|
},
|
|
72
83
|
"subject": {
|
|
73
|
-
"type": "object",
|
|
74
84
|
"additionalProperties": false,
|
|
85
|
+
"type": "object",
|
|
75
86
|
"required": [
|
|
76
87
|
"selectorKind",
|
|
77
88
|
"stableKey",
|
|
@@ -86,29 +97,29 @@
|
|
|
86
97
|
]
|
|
87
98
|
},
|
|
88
99
|
"stableKey": {
|
|
89
|
-
"type": "string",
|
|
90
100
|
"minLength": 1,
|
|
91
101
|
"maxLength": 512,
|
|
92
|
-
"pattern": "^\\S(?:[^\\u0000-\\u001f\\u007f]*\\S)?$"
|
|
102
|
+
"pattern": "^\\S(?:[^\\u0000-\\u001f\\u007f]*\\S)?$",
|
|
103
|
+
"type": "string"
|
|
93
104
|
},
|
|
94
105
|
"subjectSelectorId": {
|
|
95
|
-
"
|
|
96
|
-
"
|
|
106
|
+
"pattern": "^subject\\.(node|repository)\\.[a-f0-9]{16}$",
|
|
107
|
+
"type": "string"
|
|
97
108
|
}
|
|
98
109
|
}
|
|
99
110
|
},
|
|
100
111
|
"affectedNodeIds": {
|
|
101
|
-
"type": "array",
|
|
102
|
-
"maxItems": 32,
|
|
103
112
|
"uniqueItems": true,
|
|
113
|
+
"maxItems": 32,
|
|
114
|
+
"type": "array",
|
|
104
115
|
"items": {
|
|
105
|
-
"
|
|
106
|
-
"
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"type": "string"
|
|
107
118
|
}
|
|
108
119
|
},
|
|
109
120
|
"affectedNodeCount": {
|
|
110
|
-
"
|
|
111
|
-
"
|
|
121
|
+
"minimum": 0,
|
|
122
|
+
"type": "integer"
|
|
112
123
|
},
|
|
113
124
|
"regressesFrom": {
|
|
114
125
|
"anyOf": [
|
|
@@ -116,8 +127,8 @@
|
|
|
116
127
|
"type": "null"
|
|
117
128
|
},
|
|
118
129
|
{
|
|
119
|
-
"
|
|
120
|
-
"
|
|
130
|
+
"pattern": "^recommendation\\.[a-f0-9]{16}$",
|
|
131
|
+
"type": "string"
|
|
121
132
|
}
|
|
122
133
|
]
|
|
123
134
|
},
|
|
@@ -133,9 +144,9 @@
|
|
|
133
144
|
]
|
|
134
145
|
},
|
|
135
146
|
"observationScopeDigest": {
|
|
136
|
-
"type": "string",
|
|
137
147
|
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
138
|
-
"description": "Scope of the measured observation metrics. Absent for repository baselines."
|
|
148
|
+
"description": "Scope of the measured observation metrics. Absent for repository baselines.",
|
|
149
|
+
"type": "string"
|
|
139
150
|
},
|
|
140
151
|
"observationMetrics": {
|
|
141
152
|
"anyOf": [
|
|
@@ -158,14 +169,14 @@
|
|
|
158
169
|
]
|
|
159
170
|
},
|
|
160
171
|
"reason": {
|
|
161
|
-
"type": "string",
|
|
162
172
|
"minLength": 1,
|
|
163
173
|
"maxLength": 1024,
|
|
164
|
-
"pattern": "^\\S(?:[^\\u0000-\\u001f\\u007f]*\\S)?$"
|
|
174
|
+
"pattern": "^\\S(?:[^\\u0000-\\u001f\\u007f]*\\S)?$",
|
|
175
|
+
"type": "string"
|
|
165
176
|
},
|
|
166
177
|
"actor": {
|
|
167
|
-
"type": "object",
|
|
168
178
|
"additionalProperties": false,
|
|
179
|
+
"type": "object",
|
|
169
180
|
"required": [
|
|
170
181
|
"kind",
|
|
171
182
|
"id"
|
|
@@ -185,20 +196,20 @@
|
|
|
185
196
|
]
|
|
186
197
|
},
|
|
187
198
|
"id": {
|
|
188
|
-
"type": "string",
|
|
189
199
|
"minLength": 1,
|
|
190
200
|
"maxLength": 128,
|
|
191
|
-
"pattern": "^\\S(?:[^\\u0000-\\u001f\\u007f]*\\S)?$"
|
|
201
|
+
"pattern": "^\\S(?:[^\\u0000-\\u001f\\u007f]*\\S)?$",
|
|
202
|
+
"type": "string"
|
|
192
203
|
}
|
|
193
204
|
}
|
|
194
205
|
},
|
|
195
206
|
"decidedAt": {
|
|
196
|
-
"
|
|
197
|
-
"
|
|
207
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
|
|
208
|
+
"type": "string"
|
|
198
209
|
},
|
|
199
210
|
"provenance": {
|
|
200
|
-
"type": "object",
|
|
201
211
|
"additionalProperties": false,
|
|
212
|
+
"type": "object",
|
|
202
213
|
"required": [
|
|
203
214
|
"headSha",
|
|
204
215
|
"assessmentDigest",
|
|
@@ -206,17 +217,276 @@
|
|
|
206
217
|
],
|
|
207
218
|
"properties": {
|
|
208
219
|
"headSha": {
|
|
209
|
-
"
|
|
210
|
-
"
|
|
220
|
+
"pattern": "^[a-f0-9]{40}$",
|
|
221
|
+
"type": "string"
|
|
211
222
|
},
|
|
212
223
|
"assessmentDigest": {
|
|
213
|
-
"
|
|
214
|
-
"
|
|
224
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
225
|
+
"type": "string"
|
|
215
226
|
},
|
|
216
227
|
"baselineSnapshotDigest": {
|
|
217
|
-
"
|
|
218
|
-
"
|
|
228
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"snapshotDigest": {
|
|
234
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"evidenceDigest": {
|
|
238
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
239
|
+
"type": "string"
|
|
240
|
+
},
|
|
241
|
+
"resolutionDigest": {
|
|
242
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
243
|
+
"type": "string"
|
|
244
|
+
},
|
|
245
|
+
"scope": {
|
|
246
|
+
"oneOf": [
|
|
247
|
+
{
|
|
248
|
+
"additionalProperties": false,
|
|
249
|
+
"type": "object",
|
|
250
|
+
"required": [
|
|
251
|
+
"kind"
|
|
252
|
+
],
|
|
253
|
+
"properties": {
|
|
254
|
+
"kind": {
|
|
255
|
+
"const": "repository"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"type": "object",
|
|
262
|
+
"required": [
|
|
263
|
+
"kind",
|
|
264
|
+
"nodeId"
|
|
265
|
+
],
|
|
266
|
+
"properties": {
|
|
267
|
+
"kind": {
|
|
268
|
+
"const": "node"
|
|
269
|
+
},
|
|
270
|
+
"nodeId": {
|
|
271
|
+
"minLength": 1,
|
|
272
|
+
"type": "string"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"additionalProperties": false,
|
|
278
|
+
"type": "object",
|
|
279
|
+
"required": [
|
|
280
|
+
"kind",
|
|
281
|
+
"paths"
|
|
282
|
+
],
|
|
283
|
+
"properties": {
|
|
284
|
+
"kind": {
|
|
285
|
+
"const": "paths"
|
|
286
|
+
},
|
|
287
|
+
"paths": {
|
|
288
|
+
"uniqueItems": true,
|
|
289
|
+
"minItems": 1,
|
|
290
|
+
"type": "array",
|
|
291
|
+
"items": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"minLength": 1,
|
|
294
|
+
"not": {
|
|
295
|
+
"anyOf": [
|
|
296
|
+
{
|
|
297
|
+
"pattern": "^/"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"pattern": "/$"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"pattern": "//"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"pattern": "\\\\"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"pattern": "^[A-Za-z]:"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"pattern": "[\\u0000-\\u001f\\u007f]"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"pattern": "(^|/)\\.\\.?(/|$)"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
219
322
|
}
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
"importNodeLimit": {
|
|
326
|
+
"minimum": 1,
|
|
327
|
+
"type": "integer"
|
|
328
|
+
},
|
|
329
|
+
"targetOutcomes": {
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"additionalProperties": false,
|
|
333
|
+
"type": "object",
|
|
334
|
+
"required": [
|
|
335
|
+
"outcomeId",
|
|
336
|
+
"metric",
|
|
337
|
+
"subjectSelectorId",
|
|
338
|
+
"nodeId",
|
|
339
|
+
"operator",
|
|
340
|
+
"value",
|
|
341
|
+
"required"
|
|
342
|
+
],
|
|
343
|
+
"properties": {
|
|
344
|
+
"outcomeId": {
|
|
345
|
+
"minLength": 1,
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"metric": {
|
|
349
|
+
"minLength": 1,
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
"subjectSelectorId": {
|
|
353
|
+
"minLength": 1,
|
|
354
|
+
"type": "string"
|
|
355
|
+
},
|
|
356
|
+
"nodeId": {
|
|
357
|
+
"type": [
|
|
358
|
+
"string",
|
|
359
|
+
"null"
|
|
360
|
+
]
|
|
361
|
+
},
|
|
362
|
+
"memberNodeIds": {
|
|
363
|
+
"uniqueItems": true,
|
|
364
|
+
"minItems": 2,
|
|
365
|
+
"type": "array",
|
|
366
|
+
"items": {
|
|
367
|
+
"minLength": 1,
|
|
368
|
+
"type": "string"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"operator": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"enum": [
|
|
374
|
+
"absent",
|
|
375
|
+
"equals",
|
|
376
|
+
"greater_than",
|
|
377
|
+
"less_than",
|
|
378
|
+
"present"
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
"value": {
|
|
382
|
+
"anyOf": [
|
|
383
|
+
{
|
|
384
|
+
"type": "number"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"type": "null"
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
"required": {
|
|
392
|
+
"type": "boolean"
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"killList": {
|
|
398
|
+
"type": "array",
|
|
399
|
+
"items": {
|
|
400
|
+
"oneOf": [
|
|
401
|
+
{
|
|
402
|
+
"additionalProperties": false,
|
|
403
|
+
"type": "object",
|
|
404
|
+
"required": [
|
|
405
|
+
"kind",
|
|
406
|
+
"target",
|
|
407
|
+
"required"
|
|
408
|
+
],
|
|
409
|
+
"properties": {
|
|
410
|
+
"kind": {
|
|
411
|
+
"const": "path"
|
|
412
|
+
},
|
|
413
|
+
"target": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"minLength": 1,
|
|
416
|
+
"not": {
|
|
417
|
+
"anyOf": [
|
|
418
|
+
{
|
|
419
|
+
"pattern": "^/"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"pattern": "/$"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"pattern": "//"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"pattern": "\\\\"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"pattern": "^[A-Za-z]:"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"pattern": "[\\u0000-\\u001f\\u007f]"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"pattern": "(^|/)\\.\\.?(/|$)"
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"required": {
|
|
443
|
+
"type": "boolean"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"additionalProperties": false,
|
|
449
|
+
"type": "object",
|
|
450
|
+
"required": [
|
|
451
|
+
"kind",
|
|
452
|
+
"target",
|
|
453
|
+
"required"
|
|
454
|
+
],
|
|
455
|
+
"properties": {
|
|
456
|
+
"kind": {
|
|
457
|
+
"const": "relation"
|
|
458
|
+
},
|
|
459
|
+
"target": {
|
|
460
|
+
"minLength": 1,
|
|
461
|
+
"type": "string"
|
|
462
|
+
},
|
|
463
|
+
"required": {
|
|
464
|
+
"type": "boolean"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"additionalProperties": false,
|
|
470
|
+
"type": "object",
|
|
471
|
+
"required": [
|
|
472
|
+
"kind",
|
|
473
|
+
"target",
|
|
474
|
+
"required"
|
|
475
|
+
],
|
|
476
|
+
"properties": {
|
|
477
|
+
"kind": {
|
|
478
|
+
"const": "symbol"
|
|
479
|
+
},
|
|
480
|
+
"target": {
|
|
481
|
+
"pattern": "^(?![A-Za-z]:)(?!\\.\\.?(?:/|#))[^/#\\s\\\\\\u0000-\\u001f\\u007f]+(?:/(?!\\.\\.?(?:/|#))[^/#\\s\\\\\\u0000-\\u001f\\u007f]+)*#[^#\\s\\u0000-\\u001f\\u007f]+$",
|
|
482
|
+
"type": "string"
|
|
483
|
+
},
|
|
484
|
+
"required": {
|
|
485
|
+
"type": "boolean"
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
]
|
|
220
490
|
}
|
|
221
491
|
}
|
|
222
492
|
}
|