@saluzi/saluzi-edu 0.4.7 → 0.4.8
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/dist/cli.js +51 -60
- package/dist/guide/guide-data.json +1 -1
- package/dist/vendor/archify/LICENSE +22 -0
- package/dist/vendor/archify/SKILL.md +137 -0
- package/dist/vendor/archify/THIRD_PARTY_NOTICES.md +69 -0
- package/dist/vendor/archify/assets/JetBrainsMono-OFL.txt +93 -0
- package/dist/vendor/archify/assets/template.html +14934 -0
- package/dist/vendor/archify/bin/archify.mjs +2687 -0
- package/dist/vendor/archify/bin/open-artifact.mjs +95 -0
- package/dist/vendor/archify/bin/preview.mjs +764 -0
- package/dist/vendor/archify/bin/visual-check.mjs +1012 -0
- package/dist/vendor/archify/brand-marks/README.md +31 -0
- package/dist/vendor/archify/brand-marks/catalog.json +131 -0
- package/dist/vendor/archify/delta/architecture-delta.mjs +1221 -0
- package/dist/vendor/archify/examples/agent-run.lifecycle.json +60 -0
- package/dist/vendor/archify/examples/agent-tool-call.workflow.json +94 -0
- package/dist/vendor/archify/examples/async-job-roundtrip.sequence.json +61 -0
- package/dist/vendor/archify/examples/brand-aware-delivery.architecture.json +47 -0
- package/dist/vendor/archify/examples/cache-miss-request.sequence.json +82 -0
- package/dist/vendor/archify/examples/checkout-platform.base.architecture.json +31 -0
- package/dist/vendor/archify/examples/checkout-platform.head.architecture.json +31 -0
- package/dist/vendor/archify/examples/dataflow-product-analytics.html +15045 -0
- package/dist/vendor/archify/examples/deployment-release.lifecycle.json +49 -0
- package/dist/vendor/archify/examples/event-stream.dataflow.json +57 -0
- package/dist/vendor/archify/examples/incident-response.workflow.json +64 -0
- package/dist/vendor/archify/examples/lifecycle-agent-run.html +14980 -0
- package/dist/vendor/archify/examples/product-analytics.dataflow.json +76 -0
- package/dist/vendor/archify/examples/production-deployment.architecture.json +71 -0
- package/dist/vendor/archify/examples/release-delivery.workflow.json +62 -0
- package/dist/vendor/archify/examples/sequence-cache-miss-request.html +15060 -0
- package/dist/vendor/archify/examples/web-app-rendered.html +15009 -0
- package/dist/vendor/archify/examples/web-app.architecture.json +46 -0
- package/dist/vendor/archify/examples/workflow-agent-tool-call-rendered.html +15051 -0
- package/dist/vendor/archify/migrations/workflow-v2.mjs +279 -0
- package/dist/vendor/archify/package.json +17 -0
- package/dist/vendor/archify/recipes/scenarios.mjs +391 -0
- package/dist/vendor/archify/references/authoring-contract.md +243 -0
- package/dist/vendor/archify/references/brand-marks.md +65 -0
- package/dist/vendor/archify/references/delivery-contract.md +120 -0
- package/dist/vendor/archify/references/viewer-runtime.md +45 -0
- package/dist/vendor/archify/renderers/architecture/grid.mjs +62 -0
- package/dist/vendor/archify/renderers/architecture/render-architecture.mjs +1078 -0
- package/dist/vendor/archify/renderers/dataflow/README.md +104 -0
- package/dist/vendor/archify/renderers/dataflow/render-dataflow.mjs +483 -0
- package/dist/vendor/archify/renderers/lifecycle/README.md +115 -0
- package/dist/vendor/archify/renderers/lifecycle/render-lifecycle.mjs +561 -0
- package/dist/vendor/archify/renderers/sequence/README.md +114 -0
- package/dist/vendor/archify/renderers/sequence/render-sequence.mjs +464 -0
- package/dist/vendor/archify/renderers/shared/brand-marks.mjs +563 -0
- package/dist/vendor/archify/renderers/shared/cli.mjs +218 -0
- package/dist/vendor/archify/renderers/shared/desktop-readability.mjs +26 -0
- package/dist/vendor/archify/renderers/shared/diagnostics.mjs +127 -0
- package/dist/vendor/archify/renderers/shared/engineering-profiles.mjs +157 -0
- package/dist/vendor/archify/renderers/shared/generated-brand-marks.mjs +2003 -0
- package/dist/vendor/archify/renderers/shared/generated-validators.mjs +13 -0
- package/dist/vendor/archify/renderers/shared/geometry.mjs +1423 -0
- package/dist/vendor/archify/renderers/shared/i18n.mjs +595 -0
- package/dist/vendor/archify/renderers/shared/layout-report.mjs +40 -0
- package/dist/vendor/archify/renderers/shared/legend.mjs +217 -0
- package/dist/vendor/archify/renderers/shared/output-path.mjs +340 -0
- package/dist/vendor/archify/renderers/shared/repository-evidence.mjs +238 -0
- package/dist/vendor/archify/renderers/shared/repository-location.mjs +58 -0
- package/dist/vendor/archify/renderers/shared/text-fit.mjs +49 -0
- package/dist/vendor/archify/renderers/shared/utils.mjs +232 -0
- package/dist/vendor/archify/renderers/shared/validator.mjs +86 -0
- package/dist/vendor/archify/renderers/workflow/README.md +223 -0
- package/dist/vendor/archify/renderers/workflow/render-workflow.mjs +35 -0
- package/dist/vendor/archify/renderers/workflow/workflow-compiler.mjs +4400 -0
- package/dist/vendor/archify/renderers/workflow/workflow-migration-geometry.mjs +144 -0
- package/dist/vendor/archify/schemas/README.md +211 -0
- package/dist/vendor/archify/schemas/architecture.schema.json +178 -0
- package/dist/vendor/archify/schemas/common.schema.json +115 -0
- package/dist/vendor/archify/schemas/dataflow.schema.json +243 -0
- package/dist/vendor/archify/schemas/lifecycle.schema.json +266 -0
- package/dist/vendor/archify/schemas/sequence.schema.json +223 -0
- package/dist/vendor/archify/schemas/workflow.schema.json +428 -0
- package/dist/vendor/archify/scripts/check-render-output.mjs +836 -0
- package/dist/vendor/archify/scripts/check-update.mjs +1667 -0
- package/dist/vendor/archify/scripts/render-examples.mjs +26 -0
- package/dist/vendor/archify/scripts/update-contract.mjs +182 -0
- package/dist/vendor/archify/skill-release.json +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/tt-a1i/archify/schemas/dataflow.schema.json",
|
|
4
|
+
"title": "Archify Data Flow Diagram",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"diagram_type",
|
|
10
|
+
"meta",
|
|
11
|
+
"stages",
|
|
12
|
+
"nodes",
|
|
13
|
+
"flows"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schema_version": {
|
|
17
|
+
"const": 1
|
|
18
|
+
},
|
|
19
|
+
"diagram_type": {
|
|
20
|
+
"const": "dataflow"
|
|
21
|
+
},
|
|
22
|
+
"meta": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"title"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"title": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1
|
|
32
|
+
},
|
|
33
|
+
"locale": {
|
|
34
|
+
"$ref": "common.schema.json#/$defs/locale"
|
|
35
|
+
},
|
|
36
|
+
"subtitle": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"output": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"animation": {
|
|
43
|
+
"$ref": "common.schema.json#/$defs/animation"
|
|
44
|
+
},
|
|
45
|
+
"visual_preset": {
|
|
46
|
+
"$ref": "common.schema.json#/$defs/visualPreset"
|
|
47
|
+
},
|
|
48
|
+
"quality_profile": {
|
|
49
|
+
"$ref": "common.schema.json#/$defs/qualityProfile"
|
|
50
|
+
},
|
|
51
|
+
"views": {
|
|
52
|
+
"$ref": "common.schema.json#/$defs/guidedViews"
|
|
53
|
+
},
|
|
54
|
+
"legend": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"properties": {
|
|
58
|
+
"mode": { "$ref": "common.schema.json#/$defs/legendMode" },
|
|
59
|
+
"entries": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"properties": {
|
|
63
|
+
"default": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
64
|
+
"emphasis": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
65
|
+
"security": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
66
|
+
"dashed": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
67
|
+
"database": { "$ref": "common.schema.json#/$defs/legendEntry" }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"viewBox": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"prefixItems": [
|
|
75
|
+
{
|
|
76
|
+
"type": "number",
|
|
77
|
+
"minimum": 360
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "number",
|
|
81
|
+
"minimum": 360
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"items": false,
|
|
85
|
+
"minItems": 2,
|
|
86
|
+
"maxItems": 2
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"stages": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"minItems": 2,
|
|
93
|
+
"maxItems": 5,
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": [
|
|
98
|
+
"label"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"label": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 1
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"nodes": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"minItems": 2,
|
|
111
|
+
"items": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": false,
|
|
114
|
+
"required": [
|
|
115
|
+
"id",
|
|
116
|
+
"type",
|
|
117
|
+
"label",
|
|
118
|
+
"stage",
|
|
119
|
+
"row"
|
|
120
|
+
],
|
|
121
|
+
"properties": {
|
|
122
|
+
"id": {
|
|
123
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
124
|
+
},
|
|
125
|
+
"type": {
|
|
126
|
+
"$ref": "common.schema.json#/$defs/componentType"
|
|
127
|
+
},
|
|
128
|
+
"label": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"minLength": 1
|
|
131
|
+
},
|
|
132
|
+
"sublabel": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"tag": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"brand": {
|
|
139
|
+
"$ref": "common.schema.json#/$defs/brandMark"
|
|
140
|
+
},
|
|
141
|
+
"stage": {
|
|
142
|
+
"type": "integer",
|
|
143
|
+
"minimum": 0
|
|
144
|
+
},
|
|
145
|
+
"row": {
|
|
146
|
+
"type": "integer",
|
|
147
|
+
"minimum": 0
|
|
148
|
+
},
|
|
149
|
+
"width": {
|
|
150
|
+
"type": "number",
|
|
151
|
+
"minimum": 48
|
|
152
|
+
},
|
|
153
|
+
"height": {
|
|
154
|
+
"type": "number",
|
|
155
|
+
"minimum": 36
|
|
156
|
+
},
|
|
157
|
+
"yOffset": {
|
|
158
|
+
"type": "number"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"flows": {
|
|
164
|
+
"type": "array",
|
|
165
|
+
"items": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"required": [
|
|
169
|
+
"from",
|
|
170
|
+
"to",
|
|
171
|
+
"label"
|
|
172
|
+
],
|
|
173
|
+
"properties": {
|
|
174
|
+
"id": {
|
|
175
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
176
|
+
},
|
|
177
|
+
"from": {
|
|
178
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
179
|
+
},
|
|
180
|
+
"to": {
|
|
181
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
182
|
+
},
|
|
183
|
+
"label": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"minLength": 1
|
|
186
|
+
},
|
|
187
|
+
"classification": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"variant": {
|
|
191
|
+
"$ref": "common.schema.json#/$defs/variant"
|
|
192
|
+
},
|
|
193
|
+
"route": {
|
|
194
|
+
"enum": [
|
|
195
|
+
"auto",
|
|
196
|
+
"straight",
|
|
197
|
+
"vertical-channel",
|
|
198
|
+
"bottom-channel",
|
|
199
|
+
"top-channel"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"fromSide": {
|
|
203
|
+
"$ref": "common.schema.json#/$defs/side"
|
|
204
|
+
},
|
|
205
|
+
"toSide": {
|
|
206
|
+
"$ref": "common.schema.json#/$defs/side"
|
|
207
|
+
},
|
|
208
|
+
"channelX": {
|
|
209
|
+
"type": "number"
|
|
210
|
+
},
|
|
211
|
+
"channelY": {
|
|
212
|
+
"type": "number"
|
|
213
|
+
},
|
|
214
|
+
"labelAt": {
|
|
215
|
+
"$ref": "common.schema.json#/$defs/point"
|
|
216
|
+
},
|
|
217
|
+
"labelDx": {
|
|
218
|
+
"type": "number"
|
|
219
|
+
},
|
|
220
|
+
"labelDy": {
|
|
221
|
+
"type": "number"
|
|
222
|
+
},
|
|
223
|
+
"labelSegment": {
|
|
224
|
+
"type": "integer",
|
|
225
|
+
"minimum": 0
|
|
226
|
+
},
|
|
227
|
+
"via": {
|
|
228
|
+
"type": "array",
|
|
229
|
+
"items": {
|
|
230
|
+
"$ref": "common.schema.json#/$defs/point"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"width": {
|
|
234
|
+
"$ref": "common.schema.json#/$defs/relationshipWidth"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"cards": {
|
|
240
|
+
"$ref": "common.schema.json#/$defs/cards"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/tt-a1i/archify/schemas/lifecycle.schema.json",
|
|
4
|
+
"title": "Archify Lifecycle Diagram",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"diagram_type",
|
|
10
|
+
"meta",
|
|
11
|
+
"lanes",
|
|
12
|
+
"states",
|
|
13
|
+
"transitions"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"schema_version": {
|
|
17
|
+
"const": 1
|
|
18
|
+
},
|
|
19
|
+
"diagram_type": {
|
|
20
|
+
"const": "lifecycle"
|
|
21
|
+
},
|
|
22
|
+
"meta": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"title"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"title": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1
|
|
32
|
+
},
|
|
33
|
+
"locale": {
|
|
34
|
+
"$ref": "common.schema.json#/$defs/locale"
|
|
35
|
+
},
|
|
36
|
+
"subtitle": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"output": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"animation": {
|
|
43
|
+
"$ref": "common.schema.json#/$defs/animation"
|
|
44
|
+
},
|
|
45
|
+
"visual_preset": {
|
|
46
|
+
"$ref": "common.schema.json#/$defs/visualPreset"
|
|
47
|
+
},
|
|
48
|
+
"quality_profile": {
|
|
49
|
+
"$ref": "common.schema.json#/$defs/qualityProfile"
|
|
50
|
+
},
|
|
51
|
+
"views": {
|
|
52
|
+
"$ref": "common.schema.json#/$defs/guidedViews"
|
|
53
|
+
},
|
|
54
|
+
"legend": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"properties": {
|
|
58
|
+
"mode": { "$ref": "common.schema.json#/$defs/legendMode" },
|
|
59
|
+
"entries": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"properties": {
|
|
63
|
+
"start": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
64
|
+
"active": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
65
|
+
"waiting": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
66
|
+
"decision": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
67
|
+
"success": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
68
|
+
"failure": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
69
|
+
"neutral": { "$ref": "common.schema.json#/$defs/legendEntry" },
|
|
70
|
+
"external": { "$ref": "common.schema.json#/$defs/legendEntry" }
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"viewBox": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"prefixItems": [
|
|
78
|
+
{
|
|
79
|
+
"type": "number",
|
|
80
|
+
"minimum": 420
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "number",
|
|
84
|
+
"minimum": 566
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"items": false,
|
|
88
|
+
"minItems": 2,
|
|
89
|
+
"maxItems": 2
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"lanes": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"minItems": 1,
|
|
96
|
+
"maxItems": 4,
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"required": [
|
|
101
|
+
"id",
|
|
102
|
+
"label"
|
|
103
|
+
],
|
|
104
|
+
"properties": {
|
|
105
|
+
"id": {
|
|
106
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
107
|
+
},
|
|
108
|
+
"label": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"states": {
|
|
116
|
+
"type": "array",
|
|
117
|
+
"minItems": 2,
|
|
118
|
+
"items": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"additionalProperties": false,
|
|
121
|
+
"required": [
|
|
122
|
+
"id",
|
|
123
|
+
"type",
|
|
124
|
+
"label",
|
|
125
|
+
"lane",
|
|
126
|
+
"col"
|
|
127
|
+
],
|
|
128
|
+
"properties": {
|
|
129
|
+
"id": {
|
|
130
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
131
|
+
},
|
|
132
|
+
"type": {
|
|
133
|
+
"enum": [
|
|
134
|
+
"start",
|
|
135
|
+
"active",
|
|
136
|
+
"waiting",
|
|
137
|
+
"decision",
|
|
138
|
+
"success",
|
|
139
|
+
"failure",
|
|
140
|
+
"neutral",
|
|
141
|
+
"external"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"label": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"minLength": 1
|
|
147
|
+
},
|
|
148
|
+
"sublabel": {
|
|
149
|
+
"type": "string"
|
|
150
|
+
},
|
|
151
|
+
"tag": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"brand": {
|
|
155
|
+
"$ref": "common.schema.json#/$defs/brandMark"
|
|
156
|
+
},
|
|
157
|
+
"step": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"lane": {
|
|
161
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
162
|
+
},
|
|
163
|
+
"col": {
|
|
164
|
+
"type": "integer",
|
|
165
|
+
"minimum": 0,
|
|
166
|
+
"maximum": 4
|
|
167
|
+
},
|
|
168
|
+
"width": {
|
|
169
|
+
"type": "number",
|
|
170
|
+
"minimum": 48
|
|
171
|
+
},
|
|
172
|
+
"height": {
|
|
173
|
+
"type": "number",
|
|
174
|
+
"minimum": 36
|
|
175
|
+
},
|
|
176
|
+
"yOffset": {
|
|
177
|
+
"type": "number"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"transitions": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"items": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"additionalProperties": false,
|
|
187
|
+
"required": [
|
|
188
|
+
"from",
|
|
189
|
+
"to"
|
|
190
|
+
],
|
|
191
|
+
"properties": {
|
|
192
|
+
"id": {
|
|
193
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
194
|
+
},
|
|
195
|
+
"from": {
|
|
196
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
197
|
+
},
|
|
198
|
+
"to": {
|
|
199
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
200
|
+
},
|
|
201
|
+
"label": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"note": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"variant": {
|
|
208
|
+
"$ref": "common.schema.json#/$defs/variant"
|
|
209
|
+
},
|
|
210
|
+
"route": {
|
|
211
|
+
"enum": [
|
|
212
|
+
"auto",
|
|
213
|
+
"straight",
|
|
214
|
+
"drop",
|
|
215
|
+
"bottom-channel",
|
|
216
|
+
"top-channel",
|
|
217
|
+
"right-channel",
|
|
218
|
+
"left-channel"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"fromSide": {
|
|
222
|
+
"$ref": "common.schema.json#/$defs/side"
|
|
223
|
+
},
|
|
224
|
+
"toSide": {
|
|
225
|
+
"$ref": "common.schema.json#/$defs/side"
|
|
226
|
+
},
|
|
227
|
+
"channelX": {
|
|
228
|
+
"type": "number"
|
|
229
|
+
},
|
|
230
|
+
"channelY": {
|
|
231
|
+
"type": "number"
|
|
232
|
+
},
|
|
233
|
+
"cornerRadius": {
|
|
234
|
+
"type": "number",
|
|
235
|
+
"minimum": 0
|
|
236
|
+
},
|
|
237
|
+
"labelAt": {
|
|
238
|
+
"$ref": "common.schema.json#/$defs/point"
|
|
239
|
+
},
|
|
240
|
+
"labelDx": {
|
|
241
|
+
"type": "number"
|
|
242
|
+
},
|
|
243
|
+
"labelDy": {
|
|
244
|
+
"type": "number"
|
|
245
|
+
},
|
|
246
|
+
"labelSegment": {
|
|
247
|
+
"type": "integer",
|
|
248
|
+
"minimum": 0
|
|
249
|
+
},
|
|
250
|
+
"via": {
|
|
251
|
+
"type": "array",
|
|
252
|
+
"items": {
|
|
253
|
+
"$ref": "common.schema.json#/$defs/point"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"width": {
|
|
257
|
+
"$ref": "common.schema.json#/$defs/relationshipWidth"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"cards": {
|
|
263
|
+
"$ref": "common.schema.json#/$defs/cards"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|