@stacksjs/defaults 0.75.361 → 0.75.366
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/ai/skills/stacks-ai/SKILL.md +22 -0
- package/ai/skills/stacks-native/CATALOG.md +5 -5
- package/ai/skills/stacks-payments/SKILL.md +10 -0
- package/ai/skills/stacks-technical-diagrams/LICENSE +202 -22
- package/ai/skills/stacks-technical-diagrams/LICENSE-MIT +22 -0
- package/ai/skills/stacks-technical-diagrams/NOTICE +26 -0
- package/ai/skills/stacks-technical-diagrams/SKILL.md +106 -266
- package/ai/skills/stacks-technical-diagrams/THIRD_PARTY_NOTICES.md +11 -2
- package/ai/skills/stacks-technical-diagrams/UPSTREAM.json +12 -0
- package/ai/skills/stacks-technical-diagrams/agents/openai.yaml +2 -2
- package/ai/skills/stacks-technical-diagrams/assets/template.html +3655 -3798
- package/ai/skills/stacks-technical-diagrams/bin/archify.mjs +7290 -0
- package/ai/skills/stacks-technical-diagrams/bin/delivery-update.mjs +7 -0
- package/ai/skills/stacks-technical-diagrams/bin/diagrams +1 -0
- package/ai/skills/stacks-technical-diagrams/bin/finalize.mjs +1056 -0
- package/ai/skills/stacks-technical-diagrams/bin/open-artifact.mjs +72 -12
- package/ai/skills/stacks-technical-diagrams/bin/preview.mjs +348 -31
- package/ai/skills/stacks-technical-diagrams/bin/recover-output.mjs +41 -0
- package/ai/skills/stacks-technical-diagrams/bin/technical-diagrams.mjs +3 -2097
- package/ai/skills/stacks-technical-diagrams/bin/visual-check.mjs +2142 -157
- package/ai/skills/stacks-technical-diagrams/brand-marks/README.md +3 -3
- package/ai/skills/stacks-technical-diagrams/delta/architecture-delta.mjs +130 -33
- package/ai/skills/stacks-technical-diagrams/examples/agent-run.lifecycle.json +25 -30
- package/ai/skills/stacks-technical-diagrams/examples/agent-tool-call.workflow.json +0 -20
- package/ai/skills/stacks-technical-diagrams/examples/archify-dev-activity.timeline.json +176 -0
- package/ai/skills/stacks-technical-diagrams/examples/archify-repository.tree.json +197 -0
- package/ai/skills/stacks-technical-diagrams/examples/async-job-roundtrip.sequence.json +1 -6
- package/ai/skills/stacks-technical-diagrams/examples/brand-aware-delivery.architecture.json +3 -16
- package/ai/skills/stacks-technical-diagrams/examples/cache-miss-request.sequence.json +2 -7
- package/ai/skills/stacks-technical-diagrams/examples/checkout-platform.base.architecture.json +2 -1
- package/ai/skills/stacks-technical-diagrams/examples/checkout-platform.head.architecture.json +2 -1
- package/ai/skills/stacks-technical-diagrams/examples/checkout-request.waterfall.json +20 -0
- package/ai/skills/stacks-technical-diagrams/examples/class-payment-processors-rendered.html +14987 -0
- package/ai/skills/stacks-technical-diagrams/examples/class-payments-rendered.html +14787 -0
- package/ai/skills/stacks-technical-diagrams/examples/dataflow-product-analytics.html +14880 -0
- package/ai/skills/stacks-technical-diagrams/examples/delivery.explainer.json +155 -0
- package/ai/skills/stacks-technical-diagrams/examples/deployment-release.lifecycle.json +57 -34
- package/ai/skills/stacks-technical-diagrams/examples/erd-orders-rendered.html +15112 -0
- package/ai/skills/stacks-technical-diagrams/examples/event-stream.dataflow.json +1 -6
- package/ai/skills/stacks-technical-diagrams/examples/example-rebuild.waterfall.json +212 -0
- package/ai/skills/stacks-technical-diagrams/examples/holiday-planning.workflow.json +143 -0
- package/ai/skills/stacks-technical-diagrams/examples/incident-response.workflow.json +1 -6
- package/ai/skills/stacks-technical-diagrams/examples/lifecycle-agent-run.html +14892 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/de.json +463 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/fr.json +463 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/fr.partial.json +22 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/it.json +463 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/ja.json +463 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/pt.json +463 -0
- package/ai/skills/stacks-technical-diagrams/examples/locales/ru.json +463 -0
- package/ai/skills/stacks-technical-diagrams/examples/orders.erd.json +337 -0
- package/ai/skills/stacks-technical-diagrams/examples/payment-incident.timeline.json +24 -0
- package/ai/skills/stacks-technical-diagrams/examples/payment-platform.tree.json +22 -0
- package/ai/skills/stacks-technical-diagrams/examples/payment-processors.class.json +177 -0
- package/ai/skills/stacks-technical-diagrams/examples/payments.class.json +85 -0
- package/ai/skills/stacks-technical-diagrams/examples/product-analytics.dataflow.json +1 -6
- package/ai/skills/stacks-technical-diagrams/examples/production-deployment.architecture.json +3 -23
- package/ai/skills/stacks-technical-diagrams/examples/release-delivery.workflow.json +1 -6
- package/ai/skills/stacks-technical-diagrams/examples/sequence-cache-miss-request.html +14895 -0
- package/ai/skills/stacks-technical-diagrams/examples/subscription-billing-rendered.html +15369 -0
- package/ai/skills/stacks-technical-diagrams/examples/subscription-billing.erd.json +548 -0
- package/ai/skills/stacks-technical-diagrams/examples/timeline-archify-dev-activity-rendered.html +15002 -0
- package/ai/skills/stacks-technical-diagrams/examples/timeline-payment-incident-rendered.html +14772 -0
- package/ai/skills/stacks-technical-diagrams/examples/tree-archify-repository-rendered.html +15071 -0
- package/ai/skills/stacks-technical-diagrams/examples/tree-payment-platform-rendered.html +14810 -0
- package/ai/skills/stacks-technical-diagrams/examples/waterfall-checkout-request-rendered.html +14754 -0
- package/ai/skills/stacks-technical-diagrams/examples/waterfall-example-rebuild-rendered.html +14940 -0
- package/ai/skills/stacks-technical-diagrams/examples/web-app-rendered.html +14889 -0
- package/ai/skills/stacks-technical-diagrams/examples/web-app.architecture.json +1 -6
- package/ai/skills/stacks-technical-diagrams/examples/workflow-agent-tool-call-rendered.html +14907 -0
- package/ai/skills/stacks-technical-diagrams/explainer/browser-check.mjs +208 -0
- package/ai/skills/stacks-technical-diagrams/explainer/charts.mjs +70 -0
- package/ai/skills/stacks-technical-diagrams/explainer/check.mjs +168 -0
- package/ai/skills/stacks-technical-diagrams/explainer/diagrams.mjs +518 -0
- package/ai/skills/stacks-technical-diagrams/explainer/diff.mjs +124 -0
- package/ai/skills/stacks-technical-diagrams/explainer/inline.mjs +155 -0
- package/ai/skills/stacks-technical-diagrams/explainer/layout.mjs +35 -0
- package/ai/skills/stacks-technical-diagrams/explainer/page-bundle.mjs +16 -0
- package/ai/skills/stacks-technical-diagrams/explainer/parse.mjs +300 -0
- package/ai/skills/stacks-technical-diagrams/explainer/patch.mjs +117 -0
- package/ai/skills/stacks-technical-diagrams/explainer/prepare.mjs +131 -0
- package/ai/skills/stacks-technical-diagrams/explainer/reader.css +472 -0
- package/ai/skills/stacks-technical-diagrams/explainer/reader.js +667 -0
- package/ai/skills/stacks-technical-diagrams/explainer/render.mjs +224 -0
- package/ai/skills/stacks-technical-diagrams/explainer/revision.mjs +20 -0
- package/ai/skills/stacks-technical-diagrams/explainer/sources.mjs +318 -0
- package/ai/skills/stacks-technical-diagrams/explainer/validate.mjs +138 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/LICENSE +40 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/README.md +5 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/3DKXF73K.js +4 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/42UTT654.js +3 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/DKTLEL5E.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/EEIX5ZYH.js +2 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/EJ5KOXYD.js +25 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/GUJTEFZK.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/IZOKQ2GT.js +4 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/L4LY553T.js +3 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/MSKIJHB2.js +2 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/RVARI57O.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/UKSIWDDN.js +2 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/UPTXNAXN.js +2 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/XTDUIGUI.js +9 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/chunks/YAYTP6L5.js +9 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/core.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/diagrams/pie.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/diagrams/quadrantChart.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/diagrams/radar.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/diagrams/sankey.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/diagrams/venn.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/vendor/pele/diagrams/xychart.js +1 -0
- package/ai/skills/stacks-technical-diagrams/explainer/writing.mjs +139 -0
- package/ai/skills/stacks-technical-diagrams/locales/README.md +40 -0
- package/ai/skills/stacks-technical-diagrams/locales/ar.json +488 -0
- package/ai/skills/stacks-technical-diagrams/locales/en.json +488 -0
- package/ai/skills/stacks-technical-diagrams/locales/es.json +488 -0
- package/ai/skills/stacks-technical-diagrams/locales/ko.json +488 -0
- package/ai/skills/stacks-technical-diagrams/locales/manifest.json +10 -0
- package/ai/skills/stacks-technical-diagrams/locales/zh-CN.json +488 -0
- package/ai/skills/stacks-technical-diagrams/locales/zh-TW.json +488 -0
- package/ai/skills/stacks-technical-diagrams/migrations/workflow-v2.mjs +1 -0
- package/ai/skills/stacks-technical-diagrams/recipes/scenarios.mjs +115 -51
- package/ai/skills/stacks-technical-diagrams/references/architecture-layout-repair.md +18 -0
- package/ai/skills/stacks-technical-diagrams/references/authoring-contract.md +453 -51
- package/ai/skills/stacks-technical-diagrams/references/authoring-defaults.md +57 -0
- package/ai/skills/stacks-technical-diagrams/references/brand-marks.md +57 -3
- package/ai/skills/stacks-technical-diagrams/references/delivery-contract.md +603 -58
- package/ai/skills/stacks-technical-diagrams/references/explainer-authoring.md +274 -0
- package/ai/skills/stacks-technical-diagrams/references/repository-authoring.md +126 -0
- package/ai/skills/stacks-technical-diagrams/references/update-awareness.md +13 -0
- package/ai/skills/stacks-technical-diagrams/references/viewer-runtime.md +18 -11
- package/ai/skills/stacks-technical-diagrams/renderers/architecture/grid.mjs +1 -1
- package/ai/skills/stacks-technical-diagrams/renderers/architecture/labels.mjs +2 -0
- package/ai/skills/stacks-technical-diagrams/renderers/architecture/render-architecture.mjs +550 -424
- package/ai/skills/stacks-technical-diagrams/renderers/architecture/routing.mjs +1469 -0
- package/ai/skills/stacks-technical-diagrams/renderers/class/README.md +129 -0
- package/ai/skills/stacks-technical-diagrams/renderers/class/render-class.mjs +1095 -0
- package/ai/skills/stacks-technical-diagrams/renderers/dataflow/README.md +89 -17
- package/ai/skills/stacks-technical-diagrams/renderers/dataflow/dataflow-compiler.mjs +1605 -0
- package/ai/skills/stacks-technical-diagrams/renderers/dataflow/joint-label-routing.mjs +165 -0
- package/ai/skills/stacks-technical-diagrams/renderers/dataflow/label-capacity.mjs +81 -0
- package/ai/skills/stacks-technical-diagrams/renderers/dataflow/render-dataflow.mjs +14 -474
- package/ai/skills/stacks-technical-diagrams/renderers/erd/README.md +246 -0
- package/ai/skills/stacks-technical-diagrams/renderers/erd/grid.mjs +150 -0
- package/ai/skills/stacks-technical-diagrams/renderers/erd/render-erd.mjs +1588 -0
- package/ai/skills/stacks-technical-diagrams/renderers/explainer/render-explainer.mjs +42 -0
- package/ai/skills/stacks-technical-diagrams/renderers/lifecycle/README.md +83 -94
- package/ai/skills/stacks-technical-diagrams/renderers/lifecycle/render-lifecycle.mjs +990 -417
- package/ai/skills/stacks-technical-diagrams/renderers/sequence/README.md +49 -17
- package/ai/skills/stacks-technical-diagrams/renderers/sequence/render-sequence.mjs +735 -94
- package/ai/skills/stacks-technical-diagrams/renderers/shared/atomic-output.mjs +1982 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/automatic-labels.mjs +290 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/brand-marks.mjs +169 -26
- package/ai/skills/stacks-technical-diagrams/renderers/shared/cli.mjs +266 -54
- package/ai/skills/stacks-technical-diagrams/renderers/shared/desktop-readability.mjs +106 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/diagnostics.mjs +0 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/generated-validators.mjs +268 -2
- package/ai/skills/stacks-technical-diagrams/renderers/shared/geometry.mjs +774 -124
- package/ai/skills/stacks-technical-diagrams/renderers/shared/i18n.mjs +289 -556
- package/ai/skills/stacks-technical-diagrams/renderers/shared/layout-report.mjs +18 -1
- package/ai/skills/stacks-technical-diagrams/renderers/shared/legend.mjs +16 -6
- package/ai/skills/stacks-technical-diagrams/renderers/shared/node-card-style.mjs +32 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/output-path.mjs +329 -229
- package/ai/skills/stacks-technical-diagrams/renderers/shared/owned-temp-directory.mjs +82 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/path-semantics.mjs +1017 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/portable-path.mjs +408 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/repository-evidence.mjs +235 -79
- package/ai/skills/stacks-technical-diagrams/renderers/shared/repository-location.mjs +17 -4
- package/ai/skills/stacks-technical-diagrams/renderers/shared/route-quality.mjs +670 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/sidecar-path.mjs +38 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/software-notices.mjs +6 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/spatial-grid.mjs +66 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/svg-path-analysis.mjs +135 -0
- package/ai/skills/stacks-technical-diagrams/renderers/shared/text-fit.mjs +59 -3
- package/ai/skills/stacks-technical-diagrams/renderers/shared/utils.mjs +63 -35
- package/ai/skills/stacks-technical-diagrams/renderers/shared/validator.mjs +2 -5
- package/ai/skills/stacks-technical-diagrams/renderers/timeline/README.md +76 -0
- package/ai/skills/stacks-technical-diagrams/renderers/timeline/render-timeline.mjs +576 -0
- package/ai/skills/stacks-technical-diagrams/renderers/tree/README.md +96 -0
- package/ai/skills/stacks-technical-diagrams/renderers/tree/render-tree.mjs +573 -0
- package/ai/skills/stacks-technical-diagrams/renderers/waterfall/README.md +73 -0
- package/ai/skills/stacks-technical-diagrams/renderers/waterfall/render-waterfall.mjs +413 -0
- package/ai/skills/stacks-technical-diagrams/renderers/workflow/README.md +137 -23
- package/ai/skills/stacks-technical-diagrams/renderers/workflow/render-workflow.mjs +18 -6
- package/ai/skills/stacks-technical-diagrams/renderers/workflow/workflow-compiler.mjs +2230 -710
- package/ai/skills/stacks-technical-diagrams/renderers/workflow/workflow-migration-geometry.mjs +17 -0
- package/ai/skills/stacks-technical-diagrams/renderers/workflow/workflow-placement-repair.mjs +94 -0
- package/ai/skills/stacks-technical-diagrams/schemas/README.md +87 -40
- package/ai/skills/stacks-technical-diagrams/schemas/architecture.schema.json +7 -33
- package/ai/skills/stacks-technical-diagrams/schemas/class.schema.json +345 -0
- package/ai/skills/stacks-technical-diagrams/schemas/common.schema.json +68 -2
- package/ai/skills/stacks-technical-diagrams/schemas/dataflow.schema.json +14 -3
- package/ai/skills/stacks-technical-diagrams/schemas/erd.schema.json +381 -0
- package/ai/skills/stacks-technical-diagrams/schemas/explainer.schema.json +927 -0
- package/ai/skills/stacks-technical-diagrams/schemas/lifecycle.schema.json +23 -110
- package/ai/skills/stacks-technical-diagrams/schemas/sequence.schema.json +15 -4
- package/ai/skills/stacks-technical-diagrams/schemas/timeline.schema.json +160 -0
- package/ai/skills/stacks-technical-diagrams/schemas/tree.schema.json +141 -0
- package/ai/skills/stacks-technical-diagrams/schemas/waterfall.schema.json +147 -0
- package/ai/skills/stacks-technical-diagrams/schemas/workflow.schema.json +14 -3
- package/ai/skills/stacks-technical-diagrams/scripts/check-render-output.mjs +876 -243
- package/ai/skills/stacks-technical-diagrams/scripts/check-update.mjs +1717 -0
- package/ai/skills/stacks-technical-diagrams/scripts/delivery-update-child.mjs +26 -0
- package/ai/skills/stacks-technical-diagrams/scripts/generate-brand-marks.mjs +141 -0
- package/ai/skills/stacks-technical-diagrams/scripts/generate-validators.mjs +105 -0
- package/ai/skills/stacks-technical-diagrams/scripts/render-examples.mjs +11 -1
- package/ai/skills/stacks-technical-diagrams/scripts/update-contract.mjs +187 -0
- package/ai/skills/stacks-technical-diagrams/skill-release.json +10 -0
- package/ai/skills/stacks-testing/SKILL.md +8 -1
- package/ide/vscode/package.json +1 -1
- package/package.json +2 -2
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://github.com/tt-a1i/archify/schemas/lifecycle.schema.json",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "Archify Lifecycle Diagram",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": [
|
|
8
8
|
"schema_version",
|
|
9
9
|
"diagram_type",
|
|
10
10
|
"meta",
|
|
11
|
-
"
|
|
11
|
+
"mainPath",
|
|
12
12
|
"states",
|
|
13
13
|
"transitions"
|
|
14
14
|
],
|
|
15
15
|
"properties": {
|
|
16
16
|
"schema_version": {
|
|
17
|
-
"
|
|
17
|
+
"description": "Lifecycle uses version 3: an automatic main-path layout.",
|
|
18
|
+
"const": 3
|
|
18
19
|
},
|
|
19
20
|
"diagram_type": {
|
|
20
21
|
"const": "lifecycle"
|
|
@@ -23,7 +24,8 @@
|
|
|
23
24
|
"type": "object",
|
|
24
25
|
"additionalProperties": false,
|
|
25
26
|
"required": [
|
|
26
|
-
"title"
|
|
27
|
+
"title",
|
|
28
|
+
"output"
|
|
27
29
|
],
|
|
28
30
|
"properties": {
|
|
29
31
|
"title": {
|
|
@@ -33,11 +35,14 @@
|
|
|
33
35
|
"locale": {
|
|
34
36
|
"$ref": "common.schema.json#/$defs/locale"
|
|
35
37
|
},
|
|
38
|
+
"translations": {
|
|
39
|
+
"$ref": "common.schema.json#/$defs/translations"
|
|
40
|
+
},
|
|
36
41
|
"subtitle": {
|
|
37
42
|
"type": "string"
|
|
38
43
|
},
|
|
39
44
|
"output": {
|
|
40
|
-
"
|
|
45
|
+
"$ref": "common.schema.json#/$defs/portableOutputPath"
|
|
41
46
|
},
|
|
42
47
|
"animation": {
|
|
43
48
|
"$ref": "common.schema.json#/$defs/animation"
|
|
@@ -48,6 +53,9 @@
|
|
|
48
53
|
"quality_profile": {
|
|
49
54
|
"$ref": "common.schema.json#/$defs/qualityProfile"
|
|
50
55
|
},
|
|
56
|
+
"repository": {
|
|
57
|
+
"$ref": "common.schema.json#/$defs/repository"
|
|
58
|
+
},
|
|
51
59
|
"views": {
|
|
52
60
|
"$ref": "common.schema.json#/$defs/guidedViews"
|
|
53
61
|
},
|
|
@@ -71,45 +79,15 @@
|
|
|
71
79
|
}
|
|
72
80
|
}
|
|
73
81
|
}
|
|
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
82
|
}
|
|
91
83
|
}
|
|
92
84
|
},
|
|
93
|
-
"
|
|
85
|
+
"mainPath": {
|
|
86
|
+
"description": "The happy path from the initial state, left to right. Each consecutive pair needs a transition. Every other state is placed below the state it branches from; transitions back to an earlier main-path state are drawn as loops above.",
|
|
94
87
|
"type": "array",
|
|
95
|
-
"minItems":
|
|
96
|
-
"maxItems": 4,
|
|
88
|
+
"minItems": 2,
|
|
97
89
|
"items": {
|
|
98
|
-
"
|
|
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
|
-
}
|
|
90
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
113
91
|
}
|
|
114
92
|
},
|
|
115
93
|
"states": {
|
|
@@ -121,15 +99,14 @@
|
|
|
121
99
|
"required": [
|
|
122
100
|
"id",
|
|
123
101
|
"type",
|
|
124
|
-
"label"
|
|
125
|
-
"lane",
|
|
126
|
-
"col"
|
|
102
|
+
"label"
|
|
127
103
|
],
|
|
128
104
|
"properties": {
|
|
129
105
|
"id": {
|
|
130
106
|
"$ref": "common.schema.json#/$defs/id"
|
|
131
107
|
},
|
|
132
108
|
"type": {
|
|
109
|
+
"description": "start: the initial state. active: work in progress. waiting: paused for a person, time, or input. decision: a review or branch point (Mermaid <<choice>>). success / failure: a good or bad outcome. neutral: parked, or ended without success or failure. external: handled by an outside party. Color and the default corner sigil follow the type.",
|
|
133
110
|
"enum": [
|
|
134
111
|
"start",
|
|
135
112
|
"active",
|
|
@@ -151,30 +128,15 @@
|
|
|
151
128
|
"tag": {
|
|
152
129
|
"type": "string"
|
|
153
130
|
},
|
|
131
|
+
"icon": { "$ref": "common.schema.json#/$defs/nodeIcon" },
|
|
154
132
|
"brand": {
|
|
155
133
|
"$ref": "common.schema.json#/$defs/brandMark"
|
|
156
134
|
},
|
|
135
|
+
"sources": {
|
|
136
|
+
"$ref": "common.schema.json#/$defs/sourceReferences"
|
|
137
|
+
},
|
|
157
138
|
"step": {
|
|
158
139
|
"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
140
|
}
|
|
179
141
|
}
|
|
180
142
|
}
|
|
@@ -206,55 +168,6 @@
|
|
|
206
168
|
},
|
|
207
169
|
"variant": {
|
|
208
170
|
"$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
171
|
}
|
|
259
172
|
}
|
|
260
173
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://github.com/tt-a1i/archify/schemas/sequence.schema.json",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "Archify Sequence Diagram",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": [
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"type": "object",
|
|
23
23
|
"additionalProperties": false,
|
|
24
24
|
"required": [
|
|
25
|
-
"title"
|
|
25
|
+
"title",
|
|
26
|
+
"output"
|
|
26
27
|
],
|
|
27
28
|
"properties": {
|
|
28
29
|
"title": {
|
|
@@ -32,11 +33,14 @@
|
|
|
32
33
|
"locale": {
|
|
33
34
|
"$ref": "common.schema.json#/$defs/locale"
|
|
34
35
|
},
|
|
36
|
+
"translations": {
|
|
37
|
+
"$ref": "common.schema.json#/$defs/translations"
|
|
38
|
+
},
|
|
35
39
|
"subtitle": {
|
|
36
40
|
"type": "string"
|
|
37
41
|
},
|
|
38
42
|
"output": {
|
|
39
|
-
"
|
|
43
|
+
"$ref": "common.schema.json#/$defs/portableOutputPath"
|
|
40
44
|
},
|
|
41
45
|
"animation": {
|
|
42
46
|
"$ref": "common.schema.json#/$defs/animation"
|
|
@@ -48,9 +52,12 @@
|
|
|
48
52
|
"$ref": "common.schema.json#/$defs/qualityProfile"
|
|
49
53
|
},
|
|
50
54
|
"column_fit": {
|
|
51
|
-
"description": "Horizontal participant layout.
|
|
55
|
+
"description": "Horizontal participant layout. Defaults to spread whether or not meta.viewBox is supplied. Explicit fixed preserves the historical 86px boxes and 108px column gap. Use spread when a wide viewBox would leave unused horizontal space or meaningful participant labels do not fit the fixed boxes; spread derives box width and column distance from the viewBox with at least a 16px gap between participant cards without changing participant order or message semantics.",
|
|
52
56
|
"enum": ["fixed", "spread"]
|
|
53
57
|
},
|
|
58
|
+
"repository": {
|
|
59
|
+
"$ref": "common.schema.json#/$defs/repository"
|
|
60
|
+
},
|
|
54
61
|
"views": {
|
|
55
62
|
"$ref": "common.schema.json#/$defs/guidedViews"
|
|
56
63
|
},
|
|
@@ -115,8 +122,12 @@
|
|
|
115
122
|
"sublabel": {
|
|
116
123
|
"type": "string"
|
|
117
124
|
},
|
|
125
|
+
"icon": { "$ref": "common.schema.json#/$defs/nodeIcon" },
|
|
118
126
|
"brand": {
|
|
119
127
|
"$ref": "common.schema.json#/$defs/brandMark"
|
|
128
|
+
},
|
|
129
|
+
"sources": {
|
|
130
|
+
"$ref": "common.schema.json#/$defs/sourceReferences"
|
|
120
131
|
}
|
|
121
132
|
}
|
|
122
133
|
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/tt-a1i/archify/schemas/timeline.schema.json",
|
|
4
|
+
"title": "Archify Event Timeline",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"diagram_type",
|
|
10
|
+
"meta",
|
|
11
|
+
"events"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schema_version": {
|
|
15
|
+
"const": 1
|
|
16
|
+
},
|
|
17
|
+
"diagram_type": {
|
|
18
|
+
"const": "timeline"
|
|
19
|
+
},
|
|
20
|
+
"meta": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": [
|
|
24
|
+
"title",
|
|
25
|
+
"evidence"
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"title": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
"locale": {
|
|
33
|
+
"$ref": "common.schema.json#/$defs/locale"
|
|
34
|
+
},
|
|
35
|
+
"translations": {
|
|
36
|
+
"$ref": "common.schema.json#/$defs/translations"
|
|
37
|
+
},
|
|
38
|
+
"subtitle": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"output": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"animation": {
|
|
45
|
+
"$ref": "common.schema.json#/$defs/animation"
|
|
46
|
+
},
|
|
47
|
+
"visual_preset": {
|
|
48
|
+
"$ref": "common.schema.json#/$defs/visualPreset"
|
|
49
|
+
},
|
|
50
|
+
"quality_profile": {
|
|
51
|
+
"$ref": "common.schema.json#/$defs/qualityProfile"
|
|
52
|
+
},
|
|
53
|
+
"repository": {
|
|
54
|
+
"$ref": "common.schema.json#/$defs/repository"
|
|
55
|
+
},
|
|
56
|
+
"views": {
|
|
57
|
+
"$ref": "common.schema.json#/$defs/guidedViews"
|
|
58
|
+
},
|
|
59
|
+
"evidence": {
|
|
60
|
+
"enum": [
|
|
61
|
+
"observed",
|
|
62
|
+
"illustrative"
|
|
63
|
+
],
|
|
64
|
+
"description": "Whether the events are recorded observations or illustrative input; drawn on the canvas."
|
|
65
|
+
},
|
|
66
|
+
"timezone": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"minLength": 1,
|
|
69
|
+
"description": "IANA time zone used for axis and event labels; defaults to UTC."
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"layout": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"properties": {
|
|
77
|
+
"width": {
|
|
78
|
+
"type": "number",
|
|
79
|
+
"minimum": 480,
|
|
80
|
+
"description": "Drawing width of the time axis in px."
|
|
81
|
+
},
|
|
82
|
+
"breaks": {
|
|
83
|
+
"enum": [
|
|
84
|
+
"auto",
|
|
85
|
+
"none"
|
|
86
|
+
],
|
|
87
|
+
"description": "auto compresses long quiet periods into disclosed axis breaks."
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"lanes": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"required": [
|
|
97
|
+
"id",
|
|
98
|
+
"label"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"id": {
|
|
102
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
103
|
+
},
|
|
104
|
+
"label": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"minLength": 1
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"events": {
|
|
112
|
+
"type": "array",
|
|
113
|
+
"minItems": 1,
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": [
|
|
118
|
+
"id",
|
|
119
|
+
"at",
|
|
120
|
+
"title"
|
|
121
|
+
],
|
|
122
|
+
"properties": {
|
|
123
|
+
"id": {
|
|
124
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
125
|
+
},
|
|
126
|
+
"at": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$",
|
|
129
|
+
"description": "ISO 8601 timestamp with an explicit Z or ±HH:MM offset."
|
|
130
|
+
},
|
|
131
|
+
"title": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1
|
|
134
|
+
},
|
|
135
|
+
"detail": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"lane": {
|
|
139
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
140
|
+
},
|
|
141
|
+
"kind": {
|
|
142
|
+
"enum": [
|
|
143
|
+
"default",
|
|
144
|
+
"change",
|
|
145
|
+
"alert",
|
|
146
|
+
"action",
|
|
147
|
+
"recovery"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"sources": {
|
|
151
|
+
"$ref": "common.schema.json#/$defs/sourceReferences"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"cards": {
|
|
157
|
+
"$ref": "common.schema.json#/$defs/cards"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/tt-a1i/archify/schemas/tree.schema.json",
|
|
4
|
+
"title": "Archify Hierarchy and Tree Diagram",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema_version",
|
|
9
|
+
"diagram_type",
|
|
10
|
+
"meta",
|
|
11
|
+
"nodes"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schema_version": {
|
|
15
|
+
"const": 1
|
|
16
|
+
},
|
|
17
|
+
"diagram_type": {
|
|
18
|
+
"const": "tree"
|
|
19
|
+
},
|
|
20
|
+
"meta": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": [
|
|
24
|
+
"title"
|
|
25
|
+
],
|
|
26
|
+
"properties": {
|
|
27
|
+
"title": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"locale": {
|
|
32
|
+
"$ref": "common.schema.json#/$defs/locale"
|
|
33
|
+
},
|
|
34
|
+
"translations": {
|
|
35
|
+
"$ref": "common.schema.json#/$defs/translations"
|
|
36
|
+
},
|
|
37
|
+
"subtitle": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"output": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"animation": {
|
|
44
|
+
"$ref": "common.schema.json#/$defs/animation"
|
|
45
|
+
},
|
|
46
|
+
"visual_preset": {
|
|
47
|
+
"$ref": "common.schema.json#/$defs/visualPreset"
|
|
48
|
+
},
|
|
49
|
+
"quality_profile": {
|
|
50
|
+
"$ref": "common.schema.json#/$defs/qualityProfile"
|
|
51
|
+
},
|
|
52
|
+
"repository": {
|
|
53
|
+
"$ref": "common.schema.json#/$defs/repository"
|
|
54
|
+
},
|
|
55
|
+
"views": {
|
|
56
|
+
"$ref": "common.schema.json#/$defs/guidedViews"
|
|
57
|
+
},
|
|
58
|
+
"viewBox": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"prefixItems": [
|
|
61
|
+
{
|
|
62
|
+
"type": "number",
|
|
63
|
+
"minimum": 320
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "number",
|
|
67
|
+
"minimum": 240
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"items": false,
|
|
71
|
+
"minItems": 2,
|
|
72
|
+
"maxItems": 2
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"layout": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"properties": {
|
|
80
|
+
"direction": {
|
|
81
|
+
"enum": [
|
|
82
|
+
"down",
|
|
83
|
+
"right"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"gapX": {
|
|
87
|
+
"type": "number",
|
|
88
|
+
"minimum": 16
|
|
89
|
+
},
|
|
90
|
+
"gapY": {
|
|
91
|
+
"type": "number",
|
|
92
|
+
"minimum": 24
|
|
93
|
+
},
|
|
94
|
+
"nodeW": {
|
|
95
|
+
"type": "number",
|
|
96
|
+
"minimum": 96
|
|
97
|
+
},
|
|
98
|
+
"nodeMaxW": {
|
|
99
|
+
"type": "number",
|
|
100
|
+
"minimum": 120
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"nodes": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"minItems": 1,
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"additionalProperties": false,
|
|
110
|
+
"required": [
|
|
111
|
+
"id",
|
|
112
|
+
"label"
|
|
113
|
+
],
|
|
114
|
+
"properties": {
|
|
115
|
+
"id": {
|
|
116
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
117
|
+
},
|
|
118
|
+
"label": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"minLength": 1
|
|
121
|
+
},
|
|
122
|
+
"parent": {
|
|
123
|
+
"$ref": "common.schema.json#/$defs/id"
|
|
124
|
+
},
|
|
125
|
+
"sublabel": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
"collapsed": {
|
|
129
|
+
"type": "boolean"
|
|
130
|
+
},
|
|
131
|
+
"sources": {
|
|
132
|
+
"$ref": "common.schema.json#/$defs/sourceReferences"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"cards": {
|
|
138
|
+
"$ref": "common.schema.json#/$defs/cards"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|