Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
feat: redesign the new diagram types for readability and polish
tt-a1ie48ad347afd7
diff --git a/archify.zip b/archify.zipindex 0ec6e626..d0a539c3 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/examples/archify-dev-activity.timeline.json b/archify/examples/archify-dev-activity.timeline.jsonindex 578599b1..d799c85e 100644--- a/archify/examples/archify-dev-activity.timeline.json+++ b/archify/examples/archify-dev-activity.timeline.json@@ -9,6 +9,9 @@"timezone": "Asia/Shanghai","quality_profile": "showcase"},+ "layout": {+ "width": 1400+ },"lanes": [{"id": "release",diff --git a/archify/examples/archify-repository.tree.json b/archify/examples/archify-repository.tree.jsonindex 5f079f78..923b8ad4 100644--- a/archify/examples/archify-repository.tree.json+++ b/archify/examples/archify-repository.tree.json@@ -3,18 +3,18 @@"diagram_type": "tree","meta": {"title": "Archify repository layout",- "subtitle": "Observed directory and module structure of this repository (selected files). The Viewer branch starts collapsed.",+ "subtitle": "Observed directory structure of this repository (selected files). Runs of three or more files are listed; the viewer/ branch starts collapsed.","output": "archify-repository-tree.html","quality_profile": "showcase"},"layout": {- "direction": "right"+ "direction": "down"},"nodes": [{"id": "repo","label": "archify repository",- "sublabel": "Skill package, viewer, and site sources"+ "sublabel": "Skill, viewer, and site"},{"id": "skill",@@ -26,7 +26,7 @@"id": "viewer","label": "viewer/","parent": "repo",- "sublabel": "Viewer sources inlined into the template",+ "sublabel": "Inlined into the template","collapsed": true},{@@ -39,13 +39,13 @@"id": "scripts","label": "scripts/","parent": "repo",- "sublabel": "Build and freshness tooling"+ "sublabel": "Build and freshness tools"},{"id": "renderers","label": "renderers/","parent": "skill",- "sublabel": "One renderer per diagram type"+ "sublabel": "One per diagram type"},{"id": "schemas",@@ -63,19 +63,19 @@"id": "references","label": "references/","parent": "skill",- "sublabel": "Authoring and delivery contracts"+ "sublabel": "Authoring contracts"},{"id": "r_arch","label": "architecture/","parent": "renderers",- "sublabel": "Components, boundaries, orthogonal router"+ "sublabel": "Boundaries and router"},{"id": "r_workflow","label": "workflow/","parent": "renderers",- "sublabel": "Workflow compiler and renderer"+ "sublabel": "Workflow compiler"},{"id": "r_sequence",@@ -96,49 +96,55 @@"id": "r_erd","label": "erd/","parent": "renderers",- "sublabel": "Banded grid and crow's foot markers"+ "sublabel": "Crow's foot markers"},{"id": "r_tree","label": "tree/","parent": "renderers",- "sublabel": "This hierarchy renderer"+ "sublabel": "This renderer"},{"id": "r_shared","label": "shared/","parent": "renderers",- "sublabel": "Helpers every renderer imports"+ "sublabel": "Shared helpers"},{"id": "s_cli","label": "cli.mjs","parent": "r_shared",- "sublabel": "Load, validate, and write one diagram"+ "sublabel": "Load, validate, write"},{"id": "s_geometry","label": "geometry.mjs","parent": "r_shared",- "sublabel": "Clean Flow and composition gates"+ "sublabel": "Composition gates"},{"id": "s_i18n","label": "i18n.mjs","parent": "r_shared",- "sublabel": "Bundled locale catalogs"+ "sublabel": "Locale catalogs"},{"id": "s_validators","label": "generated-validators.mjs","parent": "r_shared",- "sublabel": "Standalone schema validators"+ "sublabel": "Schema validators"},{"id": "b_archify","label": "archify.mjs","parent": "bin",- "sublabel": "validate, deliver, finalize, doctor"+ "sublabel": "CLI: validate, finalize"+ },+ {+ "id": "b_finalize",+ "label": "finalize.mjs",+ "parent": "bin",+ "sublabel": "Render, check, deliver"},{"id": "b_preview",@@ -150,19 +156,19 @@"id": "v_focus","label": "focus.js","parent": "viewer",- "sublabel": "Semantic passport and reach"+ "sublabel": "Semantic passport"},{"id": "v_export","label": "export.js","parent": "viewer",- "sublabel": "SVG, PNG, JPEG, WebP, WebM export"+ "sublabel": "SVG, PNG, WebM export"},{"id": "v_tree","label": "tree-branches.js","parent": "viewer",- "sublabel": "Expand and collapse for trees"+ "sublabel": "Expand and collapse"},{"id": "v_camera",@@ -174,13 +180,13 @@"id": "sc_viewer","label": "generate-viewer.mjs","parent": "scripts",- "sublabel": "Inlines viewer/ into the template"+ "sublabel": "Inlines viewer/"},{"id": "sc_zip","label": "build-zip.sh","parent": "scripts",- "sublabel": "Deterministic Skill archive"+ "sublabel": "Deterministic archive"},{"id": "sc_gallery",diff --git a/archify/examples/checkout-request.waterfall.json b/archify/examples/checkout-request.waterfall.jsonindex ad6b487e..d3cb4416 100644--- a/archify/examples/checkout-request.waterfall.json+++ b/archify/examples/checkout-request.waterfall.json@@ -10,11 +10,11 @@"quality_profile": "showcase"},"spans": [- { "id": "request", "name": "POST /checkout", "start": 0, "end": 1200, "detail": "Parent of every step below; its duration is not added to theirs." },- { "id": "auth", "name": "Authenticate caller", "start": 0, "duration": 100, "parent": "request" },- { "id": "inventory", "name": "Look up inventory", "start": 100, "duration": 300, "parent": "request" },- { "id": "discount", "name": "Calculate discount", "start": 100, "duration": 200, "parent": "request" },- { "id": "payment", "name": "Charge payment", "start": 400, "duration": 650, "parent": "request" },- { "id": "save", "name": "Write order", "start": 1050, "duration": 150, "parent": "request" }+ { "id": "request", "name": "POST /checkout", "service": "checkout-api", "start": 0, "end": 1200, "detail": "Parent of every step below; its duration is not added to theirs." },+ { "id": "auth", "name": "Authenticate caller", "service": "identity", "start": 0, "duration": 100, "parent": "request" },+ { "id": "inventory", "name": "Look up inventory", "service": "inventory", "start": 100, "duration": 300, "parent": "request" },+ { "id": "discount", "name": "Calculate discount", "service": "checkout-api", "start": 100, "duration": 200, "parent": "request" },+ { "id": "payment", "name": "Charge payment", "service": "payments", "start": 400, "duration": 650, "parent": "request" },+ { "id": "save", "name": "Write order", "service": "checkout-api", "start": 1050, "duration": 150, "parent": "request" }]}diff --git a/archify/examples/class-payment-processors-rendered.html b/archify/examples/class-payment-processors-rendered.htmlindex 4a8e9b20..819a5eb5 100644--- a/archify/examples/class-payment-processors-rendered.html+++ b/archify/examples/class-payment-processors-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1640 741" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1640 778" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment processor hierarchy</title><desc id="archify-diagram-description">Illustrative module: one processor contract, a retrying base class, and five provider implementations.</desc><!-- Definitions -->@@ -5059,299 +5059,300 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Relationships (before types for correct z-order) -->- <path data-edge-from="checkout_orchestrator" data-edge-to="processor_registry" data-edge-label="selects via" data-edge-key="0" data-edge-id="orchestrator_registry" data-class-relationship="association" data-composition-points="332,124;460,124" d="M 332 124 L 460 124" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="processor_registry" data-edge-to="payment_processor" data-edge-label="holds" data-edge-key="1" data-edge-id="registry_processors" data-class-relationship="aggregation" data-composition-points="760,124;888,124" d="M 760 124 L 888 124" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>- <path data-edge-from="checkout_orchestrator" data-edge-to="order" data-edge-label="updates" data-edge-key="2" data-edge-id="orchestrator_order" data-class-relationship="dependency" data-composition-points="182,208;182,292" d="M 182 208 L 182 292" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="order" data-edge-to="line_item" data-edge-label="owns lines" data-edge-key="3" data-edge-id="order_lines" data-class-relationship="composition" data-composition-points="182,479;182,567.5" d="M 182 479 L 182 567.5" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>- <path data-edge-from="order" data-edge-to="payment_status" data-edge-key="4" data-edge-id="order_status" data-class-relationship="association" data-composition-points="332,385.5;519,385.5" d="M 332 385.5 L 519 385.5" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="retrying_processor" data-edge-to="payment_processor" data-edge-key="5" data-edge-id="retrying_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1038,296.5;1038,208" d="M 1038 208 L 1038 296.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="bank_transfer" data-edge-to="payment_processor" data-edge-key="6" data-edge-id="bank_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1466,325.5;1466,252;1038,252;1038,208" d="M 1038 208 L 1038 244 Q 1038 252 1046 252 L 1458 252 Q 1466 252 1466 260 L 1466 325.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="stripe_card" data-edge-to="retrying_processor" data-edge-key="7" data-edge-id="stripe_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="610,582;610,519;1038,519;1038,474.5" d="M 1038 474.5 L 1038 511 Q 1038 519 1030 519 L 618 519 Q 610 519 610 527 L 610 582" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="adyen_card" data-edge-to="retrying_processor" data-edge-key="8" data-edge-id="adyen_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1038,582;1038,474.5" d="M 1038 474.5 L 1038 582" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="paypal_wallet" data-edge-to="retrying_processor" data-edge-key="9" data-edge-id="paypal_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1466,563;1466,519;1038,519;1038,474.5" d="M 1038 474.5 L 1038 511 Q 1038 519 1046 519 L 1458 519 Q 1466 519 1466 527 L 1466 563" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="checkout_orchestrator" data-edge-to="processor_registry" data-edge-label="selects via" data-edge-key="0" data-edge-id="orchestrator_registry" data-class-relationship="association" data-composition-points="332,137;460,137" d="M 332 137 L 460 137" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="processor_registry" data-edge-to="payment_processor" data-edge-label="holds" data-edge-key="1" data-edge-id="registry_processors" data-class-relationship="aggregation" data-composition-points="760,137;1102,137" d="M 760 137 L 1102 137" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>+ <path data-edge-from="checkout_orchestrator" data-edge-to="order" data-edge-label="updates" data-edge-key="2" data-edge-id="orchestrator_order" data-class-relationship="dependency" data-composition-points="182,224;182,318" d="M 182 224 L 182 318" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="order" data-edge-to="line_item" data-edge-label="owns lines" data-edge-key="3" data-edge-id="order_lines" data-class-relationship="composition" data-composition-points="182,512;182,601" d="M 182 512 L 182 601" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>+ <path data-edge-from="order" data-edge-to="payment_status" data-edge-key="4" data-edge-id="order_status" data-class-relationship="association" data-composition-points="332,415;517,415" d="M 332 415 L 517 415" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="retrying_processor" data-edge-to="payment_processor" data-edge-key="5" data-edge-id="retrying_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1038,323;1038,279;1252,279;1252,234" d="M 1252 234 L 1252 271 Q 1252 279 1244 279 L 1046 279 Q 1038 279 1038 287 L 1038 323" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="bank_transfer" data-edge-to="payment_processor" data-edge-key="6" data-edge-id="bank_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1466,353;1466,279;1252,279;1252,234" d="M 1252 234 L 1252 271 Q 1252 279 1260 279 L 1458 279 Q 1466 279 1466 287 L 1466 353" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="stripe_card" data-edge-to="retrying_processor" data-edge-key="7" data-edge-id="stripe_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="610,616;610,552;1038,552;1038,507" d="M 1038 507 L 1038 544 Q 1038 552 1030 552 L 618 552 Q 610 552 610 560 L 610 616" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="adyen_card" data-edge-to="retrying_processor" data-edge-key="8" data-edge-id="adyen_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1038,616;1038,507" d="M 1038 507 L 1038 616" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="paypal_wallet" data-edge-to="retrying_processor" data-edge-key="9" data-edge-id="paypal_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1466,596;1466,552;1038,552;1038,507" d="M 1038 507 L 1038 544 Q 1038 552 1046 552 L 1458 552 Q 1466 552 1466 560 L 1466 596" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/><!-- Types --><g id="node-checkout_orchestrator" data-node-id="checkout_orchestrator" data-node-label="CheckoutOrchestrator" tabindex="0" role="button" aria-label="Focus CheckoutOrchestrator, Runs one checkout from order to receipt, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Runs one checkout from order to receipt" data-node-context="Class" data-class-kind="class"><title>CheckoutOrchestrator · Runs one checkout from order to receipt · Class</title>- <rect x="32" y="40" width="300" height="168" rx="6" class="c-mask"/>- <rect x="32" y="40" width="300" height="168" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 38 40 H 326 Q 332 40 332 46 V 74 H 32 V 46 Q 32 40 38 40 Z"/>+ <rect x="32" y="50" width="300" height="174" rx="6" class="c-mask"/>+ <rect x="32" y="50" width="300" height="174" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 38 50 H 326 Q 332 50 332 56 V 84 H 32 V 56 Q 32 50 38 50 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="52" cy="57" r="8" class="c-backend" stroke-width="1.25"/>- <text x="52" y="60.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="52" cy="67" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="52" y="70.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="182" y="62" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">CheckoutOrchestrator</text>+ <text data-node-label="" x="182" y="72" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">CheckoutOrchestrator</text><g data-detail="context" data-class-compartment="attributes">- <line x1="32" y1="74" x2="332" y2="74" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="44" y="93" class="t-primary cl-member" font-size="10.5">- registry: ProcessorRegistry</text>- <text data-detail="context" data-class-member="attributes" x="44" y="112" class="t-primary cl-member" font-size="10.5">- clock: Clock</text>+ <line x1="32" y1="84" x2="332" y2="84" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="44" y="104" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> registry<tspan class="t-muted">: ProcessorRegistry</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="44" y="124" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> clock<tspan class="t-muted">: Clock</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="32" y1="122" x2="332" y2="122" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="44" y="141" class="t-primary cl-member" font-size="10.5">+ checkout(order: Order,</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="160" class="t-primary cl-member" font-size="10.5">key: IdempotencyKey): CheckoutResult</text>- <text data-detail="context" data-class-member="methods" x="44" y="179" class="t-primary cl-member" font-size="10.5">+ cancelPendingAuthorization(</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="198" class="t-primary cl-member" font-size="10.5">orderId: OrderId): void</text>+ <line x1="32" y1="134" x2="332" y2="134" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="44" y="154" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> checkout(order<tspan class="t-muted">: Order</tspan>,</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="174" class="t-primary cl-member" font-size="11">key<tspan class="t-muted">: IdempotencyKey</tspan>)<tspan class="t-muted">: CheckoutResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="44" y="194" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> cancelPendingAuthorization(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="214" class="t-primary cl-member" font-size="11">orderId<tspan class="t-muted">: OrderId</tspan>)<tspan class="t-muted">: void</tspan></text></g></g><g id="node-processor_registry" data-node-id="processor_registry" data-node-label="ProcessorRegistry" tabindex="0" role="button" aria-label="Focus ProcessorRegistry, Selects a processor for a payment method, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Selects a processor for a payment method" data-node-context="Class" data-class-kind="class"><title>ProcessorRegistry · Selects a processor for a payment method · Class</title>- <rect x="460" y="59" width="300" height="130" rx="6" class="c-mask"/>- <rect x="460" y="59" width="300" height="130" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 466 59 H 754 Q 760 59 760 65 V 93 H 460 V 65 Q 460 59 466 59 Z"/>+ <rect x="460" y="70" width="300" height="134" rx="6" class="c-mask"/>+ <rect x="460" y="70" width="300" height="134" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 466 70 H 754 Q 760 70 760 76 V 104 H 460 V 76 Q 460 70 466 70 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="480" cy="76" r="8" class="c-backend" stroke-width="1.25"/>- <text x="480" y="79.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="480" cy="87" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="480" y="90.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="610" y="81" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">ProcessorRegistry</text>+ <text data-node-label="" x="610" y="92" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">ProcessorRegistry</text><g data-detail="context" data-class-compartment="attributes">- <line x1="460" y1="93" x2="760" y2="93" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="472" y="112" class="t-primary cl-member" font-size="10.5">- processors: Map<MethodType,</text>- <text data-detail="context" data-class-member="attributes" data-class-continuation="" x="484.6" y="131" class="t-primary cl-member" font-size="10.5">PaymentProcessor></text>+ <line x1="460" y1="104" x2="760" y2="104" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="472" y="124" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> processors<tspan class="t-muted">: Map<MethodType</tspan>,</text>+ <text data-detail="context" data-class-member="attributes" data-class-continuation="" x="485.2" y="144" class="t-primary cl-member" font-size="11">PaymentProcessor></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="460" y1="141" x2="760" y2="141" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="472" y="160" class="t-primary cl-member" font-size="10.5">+ processorFor(method: PaymentMethod</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="484.6" y="179" class="t-primary cl-member" font-size="10.5">): PaymentProcessor</text>+ <line x1="460" y1="154" x2="760" y2="154" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="472" y="174" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> processorFor(method<tspan class="t-muted">: PaymentMethod</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="485.2" y="194" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: PaymentProcessor</tspan></text></g></g><g id="node-payment_processor" data-node-id="payment_processor" data-node-label="PaymentProcessor" tabindex="0" role="button" aria-label="Focus PaymentProcessor, Authorize, capture, and refund contract, Interface" aria-pressed="false" data-node-kind="interface" data-node-sublabel="Authorize, capture, and refund contract" data-node-context="Interface" data-class-kind="interface"><title>PaymentProcessor · Authorize, capture, and refund contract · Interface</title>- <rect x="888" y="40" width="300" height="168" rx="6" class="c-mask"/>- <rect x="888" y="40" width="300" height="168" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>- <path class="cl-header c-frontend" stroke="none" d="M 894 40 H 1182 Q 1188 40 1188 46 V 84 H 888 V 46 Q 888 40 894 40 Z"/>+ <rect x="1102" y="40" width="300" height="194" rx="6" class="c-mask"/>+ <rect x="1102" y="40" width="300" height="194" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-frontend" stroke="none" d="M 1108 40 H 1396 Q 1402 40 1402 46 V 84 H 1102 V 46 Q 1102 40 1108 40 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="908" cy="62" r="8" class="c-frontend" stroke-width="1.25"/>- <text x="908" y="65.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text>+ <circle cx="1122" cy="62" r="8" class="c-frontend" stroke-width="1.25"/>+ <text x="1122" y="65.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text></g>- <text x="1038" y="56" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>- <text data-node-label="" x="1038" y="74" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PaymentProcessor</text>+ <text x="1252" y="56" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>+ <text data-node-label="" x="1252" y="74" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PaymentProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="888" y1="84" x2="1188" y2="84" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="900" y="103" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ authorize(request: AuthorizationRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="122" class="t-primary cl-member" font-size="10.5" style="font-style: italic">): AuthorizationResult</text>- <text data-detail="context" data-class-member="methods" x="900" y="141" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ capture(authorization: AuthorizationId,</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="160" class="t-primary cl-member" font-size="10.5" style="font-style: italic">amount: Money): CaptureResult</text>- <text data-detail="context" data-class-member="methods" x="900" y="179" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ refund(capture: CaptureId, amount: Money</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="198" class="t-primary cl-member" font-size="10.5" style="font-style: italic">): RefundResult</text>+ <line x1="1102" y1="84" x2="1402" y2="84" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="1114" y="104" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> authorize(request<tspan class="t-muted">: AuthorizationRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="124" class="t-primary cl-member" font-size="11" style="font-style: italic">)<tspan class="t-muted">: AuthorizationResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1114" y="144" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> capture(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="164" class="t-primary cl-member" font-size="11" style="font-style: italic">authorization<tspan class="t-muted">: AuthorizationId</tspan>,</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="184" class="t-primary cl-member" font-size="11" style="font-style: italic">amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: CaptureResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1114" y="204" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> refund(capture<tspan class="t-muted">: CaptureId</tspan>,</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="224" class="t-primary cl-member" font-size="11" style="font-style: italic">amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: RefundResult</tspan></text></g></g><g id="node-order" data-node-id="order" data-node-label="Order" tabindex="0" role="button" aria-label="Focus Order, Aggregate root for one purchase, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Aggregate root for one purchase" data-node-context="Class" data-class-kind="class"><title>Order · Aggregate root for one purchase · Class</title>- <rect x="32" y="292" width="300" height="187" rx="6" class="c-mask"/>- <rect x="32" y="292" width="300" height="187" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 38 292 H 326 Q 332 292 332 298 V 326 H 32 V 298 Q 32 292 38 292 Z"/>+ <rect x="32" y="318" width="300" height="194" rx="6" class="c-mask"/>+ <rect x="32" y="318" width="300" height="194" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 38 318 H 326 Q 332 318 332 324 V 352 H 32 V 324 Q 32 318 38 318 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="52" cy="309" r="8" class="c-backend" stroke-width="1.25"/>- <text x="52" y="312.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="52" cy="335" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="52" y="338.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="182" y="314" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">Order</text>+ <text data-node-label="" x="182" y="340" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">Order</text><g data-detail="context" data-class-compartment="attributes">- <line x1="32" y1="326" x2="332" y2="326" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="44" y="345" class="t-primary cl-member" font-size="10.5">+ id: OrderId</text>- <text data-detail="context" data-class-member="attributes" x="44" y="364" class="t-primary cl-member" font-size="10.5">+ total: Money</text>- <text data-detail="context" data-class-member="attributes" x="44" y="383" class="t-primary cl-member" font-size="10.5">+ status: PaymentStatus</text>+ <line x1="32" y1="352" x2="332" y2="352" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="44" y="372" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> id<tspan class="t-muted">: OrderId</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="44" y="392" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> total<tspan class="t-muted">: Money</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="44" y="412" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> status<tspan class="t-muted">: PaymentStatus</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="32" y1="393" x2="332" y2="393" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="44" y="412" class="t-primary cl-member" font-size="10.5">+ addLine(sku: Sku, quantity: int</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="431" class="t-primary cl-member" font-size="10.5">): LineItem</text>- <text data-detail="context" data-class-member="methods" x="44" y="450" class="t-primary cl-member" font-size="10.5">+ markAuthorized(</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="469" class="t-primary cl-member" font-size="10.5">authorization: AuthorizationId): void</text>+ <line x1="32" y1="422" x2="332" y2="422" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="44" y="442" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> addLine(sku<tspan class="t-muted">: Sku</tspan>, quantity<tspan class="t-muted">: int</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="462" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: LineItem</tspan></text>+ <text data-detail="context" data-class-member="methods" x="44" y="482" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> markAuthorized(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="502" class="t-primary cl-member" font-size="11">authorization<tspan class="t-muted">: AuthorizationId</tspan>)<tspan class="t-muted">: void</tspan></text></g></g><g id="node-payment_status" data-node-id="payment_status" data-node-label="PaymentStatus" tabindex="0" role="button" aria-label="Focus PaymentStatus, Lifecycle of the order's payment, Enumeration" aria-pressed="false" data-node-kind="enum" data-node-sublabel="Lifecycle of the order's payment" data-node-context="Enumeration" data-class-kind="enum"><title>PaymentStatus · Lifecycle of the order's payment · Enumeration</title>- <rect x="519" y="311" width="182" height="149" rx="6" class="c-mask"/>- <rect x="519" y="311" width="182" height="149" rx="6" class="c-messagebus cl-type" stroke-width="1.5"/>- <path class="cl-header c-messagebus" stroke="none" d="M 525 311 H 695 Q 701 311 701 317 V 355 H 519 V 317 Q 519 311 525 311 Z"/>+ <rect x="517" y="338" width="186" height="154" rx="6" class="c-mask"/>+ <rect x="517" y="338" width="186" height="154" rx="6" class="c-messagebus cl-type" stroke-width="1.5"/>+ <path class="cl-header c-messagebus" stroke="none" d="M 523 338 H 697 Q 703 338 703 344 V 382 H 517 V 344 Q 517 338 523 338 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="539" cy="333" r="8" class="c-messagebus" stroke-width="1.25"/>- <text x="539" y="336.5" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">E</text>+ <circle cx="537" cy="360" r="8" class="c-messagebus" stroke-width="1.25"/>+ <text x="537" y="363.5" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">E</text></g>- <text x="610" y="327" class="t-muted" font-size="9.5" text-anchor="middle">«enumeration»</text>- <text data-node-label="" x="610" y="345" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PaymentStatus</text>+ <text x="610" y="354" class="t-muted" font-size="9.5" text-anchor="middle">«enumeration»</text>+ <text data-node-label="" x="610" y="372" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PaymentStatus</text><g data-detail="context" data-class-compartment="attributes">- <line x1="519" y1="355" x2="701" y2="355" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="531" y="374" class="t-primary cl-member" font-size="10.5">PENDING</text>- <text data-detail="context" data-class-member="attributes" x="531" y="393" class="t-primary cl-member" font-size="10.5">AUTHORIZED</text>- <text data-detail="context" data-class-member="attributes" x="531" y="412" class="t-primary cl-member" font-size="10.5">CAPTURED</text>- <text data-detail="context" data-class-member="attributes" x="531" y="431" class="t-primary cl-member" font-size="10.5">REFUNDED</text>- <text data-detail="context" data-class-member="attributes" x="531" y="450" class="t-primary cl-member" font-size="10.5">FAILED</text>+ <line x1="517" y1="382" x2="703" y2="382" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="529" y="402" class="t-primary cl-member" font-size="11">PENDING</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="422" class="t-primary cl-member" font-size="11">AUTHORIZED</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="442" class="t-primary cl-member" font-size="11">CAPTURED</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="462" class="t-primary cl-member" font-size="11">REFUNDED</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="482" class="t-primary cl-member" font-size="11">FAILED</text></g></g><g id="node-retrying_processor" data-node-id="retrying_processor" data-node-label="RetryingProcessorBase" tabindex="0" role="button" aria-label="Focus RetryingProcessorBase, Shared retry, timeout, and idempotency handling, Abstract class" aria-pressed="false" data-node-kind="abstract" data-node-sublabel="Shared retry, timeout, and idempotency handling" data-node-context="Abstract class" data-class-kind="abstract"><title>RetryingProcessorBase · Shared retry, timeout, and idempotency handling · Abstract class</title>- <rect x="888" y="296.5" width="300" height="178" rx="6" class="c-mask"/>- <rect x="888" y="296.5" width="300" height="178" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 894 296.5 H 1182 Q 1188 296.5 1188 302.5 V 340.5 H 888 V 302.5 Q 888 296.5 894 296.5 Z"/>+ <rect x="888" y="323" width="300" height="184" rx="6" class="c-mask"/>+ <rect x="888" y="323" width="300" height="184" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 894 323 H 1182 Q 1188 323 1188 329 V 367 H 888 V 329 Q 888 323 894 323 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="908" cy="318.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="908" y="322" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">A</text>+ <circle cx="908" cy="345" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="908" y="348.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">A</text></g>- <text x="1038" y="312.5" class="t-muted" font-size="9.5" text-anchor="middle">«abstract»</text>- <text data-node-label="" x="1038" y="330.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle" font-style="italic">RetryingProcessorBase</text>+ <text x="1038" y="339" class="t-muted" font-size="9.5" text-anchor="middle">«abstract»</text>+ <text data-node-label="" x="1038" y="357" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle" font-style="italic">RetryingProcessorBase</text><g data-detail="context" data-class-compartment="attributes">- <line x1="888" y1="340.5" x2="1188" y2="340.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="900" y="359.5" class="t-primary cl-member" font-size="10.5" style="text-decoration: underline">+ DEFAULT_TIMEOUT: Duration</text>- <text data-detail="context" data-class-member="attributes" x="900" y="378.5" class="t-primary cl-member" font-size="10.5"># retryPolicy: RetryPolicy</text>+ <line x1="888" y1="367" x2="1188" y2="367" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="900" y="387" class="t-primary cl-member" font-size="11" style="text-decoration: underline"><tspan class="t-muted">+</tspan> DEFAULT_TIMEOUT<tspan class="t-muted">: Duration</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="900" y="407" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> retryPolicy<tspan class="t-muted">: RetryPolicy</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="888" y1="388.5" x2="1188" y2="388.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="900" y="407.5" class="t-primary cl-member" font-size="10.5">+ authorize(request: AuthorizationRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="426.5" class="t-primary cl-member" font-size="10.5">): AuthorizationResult</text>- <text data-detail="context" data-class-member="methods" x="900" y="445.5" class="t-primary cl-member" font-size="10.5" style="font-style: italic"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="464.5" class="t-primary cl-member" font-size="10.5" style="font-style: italic">): ProviderResponse</text>+ <line x1="888" y1="417" x2="1188" y2="417" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="900" y="437" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> authorize(request<tspan class="t-muted">: AuthorizationRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="913.2" y="457" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: AuthorizationResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="900" y="477" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="913.2" y="497" class="t-primary cl-member" font-size="11" style="font-style: italic">)<tspan class="t-muted">: ProviderResponse</tspan></text></g></g><g id="node-bank_transfer" data-node-id="bank_transfer" data-node-label="BankTransferProcessor" tabindex="0" role="button" aria-label="Focus BankTransferProcessor, Asynchronous transfer without provider retries, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Asynchronous transfer without provider retries" data-node-context="Class" data-class-kind="class"><title>BankTransferProcessor · Asynchronous transfer without provider retries · Class</title>- <rect x="1316" y="325.5" width="300" height="120" rx="6" class="c-mask"/>- <rect x="1316" y="325.5" width="300" height="120" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 1322 325.5 H 1610 Q 1616 325.5 1616 331.5 V 359.5 H 1316 V 331.5 Q 1316 325.5 1322 325.5 Z"/>+ <rect x="1316" y="353" width="300" height="124" rx="6" class="c-mask"/>+ <rect x="1316" y="353" width="300" height="124" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 1322 353 H 1610 Q 1616 353 1616 359 V 387 H 1316 V 359 Q 1316 353 1322 353 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="1336" cy="342.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="1336" y="346" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="1336" cy="370" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="1336" y="373.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="1466" y="347.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">BankTransferProcessor</text>+ <text data-node-label="" x="1466" y="375" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">BankTransferProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="1316" y1="359.5" x2="1616" y2="359.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="1328" y="378.5" class="t-primary cl-member" font-size="10.5">+ authorize(request: AuthorizationRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="397.5" class="t-primary cl-member" font-size="10.5">): AuthorizationResult</text>- <text data-detail="context" data-class-member="methods" x="1328" y="416.5" class="t-primary cl-member" font-size="10.5">- awaitSettlement(transfer: TransferId</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="435.5" class="t-primary cl-member" font-size="10.5">): SettlementResult</text>+ <line x1="1316" y1="387" x2="1616" y2="387" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="1328" y="407" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> authorize(request<tspan class="t-muted">: AuthorizationRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="427" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: AuthorizationResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1328" y="447" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> awaitSettlement(transfer<tspan class="t-muted">: TransferId</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="467" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: SettlementResult</tspan></text></g></g><g id="node-line_item" data-node-id="line_item" data-node-label="LineItem" tabindex="0" role="button" aria-label="Focus LineItem, Immutable priced order line, Record" aria-pressed="false" data-node-kind="record" data-node-sublabel="Immutable priced order line" data-node-context="Record" data-class-kind="record"><title>LineItem · Immutable priced order line · Record</title>- <rect x="92" y="567.5" width="180" height="111" rx="6" class="c-mask"/>- <rect x="92" y="567.5" width="180" height="111" rx="6" class="c-database cl-type" stroke-width="1.5"/>- <path class="cl-header c-database" stroke="none" d="M 98 567.5 H 266 Q 272 567.5 272 573.5 V 611.5 H 92 V 573.5 Q 92 567.5 98 567.5 Z"/>+ <rect x="92" y="601" width="180" height="114" rx="6" class="c-mask"/>+ <rect x="92" y="601" width="180" height="114" rx="6" class="c-database cl-type" stroke-width="1.5"/>+ <path class="cl-header c-database" stroke="none" d="M 98 601 H 266 Q 272 601 272 607 V 645 H 92 V 607 Q 92 601 98 601 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="112" cy="589.5" r="8" class="c-database" stroke-width="1.25"/>- <text x="112" y="593" class="t-database" font-size="10" font-weight="700" text-anchor="middle">R</text>+ <circle cx="112" cy="623" r="8" class="c-database" stroke-width="1.25"/>+ <text x="112" y="626.5" class="t-database" font-size="10" font-weight="700" text-anchor="middle">R</text></g>- <text x="182" y="583.5" class="t-muted" font-size="9.5" text-anchor="middle">«record»</text>- <text data-node-label="" x="182" y="601.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">LineItem</text>+ <text x="182" y="617" class="t-muted" font-size="9.5" text-anchor="middle">«record»</text>+ <text data-node-label="" x="182" y="635" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">LineItem</text><g data-detail="context" data-class-compartment="attributes">- <line x1="92" y1="611.5" x2="272" y2="611.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="104" y="630.5" class="t-primary cl-member" font-size="10.5">+ sku: Sku</text>- <text data-detail="context" data-class-member="attributes" x="104" y="649.5" class="t-primary cl-member" font-size="10.5">+ quantity: int</text>- <text data-detail="context" data-class-member="attributes" x="104" y="668.5" class="t-primary cl-member" font-size="10.5">+ unitPrice: Money</text>+ <line x1="92" y1="645" x2="272" y2="645" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="104" y="665" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> sku<tspan class="t-muted">: Sku</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="104" y="685" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> quantity<tspan class="t-muted">: int</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="104" y="705" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> unitPrice<tspan class="t-muted">: Money</tspan></text></g></g><g id="node-stripe_card" data-node-id="stripe_card" data-node-label="StripeCardProcessor" tabindex="0" role="button" aria-label="Focus StripeCardProcessor, Card payments through Stripe, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Card payments through Stripe" data-node-context="Class" data-class-kind="class"><title>StripeCardProcessor · Card payments through Stripe · Class</title>- <rect x="460" y="582" width="300" height="82" rx="6" class="c-mask"/>- <rect x="460" y="582" width="300" height="82" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 466 582 H 754 Q 760 582 760 588 V 616 H 460 V 588 Q 460 582 466 582 Z"/>+ <rect x="460" y="616" width="300" height="84" rx="6" class="c-mask"/>+ <rect x="460" y="616" width="300" height="84" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 466 616 H 754 Q 760 616 760 622 V 650 H 460 V 622 Q 460 616 466 616 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="480" cy="599" r="8" class="c-backend" stroke-width="1.25"/>- <text x="480" y="602.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="480" cy="633" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="480" y="636.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="610" y="604" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">StripeCardProcessor</text>+ <text data-node-label="" x="610" y="638" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">StripeCardProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="460" y1="616" x2="760" y2="616" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="472" y="635" class="t-primary cl-member" font-size="10.5"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="484.6" y="654" class="t-primary cl-member" font-size="10.5">): ProviderResponse</text>+ <line x1="460" y1="650" x2="760" y2="650" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="472" y="670" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="485.2" y="690" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: ProviderResponse</tspan></text></g></g><g id="node-adyen_card" data-node-id="adyen_card" data-node-label="AdyenCardProcessor" tabindex="0" role="button" aria-label="Focus AdyenCardProcessor, Card payments through Adyen, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Card payments through Adyen" data-node-context="Class" data-class-kind="class"><title>AdyenCardProcessor · Card payments through Adyen · Class</title>- <rect x="888" y="582" width="300" height="82" rx="6" class="c-mask"/>- <rect x="888" y="582" width="300" height="82" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 894 582 H 1182 Q 1188 582 1188 588 V 616 H 888 V 588 Q 888 582 894 582 Z"/>+ <rect x="888" y="616" width="300" height="84" rx="6" class="c-mask"/>+ <rect x="888" y="616" width="300" height="84" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 894 616 H 1182 Q 1188 616 1188 622 V 650 H 888 V 622 Q 888 616 894 616 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="908" cy="599" r="8" class="c-backend" stroke-width="1.25"/>- <text x="908" y="602.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="908" cy="633" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="908" y="636.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="1038" y="604" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">AdyenCardProcessor</text>+ <text data-node-label="" x="1038" y="638" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">AdyenCardProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="888" y1="616" x2="1188" y2="616" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="900" y="635" class="t-primary cl-member" font-size="10.5"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="654" class="t-primary cl-member" font-size="10.5">): ProviderResponse</text>+ <line x1="888" y1="650" x2="1188" y2="650" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="900" y="670" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="913.2" y="690" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: ProviderResponse</tspan></text></g></g><g id="node-paypal_wallet" data-node-id="paypal_wallet" data-node-label="PayPalWalletProcessor" tabindex="0" role="button" aria-label="Focus PayPalWalletProcessor, Wallet payments through PayPal, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Wallet payments through PayPal" data-node-context="Class" data-class-kind="class"><title>PayPalWalletProcessor · Wallet payments through PayPal · Class</title>- <rect x="1316" y="563" width="300" height="120" rx="6" class="c-mask"/>- <rect x="1316" y="563" width="300" height="120" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 1322 563 H 1610 Q 1616 563 1616 569 V 597 H 1316 V 569 Q 1316 563 1322 563 Z"/>+ <rect x="1316" y="596" width="300" height="124" rx="6" class="c-mask"/>+ <rect x="1316" y="596" width="300" height="124" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 1322 596 H 1610 Q 1616 596 1616 602 V 630 H 1316 V 602 Q 1316 596 1322 596 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="1336" cy="580" r="8" class="c-backend" stroke-width="1.25"/>- <text x="1336" y="583.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="1336" cy="613" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="1336" y="616.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="1466" y="585" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PayPalWalletProcessor</text>+ <text data-node-label="" x="1466" y="618" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PayPalWalletProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="1316" y1="597" x2="1616" y2="597" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="1328" y="616" class="t-primary cl-member" font-size="10.5"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="635" class="t-primary cl-member" font-size="10.5">): ProviderResponse</text>- <text data-detail="context" data-class-member="methods" x="1328" y="654" class="t-primary cl-member" font-size="10.5">- exchangeBillingAgreementToken(</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="673" class="t-primary cl-member" font-size="10.5">token: String): AgreementId</text>+ <line x1="1316" y1="630" x2="1616" y2="630" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="1328" y="650" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="670" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: ProviderResponse</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1328" y="690" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> exchangeBillingAgreementToken(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="710" class="t-primary cl-member" font-size="11">token<tspan class="t-muted">: String</tspan>)<tspan class="t-muted">: AgreementId</tspan></text></g></g><!-- Relationship labels --><g data-detail="context" data-edge-from="checkout_orchestrator" data-edge-to="processor_registry" data-edge-label="selects via" data-edge-key="0" data-edge-id="orchestrator_registry" data-class-relationship="association">- <rect x="358.605" y="108" width="74.79" height="14" rx="3" class="c-mask"/>- <text x="396" y="118" class="t-muted" font-size="9.5" text-anchor="middle">selects via</text>+ <rect x="358.605" y="121" width="74.79" height="14" rx="3" class="c-mask"/>+ <text x="396" y="131" class="t-muted" font-size="9.5" text-anchor="middle">selects via</text></g><g data-detail="context" data-edge-from="processor_registry" data-edge-to="payment_processor" data-edge-label="holds" data-edge-key="1" data-edge-id="registry_processors" data-class-relationship="aggregation">- <rect x="804.275" y="108" width="39.45" height="14" rx="3" class="c-mask"/>- <text x="824" y="118" class="t-muted" font-size="9.5" text-anchor="middle">holds</text>+ <rect x="911.275" y="121" width="39.45" height="14" rx="3" class="c-mask"/>+ <text x="931" y="131" class="t-muted" font-size="9.5" text-anchor="middle">holds</text></g><g data-detail="context" data-edge-from="checkout_orchestrator" data-edge-to="order" data-edge-label="updates" data-edge-key="2" data-edge-id="orchestrator_order" data-class-relationship="dependency">- <rect x="188" y="244" width="51.23" height="14" rx="3" class="c-mask"/>- <text x="213.615" y="254" class="t-muted" font-size="9.5" text-anchor="middle">updates</text>+ <rect x="188" y="265" width="51.23" height="14" rx="3" class="c-mask"/>+ <text x="213.615" y="275" class="t-muted" font-size="9.5" text-anchor="middle">updates</text></g><g data-detail="context" data-edge-from="order" data-edge-to="line_item" data-edge-label="owns lines" data-edge-key="3" data-edge-id="order_lines" data-class-relationship="composition">- <rect x="188" y="517.25" width="68.9" height="14" rx="3" class="c-mask"/>- <text x="222.45" y="527.25" class="t-muted" font-size="9.5" text-anchor="middle">owns lines</text>+ <rect x="188" y="550.5" width="68.9" height="14" rx="3" class="c-mask"/>+ <text x="222.45" y="560.5" class="t-muted" font-size="9.5" text-anchor="middle">owns lines</text></g><!-- Legend --><g data-legend="">- <text x="24" y="705" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="725" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="710" width="116" height="22" rx="11"/><path d="M 26 721 L 56 721" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <text x="66" y="725" class="t-muted" font-size="12" font-weight="500">Depends on</text>+ <text x="24" y="742" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="762" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="747" width="116" height="22" rx="11"/><path d="M 26 758 L 56 758" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <text x="66" y="762" class="t-muted" font-size="12" font-weight="500">Depends on</text></g>- <g data-legend-semantic-kind="association" data-legend-x="150" data-legend-baseline="725" data-legend-width="111">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Association" x="144" y="710" width="123" height="22" rx="11"/><path d="M 152 721 L 182 721" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>- <text x="192" y="725" class="t-muted" font-size="12" font-weight="500">Association</text>+ <g data-legend-semantic-kind="association" data-legend-x="150" data-legend-baseline="762" data-legend-width="111">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Association" x="144" y="747" width="123" height="22" rx="11"/><path d="M 152 758 L 182 758" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <text x="192" y="762" class="t-muted" font-size="12" font-weight="500">Association</text></g>- <g data-legend-semantic-kind="inheritance" data-legend-x="283" data-legend-baseline="725" data-legend-width="92">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Inherits" x="277" y="710" width="104" height="22" rx="11"/><path d="M 285 721 L 315 721" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-triangle)"/>- <text x="325" y="725" class="t-muted" font-size="12" font-weight="500">Inherits</text>+ <g data-legend-semantic-kind="inheritance" data-legend-x="283" data-legend-baseline="762" data-legend-width="92">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Inherits" x="277" y="747" width="104" height="22" rx="11"/><path d="M 285 758 L 315 758" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-triangle)"/>+ <text x="325" y="762" class="t-muted" font-size="12" font-weight="500">Inherits</text></g>- <g data-legend-semantic-kind="realization" data-legend-x="397" data-legend-baseline="725" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="391" y="710" width="116" height="22" rx="11"/><path d="M 399 721 L 429 721" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>- <text x="439" y="725" class="t-muted" font-size="12" font-weight="500">Implements</text>+ <g data-legend-semantic-kind="realization" data-legend-x="397" data-legend-baseline="762" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="391" y="747" width="116" height="22" rx="11"/><path d="M 399 758 L 429 758" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>+ <text x="439" y="762" class="t-muted" font-size="12" font-weight="500">Implements</text></g>- <g data-legend-semantic-kind="composition" data-legend-x="523" data-legend-baseline="725" data-legend-width="111">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Composition" x="517" y="710" width="123" height="22" rx="11"/><path d="M 525 721 L 555 721" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>- <text x="565" y="725" class="t-muted" font-size="12" font-weight="500">Composition</text>+ <g data-legend-semantic-kind="composition" data-legend-x="523" data-legend-baseline="762" data-legend-width="111">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Composition" x="517" y="747" width="123" height="22" rx="11"/><path d="M 525 758 L 555 758" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>+ <text x="565" y="762" class="t-muted" font-size="12" font-weight="500">Composition</text></g>- <g data-legend-semantic-kind="aggregation" data-legend-x="656" data-legend-baseline="725" data-legend-width="111">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Aggregation" x="650" y="710" width="123" height="22" rx="11"/><path d="M 658 721 L 688 721" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>- <text x="698" y="725" class="t-muted" font-size="12" font-weight="500">Aggregation</text>+ <g data-legend-semantic-kind="aggregation" data-legend-x="656" data-legend-baseline="762" data-legend-width="111">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Aggregation" x="650" y="747" width="123" height="22" rx="11"/><path d="M 658 758 L 688 758" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>+ <text x="698" y="762" class="t-muted" font-size="12" font-weight="500">Aggregation</text></g></g></svg>diff --git a/archify/examples/class-payments-rendered.html b/archify/examples/class-payments-rendered.htmlindex 8f9681f0..d102dab5 100644--- a/archify/examples/class-payments-rendered.html+++ b/archify/examples/class-payments-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 946 423" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 972 430" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment module types</title><desc id="archify-diagram-description">OrderService depends on the PaymentGateway contract; card and wallet gateways implement it.</desc><!-- Definitions -->@@ -5053,128 +5053,128 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Relationships (before types for correct z-order) -->- <path data-edge-from="order_service" data-edge-to="payment_gateway" data-edge-label="pays through" data-edge-key="0" data-edge-id="uses_gateway" data-class-relationship="dependency" data-composition-points="264,95.5;392,95.5" d="M 264 95.5 L 392 95.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="order_service" data-edge-to="order" data-edge-label="creates" data-edge-key="1" data-edge-id="creates_order" data-class-relationship="dependency" data-composition-points="148,151;148,235" d="M 148 151 L 148 235" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="card_gateway" data-edge-to="payment_gateway" data-edge-key="2" data-edge-id="card_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="492.5,268.5;492.5,132" d="M 492.5 132 L 492.5 268.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="wallet_gateway" data-edge-to="payment_gateway" data-edge-key="3" data-edge-id="wallet_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="821.5,268.5;821.5,200;492.5,200;492.5,132" d="M 492.5 132 L 492.5 192 Q 492.5 200 500.5 200 L 813.5 200 Q 821.5 200 821.5 208 L 821.5 268.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="order_service" data-edge-to="payment_gateway" data-edge-label="pays through" data-edge-key="0" data-edge-id="uses_gateway" data-class-relationship="dependency" data-composition-points="274,97;570.5,97" d="M 274 97 L 570.5 97" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="order_service" data-edge-to="order" data-edge-label="creates" data-edge-key="1" data-edge-id="creates_order" data-class-relationship="dependency" data-composition-points="153,154;153,238" d="M 153 154 L 153 238" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="card_gateway" data-edge-to="payment_gateway" data-edge-key="2" data-edge-id="card_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="506.5,273;506.5,204;675,204;675,134" d="M 675 134 L 675 196 Q 675 204 667 204 L 514.5 204 Q 506.5 204 506.5 212 L 506.5 273" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="wallet_gateway" data-edge-to="payment_gateway" data-edge-key="3" data-edge-id="wallet_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="843.5,273;843.5,204;675,204;675,134" d="M 675 134 L 675 196 Q 675 204 683 204 L 835.5 204 Q 843.5 204 843.5 212 L 843.5 273" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/><!-- Types --><g id="node-order_service" data-node-id="order_service" data-node-label="OrderService" tabindex="0" role="button" aria-label="Focus OrderService, Creates orders and starts payment, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Creates orders and starts payment" data-node-context="Class" data-class-kind="class"><title>OrderService · Creates orders and starts payment · Class</title>- <rect x="32" y="40" width="232" height="111" rx="6" class="c-mask"/>- <rect x="32" y="40" width="232" height="111" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 38 40 H 258 Q 264 40 264 46 V 74 H 32 V 46 Q 32 40 38 40 Z"/>+ <rect x="32" y="40" width="242" height="114" rx="6" class="c-mask"/>+ <rect x="32" y="40" width="242" height="114" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 38 40 H 268 Q 274 40 274 46 V 74 H 32 V 46 Q 32 40 38 40 Z"/><g aria-hidden="true" class="cl-badge"><circle cx="52" cy="57" r="8" class="c-backend" stroke-width="1.25"/><text x="52" y="60.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="148" y="62" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">OrderService</text>+ <text data-node-label="" x="153" y="62" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">OrderService</text><g data-detail="context" data-class-compartment="attributes">- <line x1="32" y1="74" x2="264" y2="74" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="44" y="93" class="t-primary cl-member" font-size="10.5">- gateway: PaymentGateway</text>+ <line x1="32" y1="74" x2="274" y2="74" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="44" y="94" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> gateway<tspan class="t-muted">: PaymentGateway</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="32" y1="103" x2="264" y2="103" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="44" y="122" class="t-primary cl-member" font-size="10.5">+ createOrder(cart: Cart): Order</text>- <text data-detail="context" data-class-member="methods" x="44" y="141" class="t-primary cl-member" font-size="10.5">+ checkout(order: Order): Receipt</text>+ <line x1="32" y1="104" x2="274" y2="104" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="44" y="124" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> createOrder(cart<tspan class="t-muted">: Cart</tspan>)<tspan class="t-muted">: Order</tspan></text>+ <text data-detail="context" data-class-member="methods" x="44" y="144" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> checkout(order<tspan class="t-muted">: Order</tspan>)<tspan class="t-muted">: Receipt</tspan></text></g></g><g id="node-payment_gateway" data-node-id="payment_gateway" data-node-label="PaymentGateway" tabindex="0" role="button" aria-label="Focus PaymentGateway, Payment contract every channel fulfils, Interface" aria-pressed="false" data-node-kind="interface" data-node-sublabel="Payment contract every channel fulfils" data-node-context="Interface" data-class-kind="interface"><title>PaymentGateway · Payment contract every channel fulfils · Interface</title>- <rect x="392" y="59" width="201" height="73" rx="6" class="c-mask"/>- <rect x="392" y="59" width="201" height="73" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>- <path class="cl-header c-frontend" stroke="none" d="M 398 59 H 587 Q 593 59 593 65 V 103 H 392 V 65 Q 392 59 398 59 Z"/>+ <rect x="570.5" y="60" width="209" height="74" rx="6" class="c-mask"/>+ <rect x="570.5" y="60" width="209" height="74" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-frontend" stroke="none" d="M 576.5 60 H 773.5 Q 779.5 60 779.5 66 V 104 H 570.5 V 66 Q 570.5 60 576.5 60 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="412" cy="81" r="8" class="c-frontend" stroke-width="1.25"/>- <text x="412" y="84.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text>+ <circle cx="590.5" cy="82" r="8" class="c-frontend" stroke-width="1.25"/>+ <text x="590.5" y="85.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text></g>- <text x="492.5" y="75" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>- <text data-node-label="" x="492.5" y="93" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PaymentGateway</text>+ <text x="675" y="76" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>+ <text data-node-label="" x="675" y="94" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PaymentGateway</text><g data-detail="context" data-class-compartment="methods">- <line x1="392" y1="103" x2="593" y2="103" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="404" y="122" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ pay(amount: Money): Result</text>+ <line x1="570.5" y1="104" x2="779.5" y2="104" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="582.5" y="124" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> pay(amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: Result</tspan></text></g></g><g id="node-order" data-node-id="order" data-node-label="Order" tabindex="0" role="button" aria-label="Focus Order, Order identity, amount, and status, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Order identity, amount, and status" data-node-context="Class" data-class-kind="class"><title>Order · Order identity, amount, and status · Class</title>- <rect x="58" y="235" width="180" height="130" rx="6" class="c-mask"/>- <rect x="58" y="235" width="180" height="130" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 64 235 H 232 Q 238 235 238 241 V 269 H 58 V 241 Q 58 235 64 235 Z"/>+ <rect x="63" y="238" width="180" height="134" rx="6" class="c-mask"/>+ <rect x="63" y="238" width="180" height="134" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 69 238 H 237 Q 243 238 243 244 V 272 H 63 V 244 Q 63 238 69 238 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="78" cy="252" r="8" class="c-backend" stroke-width="1.25"/>- <text x="78" y="255.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="83" cy="255" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="83" y="258.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="148" y="257" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">Order</text>+ <text data-node-label="" x="153" y="260" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">Order</text><g data-detail="context" data-class-compartment="attributes">- <line x1="58" y1="269" x2="238" y2="269" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="70" y="288" class="t-primary cl-member" font-size="10.5">+ id: OrderId</text>- <text data-detail="context" data-class-member="attributes" x="70" y="307" class="t-primary cl-member" font-size="10.5">+ amount: Money</text>- <text data-detail="context" data-class-member="attributes" x="70" y="326" class="t-primary cl-member" font-size="10.5">+ status: OrderStatus</text>+ <line x1="63" y1="272" x2="243" y2="272" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="75" y="292" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> id<tspan class="t-muted">: OrderId</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="75" y="312" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> amount<tspan class="t-muted">: Money</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="75" y="332" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> status<tspan class="t-muted">: OrderStatus</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="58" y1="336" x2="238" y2="336" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="70" y="355" class="t-primary cl-member" font-size="10.5">+ markPaid(): void</text>+ <line x1="63" y1="342" x2="243" y2="342" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="75" y="362" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> markPaid()<tspan class="t-muted">: void</tspan></text></g></g><g id="node-card_gateway" data-node-id="card_gateway" data-node-label="CardGateway" tabindex="0" role="button" aria-label="Focus CardGateway, Charges a bank card, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Charges a bank card" data-node-context="Class" data-class-kind="class"><title>CardGateway · Charges a bank card · Class</title>- <rect x="392" y="268.5" width="201" height="63" rx="6" class="c-mask"/>- <rect x="392" y="268.5" width="201" height="63" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 398 268.5 H 587 Q 593 268.5 593 274.5 V 302.5 H 392 V 274.5 Q 392 268.5 398 268.5 Z"/>+ <rect x="402" y="273" width="209" height="64" rx="6" class="c-mask"/>+ <rect x="402" y="273" width="209" height="64" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 408 273 H 605 Q 611 273 611 279 V 307 H 402 V 279 Q 402 273 408 273 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="412" cy="285.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="412" y="289" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="422" cy="290" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="422" y="293.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="492.5" y="290.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">CardGateway</text>+ <text data-node-label="" x="506.5" y="295" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">CardGateway</text><g data-detail="context" data-class-compartment="methods">- <line x1="392" y1="302.5" x2="593" y2="302.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="404" y="321.5" class="t-primary cl-member" font-size="10.5">+ pay(amount: Money): Result</text>+ <line x1="402" y1="307" x2="611" y2="307" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="414" y="327" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> pay(amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: Result</tspan></text></g></g><g id="node-wallet_gateway" data-node-id="wallet_gateway" data-node-label="WalletGateway" tabindex="0" role="button" aria-label="Focus WalletGateway, Debits a stored wallet balance, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Debits a stored wallet balance" data-node-context="Class" data-class-kind="class"><title>WalletGateway · Debits a stored wallet balance · Class</title>- <rect x="721" y="268.5" width="201" height="63" rx="6" class="c-mask"/>- <rect x="721" y="268.5" width="201" height="63" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 727 268.5 H 916 Q 922 268.5 922 274.5 V 302.5 H 721 V 274.5 Q 721 268.5 727 268.5 Z"/>+ <rect x="739" y="273" width="209" height="64" rx="6" class="c-mask"/>+ <rect x="739" y="273" width="209" height="64" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 745 273 H 942 Q 948 273 948 279 V 307 H 739 V 279 Q 739 273 745 273 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="741" cy="285.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="741" y="289" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="759" cy="290" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="759" y="293.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="821.5" y="290.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">WalletGateway</text>+ <text data-node-label="" x="843.5" y="295" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">WalletGateway</text><g data-detail="context" data-class-compartment="methods">- <line x1="721" y1="302.5" x2="922" y2="302.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="733" y="321.5" class="t-primary cl-member" font-size="10.5">+ pay(amount: Money): Result</text>+ <line x1="739" y1="307" x2="948" y2="307" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="751" y="327" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> pay(amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: Result</tspan></text></g></g><!-- Relationship labels --><g data-detail="context" data-edge-from="order_service" data-edge-to="payment_gateway" data-edge-label="pays through" data-edge-key="0" data-edge-id="uses_gateway" data-class-relationship="dependency">- <rect x="287.66" y="79.5" width="80.67999999999999" height="14" rx="3" class="c-mask"/>- <text x="328" y="89.5" class="t-muted" font-size="9.5" text-anchor="middle">pays through</text>+ <rect x="381.91" y="81" width="80.67999999999999" height="14" rx="3" class="c-mask"/>+ <text x="422.25" y="91" class="t-muted" font-size="9.5" text-anchor="middle">pays through</text></g><g data-detail="context" data-edge-from="order_service" data-edge-to="order" data-edge-label="creates" data-edge-key="1" data-edge-id="creates_order" data-class-relationship="dependency">- <rect x="154" y="187" width="51.23" height="14" rx="3" class="c-mask"/>- <text x="179.615" y="197" class="t-muted" font-size="9.5" text-anchor="middle">creates</text>+ <rect x="159" y="190" width="51.23" height="14" rx="3" class="c-mask"/>+ <text x="184.615" y="200" class="t-muted" font-size="9.5" text-anchor="middle">creates</text></g><!-- Legend --><g data-legend="">- <text x="24" y="387" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="407" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="392" width="116" height="22" rx="11"/><path d="M 26 403 L 56 403" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <text x="66" y="407" class="t-muted" font-size="12" font-weight="500">Depends on</text>+ <text x="24" y="394" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="414" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="399" width="116" height="22" rx="11"/><path d="M 26 410 L 56 410" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <text x="66" y="414" class="t-muted" font-size="12" font-weight="500">Depends on</text></g>- <g data-legend-semantic-kind="realization" data-legend-x="150" data-legend-baseline="407" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="144" y="392" width="116" height="22" rx="11"/><path d="M 152 403 L 182 403" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>- <text x="192" y="407" class="t-muted" font-size="12" font-weight="500">Implements</text>+ <g data-legend-semantic-kind="realization" data-legend-x="150" data-legend-baseline="414" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="144" y="399" width="116" height="22" rx="11"/><path d="M 152 410 L 182 410" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>+ <text x="192" y="414" class="t-muted" font-size="12" font-weight="500">Implements</text></g></g></svg>diff --git a/archify/examples/payment-processors.class.json b/archify/examples/payment-processors.class.jsonindex 84094121..3368f6f6 100644--- a/archify/examples/payment-processors.class.json+++ b/archify/examples/payment-processors.class.json@@ -47,7 +47,7 @@"kind": "interface","sublabel": "Authorize, capture, and refund contract","row": 0,- "col": 2,+ "col": 2.5,"methods": [{ "name": "authorize", "parameters": "request: AuthorizationRequest", "returns": "AuthorizationResult", "visibility": "public", "abstract": true },{ "name": "capture", "parameters": "authorization: AuthorizationId, amount: Money", "returns": "CaptureResult", "visibility": "public", "abstract": true },diff --git a/archify/examples/payments.class.json b/archify/examples/payments.class.jsonindex 770e8f7e..9c9daf19 100644--- a/archify/examples/payments.class.json+++ b/archify/examples/payments.class.json@@ -32,7 +32,7 @@"kind": "interface","sublabel": "Payment contract every channel fulfils","row": 0,- "col": 1,+ "col": 1.5,"methods": [{ "name": "pay", "parameters": "amount: Money", "returns": "Result", "visibility": "public", "abstract": true }]diff --git a/archify/examples/timeline-archify-dev-activity-rendered.html b/archify/examples/timeline-archify-dev-activity-rendered.htmlindex cbbede59..22bb5f1c 100644--- a/archify/examples/timeline-archify-dev-activity-rendered.html+++ b/archify/examples/timeline-archify-dev-activity-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1128 1040" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1580 924" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Archify dev branch activity, 28 Sep – 4 Oct 2026</title><desc id="archify-diagram-description">Observed from this repository's git history: tag creation dates and merge commit times on origin/dev.</desc><!-- Definitions -->@@ -5018,15 +5018,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<pattern id="tl-break-hatch" width="6" height="6" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="6" class="tl-hatch" stroke-width="1"/></pattern></defs><style>- svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }- svg[data-timeline-ui] .tl-axis { stroke: var(--text-muted); }- svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .55; }- svg[data-timeline-ui] .tl-lane-alt { opacity: .3; }+ svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-timeline-ui] .tl-axis { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .75; }+ svg[data-timeline-ui] .tl-lane-alt { opacity: 0; }svg[data-timeline-ui] .tl-lane-line { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-stem { stroke: var(--text-muted); opacity: .7; }- svg[data-timeline-ui] .tl-break-band { opacity: .9; }+ svg[data-timeline-ui] .tl-stem { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-card { fill-opacity: .55; stroke-opacity: .5; }+ svg[data-timeline-ui] .tl-dot { stroke: var(--mask); }+ svg[data-timeline-ui] .tl-break-band { opacity: .55; }+ svg[data-timeline-ui] .tl-break-chip { fill: var(--mask); stroke: var(--lane-stroke); stroke-width: 1; }svg[data-timeline-ui] .tl-hatch { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-muted); }+ svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-accent-external { stroke: var(--external-stroke); }+ svg[data-timeline-ui] .tl-accent-frontend { stroke: var(--frontend-stroke); }+ svg[data-timeline-ui] .tl-accent-security { stroke: var(--security-stroke); }+ svg[data-timeline-ui] .tl-accent-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-timeline-ui] .tl-accent-backend { stroke: var(--backend-stroke); }svg[data-timeline-ui] .tl-tick, svg[data-timeline-ui] .tl-time { font-variant-numeric: tabular-nums; }</style>@@ -5034,276 +5042,320 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><g data-timeline-evidence="observed">- <rect x="28" y="12" width="112" height="20" rx="10" class="c-backend" stroke-width="1.2"/>- <text x="84" y="26" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">Observed events</text>+ <rect x="28" y="14" width="119" height="22" rx="11" class="c-backend" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-backend"/>+ <text x="92.5" y="29" class="t-backend" font-size="10.5" font-weight="700" text-anchor="middle">Observed events</text></g>- <text data-timeline-axis-caption="" x="152" y="26" class="t-muted" font-size="10.5">Time: Asia/Shanghai (UTC+08:00) · 5 quiet period(s) compressed (≈)</text>+ <text data-timeline-axis-caption="" x="161" y="29.5" class="t-muted" font-size="11.5">Time: Asia/Shanghai (UTC+08:00) · 5 quiet period(s) compressed (≈)</text><!-- Lanes --><g data-timeline-lane="release">- <rect x="140" y="104" width="960" height="138" rx="8" class="tl-lane"/>- <line x1="148" y1="126" x2="1092" y2="126" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="130" class="t-primary" font-size="12" font-weight="700">Releases</text>+ <rect x="20" y="112" width="1532" height="97" rx="10" class="tl-lane"/>+ <line x1="160" y1="136" x2="1544" y2="136" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="140.5" class="t-primary" font-size="13" font-weight="700">Releases</text></g><g data-timeline-lane="merge">- <rect x="140" y="252" width="960" height="564" rx="8" class="tl-lane tl-lane-alt"/>- <line x1="148" y1="274" x2="1092" y2="274" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="278" class="t-primary" font-size="12" font-weight="700">PR merges</text>+ <rect x="20" y="219" width="1532" height="521" rx="10" class="tl-lane tl-lane-alt"/>+ <line x1="160" y1="439" x2="1544" y2="439" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="443.5" class="t-primary" font-size="13" font-weight="700">PR merges</text></g><g data-timeline-lane="sync">- <rect x="140" y="826" width="960" height="152" rx="8" class="tl-lane"/>- <line x1="148" y1="848" x2="1092" y2="848" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="852" class="t-primary" font-size="12" font-weight="700">Branch syncs</text>+ <rect x="20" y="750" width="1532" height="112" rx="10" class="tl-lane"/>+ <line x1="160" y1="774" x2="1544" y2="774" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="778.5" class="t-primary" font-size="13" font-weight="700">Branch syncs</text></g><!-- Time axis (proportional within each segment; breaks are disclosed) -->- <line x1="218" y1="94" x2="218" y2="978" class="tl-grid" stroke-width="1"/>- <text x="218" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">09-28 19:13</text>- <line x1="484.26" y1="94" x2="484.26" y2="978" class="tl-grid" stroke-width="1"/>- <text x="484.26" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">09-30 00:00</text>- <line x1="611.7384632221506" y1="94" x2="611.7384632221506" y2="978" class="tl-grid" stroke-width="1"/>- <text x="611.7384632221506" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">09-30 14:36</text>- <line x1="769.1717961501514" y1="94" x2="769.1717961501514" y2="978" class="tl-grid" stroke-width="1"/>- <text x="769.1717961501514" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10-01 18:58</text>- <line x1="865.1717961501514" y1="94" x2="865.1717961501514" y2="978" class="tl-grid" stroke-width="1"/>- <text x="865.1717961501514" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10-02 20:49</text>- <line x1="1006.35" y1="94" x2="1006.35" y2="978" class="tl-grid" stroke-width="1"/>- <text x="1006.35" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10-04 12:00</text>- <line x1="148" y1="94" x2="280.61478409961455" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="353.61478409961455" y1="94" x2="506.73846322215064" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="597.7384632221506" y1="94" x2="670.1717961501514" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="755.1717961501514" y1="94" x2="783.1717961501514" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="851.1717961501514" y1="94" x2="894.7847684132447" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="967.7847684132447" y1="94" x2="1092" y2="94" class="tl-axis" stroke-width="1.5"/>+ <line x1="292.28" y1="102" x2="292.28" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="292.28" y1="98" x2="292.28" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="292.28" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">09-28 21:00</text>+ <line x1="471.79" y1="102" x2="471.79" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="471.79" y1="98" x2="471.79" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="471.79" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">09-29 15:00</text>+ <line x1="563.32" y1="102" x2="563.32" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="563.32" y1="98" x2="563.32" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="563.32" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">18:00</text>+ <line x1="654.86" y1="102" x2="654.86" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="654.86" y1="98" x2="654.86" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="654.86" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">21:00</text>+ <line x1="746.39" y1="102" x2="746.39" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="746.39" y1="98" x2="746.39" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="746.39" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">09-30 00:00</text>+ <line x1="907.66" y1="102" x2="907.66" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="907.66" y1="98" x2="907.66" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="907.66" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">15:00</text>+ <line x1="999.2" y1="102" x2="999.2" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="999.2" y1="98" x2="999.2" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="999.2" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">18:00</text>+ <line x1="1111.9844595498375" y1="102" x2="1111.9844595498375" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="1111.9844595498375" y1="98" x2="1111.9844595498375" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1111.9844595498375" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10-01 18:58</text>+ <line x1="1220.1" y1="102" x2="1220.1" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="1220.1" y1="98" x2="1220.1" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1220.1" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10-02 21:00</text>+ <line x1="1426.18" y1="102" x2="1426.18" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="1426.18" y1="98" x2="1426.18" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1426.18" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10-04 12:00</text>+ <line x1="160" y1="102" x2="375.66607488113624" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="435.66607488113624" y1="102" x2="781.9551418461276" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="881.9551418461276" y1="102" x2="1022.9844595498377" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="1097.9844595498375" y1="102" x2="1125.9844595498375" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="1200.9844595498375" y1="102" x2="1268.7006700147135" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="1349.7006700147135" y1="102" x2="1544" y2="102" class="tl-axis" stroke-width="1"/><g data-timeline-break="" data-break-ms="54003000" aria-label="Axis break: 15 h 3 s without events omitted" role="img">- <rect x="286.61478409961455" y="94" width="61" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 285.61478409961455 87 L 291.61478409961455 92 L 285.61478409961455 96 L 291.61478409961455 101 M 342.61478409961455 87 L 348.61478409961455 92 L 342.61478409961455 96 L 348.61478409961455 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="317.11478409961455" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 15 h 3 s</text>+ <rect x="381.66607488113624" y="102" width="48" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 379.16607488113624 96 L 384.16607488113624 108 M 383.16607488113624 96 L 388.16607488113624 108 M 423.16607488113624 96 L 428.16607488113624 108 M 427.16607488113624 96 L 432.16607488113624 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="379.66607488113624" y="61" width="52" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="405.66607488113624" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 15 h</text></g><g data-timeline-break="" data-break-ms="50075000" aria-label="Axis break: 13 h 54 min without events omitted" role="img">- <rect x="512.7384632221506" y="94" width="79" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 511.7384632221506 87 L 517.7384632221506 92 L 511.7384632221506 96 L 517.7384632221506 101 M 586.7384632221506 87 L 592.7384632221506 92 L 586.7384632221506 96 L 592.7384632221506 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="552.2384632221506" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 13 h 54 min</text>+ <rect x="787.9551418461276" y="102" width="88" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 785.4551418461276 96 L 790.4551418461276 108 M 789.4551418461276 96 L 794.4551418461276 108 M 869.4551418461276 96 L 874.4551418461276 108 M 873.4551418461276 96 L 878.4551418461276 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="785.9551418461276" y="61" width="92" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="831.9551418461276" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 13 h 55 min</text></g><g data-timeline-break="" data-break-ms="88776000" aria-label="Axis break: 1 d 39 min without events omitted" role="img">- <rect x="676.1717961501514" y="94" width="73" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 675.1717961501514 87 L 681.1717961501514 92 L 675.1717961501514 96 L 681.1717961501514 101 M 744.1717961501514 87 L 750.1717961501514 92 L 744.1717961501514 96 L 750.1717961501514 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="712.6717961501514" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 1 d 39 min</text>+ <rect x="1028.9844595498375" y="102" width="63" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 1026.4844595498375 96 L 1031.4844595498375 108 M 1030.4844595498375 96 L 1035.4844595498375 108 M 1085.4844595498375 96 L 1090.4844595498375 108 M 1089.4844595498375 96 L 1094.4844595498375 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="1026.9844595498375" y="61" width="67" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="1060.4844595498375" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 1 d 1 h</text></g><g data-timeline-break="" data-break-ms="93066000" aria-label="Axis break: 1 d 1 h without events omitted" role="img">- <rect x="789.1717961501514" y="94" width="56" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 788.1717961501514 87 L 794.1717961501514 92 L 788.1717961501514 96 L 794.1717961501514 101 M 840.1717961501514 87 L 846.1717961501514 92 L 840.1717961501514 96 L 846.1717961501514 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="817.1717961501514" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 1 d 1 h</text>+ <rect x="1131.9844595498375" y="102" width="63" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 1129.4844595498375 96 L 1134.4844595498375 108 M 1133.4844595498375 96 L 1138.4844595498375 108 M 1188.4844595498375 96 L 1193.4844595498375 108 M 1192.4844595498375 96 L 1197.4844595498375 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="1129.9844595498375" y="61" width="67" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="1163.4844595498375" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 1 d 2 h</text></g><g data-timeline-break="" data-break-ms="128945000" aria-label="Axis break: 1 d 11 h without events omitted" role="img">- <rect x="900.7847684132447" y="94" width="61" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 899.7847684132447 87 L 905.7847684132447 92 L 899.7847684132447 96 L 905.7847684132447 101 M 956.7847684132447 87 L 962.7847684132447 92 L 956.7847684132447 96 L 962.7847684132447 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="931.2847684132447" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 1 d 11 h</text>+ <rect x="1274.7006700147135" y="102" width="69" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 1272.2006700147135 96 L 1277.2006700147135 108 M 1276.2006700147135 96 L 1281.2006700147135 108 M 1337.2006700147135 96 L 1342.2006700147135 108 M 1341.2006700147135 96 L 1346.2006700147135 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="1272.7006700147135" y="61" width="73" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="1309.2006700147135" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 1 d 12 h</text></g><!-- Stems sit behind every card, so a stacked card is never crossed byanother event's connector -->- <line data-detail="context" data-timeline-stem="v3_0_0" x1="218" y1="126" x2="218" y2="140" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="v3_0_1" x1="266.61" y1="126" x2="266.61" y2="190" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr627" x1="367.61" y1="274" x2="367.61" y2="288" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr628" x1="367.83" y1="274" x2="367.83" y2="352" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr629" x1="370.11" y1="274" x2="370.11" y2="416" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr635" x1="487.39" y1="274" x2="487.39" y2="480" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr636" x1="488.99" y1="274" x2="488.99" y2="544" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr634" x1="489.05" y1="274" x2="489.05" y2="622" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr637" x1="492.74" y1="274" x2="492.74" y2="686" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="sync_main" x1="611.74" y1="848" x2="611.74" y2="862" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr615" x1="656.17" y1="274" x2="656.17" y2="288" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="sync_upstream" x1="769.17" y1="848" x2="769.17" y2="912" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr655" x1="865.17" y1="274" x2="865.17" y2="288" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr587" x1="869.95" y1="274" x2="869.95" y2="352" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr399" x1="874.53" y1="274" x2="874.53" y2="416" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr632" x1="880.78" y1="274" x2="880.78" y2="480" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr672" x1="981.78" y1="274" x2="981.78" y2="544" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr677" x1="985.34" y1="274" x2="985.34" y2="622" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr674" x1="985.76" y1="274" x2="985.76" y2="686" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr668" x1="1022" y1="274" x2="1022" y2="750" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="v3_0_0" x1="238" y1="136" x2="238" y2="152" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="v3_0_1" x1="361.67" y1="136" x2="361.67" y2="152" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr627" x1="449.67" y1="439" x2="449.67" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr628" x1="450.22" y1="439" x2="450.22" y2="423" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr629" x1="456.01" y1="439" x2="456.01" y2="521" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr635" x1="754.36" y1="439" x2="754.36" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr636" x1="758.41" y1="439" x2="758.41" y2="423" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr634" x1="758.57" y1="439" x2="758.57" y2="521" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr637" x1="767.96" y1="439" x2="767.96" y2="357" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="sync_main" x1="895.96" y1="774" x2="895.96" y2="790" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr615" x1="1008.98" y1="439" x2="1008.98" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="sync_upstream" x1="1111.98" y1="774" x2="1111.98" y2="790" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr655" x1="1214.98" y1="439" x2="1214.98" y2="423" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr587" x1="1227.14" y1="439" x2="1227.14" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr399" x1="1238.79" y1="439" x2="1238.79" y2="521" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr632" x1="1254.7" y1="439" x2="1254.7" y2="357" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr672" x1="1363.7" y1="439" x2="1363.7" y2="587" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr677" x1="1372.74" y1="439" x2="1372.74" y2="291" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr674" x1="1373.81" y1="439" x2="1373.81" y2="668" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr668" x1="1466" y1="439" x2="1466" y2="455" class="tl-stem" stroke-width="1"/><!-- Events in time order -->- <g id="node-v3_0_0" data-node-id="v3_0_0" data-node-label="Tag v3.0.0" tabindex="0" role="button" aria-label="Focus Tag v3.0.0, git tag v3.0.0, Releases › 09-28 19:13:16 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.0" data-node-context="Releases › 09-28 19:13:16 UTC+08:00" data-timeline-at="2026-09-28T19:13:16+08:00" data-timeline-ms="1790593996000" data-timeline-x="218">+ <g id="node-v3_0_0" data-node-id="v3_0_0" data-node-label="Tag v3.0.0" tabindex="0" role="button" aria-label="Focus Tag v3.0.0, git tag v3.0.0, Releases › 09-28 19:13:16 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.0" data-node-context="Releases › 09-28 19:13:16 UTC+08:00" data-timeline-at="2026-09-28T19:13:16+08:00" data-timeline-ms="1790593996000" data-timeline-x="238"><title>Tag v3.0.0 · git tag v3.0.0 · Releases › 09-28 19:13:16 UTC+08:00</title>- <rect x="167" y="140" width="102" height="40" rx="6" class="c-mask"/>- <rect x="167" y="140" width="102" height="40" rx="6" class="c-frontend" stroke-width="1.3"/>- <text x="176" y="158" class="t-muted tl-time" font-size="10" font-weight="600">09-28 19:13:16</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="176" y="172">Tag v3.0.0</tspan></text>- <circle cx="218" cy="126" r="5.5" class="c-frontend tl-dot" stroke-width="2"/>+ <rect x="181.5" y="152" width="113" height="43" rx="7" class="c-mask"/>+ <rect x="181.5" y="152" width="113" height="43" rx="7" class="c-frontend tl-card" stroke-width="1"/>+ <line x1="187.5" y1="159" x2="187.5" y2="188" class="tl-accent tl-accent-frontend" stroke-width="3" stroke-linecap="round"/>+ <text x="195.5" y="171" class="t-muted tl-time" font-size="10.5" font-weight="600">09-28 19:13:16</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="195.5" y="188">Tag v3.0.0</tspan></text>+ <circle cx="238" cy="136" r="5" class="t-frontend tl-dot" stroke-width="2.5"/></g>- <g id="node-v3_0_1" data-node-id="v3_0_1" data-node-label="Tag v3.0.1" tabindex="0" role="button" aria-label="Focus Tag v3.0.1, git tag v3.0.1, Releases › 09-28 23:16:27 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.1" data-node-context="Releases › 09-28 23:16:27 UTC+08:00" data-timeline-at="2026-09-28T23:16:27+08:00" data-timeline-ms="1790608587000" data-timeline-x="266.61">+ <g id="node-v3_0_1" data-node-id="v3_0_1" data-node-label="Tag v3.0.1" tabindex="0" role="button" aria-label="Focus Tag v3.0.1, git tag v3.0.1, Releases › 09-28 23:16:27 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.1" data-node-context="Releases › 09-28 23:16:27 UTC+08:00" data-timeline-at="2026-09-28T23:16:27+08:00" data-timeline-ms="1790608587000" data-timeline-x="361.67"><title>Tag v3.0.1 · git tag v3.0.1 · Releases › 09-28 23:16:27 UTC+08:00</title>- <rect x="215.61" y="190" width="102" height="40" rx="6" class="c-mask"/>- <rect x="215.61" y="190" width="102" height="40" rx="6" class="c-frontend" stroke-width="1.3"/>- <text x="224.61" y="208" class="t-muted tl-time" font-size="10" font-weight="600">09-28 23:16:27</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="224.61" y="222">Tag v3.0.1</tspan></text>- <circle cx="266.61" cy="126" r="5.5" class="c-frontend tl-dot" stroke-width="2"/>+ <rect x="305.17" y="152" width="113" height="43" rx="7" class="c-mask"/>+ <rect x="305.17" y="152" width="113" height="43" rx="7" class="c-frontend tl-card" stroke-width="1"/>+ <line x1="311.17" y1="159" x2="311.17" y2="188" class="tl-accent tl-accent-frontend" stroke-width="3" stroke-linecap="round"/>+ <text x="319.17" y="171" class="t-muted tl-time" font-size="10.5" font-weight="600">09-28 23:16:27</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="319.17" y="188">Tag v3.0.1</tspan></text>+ <circle cx="361.67" cy="136" r="5" class="t-frontend tl-dot" stroke-width="2.5"/></g>- <g id="node-pr627" data-node-id="pr627" data-node-label="Merge #627 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #627 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:16:30 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:16:30 UTC+08:00" data-timeline-at="2026-09-29T14:16:30+08:00" data-timeline-ms="1790662590000" data-timeline-x="367.61">+ <g id="node-pr627" data-node-id="pr627" data-node-label="Merge #627 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #627 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:16:30 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:16:30 UTC+08:00" data-timeline-at="2026-09-29T14:16:30+08:00" data-timeline-ms="1790662590000" data-timeline-x="449.67"><title>Merge #627 restore Kimi poster · Merge commit on dev · PR merges › 09-29 14:16:30 UTC+08:00</title>- <rect x="272.61" y="288" width="190" height="54" rx="6" class="c-mask"/>- <rect x="272.61" y="288" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="281.61" y="306" class="t-muted tl-time" font-size="10" font-weight="600">09-29 14:16:30</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="281.61" y="320">Merge #627 restore Kimi</tspan><tspan x="281.61" y="334">poster</tspan></text>- <circle cx="367.61" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="349.67" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="349.67" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="355.67" y1="462" x2="355.67" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="363.67" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">09-29 14:16:30</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="363.67" y="491">Merge #627 restore</tspan><tspan x="363.67" y="506">Kimi poster</tspan></text>+ <circle cx="449.67" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr628" data-node-id="pr628" data-node-label="Merge #628 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #628 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:17:35 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:17:35 UTC+08:00" data-timeline-at="2026-09-29T14:17:35+08:00" data-timeline-ms="1790662655000" data-timeline-x="367.83">+ <g id="node-pr628" data-node-id="pr628" data-node-label="Merge #628 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #628 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:17:35 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:17:35 UTC+08:00" data-timeline-at="2026-09-29T14:17:35+08:00" data-timeline-ms="1790662655000" data-timeline-x="450.22"><title>Merge #628 restore Kimi poster · Merge commit on dev · PR merges › 09-29 14:17:35 UTC+08:00</title>- <rect x="272.83" y="352" width="190" height="54" rx="6" class="c-mask"/>- <rect x="272.83" y="352" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="281.83" y="370" class="t-muted tl-time" font-size="10" font-weight="600">09-29 14:17:35</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="281.83" y="384">Merge #628 restore Kimi</tspan><tspan x="281.83" y="398">poster</tspan></text>- <circle cx="367.83" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="350.22" y="365" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="350.22" y="365" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="356.22" y1="372" x2="356.22" y2="416" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="364.22" y="384" class="t-muted tl-time" font-size="10.5" font-weight="600">09-29 14:17:35</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="364.22" y="401">Merge #628 restore</tspan><tspan x="364.22" y="416">Kimi poster</tspan></text>+ <circle cx="450.22" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr629" data-node-id="pr629" data-node-label="Merge #629 README sponsor name" tabindex="0" role="button" aria-label="Focus Merge #629 README sponsor name, Merge commit on dev, PR merges › 09-29 14:28:59 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:28:59 UTC+08:00" data-timeline-at="2026-09-29T14:28:59+08:00" data-timeline-ms="1790663339000" data-timeline-x="370.11">+ <g id="node-pr629" data-node-id="pr629" data-node-label="Merge #629 README sponsor name" tabindex="0" role="button" aria-label="Focus Merge #629 README sponsor name, Merge commit on dev, PR merges › 09-29 14:28:59 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:28:59 UTC+08:00" data-timeline-at="2026-09-29T14:28:59+08:00" data-timeline-ms="1790663339000" data-timeline-x="456.01"><title>Merge #629 README sponsor name · Merge commit on dev · PR merges › 09-29 14:28:59 UTC+08:00</title>- <rect x="275.11" y="416" width="190" height="54" rx="6" class="c-mask"/>- <rect x="275.11" y="416" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="284.11" y="434" class="t-muted tl-time" font-size="10" font-weight="600">09-29 14:28:59</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="284.11" y="448">Merge #629 README</tspan><tspan x="284.11" y="462">sponsor name</tspan></text>- <circle cx="370.11" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="356.01" y="521" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="356.01" y="521" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="362.01" y1="528" x2="362.01" y2="572" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="370.01" y="540" class="t-muted tl-time" font-size="10.5" font-weight="600">09-29 14:28:59</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="370.01" y="557">Merge #629 README</tspan><tspan x="370.01" y="572">sponsor name</tspan></text>+ <circle cx="456.01" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr635" data-node-id="pr635" data-node-label="Merge #635 README launch v4" tabindex="0" role="button" aria-label="Focus Merge #635 README launch v4, Merge commit on dev, PR merges › 09-30 00:15:40 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:15:40 UTC+08:00" data-timeline-at="2026-09-30T00:15:40+08:00" data-timeline-ms="1790698540000" data-timeline-x="487.39">+ <g id="node-pr635" data-node-id="pr635" data-node-label="Merge #635 README launch v4" tabindex="0" role="button" aria-label="Focus Merge #635 README launch v4, Merge commit on dev, PR merges › 09-30 00:15:40 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:15:40 UTC+08:00" data-timeline-at="2026-09-30T00:15:40+08:00" data-timeline-ms="1790698540000" data-timeline-x="754.36"><title>Merge #635 README launch v4 · Merge commit on dev · PR merges › 09-30 00:15:40 UTC+08:00</title>- <rect x="392.39" y="480" width="190" height="54" rx="6" class="c-mask"/>- <rect x="392.39" y="480" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="401.39" y="498" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:15:40</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="401.39" y="512">Merge #635 README</tspan><tspan x="401.39" y="526">launch v4</tspan></text>- <circle cx="487.39" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="654.36" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="654.36" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="660.36" y1="462" x2="660.36" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="668.36" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:15:40</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="668.36" y="491">Merge #635 README</tspan><tspan x="668.36" y="506">launch v4</tspan></text>+ <circle cx="754.36" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr636" data-node-id="pr636" data-node-label="Merge #636 README support section" tabindex="0" role="button" aria-label="Focus Merge #636 README support section, Merge commit on dev, PR merges › 09-30 00:23:38 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:38 UTC+08:00" data-timeline-at="2026-09-30T00:23:38+08:00" data-timeline-ms="1790699018000" data-timeline-x="488.99">+ <g id="node-pr636" data-node-id="pr636" data-node-label="Merge #636 README support section" tabindex="0" role="button" aria-label="Focus Merge #636 README support section, Merge commit on dev, PR merges › 09-30 00:23:38 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:38 UTC+08:00" data-timeline-at="2026-09-30T00:23:38+08:00" data-timeline-ms="1790699018000" data-timeline-x="758.41"><title>Merge #636 README support section · Merge commit on dev · PR merges › 09-30 00:23:38 UTC+08:00</title>- <rect x="393.99" y="544" width="190" height="54" rx="6" class="c-mask"/>- <rect x="393.99" y="544" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="402.99" y="562" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:23:38</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="402.99" y="576">Merge #636 README</tspan><tspan x="402.99" y="590">support section</tspan></text>- <circle cx="488.99" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="658.41" y="365" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="658.41" y="365" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="664.41" y1="372" x2="664.41" y2="416" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="672.41" y="384" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:23:38</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="672.41" y="401">Merge #636 README</tspan><tspan x="672.41" y="416">support section</tspan></text>+ <circle cx="758.41" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr634" data-node-id="pr634" data-node-label="Merge #634 repair-rounds bench" tabindex="0" role="button" aria-label="Focus Merge #634 repair-rounds bench, Merge commit on dev, PR merges › 09-30 00:23:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:57 UTC+08:00" data-timeline-at="2026-09-30T00:23:57+08:00" data-timeline-ms="1790699037000" data-timeline-x="489.05">+ <g id="node-pr634" data-node-id="pr634" data-node-label="Merge #634 repair-rounds bench" tabindex="0" role="button" aria-label="Focus Merge #634 repair-rounds bench, Merge commit on dev, PR merges › 09-30 00:23:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:57 UTC+08:00" data-timeline-at="2026-09-30T00:23:57+08:00" data-timeline-ms="1790699037000" data-timeline-x="758.57"><title>Merge #634 repair-rounds bench · Merge commit on dev · PR merges › 09-30 00:23:57 UTC+08:00</title>- <rect x="394.05" y="622" width="190" height="54" rx="6" class="c-mask"/>- <rect x="394.05" y="622" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="403.05" y="640" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:23:57</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="403.05" y="654">Merge #634</tspan><tspan x="403.05" y="668">repair-rounds bench</tspan></text>- <circle cx="489.05" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="658.57" y="521" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="658.57" y="521" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="664.57" y1="528" x2="664.57" y2="572" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="672.57" y="540" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:23:57</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="672.57" y="557">Merge #634</tspan><tspan x="672.57" y="572">repair-rounds bench</tspan></text>+ <circle cx="758.57" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr637" data-node-id="pr637" data-node-label="Merge #637 README Alipay support" tabindex="0" role="button" aria-label="Focus Merge #637 README Alipay support, Merge commit on dev, PR merges › 09-30 00:42:24 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:42:24 UTC+08:00" data-timeline-at="2026-09-30T00:42:24+08:00" data-timeline-ms="1790700144000" data-timeline-x="492.74">+ <g id="node-pr637" data-node-id="pr637" data-node-label="Merge #637 README Alipay support" tabindex="0" role="button" aria-label="Focus Merge #637 README Alipay support, Merge commit on dev, PR merges › 09-30 00:42:24 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:42:24 UTC+08:00" data-timeline-at="2026-09-30T00:42:24+08:00" data-timeline-ms="1790700144000" data-timeline-x="767.96"><title>Merge #637 README Alipay support · Merge commit on dev · PR merges › 09-30 00:42:24 UTC+08:00</title>- <rect x="397.74" y="686" width="190" height="54" rx="6" class="c-mask"/>- <rect x="397.74" y="686" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="406.74" y="704" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:42:24</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="406.74" y="718">Merge #637 README</tspan><tspan x="406.74" y="732">Alipay support</tspan></text>- <circle cx="492.74" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="667.96" y="299" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="667.96" y="299" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="673.96" y1="306" x2="673.96" y2="350" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="681.96" y="318" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:42:24</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="681.96" y="335">Merge #637 README</tspan><tspan x="681.96" y="350">Alipay support</tspan></text>+ <circle cx="767.96" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-sync_main" data-node-id="sync_main" data-node-label="Merge main into dev" tabindex="0" role="button" aria-label="Focus Merge main into dev, Merge commit on dev, Branch syncs › 09-30 14:36:59 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 09-30 14:36:59 UTC+08:00" data-timeline-at="2026-09-30T14:36:59+08:00" data-timeline-ms="1790750219000" data-timeline-x="611.74">+ <g id="node-sync_main" data-node-id="sync_main" data-node-label="Merge main into dev" tabindex="0" role="button" aria-label="Focus Merge main into dev, Merge commit on dev, Branch syncs › 09-30 14:36:59 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 09-30 14:36:59 UTC+08:00" data-timeline-at="2026-09-30T14:36:59+08:00" data-timeline-ms="1790750219000" data-timeline-x="895.96"><title>Merge main into dev · Merge commit on dev · Branch syncs › 09-30 14:36:59 UTC+08:00</title>- <rect x="533.74" y="862" width="156" height="40" rx="6" class="c-mask"/>- <rect x="533.74" y="862" width="156" height="40" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="542.74" y="880" class="t-muted tl-time" font-size="10" font-weight="600">09-30 14:36:59</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="542.74" y="894">Merge main into dev</tspan></text>- <circle cx="611.74" cy="848" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="808.96" y="790" width="174" height="43" rx="7" class="c-mask"/>+ <rect x="808.96" y="790" width="174" height="43" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="814.96" y1="797" x2="814.96" y2="826" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="822.96" y="809" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 14:36:59</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="822.96" y="826">Merge main into dev</tspan></text>+ <circle cx="895.96" cy="774" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g>- <g id="node-pr615" data-node-id="pr615" data-node-label="Merge #615 stable manifest v3.0.1" tabindex="0" role="button" aria-label="Focus Merge #615 stable manifest v3.0.1, Merge commit on dev, PR merges › 09-30 18:19:15 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 18:19:15 UTC+08:00" data-timeline-at="2026-09-30T18:19:15+08:00" data-timeline-ms="1790763555000" data-timeline-x="656.17">+ <g id="node-pr615" data-node-id="pr615" data-node-label="Merge #615 stable manifest v3.0.1" tabindex="0" role="button" aria-label="Focus Merge #615 stable manifest v3.0.1, Merge commit on dev, PR merges › 09-30 18:19:15 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 18:19:15 UTC+08:00" data-timeline-at="2026-09-30T18:19:15+08:00" data-timeline-ms="1790763555000" data-timeline-x="1008.98"><title>Merge #615 stable manifest v3.0.1 · Merge commit on dev · PR merges › 09-30 18:19:15 UTC+08:00</title>- <rect x="561.17" y="288" width="190" height="54" rx="6" class="c-mask"/>- <rect x="561.17" y="288" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="570.17" y="306" class="t-muted tl-time" font-size="10" font-weight="600">09-30 18:19:15</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="570.17" y="320">Merge #615 stable</tspan><tspan x="570.17" y="334">manifest v3.0.1</tspan></text>- <circle cx="656.17" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="908.98" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="908.98" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="914.98" y1="462" x2="914.98" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="922.98" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 18:19:15</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="922.98" y="491">Merge #615 stable</tspan><tspan x="922.98" y="506">manifest v3.0.1</tspan></text>+ <circle cx="1008.98" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-sync_upstream" data-node-id="sync_upstream" data-node-label="Merge upstream dev and regenerate artifacts" tabindex="0" role="button" aria-label="Focus Merge upstream dev and regenerate artifacts, Merge commit on dev, Branch syncs › 10-01 18:58:51 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 10-01 18:58:51 UTC+08:00" data-timeline-at="2026-10-01T16:28:51+05:30" data-timeline-ms="1790852331000" data-timeline-x="769.17">+ <g id="node-sync_upstream" data-node-id="sync_upstream" data-node-label="Merge upstream dev and regenerate artifacts" tabindex="0" role="button" aria-label="Focus Merge upstream dev and regenerate artifacts, Merge commit on dev, Branch syncs › 10-01 18:58:51 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 10-01 18:58:51 UTC+08:00" data-timeline-at="2026-10-01T16:28:51+05:30" data-timeline-ms="1790852331000" data-timeline-x="1111.98"><title>Merge upstream dev and regenerate artifacts · Merge commit on dev · Branch syncs › 10-01 18:58:51 UTC+08:00</title>- <rect x="674.17" y="912" width="190" height="54" rx="6" class="c-mask"/>- <rect x="674.17" y="912" width="190" height="54" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="683.17" y="930" class="t-muted tl-time" font-size="10" font-weight="600">10-01 18:58:51</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="683.17" y="944">Merge upstream dev and</tspan><tspan x="683.17" y="958">regenerate artifacts</tspan></text>- <circle cx="769.17" cy="848" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="1011.98" y="790" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1011.98" y="790" width="200" height="58" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="1017.98" y1="797" x2="1017.98" y2="841" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="1025.98" y="809" class="t-muted tl-time" font-size="10.5" font-weight="600">10-01 18:58:51</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1025.98" y="826">Merge upstream dev and</tspan><tspan x="1025.98" y="841">regenerate artifacts</tspan></text>+ <circle cx="1111.98" cy="774" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g>- <g id="node-pr655" data-node-id="pr655" data-node-label="Merge #655 locale catalogs" tabindex="0" role="button" aria-label="Focus Merge #655 locale catalogs, Merge commit on dev, PR merges › 10-02 20:49:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 20:49:57 UTC+08:00" data-timeline-at="2026-10-02T20:49:57+08:00" data-timeline-ms="1790945397000" data-timeline-x="865.17">+ <g id="node-pr655" data-node-id="pr655" data-node-label="Merge #655 locale catalogs" tabindex="0" role="button" aria-label="Focus Merge #655 locale catalogs, Merge commit on dev, PR merges › 10-02 20:49:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 20:49:57 UTC+08:00" data-timeline-at="2026-10-02T20:49:57+08:00" data-timeline-ms="1790945397000" data-timeline-x="1214.98"><title>Merge #655 locale catalogs · Merge commit on dev · PR merges › 10-02 20:49:57 UTC+08:00</title>- <rect x="770.17" y="288" width="190" height="54" rx="6" class="c-mask"/>- <rect x="770.17" y="288" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="779.17" y="306" class="t-muted tl-time" font-size="10" font-weight="600">10-02 20:49:57</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="779.17" y="320">Merge #655 locale</tspan><tspan x="779.17" y="334">catalogs</tspan></text>- <circle cx="865.17" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1114.98" y="365" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1114.98" y="365" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1120.98" y1="372" x2="1120.98" y2="416" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1128.98" y="384" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 20:49:57</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1128.98" y="401">Merge #655 locale</tspan><tspan x="1128.98" y="416">catalogs</tspan></text>+ <circle cx="1214.98" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr587" data-node-id="pr587" data-node-label="Merge #587 brand ICO bounds" tabindex="0" role="button" aria-label="Focus Merge #587 brand ICO bounds, Merge commit on dev, PR merges › 10-02 21:13:51 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:13:51 UTC+08:00" data-timeline-at="2026-10-02T21:13:51+08:00" data-timeline-ms="1790946831000" data-timeline-x="869.95">+ <g id="node-pr587" data-node-id="pr587" data-node-label="Merge #587 brand ICO bounds" tabindex="0" role="button" aria-label="Focus Merge #587 brand ICO bounds, Merge commit on dev, PR merges › 10-02 21:13:51 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:13:51 UTC+08:00" data-timeline-at="2026-10-02T21:13:51+08:00" data-timeline-ms="1790946831000" data-timeline-x="1227.14"><title>Merge #587 brand ICO bounds · Merge commit on dev · PR merges › 10-02 21:13:51 UTC+08:00</title>- <rect x="774.95" y="352" width="190" height="54" rx="6" class="c-mask"/>- <rect x="774.95" y="352" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="783.95" y="370" class="t-muted tl-time" font-size="10" font-weight="600">10-02 21:13:51</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="783.95" y="384">Merge #587 brand ICO</tspan><tspan x="783.95" y="398">bounds</tspan></text>- <circle cx="869.95" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1127.14" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1127.14" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1133.14" y1="462" x2="1133.14" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1141.14" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 21:13:51</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1141.14" y="491">Merge #587 brand ICO</tspan><tspan x="1141.14" y="506">bounds</tspan></text>+ <circle cx="1227.14" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr399" data-node-id="pr399" data-node-label="Merge #399 ERD diagrams" tabindex="0" role="button" aria-label="Focus Merge #399 ERD diagrams, Merge commit on dev, PR merges › 10-02 21:36:46 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:36:46 UTC+08:00" data-timeline-at="2026-10-02T21:36:46+08:00" data-timeline-ms="1790948206000" data-timeline-x="874.53">+ <g id="node-pr399" data-node-id="pr399" data-node-label="Merge #399 ERD diagrams" tabindex="0" role="button" aria-label="Focus Merge #399 ERD diagrams, Merge commit on dev, PR merges › 10-02 21:36:46 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:36:46 UTC+08:00" data-timeline-at="2026-10-02T21:36:46+08:00" data-timeline-ms="1790948206000" data-timeline-x="1238.79"><title>Merge #399 ERD diagrams · Merge commit on dev · PR merges › 10-02 21:36:46 UTC+08:00</title>- <rect x="782.03" y="416" width="185" height="40" rx="6" class="c-mask"/>- <rect x="782.03" y="416" width="185" height="40" rx="6" class="c-backend" stroke-width="1.3"/>- <text x="791.03" y="434" class="t-muted tl-time" font-size="10" font-weight="600">10-02 21:36:46</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="791.03" y="448">Merge #399 ERD diagrams</tspan></text>- <circle cx="874.53" cy="274" r="5.5" class="c-backend tl-dot" stroke-width="2"/>+ <rect x="1138.79" y="521" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1138.79" y="521" width="200" height="58" rx="7" class="c-backend tl-card" stroke-width="1"/>+ <line x1="1144.79" y1="528" x2="1144.79" y2="572" class="tl-accent tl-accent-backend" stroke-width="3" stroke-linecap="round"/>+ <text x="1152.79" y="540" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 21:36:46</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1152.79" y="557">Merge #399 ERD</tspan><tspan x="1152.79" y="572">diagrams</tspan></text>+ <circle cx="1238.79" cy="439" r="5" class="t-backend tl-dot" stroke-width="2.5"/></g>- <g id="node-pr632" data-node-id="pr632" data-node-label="Merge #632 card note overflow" tabindex="0" role="button" aria-label="Focus Merge #632 card note overflow, Merge commit on dev, PR merges › 10-02 22:08:03 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 22:08:03 UTC+08:00" data-timeline-at="2026-10-02T22:08:03+08:00" data-timeline-ms="1790950083000" data-timeline-x="880.78">+ <g id="node-pr632" data-node-id="pr632" data-node-label="Merge #632 card note overflow" tabindex="0" role="button" aria-label="Focus Merge #632 card note overflow, Merge commit on dev, PR merges › 10-02 22:08:03 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 22:08:03 UTC+08:00" data-timeline-at="2026-10-02T22:08:03+08:00" data-timeline-ms="1790950083000" data-timeline-x="1254.7"><title>Merge #632 card note overflow · Merge commit on dev · PR merges › 10-02 22:08:03 UTC+08:00</title>- <rect x="785.78" y="480" width="190" height="54" rx="6" class="c-mask"/>- <rect x="785.78" y="480" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="794.78" y="498" class="t-muted tl-time" font-size="10" font-weight="600">10-02 22:08:03</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="794.78" y="512">Merge #632 card note</tspan><tspan x="794.78" y="526">overflow</tspan></text>- <circle cx="880.78" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1154.7" y="299" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1154.7" y="299" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1160.7" y1="306" x2="1160.7" y2="350" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1168.7" y="318" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 22:08:03</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1168.7" y="335">Merge #632 card note</tspan><tspan x="1168.7" y="350">overflow</tspan></text>+ <circle cx="1254.7" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr672" data-node-id="pr672" data-node-label="Merge #672 repair-rounds blind spots" tabindex="0" role="button" aria-label="Focus Merge #672 repair-rounds blind spots, Merge commit on dev, PR merges › 10-04 09:57:08 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 09:57:08 UTC+08:00" data-timeline-at="2026-10-04T09:57:08+08:00" data-timeline-ms="1791079028000" data-timeline-x="981.78">+ <g id="node-pr672" data-node-id="pr672" data-node-label="Merge #672 repair-rounds blind spots" tabindex="0" role="button" aria-label="Focus Merge #672 repair-rounds blind spots, Merge commit on dev, PR merges › 10-04 09:57:08 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 09:57:08 UTC+08:00" data-timeline-at="2026-10-04T09:57:08+08:00" data-timeline-ms="1791079028000" data-timeline-x="1363.7"><title>Merge #672 repair-rounds blind spots · Merge commit on dev · PR merges › 10-04 09:57:08 UTC+08:00</title>- <rect x="886.78" y="544" width="190" height="68" rx="6" class="c-mask"/>- <rect x="886.78" y="544" width="190" height="68" rx="6" class="c-external" stroke-width="1.3"/>- <text x="895.78" y="562" class="t-muted tl-time" font-size="10" font-weight="600">10-04 09:57:08</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="895.78" y="576">Merge #672</tspan><tspan x="895.78" y="590">repair-rounds blind</tspan><tspan x="895.78" y="604">spots</tspan></text>- <circle cx="981.78" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1263.7" y="587" width="200" height="73" rx="7" class="c-mask"/>+ <rect x="1263.7" y="587" width="200" height="73" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1269.7" y1="594" x2="1269.7" y2="653" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1277.7" y="606" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 09:57:08</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1277.7" y="623">Merge #672</tspan><tspan x="1277.7" y="638">repair-rounds blind</tspan><tspan x="1277.7" y="653">spots</tspan></text>+ <circle cx="1363.7" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr677" data-node-id="pr677" data-node-label="Merge #677 release subscriptions" tabindex="0" role="button" aria-label="Focus Merge #677 release subscriptions, Merge commit on dev, PR merges › 10-04 10:14:55 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:14:55 UTC+08:00" data-timeline-at="2026-10-04T10:14:55+08:00" data-timeline-ms="1791080095000" data-timeline-x="985.34">+ <g id="node-pr677" data-node-id="pr677" data-node-label="Merge #677 release subscriptions" tabindex="0" role="button" aria-label="Focus Merge #677 release subscriptions, Merge commit on dev, PR merges › 10-04 10:14:55 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:14:55 UTC+08:00" data-timeline-at="2026-10-04T10:14:55+08:00" data-timeline-ms="1791080095000" data-timeline-x="1372.74"><title>Merge #677 release subscriptions · Merge commit on dev · PR merges › 10-04 10:14:55 UTC+08:00</title>- <rect x="890.34" y="622" width="190" height="54" rx="6" class="c-mask"/>- <rect x="890.34" y="622" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="899.34" y="640" class="t-muted tl-time" font-size="10" font-weight="600">10-04 10:14:55</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="899.34" y="654">Merge #677 release</tspan><tspan x="899.34" y="668">subscriptions</tspan></text>- <circle cx="985.34" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1272.74" y="233" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1272.74" y="233" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1278.74" y1="240" x2="1278.74" y2="284" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1286.74" y="252" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 10:14:55</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1286.74" y="269">Merge #677 release</tspan><tspan x="1286.74" y="284">subscriptions</tspan></text>+ <circle cx="1372.74" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr674" data-node-id="pr674" data-node-label="Merge #674 community registry v0" tabindex="0" role="button" aria-label="Focus Merge #674 community registry v0, Merge commit on dev, PR merges › 10-04 10:17:01 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:17:01 UTC+08:00" data-timeline-at="2026-10-04T10:17:01+08:00" data-timeline-ms="1791080221000" data-timeline-x="985.76">+ <g id="node-pr674" data-node-id="pr674" data-node-label="Merge #674 community registry v0" tabindex="0" role="button" aria-label="Focus Merge #674 community registry v0, Merge commit on dev, PR merges › 10-04 10:17:01 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:17:01 UTC+08:00" data-timeline-at="2026-10-04T10:17:01+08:00" data-timeline-ms="1791080221000" data-timeline-x="1373.81"><title>Merge #674 community registry v0 · Merge commit on dev · PR merges › 10-04 10:17:01 UTC+08:00</title>- <rect x="890.76" y="686" width="190" height="54" rx="6" class="c-mask"/>- <rect x="890.76" y="686" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="899.76" y="704" class="t-muted tl-time" font-size="10" font-weight="600">10-04 10:17:01</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="899.76" y="718">Merge #674 community</tspan><tspan x="899.76" y="732">registry v0</tspan></text>- <circle cx="985.76" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1273.81" y="668" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1273.81" y="668" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1279.81" y1="675" x2="1279.81" y2="719" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1287.81" y="687" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 10:17:01</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1287.81" y="704">Merge #674 community</tspan><tspan x="1287.81" y="719">registry v0</tspan></text>+ <circle cx="1373.81" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr668" data-node-id="pr668" data-node-label="Merge #668 MCO artifact refresh" tabindex="0" role="button" aria-label="Focus Merge #668 MCO artifact refresh, Merge commit on dev, PR merges › 10-04 13:18:18 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 13:18:18 UTC+08:00" data-timeline-at="2026-10-04T13:18:18+08:00" data-timeline-ms="1791091098000" data-timeline-x="1022">+ <g id="node-pr668" data-node-id="pr668" data-node-label="Merge #668 MCO artifact refresh" tabindex="0" role="button" aria-label="Focus Merge #668 MCO artifact refresh, Merge commit on dev, PR merges › 10-04 13:18:18 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 13:18:18 UTC+08:00" data-timeline-at="2026-10-04T13:18:18+08:00" data-timeline-ms="1791091098000" data-timeline-x="1466"><title>Merge #668 MCO artifact refresh · Merge commit on dev · PR merges › 10-04 13:18:18 UTC+08:00</title>- <rect x="906" y="750" width="190" height="54" rx="6" class="c-mask"/>- <rect x="906" y="750" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="915" y="768" class="t-muted tl-time" font-size="10" font-weight="600">10-04 13:18:18</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="915" y="782">Merge #668 MCO artifact</tspan><tspan x="915" y="796">refresh</tspan></text>- <circle cx="1022" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1348" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1348" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1354" y1="462" x2="1354" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1362" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 13:18:18</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1362" y="491">Merge #668 MCO</tspan><tspan x="1362" y="506">artifact refresh</tspan></text>+ <circle cx="1466" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g><!-- Legend --><g data-legend="">- <text x="28" y="1004" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="default" data-legend-x="28" data-legend-baseline="1024" data-legend-width="53">- <circle cx="34" cy="1020" r="5" class="c-external" stroke-width="2"/>- <text x="50" y="1024" class="t-muted" font-size="12" font-weight="500">Event</text>+ <text x="28" y="888" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="default" data-legend-x="28" data-legend-baseline="908" data-legend-width="57">+ <circle cx="34" cy="904" r="4.5" class="t-external tl-dot" stroke-width="2"/>+ <text x="50" y="908" class="t-muted" font-size="13" font-weight="500">Event</text></g>- <g data-legend-semantic-kind="change" data-legend-x="103" data-legend-baseline="1024" data-legend-width="60">- <circle cx="109" cy="1020" r="5" class="c-frontend" stroke-width="2"/>- <text x="125" y="1024" class="t-muted" font-size="12" font-weight="500">Change</text>+ <g data-legend-semantic-kind="change" data-legend-x="107" data-legend-baseline="908" data-legend-width="63">+ <circle cx="113" cy="904" r="4.5" class="t-frontend tl-dot" stroke-width="2"/>+ <text x="129" y="908" class="t-muted" font-size="13" font-weight="500">Change</text></g>- <g data-legend-semantic-kind="action" data-legend-x="185" data-legend-baseline="1024" data-legend-width="72">- <circle cx="191" cy="1020" r="5" class="c-messagebus" stroke-width="2"/>- <text x="207" y="1024" class="t-muted" font-size="12" font-weight="500">Response</text>+ <g data-legend-semantic-kind="action" data-legend-x="192" data-legend-baseline="908" data-legend-width="77">+ <circle cx="198" cy="904" r="4.5" class="t-messagebus tl-dot" stroke-width="2"/>+ <text x="214" y="908" class="t-muted" font-size="13" font-weight="500">Response</text></g>- <g data-legend-semantic-kind="recovery" data-legend-x="279" data-legend-baseline="1024" data-legend-width="72">- <circle cx="285" cy="1020" r="5" class="c-backend" stroke-width="2"/>- <text x="301" y="1024" class="t-muted" font-size="12" font-weight="500">Recovery</text>+ <g data-legend-semantic-kind="recovery" data-legend-x="291" data-legend-baseline="908" data-legend-width="77">+ <circle cx="297" cy="904" r="4.5" class="t-backend tl-dot" stroke-width="2"/>+ <text x="313" y="908" class="t-muted" font-size="13" font-weight="500">Recovery</text></g></g></svg>diff --git a/archify/examples/timeline-payment-incident-rendered.html b/archify/examples/timeline-payment-incident-rendered.htmlindex 0c319aa1..d07134ed 100644--- a/archify/examples/timeline-payment-incident-rendered.html+++ b/archify/examples/timeline-payment-incident-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1113 450" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1123 485" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment failure incident</title><desc id="archify-diagram-description">Illustrative incident: release, monitoring, and response events on one clock.</desc><!-- Definitions -->@@ -5017,15 +5017,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }- svg[data-timeline-ui] .tl-axis { stroke: var(--text-muted); }- svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .55; }- svg[data-timeline-ui] .tl-lane-alt { opacity: .3; }+ svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-timeline-ui] .tl-axis { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .75; }+ svg[data-timeline-ui] .tl-lane-alt { opacity: 0; }svg[data-timeline-ui] .tl-lane-line { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-stem { stroke: var(--text-muted); opacity: .7; }- svg[data-timeline-ui] .tl-break-band { opacity: .9; }+ svg[data-timeline-ui] .tl-stem { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-card { fill-opacity: .55; stroke-opacity: .5; }+ svg[data-timeline-ui] .tl-dot { stroke: var(--mask); }+ svg[data-timeline-ui] .tl-break-band { opacity: .55; }+ svg[data-timeline-ui] .tl-break-chip { fill: var(--mask); stroke: var(--lane-stroke); stroke-width: 1; }svg[data-timeline-ui] .tl-hatch { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-muted); }+ svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-accent-external { stroke: var(--external-stroke); }+ svg[data-timeline-ui] .tl-accent-frontend { stroke: var(--frontend-stroke); }+ svg[data-timeline-ui] .tl-accent-security { stroke: var(--security-stroke); }+ svg[data-timeline-ui] .tl-accent-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-timeline-ui] .tl-accent-backend { stroke: var(--backend-stroke); }svg[data-timeline-ui] .tl-tick, svg[data-timeline-ui] .tl-time { font-variant-numeric: tabular-nums; }</style>@@ -5033,122 +5041,121 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><g data-timeline-evidence="illustrative">- <rect x="28" y="12" width="124" height="20" rx="10" class="c-messagebus" stroke-width="1.2"/>- <text x="90" y="26" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">Illustrative data</text>+ <rect x="28" y="14" width="132" height="22" rx="11" class="c-messagebus" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-messagebus"/>+ <text x="99" y="29" class="t-messagebus" font-size="10.5" font-weight="700" text-anchor="middle">Illustrative data</text></g>- <text data-timeline-axis-caption="" x="164" y="26" class="t-muted" font-size="10.5">Time: Asia/Shanghai (UTC+08:00) · 2026-10-01</text>+ <text data-timeline-axis-caption="" x="174" y="29.5" class="t-muted" font-size="11.5">Time: Asia/Shanghai (UTC+08:00) · 2026-10-01</text><!-- Lanes --><g data-timeline-lane="release">- <rect x="125" y="104" width="960" height="88" rx="8" class="tl-lane"/>- <line x1="133" y1="126" x2="1077" y2="126" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="130" class="t-primary" font-size="12" font-weight="700">Release</text>+ <rect x="20" y="112" width="1075" height="97" rx="10" class="tl-lane"/>+ <line x1="143" y1="136" x2="1087" y2="136" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="140.5" class="t-primary" font-size="13" font-weight="700">Release</text></g><g data-timeline-lane="monitoring">- <rect x="125" y="202" width="960" height="88" rx="8" class="tl-lane tl-lane-alt"/>- <line x1="133" y1="224" x2="1077" y2="224" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="228" class="t-primary" font-size="12" font-weight="700">Monitoring</text>+ <rect x="20" y="219" width="1075" height="97" rx="10" class="tl-lane tl-lane-alt"/>+ <line x1="143" y1="243" x2="1087" y2="243" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="247.5" class="t-primary" font-size="13" font-weight="700">Monitoring</text></g><g data-timeline-lane="response">- <rect x="125" y="300" width="960" height="88" rx="8" class="tl-lane"/>- <line x1="133" y1="322" x2="1077" y2="322" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="326" class="t-primary" font-size="12" font-weight="700">Response</text>+ <rect x="20" y="326" width="1075" height="97" rx="10" class="tl-lane"/>+ <line x1="143" y1="350" x2="1087" y2="350" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="354.5" class="t-primary" font-size="13" font-weight="700">Response</text></g><!-- Time axis (proportional within each segment; breaks are disclosed) -->- <line x1="203" y1="94" x2="203" y2="388" class="tl-grid" stroke-width="1"/>- <text x="203" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:00</text>- <line x1="283.4" y1="94" x2="283.4" y2="388" class="tl-grid" stroke-width="1"/>- <text x="283.4" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:02</text>- <line x1="363.8" y1="94" x2="363.8" y2="388" class="tl-grid" stroke-width="1"/>- <text x="363.8" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:04</text>- <line x1="444.2" y1="94" x2="444.2" y2="388" class="tl-grid" stroke-width="1"/>- <text x="444.2" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:06</text>- <line x1="524.6" y1="94" x2="524.6" y2="388" class="tl-grid" stroke-width="1"/>- <text x="524.6" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:08</text>- <line x1="605" y1="94" x2="605" y2="388" class="tl-grid" stroke-width="1"/>- <text x="605" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:10</text>- <line x1="685.4" y1="94" x2="685.4" y2="388" class="tl-grid" stroke-width="1"/>- <text x="685.4" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:12</text>- <line x1="765.8" y1="94" x2="765.8" y2="388" class="tl-grid" stroke-width="1"/>- <text x="765.8" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:14</text>- <line x1="846.2" y1="94" x2="846.2" y2="388" class="tl-grid" stroke-width="1"/>- <text x="846.2" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:16</text>- <line x1="926.6" y1="94" x2="926.6" y2="388" class="tl-grid" stroke-width="1"/>- <text x="926.6" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:18</text>- <line x1="1007" y1="94" x2="1007" y2="388" class="tl-grid" stroke-width="1"/>- <text x="1007" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:20</text>- <line x1="133" y1="94" x2="1077" y2="94" class="tl-axis" stroke-width="1.5"/>+ <line x1="221" y1="102" x2="221" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="221" y1="98" x2="221" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="221" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:00</text>+ <line x1="418" y1="102" x2="418" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="418" y1="98" x2="418" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="418" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:05</text>+ <line x1="615" y1="102" x2="615" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="615" y1="98" x2="615" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="615" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:10</text>+ <line x1="812" y1="102" x2="812" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="812" y1="98" x2="812" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="812" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:15</text>+ <line x1="1009" y1="102" x2="1009" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="1009" y1="98" x2="1009" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1009" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:20</text>+ <line x1="143" y1="102" x2="1087" y2="102" class="tl-axis" stroke-width="1"/><!-- Stems sit behind every card, so a stacked card is never crossed byanother event's connector -->- <line data-detail="context" data-timeline-stem="deploy" x1="203" y1="126" x2="203" y2="140" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="alert" x1="404" y1="224" x2="404" y2="238" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="rollback" x1="605" y1="322" x2="605" y2="336" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="recovered" x1="806" y1="224" x2="806" y2="238" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="closed" x1="1007" y1="322" x2="1007" y2="336" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="deploy" x1="221" y1="136" x2="221" y2="152" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="alert" x1="418" y1="243" x2="418" y2="259" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="rollback" x1="615" y1="350" x2="615" y2="366" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="recovered" x1="812" y1="243" x2="812" y2="259" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="closed" x1="1009" y1="350" x2="1009" y2="366" class="tl-stem" stroke-width="1"/><!-- Events in time order -->- <g id="node-deploy" data-node-id="deploy" data-node-label="Deploy v2.4" tabindex="0" role="button" aria-label="Focus Deploy v2.4, New version starts serving payment requests., Release › 10-01 10:00:00 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="New version starts serving payment requests." data-node-context="Release › 10-01 10:00:00 UTC+08:00" data-timeline-at="2026-10-01T10:00:00+08:00" data-timeline-ms="1790820000000" data-timeline-x="203">+ <g id="node-deploy" data-node-id="deploy" data-node-label="Deploy v2.4" tabindex="0" role="button" aria-label="Focus Deploy v2.4, New version starts serving payment requests., Release › 10-01 10:00:00 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="New version starts serving payment requests." data-node-context="Release › 10-01 10:00:00 UTC+08:00" data-timeline-at="2026-10-01T10:00:00+08:00" data-timeline-ms="1790820000000" data-timeline-x="221"><title>Deploy v2.4 · New version starts serving payment requests. · Release › 10-01 10:00:00 UTC+08:00</title>- <rect x="154" y="140" width="98" height="40" rx="6" class="c-mask"/>- <rect x="154" y="140" width="98" height="40" rx="6" class="c-frontend" stroke-width="1.3"/>- <text x="163" y="158" class="t-muted tl-time" font-size="10" font-weight="600">10:00</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="163" y="172">Deploy v2.4</tspan></text>- <circle cx="203" cy="126" r="5.5" class="c-frontend tl-dot" stroke-width="2"/>+ <rect x="165.5" y="152" width="111" height="43" rx="7" class="c-mask"/>+ <rect x="165.5" y="152" width="111" height="43" rx="7" class="c-frontend tl-card" stroke-width="1"/>+ <line x1="171.5" y1="159" x2="171.5" y2="188" class="tl-accent tl-accent-frontend" stroke-width="3" stroke-linecap="round"/>+ <text x="179.5" y="171" class="t-muted tl-time" font-size="10.5" font-weight="600">10:00</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="179.5" y="188">Deploy v2.4</tspan></text>+ <circle cx="221" cy="136" r="5" class="t-frontend tl-dot" stroke-width="2.5"/></g>- <g id="node-alert" data-node-id="alert" data-node-label="Payment failure alert" tabindex="0" role="button" aria-label="Focus Payment failure alert, Error rate on /pay rises above the paging threshold., Monitoring › 10-01 10:05:00 UTC+08:00" aria-pressed="false" data-node-kind="security" data-node-sublabel="Error rate on /pay rises above the paging threshold." data-node-context="Monitoring › 10-01 10:05:00 UTC+08:00" data-timeline-at="2026-10-01T10:05:00+08:00" data-timeline-ms="1790820300000" data-timeline-x="404">+ <g id="node-alert" data-node-id="alert" data-node-label="Payment failure alert" tabindex="0" role="button" aria-label="Focus Payment failure alert, Error rate on /pay rises above the paging threshold., Monitoring › 10-01 10:05:00 UTC+08:00" aria-pressed="false" data-node-kind="security" data-node-sublabel="Error rate on /pay rises above the paging threshold." data-node-context="Monitoring › 10-01 10:05:00 UTC+08:00" data-timeline-at="2026-10-01T10:05:00+08:00" data-timeline-ms="1790820300000" data-timeline-x="418"><title>Payment failure alert · Error rate on /pay rises above the paging threshold. · Monitoring › 10-01 10:05:00 UTC+08:00</title>- <rect x="318.5" y="238" width="171" height="40" rx="6" class="c-mask"/>- <rect x="318.5" y="238" width="171" height="40" rx="6" class="c-security" stroke-width="1.3"/>- <text x="327.5" y="256" class="t-muted tl-time" font-size="10" font-weight="600">10:05</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="327.5" y="270">Payment failure alert</tspan></text>- <circle cx="404" cy="224" r="5.5" class="c-security tl-dot" stroke-width="2"/>+ <rect x="323" y="259" width="190" height="43" rx="7" class="c-mask"/>+ <rect x="323" y="259" width="190" height="43" rx="7" class="c-security tl-card" stroke-width="1"/>+ <line x1="329" y1="266" x2="329" y2="295" class="tl-accent tl-accent-security" stroke-width="3" stroke-linecap="round"/>+ <text x="337" y="278" class="t-muted tl-time" font-size="10.5" font-weight="600">10:05</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="337" y="295">Payment failure alert</tspan></text>+ <circle cx="418" cy="243" r="5" class="t-security tl-dot" stroke-width="2.5"/></g>- <g id="node-rollback" data-node-id="rollback" data-node-label="Start rollback" tabindex="0" role="button" aria-label="Focus Start rollback, On-call decides to return to v2.3., Response › 10-01 10:10:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="On-call decides to return to v2.3." data-node-context="Response › 10-01 10:10:00 UTC+08:00" data-timeline-at="2026-10-01T10:10:00+08:00" data-timeline-ms="1790820600000" data-timeline-x="605">+ <g id="node-rollback" data-node-id="rollback" data-node-label="Start rollback" tabindex="0" role="button" aria-label="Focus Start rollback, On-call decides to return to v2.3., Response › 10-01 10:10:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="On-call decides to return to v2.3." data-node-context="Response › 10-01 10:10:00 UTC+08:00" data-timeline-at="2026-10-01T10:10:00+08:00" data-timeline-ms="1790820600000" data-timeline-x="615"><title>Start rollback · On-call decides to return to v2.3. · Response › 10-01 10:10:00 UTC+08:00</title>- <rect x="545" y="336" width="120" height="40" rx="6" class="c-mask"/>- <rect x="545" y="336" width="120" height="40" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="554" y="354" class="t-muted tl-time" font-size="10" font-weight="600">10:10</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="554" y="368">Start rollback</tspan></text>- <circle cx="605" cy="322" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="547.5" y="366" width="135" height="43" rx="7" class="c-mask"/>+ <rect x="547.5" y="366" width="135" height="43" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="553.5" y1="373" x2="553.5" y2="402" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="561.5" y="385" class="t-muted tl-time" font-size="10.5" font-weight="600">10:10</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="561.5" y="402">Start rollback</tspan></text>+ <circle cx="615" cy="350" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g>- <g id="node-recovered" data-node-id="recovered" data-node-label="Metrics recovered" tabindex="0" role="button" aria-label="Focus Metrics recovered, Payment success rate back to baseline., Monitoring › 10-01 10:15:00 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Payment success rate back to baseline." data-node-context="Monitoring › 10-01 10:15:00 UTC+08:00" data-timeline-at="2026-10-01T10:15:00+08:00" data-timeline-ms="1790820900000" data-timeline-x="806">+ <g id="node-recovered" data-node-id="recovered" data-node-label="Metrics recovered" tabindex="0" role="button" aria-label="Focus Metrics recovered, Payment success rate back to baseline., Monitoring › 10-01 10:15:00 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Payment success rate back to baseline." data-node-context="Monitoring › 10-01 10:15:00 UTC+08:00" data-timeline-at="2026-10-01T10:15:00+08:00" data-timeline-ms="1790820900000" data-timeline-x="812"><title>Metrics recovered · Payment success rate back to baseline. · Monitoring › 10-01 10:15:00 UTC+08:00</title>- <rect x="735" y="238" width="142" height="40" rx="6" class="c-mask"/>- <rect x="735" y="238" width="142" height="40" rx="6" class="c-backend" stroke-width="1.3"/>- <text x="744" y="256" class="t-muted tl-time" font-size="10" font-weight="600">10:15</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="744" y="270">Metrics recovered</tspan></text>- <circle cx="806" cy="224" r="5.5" class="c-backend tl-dot" stroke-width="2"/>+ <rect x="733" y="259" width="158" height="43" rx="7" class="c-mask"/>+ <rect x="733" y="259" width="158" height="43" rx="7" class="c-backend tl-card" stroke-width="1"/>+ <line x1="739" y1="266" x2="739" y2="295" class="tl-accent tl-accent-backend" stroke-width="3" stroke-linecap="round"/>+ <text x="747" y="278" class="t-muted tl-time" font-size="10.5" font-weight="600">10:15</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="747" y="295">Metrics recovered</tspan></text>+ <circle cx="812" cy="243" r="5" class="t-backend tl-dot" stroke-width="2.5"/></g>- <g id="node-closed" data-node-id="closed" data-node-label="Incident closed" tabindex="0" role="button" aria-label="Focus Incident closed, Stability confirmed; response ends., Response › 10-01 10:20:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Stability confirmed; response ends." data-node-context="Response › 10-01 10:20:00 UTC+08:00" data-timeline-at="2026-10-01T10:20:00+08:00" data-timeline-ms="1790821200000" data-timeline-x="1007">+ <g id="node-closed" data-node-id="closed" data-node-label="Incident closed" tabindex="0" role="button" aria-label="Focus Incident closed, Stability confirmed; response ends., Response › 10-01 10:20:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Stability confirmed; response ends." data-node-context="Response › 10-01 10:20:00 UTC+08:00" data-timeline-at="2026-10-01T10:20:00+08:00" data-timeline-ms="1790821200000" data-timeline-x="1009"><title>Incident closed · Stability confirmed; response ends. · Response › 10-01 10:20:00 UTC+08:00</title>- <rect x="943.5" y="336" width="127" height="40" rx="6" class="c-mask"/>- <rect x="943.5" y="336" width="127" height="40" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="952.5" y="354" class="t-muted tl-time" font-size="10" font-weight="600">10:20</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="952.5" y="368">Incident closed</tspan></text>- <circle cx="1007" cy="322" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="937.5" y="366" width="143" height="43" rx="7" class="c-mask"/>+ <rect x="937.5" y="366" width="143" height="43" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="943.5" y1="373" x2="943.5" y2="402" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="951.5" y="385" class="t-muted tl-time" font-size="10.5" font-weight="600">10:20</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="951.5" y="402">Incident closed</tspan></text>+ <circle cx="1009" cy="350" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g><!-- Legend --><g data-legend="">- <text x="28" y="414" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="change" data-legend-x="28" data-legend-baseline="434" data-legend-width="60">- <circle cx="34" cy="430" r="5" class="c-frontend" stroke-width="2"/>- <text x="50" y="434" class="t-muted" font-size="12" font-weight="500">Change</text>+ <text x="28" y="449" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="change" data-legend-x="28" data-legend-baseline="469" data-legend-width="63">+ <circle cx="34" cy="465" r="4.5" class="t-frontend tl-dot" stroke-width="2"/>+ <text x="50" y="469" class="t-muted" font-size="13" font-weight="500">Change</text></g>- <g data-legend-semantic-kind="alert" data-legend-x="110" data-legend-baseline="434" data-legend-width="53">- <circle cx="116" cy="430" r="5" class="c-security" stroke-width="2"/>- <text x="132" y="434" class="t-muted" font-size="12" font-weight="500">Alert</text>+ <g data-legend-semantic-kind="alert" data-legend-x="113" data-legend-baseline="469" data-legend-width="57">+ <circle cx="119" cy="465" r="4.5" class="t-security tl-dot" stroke-width="2"/>+ <text x="135" y="469" class="t-muted" font-size="13" font-weight="500">Alert</text></g>- <g data-legend-semantic-kind="action" data-legend-x="185" data-legend-baseline="434" data-legend-width="72">- <circle cx="191" cy="430" r="5" class="c-messagebus" stroke-width="2"/>- <text x="207" y="434" class="t-muted" font-size="12" font-weight="500">Response</text>+ <g data-legend-semantic-kind="action" data-legend-x="192" data-legend-baseline="469" data-legend-width="77">+ <circle cx="198" cy="465" r="4.5" class="t-messagebus tl-dot" stroke-width="2"/>+ <text x="214" y="469" class="t-muted" font-size="13" font-weight="500">Response</text></g>- <g data-legend-semantic-kind="recovery" data-legend-x="279" data-legend-baseline="434" data-legend-width="72">- <circle cx="285" cy="430" r="5" class="c-backend" stroke-width="2"/>- <text x="301" y="434" class="t-muted" font-size="12" font-weight="500">Recovery</text>+ <g data-legend-semantic-kind="recovery" data-legend-x="291" data-legend-baseline="469" data-legend-width="77">+ <circle cx="297" cy="465" r="4.5" class="t-backend tl-dot" stroke-width="2"/>+ <text x="313" y="469" class="t-muted" font-size="13" font-weight="500">Recovery</text></g></g></svg>diff --git a/archify/examples/tree-archify-repository-rendered.html b/archify/examples/tree-archify-repository-rendered.htmlindex 6eb6d1bc..aef1637b 100644--- a/archify/examples/tree-archify-repository-rendered.html+++ b/archify/examples/tree-archify-repository-rendered.html@@ -4987,7 +4987,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<div class="pulse-dot"></div><h1>Archify repository layout</h1></div>- <p class="subtitle">Observed directory and module structure of this repository (selected files). The Viewer branch starts collapsed.</p>+ <p class="subtitle">Observed directory structure of this repository (selected files). Runs of three or more files are listed; the viewer/ branch starts collapsed.</p></div>@@ -4995,9 +4995,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1290 1819" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="right" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1791 927" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="down" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Archify repository layout</title>- <desc id="archify-diagram-description">Observed directory and module structure of this repository (selected files). The Viewer branch starts collapsed.</desc>+ <desc id="archify-diagram-description">Observed directory structure of this repository (selected files). Runs of three or more files are listed; the viewer/ branch starts collapsed.</desc><!-- Definitions --><defs><marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">@@ -5017,7 +5017,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-tree-ui] .tree-edge { stroke-linejoin: round; }+ svg[data-tree-ui] .tree-edge { stroke-linejoin: round; stroke-linecap: round; }+ svg[data-tree-ui] .tree-leaf { fill: var(--mask); stroke: var(--lane-stroke); }svg[data-tree-ui] [data-tree-stack] { display: none; fill: var(--mask); }svg[data-tree-ui] [data-tree-collapsed] [data-tree-stack] { display: inline; }svg[data-tree-ui] [data-tree-hidden] { display: none; }@@ -5040,327 +5041,336 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Containment links -->- <path data-edge-from="renderers" data-edge-to="r_arch" data-edge-key="0" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;776,98" d="M 728 98 L 776 98" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_workflow" data-edge-key="1" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,184;776,184" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 178 Q 752 184 758 184 L 776 184" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_sequence" data-edge-key="2" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,255;776,255" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 249 Q 752 255 758 255 L 776 255" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_dataflow" data-edge-key="3" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,311;776,311" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 305 Q 752 311 758 311 L 776 311" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_lifecycle" data-edge-key="4" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,367;776,367" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 361 Q 752 367 758 367 L 776 367" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_erd" data-edge-key="5" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,438;776,438" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 432 Q 752 438 758 438 L 776 438" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_tree" data-edge-key="6" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,517.5;776,517.5" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 511.5 Q 752 517.5 758 517.5 L 776 517.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_cli" data-edge-key="7" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1024,597" d="M 976 597 L 1024 597" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_geometry" data-edge-key="8" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1000,597;1000,683;1024,683" d="M 976 597 L 994 597 Q 1000 597 1000 603 L 1000 677 Q 1000 683 1006 683 L 1024 683" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_i18n" data-edge-key="9" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1000,597;1000,762.5;1024,762.5" d="M 976 597 L 994 597 Q 1000 597 1000 603 L 1000 756.5 Q 1000 762.5 1006 762.5 L 1024 762.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_validators" data-edge-key="10" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1000,597;1000,835.5;1024,835.5" d="M 976 597 L 994 597 Q 1000 597 1000 603 L 1000 829.5 Q 1000 835.5 1006 835.5 L 1024 835.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_shared" data-edge-key="11" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,597;776,597" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 591 Q 752 597 758 597 L 776 597" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="renderers" data-edge-key="12" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,98;528,98" d="M 480 98.5 L 504 98.5 L 504 98 L 528 98" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="schemas" data-edge-key="13" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,908.5;528,908.5" d="M 480 98.5 L 498 98.5 Q 504 98.5 504 104.5 L 504 902.5 Q 504 908.5 510 908.5 L 528 908.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="bin" data-edge-to="b_archify" data-edge-key="14" data-tree-ancestors="bin skill repo" data-composition-points="728,988.5;752,988.5;752,988;776,988" d="M 728 988.5 L 752 988.5 L 752 988 L 776 988" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="bin" data-edge-to="b_preview" data-edge-key="15" data-tree-ancestors="bin skill repo" data-composition-points="728,988.5;752,988.5;752,1067.5;776,1067.5" d="M 728 988.5 L 746 988.5 Q 752 988.5 752 994.5 L 752 1061.5 Q 752 1067.5 758 1067.5 L 776 1067.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="bin" data-edge-key="16" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,988.5;528,988.5" d="M 480 98.5 L 498 98.5 Q 504 98.5 504 104.5 L 504 982.5 Q 504 988.5 510 988.5 L 528 988.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="references" data-edge-key="17" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,1147;528,1147" d="M 480 98.5 L 498 98.5 Q 504 98.5 504 104.5 L 504 1141 Q 504 1147 510 1147 L 528 1147" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="skill" data-edge-key="18" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,98.5;280,98.5" d="M 232 99 L 256 99 L 256 98.5 L 280 98.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_focus" data-edge-key="19" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1226.5;528,1226.5" d="M 480 1227 L 504 1227 L 504 1226.5 L 528 1226.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_export" data-edge-key="20" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1306;528,1306" d="M 480 1227 L 498 1227 Q 504 1227 504 1233 L 504 1300 Q 504 1306 510 1306 L 528 1306" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_tree" data-edge-key="21" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1392;528,1392" d="M 480 1227 L 498 1227 Q 504 1227 504 1233 L 504 1386 Q 504 1392 510 1392 L 528 1392" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_camera" data-edge-key="22" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1471.5;528,1471.5" d="M 480 1227 L 498 1227 Q 504 1227 504 1233 L 504 1465.5 Q 504 1471.5 510 1471.5 L 528 1471.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="viewer" data-edge-key="23" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,1227;280,1227" d="M 232 99 L 250 99 Q 256 99 256 105 L 256 1221 Q 256 1227 262 1227 L 280 1227" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="site" data-edge-key="24" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,1544.5;280,1544.5" d="M 232 99 L 250 99 Q 256 99 256 105 L 256 1538.5 Q 256 1544.5 262 1544.5 L 280 1544.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="scripts" data-edge-to="sc_viewer" data-edge-key="25" data-tree-ancestors="scripts repo" data-composition-points="480,1624.5;504,1624.5;504,1624;528,1624" d="M 480 1624.5 L 504 1624.5 L 504 1624 L 528 1624" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="scripts" data-edge-to="sc_zip" data-edge-key="26" data-tree-ancestors="scripts repo" data-composition-points="480,1624.5;504,1624.5;504,1703.5;528,1703.5" d="M 480 1624.5 L 498 1624.5 Q 504 1624.5 504 1630.5 L 504 1697.5 Q 504 1703.5 510 1703.5 L 528 1703.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="scripts" data-edge-to="sc_gallery" data-edge-key="27" data-tree-ancestors="scripts repo" data-composition-points="480,1624.5;504,1624.5;504,1768;528,1768" d="M 480 1624.5 L 498 1624.5 Q 504 1624.5 504 1630.5 L 504 1762 Q 504 1768 510 1768 L 528 1768" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="scripts" data-edge-key="28" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,1624.5;280,1624.5" d="M 232 99 L 250 99 Q 256 99 256 105 L 256 1618.5 Q 256 1624.5 262 1624.5 L 280 1624.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="skill" data-edge-key="0" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;618.5,151;618.5,179" d="M 1131 123 L 1131 143 Q 1131 151 1123 151 L 626.5 151 Q 618.5 151 618.5 159 L 618.5 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="viewer" data-edge-key="1" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;1243.5,151;1243.5,179" d="M 1131 123 L 1131 143 Q 1131 151 1139 151 L 1235.5 151 Q 1243.5 151 1243.5 159 L 1243.5 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="site" data-edge-key="2" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;1443,151;1443,179" d="M 1131 123 L 1131 143 Q 1131 151 1139 151 L 1435 151 Q 1443 151 1443 159 L 1443 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="scripts" data-edge-key="3" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;1642.5,151;1642.5,179" d="M 1131 123 L 1131 143 Q 1131 151 1139 151 L 1634.5 151 Q 1642.5 151 1642.5 159 L 1642.5 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="renderers" data-edge-key="4" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;185,266;185,294" d="M 618.5 238 L 618.5 258 Q 618.5 266 610.5 266 L 193 266 Q 185 266 185 274 L 185 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="schemas" data-edge-key="5" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;618,266;618,294" d="M 618.5 238 L 618.5 266 L 618 266 L 618 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="bin" data-edge-key="6" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;796,266;796,294" d="M 618.5 238 L 618.5 258 Q 618.5 266 626.5 266 L 788 266 Q 796 266 796 274 L 796 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="references" data-edge-key="7" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;1040,266;1040,294" d="M 618.5 238 L 618.5 258 Q 618.5 266 626.5 266 L 1032 266 Q 1040 266 1040 274 L 1040 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_arch" data-edge-key="8" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,438.5;58,438.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 431.5 Q 44 438.5 51 438.5 L 58 438.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_workflow" data-edge-key="9" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,507.5;58,507.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 500.5 Q 44 507.5 51 507.5 L 58 507.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_sequence" data-edge-key="10" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,576.5;58,576.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 569.5 Q 44 576.5 51 576.5 L 58 576.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_dataflow" data-edge-key="11" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,645.5;58,645.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 638.5 Q 44 645.5 51 645.5 L 58 645.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_lifecycle" data-edge-key="12" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,714.5;58,714.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 707.5 Q 44 714.5 51 714.5 L 58 714.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_erd" data-edge-key="13" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,783.5;58,783.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 776.5 Q 44 783.5 51 783.5 L 58 783.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_tree" data-edge-key="14" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,852.5;58,852.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 845.5 Q 44 852.5 51 852.5 L 58 852.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_shared" data-edge-key="15" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;325,381;325,409" d="M 185 353 L 185 373 Q 185 381 193 381 L 317 381 Q 325 381 325 389 L 325 409" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_cli" data-edge-key="16" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,553.5;281,553.5" d="M 267 468 L 267 546.5 Q 267 553.5 274 553.5 L 281 553.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_geometry" data-edge-key="17" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,622.5;281,622.5" d="M 267 468 L 267 615.5 Q 267 622.5 274 622.5 L 281 622.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_i18n" data-edge-key="18" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,691.5;281,691.5" d="M 267 468 L 267 684.5 Q 267 691.5 274 691.5 L 281 691.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_validators" data-edge-key="19" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,760.5;281,760.5" d="M 267 468 L 267 753.5 Q 267 760.5 274 760.5 L 281 760.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="bin" data-edge-to="b_archify" data-edge-key="20" data-tree-ancestors="bin skill repo" data-composition-points="738,353;738,438.5;752,438.5" d="M 738 353 L 738 431.5 Q 738 438.5 745 438.5 L 752 438.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="bin" data-edge-to="b_finalize" data-edge-key="21" data-tree-ancestors="bin skill repo" data-composition-points="738,353;738,507.5;752,507.5" d="M 738 353 L 738 500.5 Q 738 507.5 745 507.5 L 752 507.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="bin" data-edge-to="b_preview" data-edge-key="22" data-tree-ancestors="bin skill repo" data-composition-points="738,353;738,576.5;752,576.5" d="M 738 353 L 738 569.5 Q 738 576.5 745 576.5 L 752 576.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_focus" data-edge-key="23" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,323.5;1172,323.5" d="M 1158 238 L 1158 316.5 Q 1158 323.5 1165 323.5 L 1172 323.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_export" data-edge-key="24" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,392.5;1172,392.5" d="M 1158 238 L 1158 385.5 Q 1158 392.5 1165 392.5 L 1172 392.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_tree" data-edge-key="25" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,461.5;1172,461.5" d="M 1158 238 L 1158 454.5 Q 1158 461.5 1165 461.5 L 1172 461.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_camera" data-edge-key="26" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,530.5;1172,530.5" d="M 1158 238 L 1158 523.5 Q 1158 530.5 1165 530.5 L 1172 530.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="scripts" data-edge-to="sc_viewer" data-edge-key="27" data-tree-ancestors="scripts repo" data-composition-points="1557,238;1557,323.5;1571,323.5" d="M 1557 238 L 1557 316.5 Q 1557 323.5 1564 323.5 L 1571 323.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="scripts" data-edge-to="sc_zip" data-edge-key="28" data-tree-ancestors="scripts repo" data-composition-points="1557,238;1557,392.5;1571,392.5" d="M 1557 238 L 1557 385.5 Q 1557 392.5 1564 392.5 L 1571 392.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="scripts" data-edge-to="sc_gallery" data-edge-key="29" data-tree-ancestors="scripts repo" data-composition-points="1557,238;1557,461.5;1571,461.5" d="M 1557 238 L 1557 454.5 Q 1557 461.5 1564 461.5 L 1571 461.5" class="a-default tree-edge" stroke-width="1.5"/><!-- Nodes -->- <g id="node-r_arch" data-node-id="r_arch" data-node-label="architecture/" tabindex="0" role="button" aria-label="Focus architecture/, Components, boundaries, orthogonal router, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Components, boundaries, orthogonal router" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>architecture/ · Components, boundaries, orthogonal router · Leaf</title>+ <g id="node-repo" data-node-id="repo" data-node-label="archify repository" tabindex="0" role="button" aria-label="Focus archify repository, Skill, viewer, and site, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Skill, viewer, and site" data-node-context="Root" data-tree-depth="0">+ <title>archify repository · Skill, viewer, and site · Root</title>+ <rect data-tree-stack="" x="1038" y="69" width="196" height="59" rx="8" class="c-frontend" stroke-width="1.2"/>+ <rect x="1033" y="64" width="196" height="59" rx="8" class="c-mask"/>+ <rect x="1033" y="64" width="196" height="59" rx="8" class="c-frontend" stroke-width="1.8"/>+ <text data-node-label="" x="1131" class="t-primary" font-size="14.5" font-weight="750" text-anchor="middle"><tspan x="1131" y="88.5">archify repository</tspan></text>+ <text data-detail="context" x="1131" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1131" y="107.5">Skill, viewer, and site</tspan></text>+ </g>+ <g id="node-skill" data-node-id="skill" data-node-label="archify/" tabindex="0" role="button" aria-label="Focus archify/, Installable Skill package, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Installable Skill package" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">+ <title>archify/ · Installable Skill package · Branch</title>+ <rect data-tree-stack="" x="526" y="184" width="195" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="521" y="179" width="195" height="59" rx="8" class="c-mask"/>+ <rect x="521" y="179" width="195" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="618.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="618.5" y="203.5">archify/</tspan></text>+ <text data-detail="context" x="618.5" class="t-muted" font-size="11" text-anchor="middle"><tspan x="618.5" y="222.5">Installable Skill package</tspan></text>+ </g>+ <g id="node-viewer" data-node-id="viewer" data-node-label="viewer/" tabindex="0" role="button" aria-label="Focus viewer/, Inlined into the template, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Inlined into the template" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">+ <title>viewer/ · Inlined into the template · Branch</title>+ <rect data-tree-stack="" x="1151" y="184" width="195" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="1146" y="179" width="195" height="59" rx="8" class="c-mask"/>+ <rect x="1146" y="179" width="195" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="1243.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="1243.5" y="203.5">viewer/</tspan></text>+ <text data-detail="context" x="1243.5" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1243.5" y="222.5">Inlined into the template</tspan></text>+ </g>+ <g id="node-site" data-node-id="site" data-node-label="website/" tabindex="0" role="button" aria-label="Focus website/, Astro project site, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Astro project site" data-node-context="Leaf" data-tree-depth="1" data-tree-ancestors="repo">+ <title>website/ · Astro project site · Leaf</title>++ <rect x="1369" y="179" width="148" height="59" rx="8" class="c-mask"/>+ <rect x="1369" y="179" width="148" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1443" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="1443" y="203.5">website/</tspan></text>+ <text data-detail="context" x="1443" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1443" y="222.5">Astro project site</tspan></text>+ </g>+ <g id="node-scripts" data-node-id="scripts" data-node-label="scripts/" tabindex="0" role="button" aria-label="Focus scripts/, Build and freshness tools, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Build and freshness tools" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">+ <title>scripts/ · Build and freshness tools · Branch</title>+ <rect data-tree-stack="" x="1550" y="184" width="195" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="1545" y="179" width="195" height="59" rx="8" class="c-mask"/>+ <rect x="1545" y="179" width="195" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="1642.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="1642.5" y="203.5">scripts/</tspan></text>+ <text data-detail="context" x="1642.5" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1642.5" y="222.5">Build and freshness tools</tspan></text>+ </g>+ <g id="node-renderers" data-node-id="renderers" data-node-label="renderers/" tabindex="0" role="button" aria-label="Focus renderers/, One per diagram type, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="One per diagram type" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>renderers/ · One per diagram type · Branch</title>+ <rect data-tree-stack="" x="110" y="299" width="160" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="105" y="294" width="160" height="59" rx="8" class="c-mask"/>+ <rect x="105" y="294" width="160" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="185" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="185" y="318.5">renderers/</tspan></text>+ <text data-detail="context" x="185" class="t-muted" font-size="11" text-anchor="middle"><tspan x="185" y="337.5">One per diagram type</tspan></text>+ </g>+ <g id="node-schemas" data-node-id="schemas" data-node-label="schemas/" tabindex="0" role="button" aria-label="Focus schemas/, Typed JSON contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Typed JSON contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>schemas/ · Typed JSON contracts · Leaf</title>++ <rect x="538" y="294" width="160" height="59" rx="8" class="c-mask"/>+ <rect x="538" y="294" width="160" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="618" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="618" y="318.5">schemas/</tspan></text>+ <text data-detail="context" x="618" class="t-muted" font-size="11" text-anchor="middle"><tspan x="618" y="337.5">Typed JSON contracts</tspan></text>+ </g>+ <g id="node-bin" data-node-id="bin" data-node-label="bin/" tabindex="0" role="button" aria-label="Focus bin/, CLI entry points, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="CLI entry points" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>bin/ · CLI entry points · Branch</title>+ <rect data-tree-stack="" x="731" y="299" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="726" y="294" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="726" y="294" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="796" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="796" y="318.5">bin/</tspan></text>+ <text data-detail="context" x="796" class="t-muted" font-size="11" text-anchor="middle"><tspan x="796" y="337.5">CLI entry points</tspan></text>+ </g>+ <g id="node-references" data-node-id="references" data-node-label="references/" tabindex="0" role="button" aria-label="Focus references/, Authoring contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Authoring contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>references/ · Authoring contracts · Leaf</title>- <rect x="776" y="64" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="64" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="87">architecture/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="105">Components, boundaries,</tspan><tspan x="876" y="118">orthogonal router</tspan></text>+ <rect x="962" y="294" width="156" height="59" rx="8" class="c-mask"/>+ <rect x="962" y="294" width="156" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1040" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="1040" y="318.5">references/</tspan></text>+ <text data-detail="context" x="1040" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1040" y="337.5">Authoring contracts</tspan></text></g>- <g id="node-r_workflow" data-node-id="r_workflow" data-node-label="workflow/" tabindex="0" role="button" aria-label="Focus workflow/, Workflow compiler and renderer, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Workflow compiler and renderer" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>workflow/ · Workflow compiler and renderer · Leaf</title>+ <g id="node-r_arch" data-node-id="r_arch" data-node-label="architecture/" tabindex="0" role="button" aria-label="Focus architecture/, Boundaries and router, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Boundaries and router" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>architecture/ · Boundaries and router · Leaf</title>- <rect x="776" y="150" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="150" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="173">workflow/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="191">Workflow compiler and</tspan><tspan x="876" y="204">renderer</tspan></text>+ <rect x="58" y="409" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="409" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="433.5">architecture/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="452.5">Boundaries and router</tspan></text>+ </g>+ <g id="node-r_workflow" data-node-id="r_workflow" data-node-label="workflow/" tabindex="0" role="button" aria-label="Focus workflow/, Workflow compiler, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Workflow compiler" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>workflow/ · Workflow compiler · Leaf</title>++ <rect x="58" y="478" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="478" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="502.5">workflow/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="521.5">Workflow compiler</tspan></text></g><g id="node-r_sequence" data-node-id="r_sequence" data-node-label="sequence/" tabindex="0" role="button" aria-label="Focus sequence/, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo"><title>sequence/ · Leaf</title>- <rect x="776" y="236" width="200" height="38" rx="7" class="c-mask"/>- <rect x="776" y="236" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="259">sequence/</tspan></text>+ <rect x="58" y="547" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="547" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="580.5">sequence/</tspan></text></g><g id="node-r_dataflow" data-node-id="r_dataflow" data-node-label="dataflow/" tabindex="0" role="button" aria-label="Focus dataflow/, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo"><title>dataflow/ · Leaf</title>- <rect x="776" y="292" width="200" height="38" rx="7" class="c-mask"/>- <rect x="776" y="292" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="315">dataflow/</tspan></text>+ <rect x="58" y="616" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="616" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="649.5">dataflow/</tspan></text></g><g id="node-r_lifecycle" data-node-id="r_lifecycle" data-node-label="lifecycle/" tabindex="0" role="button" aria-label="Focus lifecycle/, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo"><title>lifecycle/ · Leaf</title>- <rect x="776" y="348" width="200" height="38" rx="7" class="c-mask"/>- <rect x="776" y="348" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="371">lifecycle/</tspan></text>+ <rect x="58" y="685" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="685" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="718.5">lifecycle/</tspan></text></g>- <g id="node-r_erd" data-node-id="r_erd" data-node-label="erd/" tabindex="0" role="button" aria-label="Focus erd/, Banded grid and crow's foot markers, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Banded grid and crow's foot markers" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>erd/ · Banded grid and crow's foot markers · Leaf</title>+ <g id="node-r_erd" data-node-id="r_erd" data-node-label="erd/" tabindex="0" role="button" aria-label="Focus erd/, Crow's foot markers, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Crow's foot markers" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>erd/ · Crow's foot markers · Leaf</title>- <rect x="776" y="404" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="404" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="427">erd/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="445">Banded grid and crow's foot</tspan><tspan x="876" y="458">markers</tspan></text>+ <rect x="58" y="754" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="754" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="778.5">erd/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="797.5">Crow's foot markers</tspan></text></g>- <g id="node-r_tree" data-node-id="r_tree" data-node-label="tree/" tabindex="0" role="button" aria-label="Focus tree/, This hierarchy renderer, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="This hierarchy renderer" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>tree/ · This hierarchy renderer · Leaf</title>+ <g id="node-r_tree" data-node-id="r_tree" data-node-label="tree/" tabindex="0" role="button" aria-label="Focus tree/, This renderer, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="This renderer" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>tree/ · This renderer · Leaf</title>- <rect x="776" y="490" width="200" height="55" rx="7" class="c-mask"/>- <rect x="776" y="490" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="513">tree/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="531">This hierarchy renderer</tspan></text>+ <rect x="58" y="823" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="823" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="847.5">tree/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="866.5">This renderer</tspan></text></g>- <g id="node-s_cli" data-node-id="s_cli" data-node-label="cli.mjs" tabindex="0" role="button" aria-label="Focus cli.mjs, Load, validate, and write one diagram, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Load, validate, and write one diagram" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>cli.mjs · Load, validate, and write one diagram · Leaf</title>-- <rect x="1024" y="563" width="221" height="68" rx="7" class="c-mask"/>- <rect x="1024" y="563" width="221" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="586">cli.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="604">Load, validate, and write</tspan><tspan x="1134.5" y="617">one diagram</tspan></text>+ <g id="node-r_shared" data-node-id="r_shared" data-node-label="shared/" tabindex="0" role="button" aria-label="Focus shared/, Shared helpers, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Shared helpers" data-node-context="Branch" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>shared/ · Shared helpers · Branch</title>+ <rect data-tree-stack="" x="260" y="414" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="255" y="409" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="255" y="409" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="325" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="325" y="433.5">shared/</tspan></text>+ <text data-detail="context" x="325" class="t-muted" font-size="11" text-anchor="middle"><tspan x="325" y="452.5">Shared helpers</tspan></text></g>- <g id="node-s_geometry" data-node-id="s_geometry" data-node-label="geometry.mjs" tabindex="0" role="button" aria-label="Focus geometry.mjs, Clean Flow and composition gates, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Clean Flow and composition gates" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>geometry.mjs · Clean Flow and composition gates · Leaf</title>+ <g id="node-s_cli" data-node-id="s_cli" data-node-label="cli.mjs" tabindex="0" role="button" aria-label="Focus cli.mjs, Load, validate, write, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Load, validate, write" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>cli.mjs · Load, validate, write · Leaf</title>- <rect x="1024" y="649" width="221" height="68" rx="7" class="c-mask"/>- <rect x="1024" y="649" width="221" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="672">geometry.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="690">Clean Flow and composition</tspan><tspan x="1134.5" y="703">gates</tspan></text>+ <rect x="281" y="524" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="524" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="548.5">cli.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="567.5">Load, validate, write</tspan></text></g>- <g id="node-s_i18n" data-node-id="s_i18n" data-node-label="i18n.mjs" tabindex="0" role="button" aria-label="Focus i18n.mjs, Bundled locale catalogs, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Bundled locale catalogs" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>i18n.mjs · Bundled locale catalogs · Leaf</title>+ <g id="node-s_geometry" data-node-id="s_geometry" data-node-label="geometry.mjs" tabindex="0" role="button" aria-label="Focus geometry.mjs, Composition gates, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Composition gates" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>geometry.mjs · Composition gates · Leaf</title>- <rect x="1024" y="735" width="221" height="55" rx="7" class="c-mask"/>- <rect x="1024" y="735" width="221" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="758">i18n.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="776">Bundled locale catalogs</tspan></text>+ <rect x="281" y="593" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="593" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="617.5">geometry.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="636.5">Composition gates</tspan></text></g>- <g id="node-s_validators" data-node-id="s_validators" data-node-label="generated-validators.mjs" tabindex="0" role="button" aria-label="Focus generated-validators.mjs, Standalone schema validators, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Standalone schema validators" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>generated-validators.mjs · Standalone schema validators · Leaf</title>+ <g id="node-s_i18n" data-node-id="s_i18n" data-node-label="i18n.mjs" tabindex="0" role="button" aria-label="Focus i18n.mjs, Locale catalogs, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Locale catalogs" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>i18n.mjs · Locale catalogs · Leaf</title>- <rect x="1024" y="808" width="221" height="55" rx="7" class="c-mask"/>- <rect x="1024" y="808" width="221" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="831">generated-validators.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="849">Standalone schema validators</tspan></text>+ <rect x="281" y="662" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="662" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="686.5">i18n.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="705.5">Locale catalogs</tspan></text></g>- <g id="node-r_shared" data-node-id="r_shared" data-node-label="shared/" tabindex="0" role="button" aria-label="Focus shared/, Helpers every renderer imports, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Helpers every renderer imports" data-node-context="Branch" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>shared/ · Helpers every renderer imports · Branch</title>- <rect data-tree-stack="" x="781" y="568" width="200" height="68" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="776" y="563" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="563" width="200" height="68" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="586">shared/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="604">Helpers every renderer</tspan><tspan x="876" y="617">imports</tspan></text>- </g>- <g id="node-renderers" data-node-id="renderers" data-node-label="renderers/" tabindex="0" role="button" aria-label="Focus renderers/, One renderer per diagram type, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="One renderer per diagram type" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>renderers/ · One renderer per diagram type · Branch</title>- <rect data-tree-stack="" x="533" y="69" width="200" height="68" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="528" y="64" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="64" width="200" height="68" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="87">renderers/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="105">One renderer per diagram</tspan><tspan x="628" y="118">type</tspan></text>+ <g id="node-s_validators" data-node-id="s_validators" data-node-label="generated-validators.mjs" tabindex="0" role="button" aria-label="Focus generated-validators.mjs, Schema validators, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Schema validators" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>generated-validators.mjs · Schema validators · Leaf</title>++ <rect x="281" y="731" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="731" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="755.5">generated-validators.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="774.5">Schema validators</tspan></text></g>- <g id="node-schemas" data-node-id="schemas" data-node-label="schemas/" tabindex="0" role="button" aria-label="Focus schemas/, Typed JSON contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Typed JSON contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>schemas/ · Typed JSON contracts · Leaf</title>+ <g id="node-b_archify" data-node-id="b_archify" data-node-label="archify.mjs" tabindex="0" role="button" aria-label="Focus archify.mjs, CLI: validate, finalize, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="CLI: validate, finalize" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo">+ <title>archify.mjs · CLI: validate, finalize · Leaf</title>- <rect x="528" y="881" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="881" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="904">schemas/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="922">Typed JSON contracts</tspan></text>+ <rect x="752" y="409" width="182" height="59" rx="8" class="c-mask"/>+ <rect x="752" y="409" width="182" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="766" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="766" y="433.5">archify.mjs</tspan></text>+ <text data-detail="context" x="766" class="t-muted" font-size="11" text-anchor="start"><tspan x="766" y="452.5">CLI: validate, finalize</tspan></text></g>- <g id="node-b_archify" data-node-id="b_archify" data-node-label="archify.mjs" tabindex="0" role="button" aria-label="Focus archify.mjs, validate, deliver, finalize, doctor, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="validate, deliver, finalize, doctor" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo">- <title>archify.mjs · validate, deliver, finalize, doctor · Leaf</title>+ <g id="node-b_finalize" data-node-id="b_finalize" data-node-label="finalize.mjs" tabindex="0" role="button" aria-label="Focus finalize.mjs, Render, check, deliver, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Render, check, deliver" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo">+ <title>finalize.mjs · Render, check, deliver · Leaf</title>- <rect x="776" y="954" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="954" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="977">archify.mjs</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="995">validate, deliver,</tspan><tspan x="876" y="1008">finalize, doctor</tspan></text>+ <rect x="752" y="478" width="182" height="59" rx="8" class="c-mask"/>+ <rect x="752" y="478" width="182" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="766" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="766" y="502.5">finalize.mjs</tspan></text>+ <text data-detail="context" x="766" class="t-muted" font-size="11" text-anchor="start"><tspan x="766" y="521.5">Render, check, deliver</tspan></text></g><g id="node-b_preview" data-node-id="b_preview" data-node-label="preview.mjs" tabindex="0" role="button" aria-label="Focus preview.mjs, Live preview server, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Live preview server" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo"><title>preview.mjs · Live preview server · Leaf</title>- <rect x="776" y="1040" width="200" height="55" rx="7" class="c-mask"/>- <rect x="776" y="1040" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="1063">preview.mjs</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="1081">Live preview server</tspan></text>- </g>- <g id="node-bin" data-node-id="bin" data-node-label="bin/" tabindex="0" role="button" aria-label="Focus bin/, CLI entry points, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="CLI entry points" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>bin/ · CLI entry points · Branch</title>- <rect data-tree-stack="" x="533" y="966" width="200" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="528" y="961" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="961" width="200" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="984">bin/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1002">CLI entry points</tspan></text>- </g>- <g id="node-references" data-node-id="references" data-node-label="references/" tabindex="0" role="button" aria-label="Focus references/, Authoring and delivery contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Authoring and delivery contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>references/ · Authoring and delivery contracts · Leaf</title>-- <rect x="528" y="1113" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1113" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1136">references/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1154">Authoring and delivery</tspan><tspan x="628" y="1167">contracts</tspan></text>+ <rect x="752" y="547" width="182" height="59" rx="8" class="c-mask"/>+ <rect x="752" y="547" width="182" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="766" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="766" y="571.5">preview.mjs</tspan></text>+ <text data-detail="context" x="766" class="t-muted" font-size="11" text-anchor="start"><tspan x="766" y="590.5">Live preview server</tspan></text></g>- <g id="node-skill" data-node-id="skill" data-node-label="archify/" tabindex="0" role="button" aria-label="Focus archify/, Installable Skill package, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Installable Skill package" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">- <title>archify/ · Installable Skill package · Branch</title>- <rect data-tree-stack="" x="285" y="76" width="200" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="280" y="71" width="200" height="55" rx="7" class="c-mask"/>- <rect x="280" y="71" width="200" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="94">archify/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="112">Installable Skill package</tspan></text>- </g>- <g id="node-v_focus" data-node-id="v_focus" data-node-label="focus.js" tabindex="0" role="button" aria-label="Focus focus.js, Semantic passport and reach, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Semantic passport and reach" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">- <title>focus.js · Semantic passport and reach · Leaf</title>+ <g id="node-v_focus" data-node-id="v_focus" data-node-label="focus.js" tabindex="0" role="button" aria-label="Focus focus.js, Semantic passport, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Semantic passport" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">+ <title>focus.js · Semantic passport · Leaf</title>- <rect x="528" y="1199" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="1199" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1222">focus.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1240">Semantic passport and reach</tspan></text>+ <rect x="1172" y="294" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="294" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="318.5">focus.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="337.5">Semantic passport</tspan></text></g>- <g id="node-v_export" data-node-id="v_export" data-node-label="export.js" tabindex="0" role="button" aria-label="Focus export.js, SVG, PNG, JPEG, WebP, WebM export, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="SVG, PNG, JPEG, WebP, WebM export" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">- <title>export.js · SVG, PNG, JPEG, WebP, WebM export · Leaf</title>+ <g id="node-v_export" data-node-id="v_export" data-node-label="export.js" tabindex="0" role="button" aria-label="Focus export.js, SVG, PNG, WebM export, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="SVG, PNG, WebM export" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">+ <title>export.js · SVG, PNG, WebM export · Leaf</title>- <rect x="528" y="1272" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1272" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1295">export.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1313">SVG, PNG, JPEG, WebP, WebM</tspan><tspan x="628" y="1326">export</tspan></text>+ <rect x="1172" y="363" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="363" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="387.5">export.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="406.5">SVG, PNG, WebM export</tspan></text></g>- <g id="node-v_tree" data-node-id="v_tree" data-node-label="tree-branches.js" tabindex="0" role="button" aria-label="Focus tree-branches.js, Expand and collapse for trees, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Expand and collapse for trees" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">- <title>tree-branches.js · Expand and collapse for trees · Leaf</title>+ <g id="node-v_tree" data-node-id="v_tree" data-node-label="tree-branches.js" tabindex="0" role="button" aria-label="Focus tree-branches.js, Expand and collapse, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Expand and collapse" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">+ <title>tree-branches.js · Expand and collapse · Leaf</title>- <rect x="528" y="1358" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1358" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1381">tree-branches.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1399">Expand and collapse for</tspan><tspan x="628" y="1412">trees</tspan></text>+ <rect x="1172" y="432" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="432" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="456.5">tree-branches.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="475.5">Expand and collapse</tspan></text></g><g id="node-v_camera" data-node-id="v_camera" data-node-label="viewer-camera.js" tabindex="0" role="button" aria-label="Focus viewer-camera.js, Pan, zoom, reveal, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Pan, zoom, reveal" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo"><title>viewer-camera.js · Pan, zoom, reveal · Leaf</title>- <rect x="528" y="1444" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="1444" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1467">viewer-camera.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1485">Pan, zoom, reveal</tspan></text>- </g>- <g id="node-viewer" data-node-id="viewer" data-node-label="viewer/" tabindex="0" role="button" aria-label="Focus viewer/, Viewer sources inlined into the template, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Viewer sources inlined into the template" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">- <title>viewer/ · Viewer sources inlined into the template · Branch</title>- <rect data-tree-stack="" x="285" y="1198" width="200" height="68" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="280" y="1193" width="200" height="68" rx="7" class="c-mask"/>- <rect x="280" y="1193" width="200" height="68" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="1216">viewer/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="1234">Viewer sources inlined into</tspan><tspan x="380" y="1247">the template</tspan></text>- </g>- <g id="node-site" data-node-id="site" data-node-label="website/" tabindex="0" role="button" aria-label="Focus website/, Astro project site, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Astro project site" data-node-context="Leaf" data-tree-depth="1" data-tree-ancestors="repo">- <title>website/ · Astro project site · Leaf</title>-- <rect x="280" y="1517" width="200" height="55" rx="7" class="c-mask"/>- <rect x="280" y="1517" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="1540">website/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="1558">Astro project site</tspan></text>+ <rect x="1172" y="501" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="501" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="525.5">viewer-camera.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="544.5">Pan, zoom, reveal</tspan></text></g>- <g id="node-sc_viewer" data-node-id="sc_viewer" data-node-label="generate-viewer.mjs" tabindex="0" role="button" aria-label="Focus generate-viewer.mjs, Inlines viewer/ into the template, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Inlines viewer/ into the template" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">- <title>generate-viewer.mjs · Inlines viewer/ into the template · Leaf</title>+ <g id="node-sc_viewer" data-node-id="sc_viewer" data-node-label="generate-viewer.mjs" tabindex="0" role="button" aria-label="Focus generate-viewer.mjs, Inlines viewer/, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Inlines viewer/" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">+ <title>generate-viewer.mjs · Inlines viewer/ · Leaf</title>- <rect x="528" y="1590" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1590" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1613">generate-viewer.mjs</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1631">Inlines viewer/ into the</tspan><tspan x="628" y="1644">template</tspan></text>+ <rect x="1571" y="294" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="1571" y="294" width="188" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1585" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1585" y="318.5">generate-viewer.mjs</tspan></text>+ <text data-detail="context" x="1585" class="t-muted" font-size="11" text-anchor="start"><tspan x="1585" y="337.5">Inlines viewer/</tspan></text></g>- <g id="node-sc_zip" data-node-id="sc_zip" data-node-label="build-zip.sh" tabindex="0" role="button" aria-label="Focus build-zip.sh, Deterministic Skill archive, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Deterministic Skill archive" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">- <title>build-zip.sh · Deterministic Skill archive · Leaf</title>+ <g id="node-sc_zip" data-node-id="sc_zip" data-node-label="build-zip.sh" tabindex="0" role="button" aria-label="Focus build-zip.sh, Deterministic archive, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Deterministic archive" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">+ <title>build-zip.sh · Deterministic archive · Leaf</title>- <rect x="528" y="1676" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="1676" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1699">build-zip.sh</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1717">Deterministic Skill archive</tspan></text>+ <rect x="1571" y="363" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="1571" y="363" width="188" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1585" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1585" y="387.5">build-zip.sh</tspan></text>+ <text data-detail="context" x="1585" class="t-muted" font-size="11" text-anchor="start"><tspan x="1585" y="406.5">Deterministic archive</tspan></text></g><g id="node-sc_gallery" data-node-id="sc_gallery" data-node-label="build-gallery.mjs" tabindex="0" role="button" aria-label="Focus build-gallery.mjs, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo"><title>build-gallery.mjs · Leaf</title>- <rect x="528" y="1749" width="200" height="38" rx="7" class="c-mask"/>- <rect x="528" y="1749" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1772">build-gallery.mjs</tspan></text>+ <rect x="1571" y="432" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="1571" y="432" width="188" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1585" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1585" y="465.5">build-gallery.mjs</tspan></text></g>- <g id="node-scripts" data-node-id="scripts" data-node-label="scripts/" tabindex="0" role="button" aria-label="Focus scripts/, Build and freshness tooling, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Build and freshness tooling" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">- <title>scripts/ · Build and freshness tooling · Branch</title>- <rect data-tree-stack="" x="285" y="1602" width="200" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="280" y="1597" width="200" height="55" rx="7" class="c-mask"/>- <rect x="280" y="1597" width="200" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="1620">scripts/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="1638">Build and freshness tooling</tspan></text>- </g>- <g id="node-repo" data-node-id="repo" data-node-label="archify repository" tabindex="0" role="button" aria-label="Focus archify repository, Skill package, viewer, and site sources, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Skill package, viewer, and site sources" data-node-context="Root" data-tree-depth="0">- <title>archify repository · Skill package, viewer, and site sources · Root</title>- <rect data-tree-stack="" x="37" y="70" width="200" height="68" rx="7" class="c-frontend" stroke-width="1.2"/>- <rect x="32" y="65" width="200" height="68" rx="7" class="c-mask"/>- <rect x="32" y="65" width="200" height="68" rx="7" class="c-frontend" stroke-width="2"/>- <text data-node-label="" x="132" class="t-primary" font-size="14" font-weight="750" text-anchor="middle"><tspan x="132" y="88">archify repository</tspan></text>- <text data-detail="context" x="132" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="132" y="106">Skill package, viewer, and</tspan><tspan x="132" y="119">site sources</tspan></text>- </g><!-- Branch toggles -->- <g data-tree-toggle="r_shared" data-tree-count="4" data-tree-ancestors="renderers skill repo" data-tree-label-collapse="Collapse shared/ (4 below)" data-tree-label-expand="Expand shared/ (4 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse shared/ (4 below)">- <circle cx="976" cy="597" r="15" class="tree-toggle-hit"/>- <circle cx="976" cy="597" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 972 597 H 980" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 976 593 V 601" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="989" y="585" font-size="9.5" font-weight="650">4</text>- </g>- <g data-tree-toggle="renderers" data-tree-count="12" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse renderers/ (12 below)" data-tree-label-expand="Expand renderers/ (12 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse renderers/ (12 below)">- <circle cx="728" cy="98" r="15" class="tree-toggle-hit"/>- <circle cx="728" cy="98" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 724 98 H 732" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 728 94 V 102" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="741" y="86" font-size="9.5" font-weight="650">12</text>- </g>- <g data-tree-toggle="bin" data-tree-count="2" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse bin/ (2 below)" data-tree-label-expand="Expand bin/ (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse bin/ (2 below)">- <circle cx="728" cy="988.5" r="15" class="tree-toggle-hit"/>- <circle cx="728" cy="988.5" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 724 988.5 H 732" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 728 984.5 V 992.5" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="741" y="976.5" font-size="9.5" font-weight="650">2</text>+ <g data-tree-toggle="repo" data-tree-count="30" data-tree-label-collapse="Collapse archify repository (30 below)" data-tree-label-expand="Expand archify repository (30 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify repository (30 below)">+ <circle cx="1131" cy="123" r="15" class="tree-toggle-hit"/>+ <circle cx="1131" cy="123" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 1127 123 H 1135" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 1131 119 V 127" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="1145" y="126.5" font-size="9.5" font-weight="650">30</text></g>- <g data-tree-toggle="skill" data-tree-count="18" data-tree-ancestors="repo" data-tree-label-collapse="Collapse archify/ (18 below)" data-tree-label-expand="Expand archify/ (18 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify/ (18 below)">- <circle cx="480" cy="98.5" r="15" class="tree-toggle-hit"/>- <circle cx="480" cy="98.5" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 476 98.5 H 484" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 480 94.5 V 102.5" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="493" y="86.5" font-size="9.5" font-weight="650">18</text>+ <g data-tree-toggle="skill" data-tree-count="19" data-tree-ancestors="repo" data-tree-label-collapse="Collapse archify/ (19 below)" data-tree-label-expand="Expand archify/ (19 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify/ (19 below)">+ <circle cx="618.5" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="618.5" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 614.5 238 H 622.5" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 618.5 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="632.5" y="241.5" font-size="9.5" font-weight="650">19</text></g><g data-tree-toggle="viewer" data-tree-count="4" data-tree-ancestors="repo" data-tree-initially-collapsed="" data-tree-label-collapse="Collapse viewer/ (4 below)" data-tree-label-expand="Expand viewer/ (4 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse viewer/ (4 below)">- <circle cx="480" cy="1227" r="15" class="tree-toggle-hit"/>- <circle cx="480" cy="1227" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 476 1227 H 484" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 480 1223 V 1231" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="493" y="1215" font-size="9.5" font-weight="650">4</text>+ <circle cx="1158" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="1158" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 1154 238 H 1162" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 1158 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="1172" y="241.5" font-size="9.5" font-weight="650">4</text></g><g data-tree-toggle="scripts" data-tree-count="3" data-tree-ancestors="repo" data-tree-label-collapse="Collapse scripts/ (3 below)" data-tree-label-expand="Expand scripts/ (3 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse scripts/ (3 below)">- <circle cx="480" cy="1624.5" r="15" class="tree-toggle-hit"/>- <circle cx="480" cy="1624.5" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 476 1624.5 H 484" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 480 1620.5 V 1628.5" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="493" y="1612.5" font-size="9.5" font-weight="650">3</text>+ <circle cx="1557" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="1557" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 1553 238 H 1561" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 1557 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="1571" y="241.5" font-size="9.5" font-weight="650">3</text>+ </g>+ <g data-tree-toggle="renderers" data-tree-count="12" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse renderers/ (12 below)" data-tree-label-expand="Expand renderers/ (12 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse renderers/ (12 below)">+ <circle cx="185" cy="353" r="15" class="tree-toggle-hit"/>+ <circle cx="185" cy="353" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 181 353 H 189" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 185 349 V 357" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="199" y="356.5" font-size="9.5" font-weight="650">12</text>+ </g>+ <g data-tree-toggle="bin" data-tree-count="3" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse bin/ (3 below)" data-tree-label-expand="Expand bin/ (3 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse bin/ (3 below)">+ <circle cx="738" cy="353" r="15" class="tree-toggle-hit"/>+ <circle cx="738" cy="353" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 734 353 H 742" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 738 349 V 357" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="752" y="356.5" font-size="9.5" font-weight="650">3</text></g>- <g data-tree-toggle="repo" data-tree-count="29" data-tree-label-collapse="Collapse archify repository (29 below)" data-tree-label-expand="Expand archify repository (29 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify repository (29 below)">- <circle cx="232" cy="99" r="15" class="tree-toggle-hit"/>- <circle cx="232" cy="99" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 228 99 H 236" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 232 95 V 103" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="245" y="87" font-size="9.5" font-weight="650">29</text>+ <g data-tree-toggle="r_shared" data-tree-count="4" data-tree-ancestors="renderers skill repo" data-tree-label-collapse="Collapse shared/ (4 below)" data-tree-label-expand="Expand shared/ (4 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse shared/ (4 below)">+ <circle cx="267" cy="468" r="15" class="tree-toggle-hit"/>+ <circle cx="267" cy="468" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 263 468 H 271" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 267 464 V 472" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="281" y="471.5" font-size="9.5" font-weight="650">4</text></g><!-- Expand all (shown only while a branch is collapsed) -->diff --git a/archify/examples/tree-payment-platform-rendered.html b/archify/examples/tree-payment-platform-rendered.htmlindex 52976c81..8a099257 100644--- a/archify/examples/tree-payment-platform-rendered.html+++ b/archify/examples/tree-payment-platform-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1132 401" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="down" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1069 397" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="down" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment platform capabilities</title><desc id="archify-diagram-description">Illustrative decomposition: each capability belongs to exactly one parent. Links show containment, not calls.</desc><!-- Definitions -->@@ -5017,7 +5017,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-tree-ui] .tree-edge { stroke-linejoin: round; }+ svg[data-tree-ui] .tree-edge { stroke-linejoin: round; stroke-linecap: round; }+ svg[data-tree-ui] .tree-leaf { fill: var(--mask); stroke: var(--lane-stroke); }svg[data-tree-ui] [data-tree-stack] { display: none; fill: var(--mask); }svg[data-tree-ui] [data-tree-collapsed] [data-tree-stack] { display: inline; }svg[data-tree-ui] [data-tree-hidden] { display: none; }@@ -5040,99 +5041,106 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Containment links -->- <path data-edge-from="orders" data-edge-to="create_order" data-edge-key="0" data-tree-ancestors="orders platform" data-composition-points="186,238;186,270;102,270;102,302" d="M 186 238 L 186 264 Q 186 270 180 270 L 108 270 Q 102 270 102 276 L 102 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="orders" data-edge-to="cancel_order" data-edge-key="1" data-tree-ancestors="orders platform" data-composition-points="186,238;186,270;270,270;270,302" d="M 186 238 L 186 264 Q 186 270 192 270 L 264 270 Q 270 270 270 276 L 270 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="platform" data-edge-to="orders" data-edge-key="2" data-tree-ancestors="platform" data-composition-points="535,119;535,151;186,151;186,183" d="M 535 119 L 535 145 Q 535 151 529 151 L 192 151 Q 186 151 186 157 L 186 183" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="payments" data-edge-to="card_payment" data-edge-key="3" data-tree-ancestors="payments platform" data-composition-points="522,238;522,270;438,270;438,302" d="M 522 238 L 522 264 Q 522 270 516 270 L 444 270 Q 438 270 438 276 L 438 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="payments" data-edge-to="wallet_payment" data-edge-key="4" data-tree-ancestors="payments platform" data-composition-points="522,238;522,270;606,270;606,302" d="M 522 238 L 522 264 Q 522 270 528 270 L 600 270 Q 606 270 606 276 L 606 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="platform" data-edge-to="payments" data-edge-key="5" data-tree-ancestors="platform" data-composition-points="535,119;535,151;522,151;522,183" d="M 535 119 L 535 145 Q 535 151 529 151 L 528 151 Q 522 151 522 157 L 522 183" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="operations" data-edge-to="refunds" data-edge-key="6" data-tree-ancestors="operations platform" data-composition-points="884,238;884,270;778,270;778,302" d="M 884 238 L 884 264 Q 884 270 878 270 L 784 270 Q 778 270 778 276 L 778 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="operations" data-edge-to="reconciliation" data-edge-key="7" data-tree-ancestors="operations platform" data-composition-points="884,238;884,270;990,270;990,302" d="M 884 238 L 884 264 Q 884 270 890 270 L 984 270 Q 990 270 990 276 L 990 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="platform" data-edge-to="operations" data-edge-key="8" data-tree-ancestors="platform" data-composition-points="535,119;535,151;884,151;884,183" d="M 535 119 L 535 145 Q 535 151 541 151 L 878 151 Q 884 151 884 157 L 884 183" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="platform" data-edge-to="orders" data-edge-key="0" data-tree-ancestors="platform" data-composition-points="523,123;523,151;186,151;186,179" d="M 523 123 L 523 143 Q 523 151 515 151 L 194 151 Q 186 151 186 159 L 186 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="platform" data-edge-to="payments" data-edge-key="1" data-tree-ancestors="platform" data-composition-points="523,123;523,179" d="M 523 123 L 523 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="platform" data-edge-to="operations" data-edge-key="2" data-tree-ancestors="platform" data-composition-points="523,123;523,151;875,151;875,179" d="M 523 123 L 523 143 Q 523 151 531 151 L 867 151 Q 875 151 875 159 L 875 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="orders" data-edge-to="create_order" data-edge-key="3" data-tree-ancestors="orders platform" data-composition-points="186,238;186,266;102,266;102,294" d="M 186 238 L 186 258 Q 186 266 178 266 L 110 266 Q 102 266 102 274 L 102 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="orders" data-edge-to="cancel_order" data-edge-key="4" data-tree-ancestors="orders platform" data-composition-points="186,238;186,266;270,266;270,294" d="M 186 238 L 186 258 Q 186 266 194 266 L 262 266 Q 270 266 270 274 L 270 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="payments" data-edge-to="card_payment" data-edge-key="5" data-tree-ancestors="payments platform" data-composition-points="523,238;523,266;438,266;438,294" d="M 523 238 L 523 258 Q 523 266 515 266 L 446 266 Q 438 266 438 274 L 438 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="payments" data-edge-to="wallet_payment" data-edge-key="6" data-tree-ancestors="payments platform" data-composition-points="523,238;523,266;608,266;608,294" d="M 523 238 L 523 258 Q 523 266 531 266 L 600 266 Q 608 266 608 274 L 608 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="operations" data-edge-to="refunds" data-edge-key="7" data-tree-ancestors="operations platform" data-composition-points="875,238;875,266;785.5,266;785.5,294" d="M 875 238 L 875 258 Q 875 266 867 266 L 793.5 266 Q 785.5 266 785.5 274 L 785.5 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="operations" data-edge-to="reconciliation" data-edge-key="8" data-tree-ancestors="operations platform" data-composition-points="875,238;875,266;964,266;964,294" d="M 875 238 L 875 258 Q 875 266 883 266 L 956 266 Q 964 266 964 274 L 964 294" class="a-default tree-edge" stroke-width="1.5"/><!-- Nodes -->+ <g id="node-platform" data-node-id="platform" data-node-label="Payment platform" tabindex="0" role="button" aria-label="Focus Payment platform, Decomposed by capability, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Decomposed by capability" data-node-context="Root" data-tree-depth="0">+ <title>Payment platform · Decomposed by capability · Root</title>+ <rect data-tree-stack="" x="434" y="69" width="188" height="59" rx="8" class="c-frontend" stroke-width="1.2"/>+ <rect x="429" y="64" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="429" y="64" width="188" height="59" rx="8" class="c-frontend" stroke-width="1.8"/>+ <text data-node-label="" x="523" class="t-primary" font-size="14.5" font-weight="750" text-anchor="middle"><tspan x="523" y="88.5">Payment platform</tspan></text>+ <text data-detail="context" x="523" class="t-muted" font-size="11" text-anchor="middle"><tspan x="523" y="107.5">Decomposed by capability</tspan></text>+ </g>+ <g id="node-orders" data-node-id="orders" data-node-label="Orders" tabindex="0" role="button" aria-label="Focus Orders, Order lifecycle, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Order lifecycle" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">+ <title>Orders · Order lifecycle · Branch</title>+ <rect data-tree-stack="" x="121" y="184" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="116" y="179" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="116" y="179" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="186" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="186" y="203.5">Orders</tspan></text>+ <text data-detail="context" x="186" class="t-muted" font-size="11" text-anchor="middle"><tspan x="186" y="222.5">Order lifecycle</tspan></text>+ </g>+ <g id="node-payments" data-node-id="payments" data-node-label="Payments" tabindex="0" role="button" aria-label="Focus Payments, Money movement, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Money movement" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">+ <title>Payments · Money movement · Branch</title>+ <rect data-tree-stack="" x="458" y="184" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="453" y="179" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="453" y="179" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="523" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="523" y="203.5">Payments</tspan></text>+ <text data-detail="context" x="523" class="t-muted" font-size="11" text-anchor="middle"><tspan x="523" y="222.5">Money movement</tspan></text>+ </g>+ <g id="node-operations" data-node-id="operations" data-node-label="Operations" tabindex="0" role="button" aria-label="Focus Operations, Back-office work, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Back-office work" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">+ <title>Operations · Back-office work · Branch</title>+ <rect data-tree-stack="" x="810" y="184" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="805" y="179" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="805" y="179" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="875" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="875" y="203.5">Operations</tspan></text>+ <text data-detail="context" x="875" class="t-muted" font-size="11" text-anchor="middle"><tspan x="875" y="222.5">Back-office work</tspan></text>+ </g><g id="node-create_order" data-node-id="create_order" data-node-label="Create order" tabindex="0" role="button" aria-label="Focus Create order, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="orders platform"><title>Create order · Leaf</title>- <rect x="32" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="32" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="102" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="102" y="333">Create order</tspan></text>+ <rect x="32" y="294" width="140" height="58" rx="8" class="c-mask"/>+ <rect x="32" y="294" width="140" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="102" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="102" y="327">Create order</tspan></text></g><g id="node-cancel_order" data-node-id="cancel_order" data-node-label="Cancel order" tabindex="0" role="button" aria-label="Focus Cancel order, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="orders platform"><title>Cancel order · Leaf</title>- <rect x="200" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="200" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="270" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="270" y="333">Cancel order</tspan></text>+ <rect x="200" y="294" width="140" height="58" rx="8" class="c-mask"/>+ <rect x="200" y="294" width="140" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="270" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="270" y="327">Cancel order</tspan></text></g>- <g id="node-orders" data-node-id="orders" data-node-label="Orders" tabindex="0" role="button" aria-label="Focus Orders, Order lifecycle, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Order lifecycle" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">- <title>Orders · Order lifecycle · Branch</title>- <rect data-tree-stack="" x="121" y="188" width="140" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="116" y="183" width="140" height="55" rx="7" class="c-mask"/>- <rect x="116" y="183" width="140" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="186" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="186" y="206">Orders</tspan></text>- <text data-detail="context" x="186" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="186" y="224">Order lifecycle</tspan></text>- </g><g id="node-card_payment" data-node-id="card_payment" data-node-label="Card payment" tabindex="0" role="button" aria-label="Focus Card payment, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="payments platform"><title>Card payment · Leaf</title>- <rect x="368" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="368" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="438" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="438" y="333">Card payment</tspan></text>+ <rect x="368" y="294" width="140" height="58" rx="8" class="c-mask"/>+ <rect x="368" y="294" width="140" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="438" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="438" y="327">Card payment</tspan></text></g><g id="node-wallet_payment" data-node-id="wallet_payment" data-node-label="Wallet payment" tabindex="0" role="button" aria-label="Focus Wallet payment, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="payments platform"><title>Wallet payment · Leaf</title>- <rect x="536" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="536" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="606" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="606" y="333">Wallet payment</tspan></text>+ <rect x="536" y="294" width="144" height="58" rx="8" class="c-mask"/>+ <rect x="536" y="294" width="144" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="608" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="608" y="327">Wallet payment</tspan></text></g>- <g id="node-payments" data-node-id="payments" data-node-label="Payments" tabindex="0" role="button" aria-label="Focus Payments, Money movement, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Money movement" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">- <title>Payments · Money movement · Branch</title>- <rect data-tree-stack="" x="457" y="188" width="140" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="452" y="183" width="140" height="55" rx="7" class="c-mask"/>- <rect x="452" y="183" width="140" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="522" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="522" y="206">Payments</tspan></text>- <text data-detail="context" x="522" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="522" y="224">Money movement</tspan></text>- </g><g id="node-refunds" data-node-id="refunds" data-node-label="Refund handling" tabindex="0" role="button" aria-label="Focus Refund handling, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="operations platform"><title>Refund handling · Leaf</title>- <rect x="704" y="302" width="148" height="54" rx="7" class="c-mask"/>- <rect x="704" y="302" width="148" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="778" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="778" y="333">Refund handling</tspan></text>+ <rect x="708" y="294" width="155" height="58" rx="8" class="c-mask"/>+ <rect x="708" y="294" width="155" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="785.5" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="785.5" y="327">Refund handling</tspan></text></g><g id="node-reconciliation" data-node-id="reconciliation" data-node-label="Transaction reconciliation" tabindex="0" role="button" aria-label="Focus Transaction reconciliation, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="operations platform"><title>Transaction reconciliation · Leaf</title>- <rect x="880" y="302" width="220" height="54" rx="7" class="c-mask"/>- <rect x="880" y="302" width="220" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="990" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="990" y="325">Transaction</tspan><tspan x="990" y="341">reconciliation</tspan></text>+ <rect x="891" y="294" width="146" height="58" rx="8" class="c-mask"/>+ <rect x="891" y="294" width="146" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="964" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="964" y="318.5">Transaction</tspan><tspan x="964" y="335.5">reconciliation</tspan></text></g>- <g id="node-operations" data-node-id="operations" data-node-label="Operations" tabindex="0" role="button" aria-label="Focus Operations, Back-office work, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Back-office work" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">- <title>Operations · Back-office work · Branch</title>- <rect data-tree-stack="" x="819" y="188" width="140" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="814" y="183" width="140" height="55" rx="7" class="c-mask"/>- <rect x="814" y="183" width="140" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="884" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="884" y="206">Operations</tspan></text>- <text data-detail="context" x="884" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="884" y="224">Back-office work</tspan></text>- </g>- <g id="node-platform" data-node-id="platform" data-node-label="Payment platform" tabindex="0" role="button" aria-label="Focus Payment platform, Decomposed by capability, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Decomposed by capability" data-node-context="Root" data-tree-depth="0">- <title>Payment platform · Decomposed by capability · Root</title>- <rect data-tree-stack="" x="450" y="69" width="180" height="55" rx="7" class="c-frontend" stroke-width="1.2"/>- <rect x="445" y="64" width="180" height="55" rx="7" class="c-mask"/>- <rect x="445" y="64" width="180" height="55" rx="7" class="c-frontend" stroke-width="2"/>- <text data-node-label="" x="535" class="t-primary" font-size="14" font-weight="750" text-anchor="middle"><tspan x="535" y="87">Payment platform</tspan></text>- <text data-detail="context" x="535" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="535" y="105">Decomposed by capability</tspan></text>- </g><!-- Branch toggles -->+ <g data-tree-toggle="platform" data-tree-count="9" data-tree-label-collapse="Collapse Payment platform (9 below)" data-tree-label-expand="Expand Payment platform (9 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Payment platform (9 below)">+ <circle cx="523" cy="123" r="15" class="tree-toggle-hit"/>+ <circle cx="523" cy="123" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 519 123 H 527" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 523 119 V 127" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="537" y="126.5" font-size="9.5" font-weight="650">9</text>+ </g><g data-tree-toggle="orders" data-tree-count="2" data-tree-ancestors="platform" data-tree-label-collapse="Collapse Orders (2 below)" data-tree-label-expand="Expand Orders (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Orders (2 below)"><circle cx="186" cy="238" r="15" class="tree-toggle-hit"/><circle cx="186" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>@@ -5141,25 +5149,18 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<text class="tree-toggle-count t-muted" x="200" y="241.5" font-size="9.5" font-weight="650">2</text></g><g data-tree-toggle="payments" data-tree-count="2" data-tree-ancestors="platform" data-tree-label-collapse="Collapse Payments (2 below)" data-tree-label-expand="Expand Payments (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Payments (2 below)">- <circle cx="522" cy="238" r="15" class="tree-toggle-hit"/>- <circle cx="522" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 518 238 H 526" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 522 234 V 242" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="536" y="241.5" font-size="9.5" font-weight="650">2</text>+ <circle cx="523" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="523" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 519 238 H 527" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 523 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="537" y="241.5" font-size="9.5" font-weight="650">2</text></g><g data-tree-toggle="operations" data-tree-count="2" data-tree-ancestors="platform" data-tree-label-collapse="Collapse Operations (2 below)" data-tree-label-expand="Expand Operations (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Operations (2 below)">- <circle cx="884" cy="238" r="15" class="tree-toggle-hit"/>- <circle cx="884" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 880 238 H 888" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 884 234 V 242" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="898" y="241.5" font-size="9.5" font-weight="650">2</text>- </g>- <g data-tree-toggle="platform" data-tree-count="9" data-tree-label-collapse="Collapse Payment platform (9 below)" data-tree-label-expand="Expand Payment platform (9 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Payment platform (9 below)">- <circle cx="535" cy="119" r="15" class="tree-toggle-hit"/>- <circle cx="535" cy="119" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 531 119 H 539" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 535 115 V 123" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="549" y="122.5" font-size="9.5" font-weight="650">9</text>+ <circle cx="875" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="875" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 871 238 H 879" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 875 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="889" y="241.5" font-size="9.5" font-weight="650">2</text></g><!-- Expand all (shown only while a branch is collapsed) -->diff --git a/archify/examples/waterfall-checkout-request-rendered.html b/archify/examples/waterfall-checkout-request-rendered.htmlindex e2fe704d..45535a14 100644--- a/archify/examples/waterfall-checkout-request-rendered.html+++ b/archify/examples/waterfall-checkout-request-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1063 284" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1089 308" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Checkout request execution</title><desc id="archify-diagram-description">Illustrative timing: inventory lookup and discount calculation run concurrently; payment follows.</desc><!-- Definitions -->@@ -5017,103 +5017,152 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-waterfall-ui] .wf-axis { stroke: var(--text-muted); }- svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }+ svg[data-waterfall-ui] .wf-axis { stroke: var(--text-dim); }+ svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-waterfall-ui] .wf-grid-origin { stroke-dasharray: none; opacity: .9; }svg[data-waterfall-ui] .wf-row { fill: transparent; }- svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); opacity: .45; }+ svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); fill-opacity: 1; opacity: .7; }svg[data-waterfall-ui] .wf-guide { stroke: var(--lane-stroke); }- svg[data-waterfall-ui] .wf-root { fill-opacity: .35; }- svg[data-waterfall-ui] .wf-open { stroke-dasharray: 2 3; fill-opacity: .55; }- svg[data-waterfall-ui] .wf-open-edge { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-span { fill-opacity: .9; }+ svg[data-waterfall-ui] .wf-open { stroke-dasharray: 3 2.5; fill-opacity: .6; }+ svg[data-waterfall-ui] .wf-open-edge { fill: none !important; }svg[data-waterfall-ui] .wf-num { font-variant-numeric: tabular-nums; }+ svg[data-waterfall-ui] .wf-caps { letter-spacing: .06em; }+ svg[data-waterfall-ui] .wf-solid { stroke: none; }+ svg[data-waterfall-ui] .wf-solid.c-frontend { fill: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-frontend { stroke: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-backend { fill: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-backend { stroke: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-database { fill: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-database { stroke: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-cloud { fill: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-cloud { stroke: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-messagebus { fill: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-security { fill: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-security { stroke: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-external { fill: var(--external-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-external { stroke: var(--external-stroke); }</style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" /><g data-waterfall-evidence="illustrative">- <rect x="28" y="12" width="136" height="20" rx="10" class="c-messagebus" stroke-width="1.2"/>- <text x="96" y="26" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">Illustrative timing</text>+ <rect x="28" y="14" width="144" height="22" rx="11" class="c-messagebus" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-messagebus"/>+ <text x="105" y="29" class="t-messagebus" font-size="10.5" font-weight="700" text-anchor="middle">Illustrative timing</text></g>- <text data-waterfall-total="1200" x="176" y="26" class="t-primary" font-size="11" font-weight="650">Wall-clock 1,200 ms (0 → 1,200 ms)</text>+ <text data-waterfall-total="1200" x="186" y="29.5" class="t-primary wf-num" font-size="13" font-weight="700">Wall-clock 1,200 ms<tspan class="t-muted" font-weight="500" dx="10">0 → 1,200 ms</tspan></text><!-- Time axis (bar position and length come only from recorded timing) -->- <text x="28" y="64" class="t-muted" font-size="10" font-weight="650">Operation</text>- <line x1="215" y1="72" x2="975" y2="72" class="wf-axis" stroke-width="1.2"/>- <line x1="215" y1="72" x2="215" y2="256" class="wf-grid" stroke-width="1"/>- <text x="215" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">0 ms</text>- <line x1="341.67" y1="72" x2="341.67" y2="256" class="wf-grid" stroke-width="1"/>- <text x="341.67" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">200 ms</text>- <line x1="468.33" y1="72" x2="468.33" y2="256" class="wf-grid" stroke-width="1"/>- <text x="468.33" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">400 ms</text>- <line x1="595" y1="72" x2="595" y2="256" class="wf-grid" stroke-width="1"/>- <text x="595" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">600 ms</text>- <line x1="721.67" y1="72" x2="721.67" y2="256" class="wf-grid" stroke-width="1"/>- <text x="721.67" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">800 ms</text>- <line x1="848.33" y1="72" x2="848.33" y2="256" class="wf-grid" stroke-width="1"/>- <text x="848.33" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,000 ms</text>- <line x1="975" y1="72" x2="975" y2="256" class="wf-grid" stroke-width="1"/>- <text x="975" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,200 ms</text>+ <text x="28" y="72" class="t-muted wf-caps" font-size="10" font-weight="700">Operation</text>+ <line x1="237" y1="82" x2="997" y2="82" class="wf-axis" stroke-width="1"/>+ <line x1="237" y1="82" x2="237" y2="246" class="wf-grid wf-grid-origin" stroke-width="1"/>+ <line x1="237" y1="78" x2="237" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="237" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">0 ms</text>+ <line x1="363.67" y1="82" x2="363.67" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="363.67" y1="78" x2="363.67" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="363.67" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">200 ms</text>+ <line x1="490.33" y1="82" x2="490.33" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="490.33" y1="78" x2="490.33" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="490.33" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">400 ms</text>+ <line x1="617" y1="82" x2="617" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="617" y1="78" x2="617" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="617" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">600 ms</text>+ <line x1="743.67" y1="82" x2="743.67" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="743.67" y1="78" x2="743.67" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="743.67" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">800 ms</text>+ <line x1="870.33" y1="82" x2="870.33" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="870.33" y1="78" x2="870.33" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="870.33" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,000 ms</text>+ <line x1="997" y1="82" x2="997" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="997" y1="78" x2="997" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="997" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,200 ms</text><!-- Parent / child guides -->- <path data-edge-from="request" data-edge-to="auth" data-edge-key="1" d="M 33 101 V 122 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="inventory" data-edge-key="2" d="M 33 101 V 150 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="discount" data-edge-key="3" d="M 33 101 V 178 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="payment" data-edge-key="4" d="M 33 101 V 206 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="save" data-edge-key="5" d="M 33 101 V 234 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="auth" data-edge-key="1" d="M 32 106.5 V 121.5 Q 32 125.5 36 125.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="inventory" data-edge-key="2" d="M 32 106.5 V 146.5 Q 32 150.5 36 150.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="discount" data-edge-key="3" d="M 32 106.5 V 171.5 Q 32 175.5 36 175.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="payment" data-edge-key="4" d="M 32 106.5 V 196.5 Q 32 200.5 36 200.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="save" data-edge-key="5" d="M 32 106.5 V 221.5 Q 32 225.5 36 225.5 H 43" class="wf-guide" stroke-width="1" fill="none"/><!-- Spans, depth-first by start time -->- <g id="node-request" data-node-id="request" data-node-label="POST /checkout" tabindex="0" role="button" aria-label="Focus POST /checkout, 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs." aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs." data-waterfall-start="0" data-waterfall-end="1200" data-waterfall-duration="1200" data-waterfall-depth="0" data-waterfall-status="ok">- <title>POST /checkout · 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs.</title>- <rect x="22" y="81" width="1013" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="28" y="98" class="t-primary" font-size="11.5" font-weight="700">POST /checkout</text>- <rect x="215" y="87" width="760" height="14" rx="3" class="c-backend wf-root" stroke-width="1.3"/>+ <g id="node-request" data-node-id="request" data-node-label="POST /checkout" tabindex="0" role="button" aria-label="Focus POST /checkout, 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs., checkout-api" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs." data-node-context="checkout-api" data-waterfall-start="0" data-waterfall-end="1200" data-waterfall-duration="1200" data-waterfall-depth="0" data-waterfall-status="ok" data-waterfall-service="checkout-api">+ <title>POST /checkout · 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs. · checkout-api</title>+ <rect x="20" y="89" width="1049" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="237" y="93.5" width="760" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="595" y="97.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">1,200 ms</text>+ <circle cx="32" cy="100.5" r="4.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="42" y="104.8" class="t-primary" font-size="12.5" font-weight="750">POST /checkout</text>+ <text x="1004" y="104.3" class="t-primary wf-num" font-size="11" font-weight="700">1,200 ms</text></g>- <g id="node-auth" data-node-id="auth" data-node-label="Authenticate caller" tabindex="0" role="button" aria-label="Focus Authenticate caller, 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="0" data-waterfall-end="100" data-waterfall-duration="100" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Authenticate caller · 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="109" width="1013" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="126" class="t-primary" font-size="11.5" font-weight="550">Authenticate caller</text>- <rect x="215" y="115" width="63.329999999999984" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-auth" data-node-id="auth" data-node-label="Authenticate caller" tabindex="0" role="button" aria-label="Focus Authenticate caller, 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock, identity › POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock" data-node-context="identity › POST /checkout" data-waterfall-start="0" data-waterfall-end="100" data-waterfall-duration="100" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="identity">+ <title>Authenticate caller · 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock · identity › POST /checkout</title>+ <rect x="20" y="114" width="1049" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="237" y="118.5" width="63.329999999999984" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="246.665" y="125.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">100 ms</text>+ <circle cx="50" cy="125.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="60" y="129.8" class="t-primary" font-size="12.5" font-weight="500">Authenticate caller</text>+ <text x="307.33" y="129.3" class="t-muted wf-num" font-size="11" font-weight="600">100 ms</text></g>- <g id="node-inventory" data-node-id="inventory" data-node-label="Look up inventory" tabindex="0" role="button" aria-label="Focus Look up inventory, 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="100–400 ms · 300 ms · 25% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="100" data-waterfall-end="400" data-waterfall-duration="300" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Look up inventory · 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="137" width="1013" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="154" class="t-primary" font-size="11.5" font-weight="550">Look up inventory</text>- <rect x="278.33" y="143" width="190" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-inventory" data-node-id="inventory" data-node-label="Look up inventory" tabindex="0" role="button" aria-label="Focus Look up inventory, 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock, inventory › POST /checkout" aria-pressed="false" data-node-kind="database" data-node-sublabel="100–400 ms · 300 ms · 25% of 1,200 ms wall-clock" data-node-context="inventory › POST /checkout" data-waterfall-start="100" data-waterfall-end="400" data-waterfall-duration="300" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="inventory">+ <title>Look up inventory · 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock · inventory › POST /checkout</title>+ <rect x="20" y="139" width="1049" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="300.33" y="143.5" width="190" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="373.33" y="153.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">300 ms</text>+ <circle cx="50" cy="150.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="154.8" class="t-primary" font-size="12.5" font-weight="500">Look up inventory</text>+ <text x="497.33" y="154.3" class="t-muted wf-num" font-size="11" font-weight="600">300 ms</text></g>- <g id="node-discount" data-node-id="discount" data-node-label="Calculate discount" tabindex="0" role="button" aria-label="Focus Calculate discount, 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="100–300 ms · 200 ms · 17% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="100" data-waterfall-end="300" data-waterfall-duration="200" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Calculate discount · 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="165" width="1013" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="182" class="t-primary" font-size="11.5" font-weight="550">Calculate discount</text>- <rect x="278.33" y="171" width="126.67000000000002" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-discount" data-node-id="discount" data-node-label="Calculate discount" tabindex="0" role="button" aria-label="Focus Calculate discount, 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock, checkout-api › POST /checkout" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="100–300 ms · 200 ms · 17% of 1,200 ms wall-clock" data-node-context="checkout-api › POST /checkout" data-waterfall-start="100" data-waterfall-end="300" data-waterfall-duration="200" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="checkout-api">+ <title>Calculate discount · 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock · checkout-api › POST /checkout</title>+ <rect x="20" y="164" width="1049" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="300.33" y="168.5" width="126.67000000000002" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="341.66499999999996" y="181.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">200 ms</text>+ <circle cx="50" cy="175.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="179.8" class="t-primary" font-size="12.5" font-weight="500">Calculate discount</text>+ <text x="434" y="179.3" class="t-muted wf-num" font-size="11" font-weight="600">200 ms</text></g>- <g id="node-payment" data-node-id="payment" data-node-label="Charge payment" tabindex="0" role="button" aria-label="Focus Charge payment, 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="400" data-waterfall-end="1050" data-waterfall-duration="650" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Charge payment · 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="193" width="1013" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="210" class="t-primary" font-size="11.5" font-weight="550">Charge payment</text>- <rect x="468.33" y="199" width="411.67" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-payment" data-node-id="payment" data-node-label="Charge payment" tabindex="0" role="button" aria-label="Focus Charge payment, 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock, payments › POST /checkout" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock" data-node-context="payments › POST /checkout" data-waterfall-start="400" data-waterfall-end="1050" data-waterfall-duration="650" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="payments">+ <title>Charge payment · 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock · payments › POST /checkout</title>+ <rect x="20" y="189" width="1049" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="490.33" y="193.5" width="411.67" height="14" rx="4" class="c-cloud wf-solid" stroke-width="1.2"/>- <text x="674.165" y="209.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">650 ms</text>+ <circle cx="50" cy="200.5" r="3.5" class="t-cloud wf-dot"/>+ <text data-node-label="" x="60" y="204.8" class="t-primary" font-size="12.5" font-weight="500">Charge payment</text>+ <text x="909" y="204.3" class="t-muted wf-num" font-size="11" font-weight="600">650 ms</text></g>- <g id="node-save" data-node-id="save" data-node-label="Write order" tabindex="0" role="button" aria-label="Focus Write order, 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="1050" data-waterfall-end="1200" data-waterfall-duration="150" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Write order · 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="221" width="1013" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="238" class="t-primary" font-size="11.5" font-weight="550">Write order</text>- <rect x="880" y="227" width="95" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-save" data-node-id="save" data-node-label="Write order" tabindex="0" role="button" aria-label="Focus Write order, 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock, checkout-api › POST /checkout" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock" data-node-context="checkout-api › POST /checkout" data-waterfall-start="1050" data-waterfall-end="1200" data-waterfall-duration="150" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="checkout-api">+ <title>Write order · 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock · checkout-api › POST /checkout</title>+ <rect x="20" y="214" width="1049" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="902" y="218.5" width="95" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="927.5" y="237.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">150 ms</text>+ <circle cx="50" cy="225.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="229.8" class="t-primary" font-size="12.5" font-weight="500">Write order</text>+ <text x="1004" y="229.3" class="t-muted wf-num" font-size="11" font-weight="600">150 ms</text></g><!-- Legend -->-+ <g data-legend="">+ <text x="28" y="272" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="service:checkout-api" data-legend-x="28" data-legend-baseline="292" data-legend-width="104">+ <rect x="28" y="282" width="14" height="10" rx="2.5" class="c-frontend wf-solid" stroke-width="1.2"/>+ <text x="50" y="292" class="t-muted" font-size="13" font-weight="500">checkout-api</text>+ </g>+ <g data-legend-semantic-kind="service:identity" data-legend-x="154" data-legend-baseline="292" data-legend-width="77">+ <rect x="154" y="282" width="14" height="10" rx="2.5" class="c-backend wf-solid" stroke-width="1.2"/>+ <text x="176" y="292" class="t-muted" font-size="13" font-weight="500">identity</text>+ </g>+ <g data-legend-semantic-kind="service:inventory" data-legend-x="253" data-legend-baseline="292" data-legend-width="84">+ <rect x="253" y="282" width="14" height="10" rx="2.5" class="c-database wf-solid" stroke-width="1.2"/>+ <text x="275" y="292" class="t-muted" font-size="13" font-weight="500">inventory</text>+ </g>+ <g data-legend-semantic-kind="service:payments" data-legend-x="359" data-legend-baseline="292" data-legend-width="77">+ <rect x="359" y="282" width="14" height="10" rx="2.5" class="c-cloud wf-solid" stroke-width="1.2"/>+ <text x="381" y="292" class="t-muted" font-size="13" font-weight="500">payments</text>+ </g>+ </g></svg><p class="intent-trace-status no-print" id="intent-trace-status" role="status" aria-live="polite" aria-atomic="true"></p><div class="diagram-guide no-print" id="diagram-guide" hidden role="dialog" aria-modal="false" aria-labelledby="diagram-guide-title">diff --git a/archify/examples/waterfall-example-rebuild-rendered.html b/archify/examples/waterfall-example-rebuild-rendered.htmlindex 612ff716..da1adbf7 100644--- a/archify/examples/waterfall-example-rebuild-rendered.html+++ b/archify/examples/waterfall-example-rebuild-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1169 816" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1216 783" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Rebuilding the bundled examples</title><desc id="archify-diagram-description">Measured on one local run: render and artifact check of eight examples across three concurrent workers (process start to exit, ms from batch start).</desc><!-- Definitions -->@@ -5017,274 +5017,338 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-waterfall-ui] .wf-axis { stroke: var(--text-muted); }- svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }+ svg[data-waterfall-ui] .wf-axis { stroke: var(--text-dim); }+ svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-waterfall-ui] .wf-grid-origin { stroke-dasharray: none; opacity: .9; }svg[data-waterfall-ui] .wf-row { fill: transparent; }- svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); opacity: .45; }+ svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); fill-opacity: 1; opacity: .7; }svg[data-waterfall-ui] .wf-guide { stroke: var(--lane-stroke); }- svg[data-waterfall-ui] .wf-root { fill-opacity: .35; }- svg[data-waterfall-ui] .wf-open { stroke-dasharray: 2 3; fill-opacity: .55; }- svg[data-waterfall-ui] .wf-open-edge { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-span { fill-opacity: .9; }+ svg[data-waterfall-ui] .wf-open { stroke-dasharray: 3 2.5; fill-opacity: .6; }+ svg[data-waterfall-ui] .wf-open-edge { fill: none !important; }svg[data-waterfall-ui] .wf-num { font-variant-numeric: tabular-nums; }+ svg[data-waterfall-ui] .wf-caps { letter-spacing: .06em; }+ svg[data-waterfall-ui] .wf-solid { stroke: none; }+ svg[data-waterfall-ui] .wf-solid.c-frontend { fill: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-frontend { stroke: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-backend { fill: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-backend { stroke: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-database { fill: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-database { stroke: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-cloud { fill: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-cloud { stroke: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-messagebus { fill: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-security { fill: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-security { stroke: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-external { fill: var(--external-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-external { stroke: var(--external-stroke); }</style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" /><g data-waterfall-evidence="measured">- <rect x="28" y="12" width="112" height="20" rx="10" class="c-backend" stroke-width="1.2"/>- <text x="84" y="26" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">Measured timing</text>+ <rect x="28" y="14" width="119" height="22" rx="11" class="c-backend" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-backend"/>+ <text x="92.5" y="29" class="t-backend" font-size="10.5" font-weight="700" text-anchor="middle">Measured timing</text></g>- <text data-waterfall-total="1286.2" x="152" y="26" class="t-primary" font-size="11" font-weight="650">Wall-clock 1,286.2 ms (0 → 1,286.2 ms)</text>+ <text data-waterfall-total="1286.2" x="161" y="29.5" class="t-primary wf-num" font-size="13" font-weight="700">Wall-clock 1,286.2 ms<tspan class="t-muted" font-weight="500" dx="10">0 → 1,286.2 ms</tspan></text><!-- Time axis (bar position and length come only from recorded timing) -->- <text x="28" y="64" class="t-muted" font-size="10" font-weight="650">Operation</text>- <line x1="321" y1="72" x2="1081" y2="72" class="wf-axis" stroke-width="1.2"/>- <line x1="321" y1="72" x2="321" y2="788" class="wf-grid" stroke-width="1"/>- <text x="321" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">0 ms</text>- <line x1="439.18" y1="72" x2="439.18" y2="788" class="wf-grid" stroke-width="1"/>- <text x="439.18" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">200 ms</text>- <line x1="557.36" y1="72" x2="557.36" y2="788" class="wf-grid" stroke-width="1"/>- <text x="557.36" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">400 ms</text>- <line x1="675.53" y1="72" x2="675.53" y2="788" class="wf-grid" stroke-width="1"/>- <text x="675.53" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">600 ms</text>- <line x1="793.71" y1="72" x2="793.71" y2="788" class="wf-grid" stroke-width="1"/>- <text x="793.71" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">800 ms</text>- <line x1="911.89" y1="72" x2="911.89" y2="788" class="wf-grid" stroke-width="1"/>- <text x="911.89" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,000 ms</text>- <line x1="1030.07" y1="72" x2="1030.07" y2="788" class="wf-grid" stroke-width="1"/>- <text x="1030.07" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,200 ms</text>+ <text x="28" y="72" class="t-muted wf-caps" font-size="10" font-weight="700">Operation</text>+ <line x1="351" y1="82" x2="1111" y2="82" class="wf-axis" stroke-width="1"/>+ <line x1="351" y1="82" x2="351" y2="721" class="wf-grid wf-grid-origin" stroke-width="1"/>+ <line x1="351" y1="78" x2="351" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="351" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">0 ms</text>+ <line x1="469.18" y1="82" x2="469.18" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="469.18" y1="78" x2="469.18" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="469.18" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">200 ms</text>+ <line x1="587.36" y1="82" x2="587.36" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="587.36" y1="78" x2="587.36" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="587.36" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">400 ms</text>+ <line x1="705.53" y1="82" x2="705.53" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="705.53" y1="78" x2="705.53" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="705.53" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">600 ms</text>+ <line x1="823.71" y1="82" x2="823.71" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="823.71" y1="78" x2="823.71" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="823.71" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">800 ms</text>+ <line x1="941.89" y1="82" x2="941.89" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="941.89" y1="78" x2="941.89" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="941.89" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,000 ms</text>+ <line x1="1060.07" y1="82" x2="1060.07" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="1060.07" y1="78" x2="1060.07" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="1060.07" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,200 ms</text><!-- Parent / child guides -->- <path data-edge-from="batch" data-edge-to="ex0" data-edge-key="1" d="M 33 101 V 122 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex0" data-edge-to="ex0_render" data-edge-key="2" d="M 49 129 V 150 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex0" data-edge-to="ex0_check" data-edge-key="3" d="M 49 129 V 178 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex1" data-edge-key="4" d="M 33 101 V 206 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex1" data-edge-to="ex1_render" data-edge-key="5" d="M 49 213 V 234 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex1" data-edge-to="ex1_check" data-edge-key="6" d="M 49 213 V 262 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex2" data-edge-key="7" d="M 33 101 V 290 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex2" data-edge-to="ex2_render" data-edge-key="8" d="M 49 297 V 318 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex2" data-edge-to="ex2_check" data-edge-key="9" d="M 49 297 V 346 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex3" data-edge-key="10" d="M 33 101 V 374 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex3" data-edge-to="ex3_render" data-edge-key="11" d="M 49 381 V 402 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex3" data-edge-to="ex3_check" data-edge-key="12" d="M 49 381 V 430 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex4" data-edge-key="13" d="M 33 101 V 458 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex4" data-edge-to="ex4_render" data-edge-key="14" d="M 49 465 V 486 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex4" data-edge-to="ex4_check" data-edge-key="15" d="M 49 465 V 514 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex5" data-edge-key="16" d="M 33 101 V 542 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex5" data-edge-to="ex5_render" data-edge-key="17" d="M 49 549 V 570 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex5" data-edge-to="ex5_check" data-edge-key="18" d="M 49 549 V 598 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex6" data-edge-key="19" d="M 33 101 V 626 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex6" data-edge-to="ex6_render" data-edge-key="20" d="M 49 633 V 654 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex6" data-edge-to="ex6_check" data-edge-key="21" d="M 49 633 V 682 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex7" data-edge-key="22" d="M 33 101 V 710 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex7" data-edge-to="ex7_render" data-edge-key="23" d="M 49 717 V 738 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex7" data-edge-to="ex7_check" data-edge-key="24" d="M 49 717 V 766 H 59" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex0" data-edge-key="1" d="M 32 106.5 V 121.5 Q 32 125.5 36 125.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex0" data-edge-to="ex0_render" data-edge-key="2" d="M 50 131.5 V 146.5 Q 50 150.5 54 150.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex0" data-edge-to="ex0_check" data-edge-key="3" d="M 50 131.5 V 171.5 Q 50 175.5 54 175.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex1" data-edge-key="4" d="M 32 106.5 V 196.5 Q 32 200.5 36 200.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex1" data-edge-to="ex1_render" data-edge-key="5" d="M 50 206.5 V 221.5 Q 50 225.5 54 225.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex1" data-edge-to="ex1_check" data-edge-key="6" d="M 50 206.5 V 246.5 Q 50 250.5 54 250.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex2" data-edge-key="7" d="M 32 106.5 V 271.5 Q 32 275.5 36 275.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex2" data-edge-to="ex2_render" data-edge-key="8" d="M 50 281.5 V 296.5 Q 50 300.5 54 300.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex2" data-edge-to="ex2_check" data-edge-key="9" d="M 50 281.5 V 321.5 Q 50 325.5 54 325.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex3" data-edge-key="10" d="M 32 106.5 V 346.5 Q 32 350.5 36 350.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex3" data-edge-to="ex3_render" data-edge-key="11" d="M 50 356.5 V 371.5 Q 50 375.5 54 375.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex3" data-edge-to="ex3_check" data-edge-key="12" d="M 50 356.5 V 396.5 Q 50 400.5 54 400.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex4" data-edge-key="13" d="M 32 106.5 V 421.5 Q 32 425.5 36 425.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex4" data-edge-to="ex4_render" data-edge-key="14" d="M 50 431.5 V 446.5 Q 50 450.5 54 450.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex4" data-edge-to="ex4_check" data-edge-key="15" d="M 50 431.5 V 471.5 Q 50 475.5 54 475.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex5" data-edge-key="16" d="M 32 106.5 V 496.5 Q 32 500.5 36 500.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex5" data-edge-to="ex5_render" data-edge-key="17" d="M 50 506.5 V 521.5 Q 50 525.5 54 525.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex5" data-edge-to="ex5_check" data-edge-key="18" d="M 50 506.5 V 546.5 Q 50 550.5 54 550.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex6" data-edge-key="19" d="M 32 106.5 V 571.5 Q 32 575.5 36 575.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex6" data-edge-to="ex6_render" data-edge-key="20" d="M 50 581.5 V 596.5 Q 50 600.5 54 600.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex6" data-edge-to="ex6_check" data-edge-key="21" d="M 50 581.5 V 621.5 Q 50 625.5 54 625.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex7" data-edge-key="22" d="M 32 106.5 V 646.5 Q 32 650.5 36 650.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex7" data-edge-to="ex7_render" data-edge-key="23" d="M 50 656.5 V 671.5 Q 50 675.5 54 675.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex7" data-edge-to="ex7_check" data-edge-key="24" d="M 50 656.5 V 696.5 Q 50 700.5 54 700.5 H 61" class="wf-guide" stroke-width="1" fill="none"/><!-- Spans, depth-first by start time -->- <g id="node-batch" data-node-id="batch" data-node-label="Rebuild bundled examples (3 workers)" tabindex="0" role="button" aria-label="Focus Rebuild bundled examples (3 workers), 0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" data-waterfall-start="0" data-waterfall-end="1286.2" data-waterfall-duration="1286.2" data-waterfall-depth="0" data-waterfall-status="ok">+ <g id="node-batch" data-node-id="batch" data-node-label="Rebuild bundled examples (3 workers)" tabindex="0" role="button" aria-label="Focus Rebuild bundled examples (3 workers), 0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" aria-pressed="false" data-node-kind="external" data-node-sublabel="0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" data-waterfall-start="0" data-waterfall-end="1286.2" data-waterfall-duration="1286.2" data-waterfall-depth="0" data-waterfall-status="ok"><title>Rebuild bundled examples (3 workers) · 0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock</title>- <rect x="22" y="81" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="28" y="98" class="t-primary" font-size="11.5" font-weight="700">Rebuild bundled examples (3 workers)</text>- <rect x="321" y="87" width="760" height="14" rx="3" class="c-backend wf-root" stroke-width="1.3"/>+ <rect x="20" y="89" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="351" y="93.5" width="760" height="14" rx="4" class="c-external wf-span" stroke-width="1.2"/>- <text x="701" y="97.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">1,286.2 ms</text>+ <circle cx="32" cy="100.5" r="4.5" class="t-external wf-dot"/>+ <text data-node-label="" x="42" y="104.8" class="t-primary" font-size="12.5" font-weight="750">Rebuild bundled examples (3 workers)</text>+ <text x="1118" y="104.3" class="t-primary wf-num" font-size="11" font-weight="700">1,286.2 ms</text></g>- <g id="node-ex0" data-node-id="ex0" data-node-label="web-app.architecture" tabindex="0" role="button" aria-label="Focus web-app.architecture, 0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="0.2" data-waterfall-end="429.7" data-waterfall-duration="429.5" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex0" data-node-id="ex0" data-node-label="web-app.architecture" tabindex="0" role="button" aria-label="Focus web-app.architecture, 0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="0.2" data-waterfall-end="429.7" data-waterfall-duration="429.5" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>web-app.architecture · 0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock · worker 1 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="109" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="126" class="t-primary" font-size="11.5" font-weight="550">web-app.architecture</text>- <rect x="321.12" y="115" width="253.77999999999997" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="114" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="351.12" y="118.5" width="253.77999999999997" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="448.01" y="125.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">429.5 ms</text>+ <circle cx="50" cy="125.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="129.8" class="t-primary" font-size="12.5" font-weight="650">web-app.architecture</text>+ <text x="611.9" y="129.3" class="t-primary wf-num" font-size="11" font-weight="700">429.5 ms</text></g>- <g id="node-ex0_render" data-node-id="ex0_render" data-node-label="render-architecture.mjs" tabindex="0" role="button" aria-label="Focus render-architecture.mjs, 0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="0.2" data-waterfall-end="263.3" data-waterfall-duration="263.1" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex0_render" data-node-id="ex0_render" data-node-label="render-architecture.mjs" tabindex="0" role="button" aria-label="Focus render-architecture.mjs, 0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="0.2" data-waterfall-end="263.3" data-waterfall-duration="263.1" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>render-architecture.mjs · 0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock · worker 1 › web-app.architecture</title>- <rect x="22" y="137" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="154" class="t-primary" font-size="11.5" font-weight="550">render-architecture.mjs</text>- <rect x="321.12" y="143" width="155.45999999999998" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="139" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="351.12" y="143.5" width="155.45999999999998" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="398.85" y="153.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">263.1 ms</text>+ <circle cx="68" cy="150.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="154.8" class="t-primary" font-size="12.5" font-weight="500">render-architecture.mjs</text>+ <text x="513.5799999999999" y="154.3" class="t-muted wf-num" font-size="11" font-weight="600">263.1 ms</text></g>- <g id="node-ex0_check" data-node-id="ex0_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="backend" data-node-sublabel="263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="263.3" data-waterfall-end="429.7" data-waterfall-duration="166.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex0_check" data-node-id="ex0_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="263.3" data-waterfall-end="429.7" data-waterfall-duration="166.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>check-render-output.mjs · 263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock · worker 1 › web-app.architecture</title>- <rect x="22" y="165" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="182" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="476.58" y="171" width="98.32" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="164" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="506.58" y="168.5" width="98.32" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="525.74" y="181.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">166.4 ms</text>+ <circle cx="68" cy="175.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="179.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="611.9" y="179.3" class="t-muted wf-num" font-size="11" font-weight="600">166.4 ms</text></g>- <g id="node-ex1" data-node-id="ex1" data-node-label="agent-tool-call.workflow" tabindex="0" role="button" aria-label="Focus agent-tool-call.workflow, 1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="1.6" data-waterfall-end="445.2" data-waterfall-duration="443.59999999999997" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex1" data-node-id="ex1" data-node-label="agent-tool-call.workflow" tabindex="0" role="button" aria-label="Focus agent-tool-call.workflow, 1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="1.6" data-waterfall-end="445.2" data-waterfall-duration="443.59999999999997" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>agent-tool-call.workflow · 1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock · worker 2 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="193" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="210" class="t-primary" font-size="11.5" font-weight="550">agent-tool-call.workflow</text>- <rect x="321.95" y="199" width="262.10999999999996" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="189" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="351.95" y="193.5" width="262.10999999999996" height="14" rx="4" class="c-backend wf-span" stroke-width="1.2"/>- <text x="453.005" y="209.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">443.6 ms</text>+ <circle cx="50" cy="200.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="60" y="204.8" class="t-primary" font-size="12.5" font-weight="650">agent-tool-call.workflow</text>+ <text x="621.06" y="204.3" class="t-primary wf-num" font-size="11" font-weight="700">443.6 ms</text></g>- <g id="node-ex1_render" data-node-id="ex1_render" data-node-label="render-workflow.mjs" tabindex="0" role="button" aria-label="Focus render-workflow.mjs, 1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="1.6" data-waterfall-end="298.5" data-waterfall-duration="296.9" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex1_render" data-node-id="ex1_render" data-node-label="render-workflow.mjs" tabindex="0" role="button" aria-label="Focus render-workflow.mjs, 1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="1.6" data-waterfall-end="298.5" data-waterfall-duration="296.9" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>render-workflow.mjs · 1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock · worker 2 › agent-tool-call.workflow</title>- <rect x="22" y="221" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="238" class="t-primary" font-size="11.5" font-weight="550">render-workflow.mjs</text>- <rect x="321.95" y="227" width="175.43" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="214" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="351.95" y="218.5" width="175.43" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="409.66499999999996" y="237.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">296.9 ms</text>+ <circle cx="68" cy="225.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="229.8" class="t-primary" font-size="12.5" font-weight="500">render-workflow.mjs</text>+ <text x="534.38" y="229.3" class="t-muted wf-num" font-size="11" font-weight="600">296.9 ms</text></g>- <g id="node-ex1_check" data-node-id="ex1_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="298.5" data-waterfall-end="445.2" data-waterfall-duration="146.7" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex1_check" data-node-id="ex1_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="298.5" data-waterfall-end="445.2" data-waterfall-duration="146.7" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>check-render-output.mjs · 298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock · worker 2 › agent-tool-call.workflow</title>- <rect x="22" y="249" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="266" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="497.38" y="255" width="86.67999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="239" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="527.38" y="243.5" width="86.67999999999995" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="540.72" y="265.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">146.7 ms</text>+ <circle cx="68" cy="250.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="254.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="621.06" y="254.3" class="t-muted wf-num" font-size="11" font-weight="600">146.7 ms</text></g>- <g id="node-ex2" data-node-id="ex2" data-node-label="cache-miss-request.sequence" tabindex="0" role="button" aria-label="Focus cache-miss-request.sequence, 2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="2.2" data-waterfall-end="398.4" data-waterfall-duration="396.2" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex2" data-node-id="ex2" data-node-label="cache-miss-request.sequence" tabindex="0" role="button" aria-label="Focus cache-miss-request.sequence, 2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="database" data-node-sublabel="2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="2.2" data-waterfall-end="398.4" data-waterfall-duration="396.2" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>cache-miss-request.sequence · 2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock · worker 3 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="277" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="294" class="t-primary" font-size="11.5" font-weight="550">cache-miss-request.sequence</text>- <rect x="322.3" y="283" width="234.10999999999996" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="264" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="352.3" y="268.5" width="234.10999999999996" height="14" rx="4" class="c-database wf-span" stroke-width="1.2"/>- <text x="439.355" y="293.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">396.2 ms</text>+ <circle cx="50" cy="275.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="279.8" class="t-primary" font-size="12.5" font-weight="650">cache-miss-request.sequence</text>+ <text x="593.41" y="279.3" class="t-primary wf-num" font-size="11" font-weight="700">396.2 ms</text></g>- <g id="node-ex2_render" data-node-id="ex2_render" data-node-label="render-sequence.mjs" tabindex="0" role="button" aria-label="Focus render-sequence.mjs, 2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="backend" data-node-sublabel="2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="2.2" data-waterfall-end="224.4" data-waterfall-duration="222.20000000000002" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex2_render" data-node-id="ex2_render" data-node-label="render-sequence.mjs" tabindex="0" role="button" aria-label="Focus render-sequence.mjs, 2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="database" data-node-sublabel="2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="2.2" data-waterfall-end="224.4" data-waterfall-duration="222.20000000000002" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>render-sequence.mjs · 2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock · worker 3 › cache-miss-request.sequence</title>- <rect x="22" y="305" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="322" class="t-primary" font-size="11.5" font-weight="550">render-sequence.mjs</text>- <rect x="322.3" y="311" width="131.3" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="289" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="352.3" y="293.5" width="131.3" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="387.95000000000005" y="321.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">222.2 ms</text>+ <circle cx="68" cy="300.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="304.8" class="t-primary" font-size="12.5" font-weight="500">render-sequence.mjs</text>+ <text x="490.6" y="304.3" class="t-muted wf-num" font-size="11" font-weight="600">222.2 ms</text></g>- <g id="node-ex2_check" data-node-id="ex2_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="backend" data-node-sublabel="224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="224.4" data-waterfall-end="398.4" data-waterfall-duration="173.99999999999997" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex2_check" data-node-id="ex2_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="database" data-node-sublabel="224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="224.4" data-waterfall-end="398.4" data-waterfall-duration="173.99999999999997" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>check-render-output.mjs · 224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock · worker 3 › cache-miss-request.sequence</title>- <rect x="22" y="333" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="350" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="453.6" y="339" width="102.80999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="314" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="483.6" y="318.5" width="102.80999999999995" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="505.005" y="349.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">174 ms</text>+ <circle cx="68" cy="325.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="329.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="593.41" y="329.3" class="t-muted wf-num" font-size="11" font-weight="600">174 ms</text></g>- <g id="node-ex3" data-node-id="ex3" data-node-label="product-analytics.dataflow" tabindex="0" role="button" aria-label="Focus product-analytics.dataflow, 398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="398.4" data-waterfall-end="830.7" data-waterfall-duration="432.30000000000007" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex3" data-node-id="ex3" data-node-label="product-analytics.dataflow" tabindex="0" role="button" aria-label="Focus product-analytics.dataflow, 398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="database" data-node-sublabel="398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="398.4" data-waterfall-end="830.7" data-waterfall-duration="432.30000000000007" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>product-analytics.dataflow · 398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock · worker 3 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="361" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="378" class="t-primary" font-size="11.5" font-weight="550">product-analytics.dataflow</text>- <rect x="556.41" y="367" width="255.44000000000005" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="339" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="586.41" y="343.5" width="255.44000000000005" height="14" rx="4" class="c-database wf-span" stroke-width="1.2"/>- <text x="684.13" y="377.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">432.3 ms</text>+ <circle cx="50" cy="350.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="354.8" class="t-primary" font-size="12.5" font-weight="650">product-analytics.dataflow</text>+ <text x="848.85" y="354.3" class="t-primary wf-num" font-size="11" font-weight="700">432.3 ms</text></g>- <g id="node-ex3_render" data-node-id="ex3_render" data-node-label="render-dataflow.mjs" tabindex="0" role="button" aria-label="Focus render-dataflow.mjs, 398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="398.4" data-waterfall-end="593.4" data-waterfall-duration="195" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex3_render" data-node-id="ex3_render" data-node-label="render-dataflow.mjs" tabindex="0" role="button" aria-label="Focus render-dataflow.mjs, 398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="database" data-node-sublabel="398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="398.4" data-waterfall-end="593.4" data-waterfall-duration="195" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>render-dataflow.mjs · 398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock · worker 3 › product-analytics.dataflow</title>- <rect x="22" y="389" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="406" class="t-primary" font-size="11.5" font-weight="550">render-dataflow.mjs</text>- <rect x="556.41" y="395" width="115.22000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="364" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="586.41" y="368.5" width="115.22000000000003" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="614.02" y="405.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">195 ms</text>+ <circle cx="68" cy="375.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="379.8" class="t-primary" font-size="12.5" font-weight="500">render-dataflow.mjs</text>+ <text x="708.63" y="379.3" class="t-muted wf-num" font-size="11" font-weight="600">195 ms</text></g>- <g id="node-ex3_check" data-node-id="ex3_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="593.4" data-waterfall-end="830.7" data-waterfall-duration="237.30000000000007" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex3_check" data-node-id="ex3_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="database" data-node-sublabel="593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="593.4" data-waterfall-end="830.7" data-waterfall-duration="237.30000000000007" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>check-render-output.mjs · 593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock · worker 3 › product-analytics.dataflow</title>- <rect x="22" y="417" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="434" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="671.63" y="423" width="140.22000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="389" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="701.63" y="393.5" width="140.22000000000003" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="741.74" y="433.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">237.3 ms</text>+ <circle cx="68" cy="400.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="404.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="848.85" y="404.3" class="t-muted wf-num" font-size="11" font-weight="600">237.3 ms</text></g>- <g id="node-ex4" data-node-id="ex4" data-node-label="agent-run.lifecycle" tabindex="0" role="button" aria-label="Focus agent-run.lifecycle, 429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="429.8" data-waterfall-end="862.8" data-waterfall-duration="432.99999999999994" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex4" data-node-id="ex4" data-node-label="agent-run.lifecycle" tabindex="0" role="button" aria-label="Focus agent-run.lifecycle, 429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="429.8" data-waterfall-end="862.8" data-waterfall-duration="432.99999999999994" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>agent-run.lifecycle · 429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock · worker 1 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="445" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="462" class="t-primary" font-size="11.5" font-weight="550">agent-run.lifecycle</text>- <rect x="574.96" y="451" width="255.86" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="414" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="604.96" y="418.5" width="255.86" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="702.8900000000001" y="461.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">433 ms</text>+ <circle cx="50" cy="425.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="429.8" class="t-primary" font-size="12.5" font-weight="650">agent-run.lifecycle</text>+ <text x="867.82" y="429.3" class="t-primary wf-num" font-size="11" font-weight="700">433 ms</text></g>- <g id="node-ex4_render" data-node-id="ex4_render" data-node-label="render-lifecycle.mjs" tabindex="0" role="button" aria-label="Focus render-lifecycle.mjs, 429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="backend" data-node-sublabel="429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="429.8" data-waterfall-end="643.7" data-waterfall-duration="213.90000000000003" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex4_render" data-node-id="ex4_render" data-node-label="render-lifecycle.mjs" tabindex="0" role="button" aria-label="Focus render-lifecycle.mjs, 429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="429.8" data-waterfall-end="643.7" data-waterfall-duration="213.90000000000003" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>render-lifecycle.mjs · 429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock · worker 1 › agent-run.lifecycle</title>- <rect x="22" y="473" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="490" class="t-primary" font-size="11.5" font-weight="550">render-lifecycle.mjs</text>- <rect x="574.96" y="479" width="126.38999999999999" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="439" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="604.96" y="443.5" width="126.38999999999999" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="638.155" y="489.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">213.9 ms</text>+ <circle cx="68" cy="450.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="454.8" class="t-primary" font-size="12.5" font-weight="500">render-lifecycle.mjs</text>+ <text x="738.35" y="454.3" class="t-muted wf-num" font-size="11" font-weight="600">213.9 ms</text></g>- <g id="node-ex4_check" data-node-id="ex4_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="backend" data-node-sublabel="643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="643.7" data-waterfall-end="862.8" data-waterfall-duration="219.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex4_check" data-node-id="ex4_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="643.7" data-waterfall-end="862.8" data-waterfall-duration="219.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>check-render-output.mjs · 643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock · worker 1 › agent-run.lifecycle</title>- <rect x="22" y="501" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="518" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="701.35" y="507" width="129.47000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="464" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="731.35" y="468.5" width="129.47000000000003" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="766.085" y="517.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">219.1 ms</text>+ <circle cx="68" cy="475.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="479.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="867.82" y="479.3" class="t-muted wf-num" font-size="11" font-weight="600">219.1 ms</text></g>- <g id="node-ex5" data-node-id="ex5" data-node-label="orders.erd" tabindex="0" role="button" aria-label="Focus orders.erd, 445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="445.2" data-waterfall-end="868.3" data-waterfall-duration="423.09999999999997" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex5" data-node-id="ex5" data-node-label="orders.erd" tabindex="0" role="button" aria-label="Focus orders.erd, 445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="445.2" data-waterfall-end="868.3" data-waterfall-duration="423.09999999999997" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>orders.erd · 445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock · worker 2 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="529" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="546" class="t-primary" font-size="11.5" font-weight="550">orders.erd</text>- <rect x="584.06" y="535" width="250.0100000000001" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="489" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="614.06" y="493.5" width="250.0100000000001" height="14" rx="4" class="c-backend wf-span" stroke-width="1.2"/>- <text x="709.065" y="545.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">423.1 ms</text>+ <circle cx="50" cy="500.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="60" y="504.8" class="t-primary" font-size="12.5" font-weight="650">orders.erd</text>+ <text x="871.07" y="504.3" class="t-primary wf-num" font-size="11" font-weight="700">423.1 ms</text></g>- <g id="node-ex5_render" data-node-id="ex5_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="445.2" data-waterfall-end="645.9" data-waterfall-duration="200.7" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex5_render" data-node-id="ex5_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="445.2" data-waterfall-end="645.9" data-waterfall-duration="200.7" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>render-erd.mjs · 445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock · worker 2 › orders.erd</title>- <rect x="22" y="557" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="574" class="t-primary" font-size="11.5" font-weight="550">render-erd.mjs</text>- <rect x="584.06" y="563" width="118.59000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="514" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="614.06" y="518.5" width="118.59000000000003" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="643.355" y="573.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">200.7 ms</text>+ <circle cx="68" cy="525.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="529.8" class="t-primary" font-size="12.5" font-weight="500">render-erd.mjs</text>+ <text x="739.65" y="529.3" class="t-muted wf-num" font-size="11" font-weight="600">200.7 ms</text></g>- <g id="node-ex5_check" data-node-id="ex5_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="645.9" data-waterfall-end="868.3" data-waterfall-duration="222.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex5_check" data-node-id="ex5_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="645.9" data-waterfall-end="868.3" data-waterfall-duration="222.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>check-render-output.mjs · 645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock · worker 2 › orders.erd</title>- <rect x="22" y="585" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="602" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="702.65" y="591" width="131.42000000000007" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="539" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="732.65" y="543.5" width="131.42000000000007" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="768.36" y="601.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">222.4 ms</text>+ <circle cx="68" cy="550.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="554.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="871.07" y="554.3" class="t-muted wf-num" font-size="11" font-weight="600">222.4 ms</text></g>- <g id="node-ex6" data-node-id="ex6" data-node-label="subscription-billing.erd" tabindex="0" role="button" aria-label="Focus subscription-billing.erd, 830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="830.7" data-waterfall-end="1231.3" data-waterfall-duration="400.5999999999999" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex6" data-node-id="ex6" data-node-label="subscription-billing.erd" tabindex="0" role="button" aria-label="Focus subscription-billing.erd, 830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="database" data-node-sublabel="830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="830.7" data-waterfall-end="1231.3" data-waterfall-duration="400.5999999999999" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>subscription-billing.erd · 830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock · worker 3 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="613" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="630" class="t-primary" font-size="11.5" font-weight="550">subscription-billing.erd</text>- <rect x="811.85" y="619" width="236.70999999999992" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="564" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="841.85" y="568.5" width="236.70999999999992" height="14" rx="4" class="c-database wf-span" stroke-width="1.2"/>- <text x="930.2049999999999" y="629.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">400.6 ms</text>+ <circle cx="50" cy="575.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="579.8" class="t-primary" font-size="12.5" font-weight="650">subscription-billing.erd</text>+ <text x="1085.56" y="579.3" class="t-primary wf-num" font-size="11" font-weight="700">400.6 ms</text></g>- <g id="node-ex6_render" data-node-id="ex6_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="830.7" data-waterfall-end="1022.2" data-waterfall-duration="191.5" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex6_render" data-node-id="ex6_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="database" data-node-sublabel="830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="830.7" data-waterfall-end="1022.2" data-waterfall-duration="191.5" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>render-erd.mjs · 830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock · worker 3 › subscription-billing.erd</title>- <rect x="22" y="641" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="658" class="t-primary" font-size="11.5" font-weight="550">render-erd.mjs</text>- <rect x="811.85" y="647" width="113.15999999999997" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="589" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="841.85" y="593.5" width="113.15999999999997" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="868.4300000000001" y="657.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">191.5 ms</text>+ <circle cx="68" cy="600.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="604.8" class="t-primary" font-size="12.5" font-weight="500">render-erd.mjs</text>+ <text x="962.01" y="604.3" class="t-muted wf-num" font-size="11" font-weight="600">191.5 ms</text></g>- <g id="node-ex6_check" data-node-id="ex6_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="1022.2" data-waterfall-end="1231.3" data-waterfall-duration="209.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex6_check" data-node-id="ex6_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="database" data-node-sublabel="1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="1022.2" data-waterfall-end="1231.3" data-waterfall-duration="209.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>check-render-output.mjs · 1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock · worker 3 › subscription-billing.erd</title>- <rect x="22" y="669" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="686" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="925.01" y="675" width="123.54999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="614" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="955.01" y="618.5" width="123.54999999999995" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="986.785" y="685.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">209.1 ms</text>+ <circle cx="68" cy="625.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="629.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="1085.56" y="629.3" class="t-muted wf-num" font-size="11" font-weight="600">209.1 ms</text></g>- <g id="node-ex7" data-node-id="ex7" data-node-label="checkout-request.waterfall" tabindex="0" role="button" aria-label="Focus checkout-request.waterfall, 862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="862.8" data-waterfall-end="1286.2" data-waterfall-duration="423.4000000000001" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex7" data-node-id="ex7" data-node-label="checkout-request.waterfall" tabindex="0" role="button" aria-label="Focus checkout-request.waterfall, 862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="862.8" data-waterfall-end="1286.2" data-waterfall-duration="423.4000000000001" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>checkout-request.waterfall · 862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock · worker 1 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="697" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="714" class="t-primary" font-size="11.5" font-weight="550">checkout-request.waterfall</text>- <rect x="830.82" y="703" width="250.17999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="639" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="860.82" y="643.5" width="250.17999999999995" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="955.9100000000001" y="713.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">423.4 ms</text>+ <circle cx="50" cy="650.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="654.8" class="t-primary" font-size="12.5" font-weight="650">checkout-request.waterfall</text>+ <text x="1118" y="654.3" class="t-primary wf-num" font-size="11" font-weight="700">423.4 ms</text></g>- <g id="node-ex7_render" data-node-id="ex7_render" data-node-label="render-waterfall.mjs" tabindex="0" role="button" aria-label="Focus render-waterfall.mjs, 862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="backend" data-node-sublabel="862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="862.8" data-waterfall-end="1082.5" data-waterfall-duration="219.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex7_render" data-node-id="ex7_render" data-node-label="render-waterfall.mjs" tabindex="0" role="button" aria-label="Focus render-waterfall.mjs, 862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="862.8" data-waterfall-end="1082.5" data-waterfall-duration="219.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>render-waterfall.mjs · 862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock · worker 1 › checkout-request.waterfall</title>- <rect x="22" y="725" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="742" class="t-primary" font-size="11.5" font-weight="550">render-waterfall.mjs</text>- <rect x="830.82" y="731" width="129.81999999999994" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="664" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="860.82" y="668.5" width="129.81999999999994" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="895.73" y="741.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">219.7 ms</text>+ <circle cx="68" cy="675.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="679.8" class="t-primary" font-size="12.5" font-weight="500">render-waterfall.mjs</text>+ <text x="997.64" y="679.3" class="t-muted wf-num" font-size="11" font-weight="600">219.7 ms</text></g>- <g id="node-ex7_check" data-node-id="ex7_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="1082.5" data-waterfall-end="1286.2" data-waterfall-duration="203.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex7_check" data-node-id="ex7_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="1082.5" data-waterfall-end="1286.2" data-waterfall-duration="203.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>check-render-output.mjs · 1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock · worker 1 › checkout-request.waterfall</title>- <rect x="22" y="753" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="770" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="960.64" y="759" width="120.36000000000001" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="689" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="990.64" y="693.5" width="120.36000000000001" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="1020.8199999999999" y="769.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">203.7 ms</text>+ <circle cx="68" cy="700.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="704.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="1118" y="704.3" class="t-muted wf-num" font-size="11" font-weight="600">203.7 ms</text></g><!-- Legend -->-+ <g data-legend="">+ <text x="28" y="747" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="service:worker 1" data-legend-x="28" data-legend-baseline="767" data-legend-width="77">+ <rect x="28" y="757" width="14" height="10" rx="2.5" class="c-frontend wf-solid" stroke-width="1.2"/>+ <text x="50" y="767" class="t-muted" font-size="13" font-weight="500">worker 1</text>+ </g>+ <g data-legend-semantic-kind="service:worker 2" data-legend-x="127" data-legend-baseline="767" data-legend-width="77">+ <rect x="127" y="757" width="14" height="10" rx="2.5" class="c-backend wf-solid" stroke-width="1.2"/>+ <text x="149" y="767" class="t-muted" font-size="13" font-weight="500">worker 2</text>+ </g>+ <g data-legend-semantic-kind="service:worker 3" data-legend-x="226" data-legend-baseline="767" data-legend-width="77">+ <rect x="226" y="757" width="14" height="10" rx="2.5" class="c-database wf-solid" stroke-width="1.2"/>+ <text x="248" y="767" class="t-muted" font-size="13" font-weight="500">worker 3</text>+ </g>+ </g></svg><p class="intent-trace-status no-print" id="intent-trace-status" role="status" aria-live="polite" aria-atomic="true"></p><div class="diagram-guide no-print" id="diagram-guide" hidden role="dialog" aria-modal="false" aria-labelledby="diagram-guide-title">diff --git a/archify/renderers/class/README.md b/archify/renderers/class/README.mdindex 5fd3f301..c4eb28df 100644--- a/archify/renderers/class/README.md+++ b/archify/renderers/class/README.md@@ -68,7 +68,9 @@ Semantic checks: a realization runs from a non-interface to an interface`layout.mode: "grid"` (the default) places types by `row`/`col` on the bandedgrid shared with the ERD renderer: each column takes its widest type and eachrow its tallest. Types are centred in their row band so a relationship between-two types of one row is a straight line. `layout.gapX`/`gapY` (default 128/84)+two types of one row is a straight line. A half-step `col` (e.g. `1.5`) centres+a type between two columns without sizing either, which is how a supertype sits+symmetrically over two subtypes; it occupies both neighbouring cells. `layout.gapX`/`gapY` (default 128/84)leave room for markers and labels; `layout.typeW` (180) is the minimum and`layout.typeMaxW` (300) the maximum automatic width.diff --git a/archify/renderers/class/render-class.mjs b/archify/renderers/class/render-class.mjsindex 19d928c9..37eab894 100644--- a/archify/renderers/class/render-class.mjs+++ b/archify/renderers/class/render-class.mjs@@ -71,10 +71,10 @@ const layout = {padX: 12,headerH: 44,headerPlainH: 34,- nameFont: 13,+ nameFont: 13.5,stereotypeFont: 9.5,- memberFont: 10.5,- rowH: 19,+ memberFont: 11,+ rowH: 20,compartmentPad: 5,minRelationshipLength: 28,};@@ -512,12 +512,15 @@ function validateClassDiagram() {if (seen.has(type.id)) problems.push(`Type ids must be unique; "${type.id}" is declared twice.`);seen.add(type.id);if (placedByGrid(type)) {- if (!Number.isInteger(type.row) || !Number.isInteger(type.col)) {- problems.push(`Type "${type.id}" needs grid row/col or an absolute pos [x,y].`);+ if (!Number.isInteger(type.row) || !Number.isInteger(type.col * 2)) {+ problems.push(`Type "${type.id}" needs grid row/col (col may be a half step, e.g. 1.5) or an absolute pos [x,y].`);} else {- const key = `${type.row},${type.col}`;- if (cells.has(key)) problems.push(`Types "${cells.get(key)}" and "${type.id}" share grid cell row ${type.row} col ${type.col}.`);- else cells.set(key, type.id);+ // A half column straddles the two columns beside it.+ for (const col of new Set([Math.floor(type.col), Math.ceil(type.col)])) {+ const key = `${type.row},${col}`;+ if (cells.has(key)) problems.push(`Types "${cells.get(key)}" and "${type.id}" share grid cell row ${type.row} col ${col}.`);+ else cells.set(key, type.id);+ }}}const attributeNames = new Set();@@ -694,6 +697,26 @@ function buildLayoutReport() {}// ---- Rendering -----------------------------------------------------------------+// A member reads like a signature in an editor: the visibility glyph and every+// type annotation are quiet, so the names carry the row. Wrapping never splits+// an annotation, so each line is coloured on its own.+function memberSpans(text, first) {+ let out = '';+ let rest = text;+ const glyph = first ? rest.match(/^([+#~-]) /) : null;+ if (glyph) {+ out += `<tspan class="t-muted">${esc(glyph[1])}</tspan> `;+ rest = rest.slice(2);+ }+ const annotation = /:\s*[^,()]+/g;+ let last = 0;+ for (const match of rest.matchAll(annotation)) {+ out += `${esc(rest.slice(last, match.index))}<tspan class="t-muted">${esc(match[0])}</tspan>`;+ last = match.index + match[0].length;+ }+ return out + esc(rest.slice(last));+}+function renderMembers(type) {let top = type.y + headerHeight(type);return compartments(type).map((compartment) => {@@ -708,7 +731,7 @@ function renderMembers(type) {const baseline = top + layout.compartmentPad + (line += 1) * layout.rowH - 5;const x = type.x + layout.padX + (index ? CONTINUATION_INDENT * MEMBER_ADVANCE : 0);const continued = index ? ' data-class-continuation=""' : '';- return `<text data-detail="context" data-class-member="${compartment.kind}"${continued} x="${x}" y="${baseline}" class="t-primary cl-member" font-size="${layout.memberFont}"${style ? ` style="${style}"` : ''}>${esc(text)}</text>`;+ return `<text data-detail="context" data-class-member="${compartment.kind}"${continued} x="${x}" y="${baseline}" class="t-primary cl-member" font-size="${layout.memberFont}"${style ? ` style="${style}"` : ''}>${memberSpans(text, !index)}</text>`;});});top += line * layout.rowH + layout.compartmentPad * 2;diff --git a/archify/renderers/erd/grid.mjs b/archify/renderers/erd/grid.mjsindex 3677d423..5fd8dc5e 100644--- a/archify/renderers/erd/grid.mjs+++ b/archify/renderers/erd/grid.mjs@@ -45,13 +45,16 @@ export function entityHeight(entity, grid) {// Every raw column index owns the widest box placed in it and every raw row// index owns the tallest, so boxes in one band share a baseline without anyone// measuring by hand. Indices with no box still contribute their gap, which is-// how an author asks for a routing channel between two bands.+// how an author asks for a routing channel between two bands. A box on a half+// column (a class grid's `col: 1.5`) is centred between two columns: it sizes+// its row but neither column.+const gridColumn = (col) => Number.isInteger(col * 2) && col >= 0;export function bandedLayout(entities, grid) {const widths = new Map();const heights = new Map();for (const entity of entities) {- if (!Number.isInteger(entity.row) || !Number.isInteger(entity.col)) continue;- widths.set(entity.col, Math.max(widths.get(entity.col) || 0, resolvedEntityWidth(entity, grid)));+ if (!Number.isInteger(entity.row) || !gridColumn(entity.col)) continue;+ if (Number.isInteger(entity.col)) widths.set(entity.col, Math.max(widths.get(entity.col) || 0, resolvedEntityWidth(entity, grid)));heights.set(entity.row, Math.max(heights.get(entity.row) || 0, entity.height));}@@ -76,13 +79,19 @@ export function bandedLayout(entities, grid) {export function resolveEntityPos(entity, grid, bands) {if (Array.isArray(entity.pos) && entity.pos.length === 2) return entity.pos;if (!grid || !bands) return [NaN, NaN];- if (!Number.isInteger(entity.row) || !Number.isInteger(entity.col)) return [NaN, NaN];- const columnX = bands.columnX.get(entity.col);+ if (!Number.isInteger(entity.row) || !gridColumn(entity.col)) return [NaN, NaN];+ const width = resolvedEntityWidth(entity, grid);const rowY = bands.rowY.get(entity.row);+ if (!Number.isInteger(entity.col)) {+ const centre = (col) => bands.columnX.get(col) + (bands.widths.get(col) || 0) / 2;+ const [left, right] = [Math.floor(entity.col), Math.ceil(entity.col)];+ if (![bands.columnX.get(left), bands.columnX.get(right), rowY].every(Number.isFinite)) return [NaN, NaN];+ return [(centre(left) + centre(right)) / 2 - width / 2, rowY];+ }+ const columnX = bands.columnX.get(entity.col);if (!Number.isFinite(columnX) || !Number.isFinite(rowY)) return [NaN, NaN];// Centre each box in its column so the gaps on both sides stay equal; the// router reads those gaps as corridors.- const width = resolvedEntityWidth(entity, grid);const columnWidth = bands.widths.get(entity.col) || width;return [columnX + (columnWidth - width) / 2, rowY];}diff --git a/archify/renderers/shared/generated-validators.mjs b/archify/renderers/shared/generated-validators.mjsindex 33a3211b..52d6cfca 100644--- a/archify/renderers/shared/generated-validators.mjs+++ b/archify/renderers/shared/generated-validators.mjs@@ -11,7 +11,7 @@ import { validatePortablePath } from './portable-path.mjs';&& (str.charCodeAt(pos) & 0xfc00) === 0xdc00) pos += 1;}return length;-};const pattern4 = new RegExp("^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$", "u");const pattern5 = new RegExp("^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$", "u");const pattern6 = new RegExp("(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$", "u");const pattern7 = new RegExp("[\\\\<>:\"|?*\\u0000-\\u001F\\u007F-\\u009F]", "u");const pattern8 = new RegExp("[\\uD800-\\uDFFF]", "u");const pattern9 = new RegExp("(^|/)[.]{1,2}(/|$)", "u");const pattern10 = new RegExp("[. ](/|$)", "u");const pattern11 = new RegExp("(^|/)[^/]{256}", "u");const pattern12 = new RegExp("(^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Nn][Ii][Nn][$]|[Cc][Oo][Nn][Oo][Uu][Tt][$]|[Cc][Oo][Mm][1-9¹²³]|[Ll][Pp][Tt][1-9¹²³])(?:[.]|/|$)", "u");const pattern13 = new RegExp("(^|/)[^/]*~[1-9][0-9]*(?:[.]|/|$)", "u");const pattern14 = new RegExp("^[^/]+(?:/[^/]+)*$", "u");const pattern15 = new RegExp("^[a-fA-F0-9]{40}$", "u");const pattern16 = new RegExp("^[a-zA-Z][a-zA-Z0-9_-]*$", "u");const pattern29 = new RegExp("^[^\\r\\n]+$", "u");const pattern30 = new RegExp("^https?://", "u");const pattern32 = new RegExp("^[a-f0-9]{64}$", "u");const schema37 = {"type":"array","maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["id","label","focus"],"properties":{"id":{"$ref":"#/$defs/id"},"label":{"type":"string","minLength":1,"maxLength":48},"focus":{"type":"array","minItems":1,"items":{"$ref":"#/$defs/id"}},"note":{"type":"string","maxLength":140}}}};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate22.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate22.errors = vErrors;return errors === 0;}validate22.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema55 = {"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"}}};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate24.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.from === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.to === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}for(const key0 in data){if(!((key0 === "from") || (key0 === "to"))){const err2 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.from !== undefined){let data0 = data.from;if(typeof data0 === "string"){if(!pattern16.test(data0)){const err3 = {instancePath:instancePath+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}else {const err4 = {instancePath:instancePath+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.to !== undefined){let data1 = data.to;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}validate24.errors = vErrors;return errors === 0;}validate24.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/workflow.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate20.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.lanes === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "lanes"},message:"must have required property '"+"lanes"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.nodes === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "nodes"},message:"must have required property '"+"nodes"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(data.edges === undefined){const err5 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "edges"},message:"must have required property '"+"edges"+"'"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}for(const key0 in data){if(!(func1.call(schema31.properties, key0))){const err6 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.schema_version !== undefined){let data0 = data.schema_version;if(!((data0 === 1) || (data0 === 2))){const err7 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/enum",keyword:"enum",params:{allowedValues: schema31.properties.schema_version.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.diagram_type !== undefined){if("workflow" !== data.diagram_type){const err8 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "workflow"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2.output === undefined){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data2){if(!(func1.call(schema31.properties.meta.properties, key1))){const err11 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(!pattern4.test(data4)){const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}else {const err16 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err19 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(func3(data6) < 1){const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}else {const err22 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err24 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(!pattern14.test(data8)){const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}else {const err42 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err43 = {instancePath:instancePath+"/meta/animation",schemaPath:"#/properties/meta/properties/animation/enum",keyword:"enum",params:{allowedValues: schema31.properties.meta.properties.animation.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err44 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"#/properties/meta/properties/visual_preset/enum",keyword:"enum",params:{allowedValues: schema31.properties.meta.properties.visual_preset.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err45 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"#/properties/meta/properties/quality_profile/enum",keyword:"enum",params:{allowedValues: schema31.properties.meta.properties.quality_profile.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data12 = data2.repository;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data12.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data12){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data12.url !== undefined){let data13 = data12.url;if(typeof data13 === "string"){if(func3(data13) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data12.provider !== undefined){let data14 = data12.provider;if(!((data14 === "github") || (data14 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data12.link_mode !== undefined){let data15 = data12.link_mode;if(!((data15 === "web") || (data15 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data12.revision !== undefined){let data16 = data12.revision;if(typeof data16 === "string"){if(!pattern15.test(data16)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate22(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data18 = data2.legend;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key5 in data18){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data18.mode !== undefined){let data19 = data18.mode;if(!(((data19 === "auto") || (data19 === "all")) || (data19 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data18.entries !== undefined){let data20 = data18.entries;if(data20 && typeof data20 == "object" && !Array.isArray(data20)){for(const key6 in data20){if(!(((((((key6 === "frontend") || (key6 === "backend")) || (key6 === "database")) || (key6 === "cloud")) || (key6 === "security")) || (key6 === "messagebus")) || (key6 === "external"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data20.frontend !== undefined){let data21 = data20.frontend;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(Object.keys(data21).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data21){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data21.label !== undefined){let data22 = data21.label;if(typeof data22 === "string"){if(func3(data22) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data22) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data21.visible !== undefined){if(typeof data21.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/frontend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data20.backend !== undefined){let data24 = data20.backend;if(data24 && typeof data24 == "object" && !Array.isArray(data24)){if(Object.keys(data24).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data24){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data24.label !== undefined){let data25 = data24.label;if(typeof data25 === "string"){if(func3(data25) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data25) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data24.visible !== undefined){if(typeof data24.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/backend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data20.database !== undefined){let data27 = data20.database;if(data27 && typeof data27 == "object" && !Array.isArray(data27)){if(Object.keys(data27).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data27){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data27.label !== undefined){let data28 = data27.label;if(typeof data28 === "string"){if(func3(data28) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data28) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data27.visible !== undefined){if(typeof data27.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/database/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data20.cloud !== undefined){let data30 = data20.cloud;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){if(Object.keys(data30).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data30){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data30.label !== undefined){let data31 = data30.label;if(typeof data31 === "string"){if(func3(data31) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data31) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data30.visible !== undefined){if(typeof data30.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/cloud/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data20.security !== undefined){let data33 = data20.security;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(Object.keys(data33).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data33){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data33.label !== undefined){let data34 = data33.label;if(typeof data34 === "string"){if(func3(data34) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data34) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data33.visible !== undefined){if(typeof data33.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data20.messagebus !== undefined){let data36 = data20.messagebus;if(data36 && typeof data36 == "object" && !Array.isArray(data36)){if(Object.keys(data36).length < 1){const err94 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}for(const key12 in data36){if(!((key12 === "label") || (key12 === "visible"))){const err95 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data36.label !== undefined){let data37 = data36.label;if(typeof data37 === "string"){if(func3(data37) > 80){const err96 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(func3(data37) < 1){const err97 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}else {const err98 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}if(data36.visible !== undefined){if(typeof data36.visible !== "boolean"){const err99 = {instancePath:instancePath+"/meta/legend/entries/messagebus/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}}else {const err100 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}if(data20.external !== undefined){let data39 = data20.external;if(data39 && typeof data39 == "object" && !Array.isArray(data39)){if(Object.keys(data39).length < 1){const err101 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}for(const key13 in data39){if(!((key13 === "label") || (key13 === "visible"))){const err102 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data39.label !== undefined){let data40 = data39.label;if(typeof data40 === "string"){if(func3(data40) > 80){const err103 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(func3(data40) < 1){const err104 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}else {const err105 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data39.visible !== undefined){if(typeof data39.visible !== "boolean"){const err106 = {instancePath:instancePath+"/meta/legend/entries/external/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}}else {const err108 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}}else {const err109 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data2.viewBox !== undefined){let data42 = data2.viewBox;if(Array.isArray(data42)){if(data42.length > 2){const err110 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}if(data42.length < 2){const err111 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}const len0 = data42.length;if(len0 > 0){let data43 = data42[0];if((typeof data43 == "number") && (isFinite(data43))){if(data43 < 700 || isNaN(data43)){const err112 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 700},message:"must be >= 700"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}else {const err113 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(len0 > 1){let data44 = data42[1];if((typeof data44 == "number") && (isFinite(data44))){if(data44 < 240 || isNaN(data44)){const err114 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}else {const err115 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}const len1 = data42.length;if(!(len1 <= 2)){const err116 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}else {const err117 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}}else {const err118 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}if(data.lanes !== undefined){let data45 = data.lanes;if(Array.isArray(data45)){if(data45.length < 1){const err119 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}const len2 = data45.length;for(let i0=0; i0<len2; i0++){let data46 = data45[i0];if(data46 && typeof data46 == "object" && !Array.isArray(data46)){if(data46.id === undefined){const err120 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}if(data46.label === undefined){const err121 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}for(const key14 in data46){if(!(((key14 === "id") || (key14 === "label")) || (key14 === "variant"))){const err122 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}if(data46.id !== undefined){let data47 = data46.id;if(typeof data47 === "string"){if(!pattern16.test(data47)){const err123 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}else {const err124 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}if(data46.label !== undefined){let data48 = data46.label;if(typeof data48 === "string"){if(func3(data48) < 1){const err125 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data46.variant !== undefined){let data49 = data46.variant;if(!((data49 === "normal") || (data49 === "exception"))){const err127 = {instancePath:instancePath+"/lanes/" + i0+"/variant",schemaPath:"#/properties/lanes/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema31.properties.lanes.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}}else {const err128 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}}else {const err129 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}if(data.phases !== undefined){let data50 = data.phases;if(Array.isArray(data50)){const len3 = data50.length;for(let i1=0; i1<len3; i1++){let data51 = data50[i1];if(data51 && typeof data51 == "object" && !Array.isArray(data51)){if(data51.id === undefined){const err130 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}if(data51.label === undefined){const err131 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}if(data51.fromCol === undefined){const err132 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "fromCol"},message:"must have required property '"+"fromCol"+"'"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}if(data51.toCol === undefined){const err133 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "toCol"},message:"must have required property '"+"toCol"+"'"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}for(const key15 in data51){if(!(((((key15 === "id") || (key15 === "label")) || (key15 === "fromCol")) || (key15 === "toCol")) || (key15 === "variant"))){const err134 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}if(data51.id !== undefined){let data52 = data51.id;if(typeof data52 === "string"){if(!pattern16.test(data52)){const err135 = {instancePath:instancePath+"/phases/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}else {const err136 = {instancePath:instancePath+"/phases/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data51.label !== undefined){let data53 = data51.label;if(typeof data53 === "string"){if(func3(data53) < 1){const err137 = {instancePath:instancePath+"/phases/" + i1+"/label",schemaPath:"#/properties/phases/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}else {const err138 = {instancePath:instancePath+"/phases/" + i1+"/label",schemaPath:"#/properties/phases/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data51.fromCol !== undefined){let data54 = data51.fromCol;if(!(((typeof data54 == "number") && (!(data54 % 1) && !isNaN(data54))) && (isFinite(data54)))){const err139 = {instancePath:instancePath+"/phases/" + i1+"/fromCol",schemaPath:"#/properties/phases/items/properties/fromCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if((typeof data54 == "number") && (isFinite(data54))){if(data54 > 5 || isNaN(data54)){const err140 = {instancePath:instancePath+"/phases/" + i1+"/fromCol",schemaPath:"#/properties/phases/items/properties/fromCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if(data54 < 0 || isNaN(data54)){const err141 = {instancePath:instancePath+"/phases/" + i1+"/fromCol",schemaPath:"#/properties/phases/items/properties/fromCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}if(data51.toCol !== undefined){let data55 = data51.toCol;if(!(((typeof data55 == "number") && (!(data55 % 1) && !isNaN(data55))) && (isFinite(data55)))){const err142 = {instancePath:instancePath+"/phases/" + i1+"/toCol",schemaPath:"#/properties/phases/items/properties/toCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if((typeof data55 == "number") && (isFinite(data55))){if(data55 > 5 || isNaN(data55)){const err143 = {instancePath:instancePath+"/phases/" + i1+"/toCol",schemaPath:"#/properties/phases/items/properties/toCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}if(data55 < 0 || isNaN(data55)){const err144 = {instancePath:instancePath+"/phases/" + i1+"/toCol",schemaPath:"#/properties/phases/items/properties/toCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}}if(data51.variant !== undefined){let data56 = data51.variant;if(!((((data56 === "default") || (data56 === "emphasis")) || (data56 === "security")) || (data56 === "dashed"))){const err145 = {instancePath:instancePath+"/phases/" + i1+"/variant",schemaPath:"#/properties/phases/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema31.properties.phases.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}else {const err146 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath:instancePath+"/phases",schemaPath:"#/properties/phases/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}if(data.groups !== undefined){let data57 = data.groups;if(Array.isArray(data57)){const len4 = data57.length;for(let i2=0; i2<len4; i2++){let data58 = data57[i2];if(data58 && typeof data58 == "object" && !Array.isArray(data58)){if(data58.id === undefined){const err148 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}if(data58.label === undefined){const err149 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}if(data58.lane === undefined){const err150 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "lane"},message:"must have required property '"+"lane"+"'"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(data58.fromCol === undefined){const err151 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "fromCol"},message:"must have required property '"+"fromCol"+"'"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}if(data58.toCol === undefined){const err152 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "toCol"},message:"must have required property '"+"toCol"+"'"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}for(const key16 in data58){if(!((((((key16 === "id") || (key16 === "label")) || (key16 === "lane")) || (key16 === "fromCol")) || (key16 === "toCol")) || (key16 === "variant"))){const err153 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}if(data58.id !== undefined){let data59 = data58.id;if(typeof data59 === "string"){if(!pattern16.test(data59)){const err154 = {instancePath:instancePath+"/groups/" + i2+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}else {const err155 = {instancePath:instancePath+"/groups/" + i2+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}if(data58.label !== undefined){let data60 = data58.label;if(typeof data60 === "string"){if(func3(data60) < 1){const err156 = {instancePath:instancePath+"/groups/" + i2+"/label",schemaPath:"#/properties/groups/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}else {const err157 = {instancePath:instancePath+"/groups/" + i2+"/label",schemaPath:"#/properties/groups/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}if(data58.lane !== undefined){let data61 = data58.lane;if(typeof data61 === "string"){if(!pattern16.test(data61)){const err158 = {instancePath:instancePath+"/groups/" + i2+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}else {const err159 = {instancePath:instancePath+"/groups/" + i2+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}if(data58.fromCol !== undefined){let data62 = data58.fromCol;if(!(((typeof data62 == "number") && (!(data62 % 1) && !isNaN(data62))) && (isFinite(data62)))){const err160 = {instancePath:instancePath+"/groups/" + i2+"/fromCol",schemaPath:"#/properties/groups/items/properties/fromCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}if((typeof data62 == "number") && (isFinite(data62))){if(data62 > 5 || isNaN(data62)){const err161 = {instancePath:instancePath+"/groups/" + i2+"/fromCol",schemaPath:"#/properties/groups/items/properties/fromCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}if(data62 < 0 || isNaN(data62)){const err162 = {instancePath:instancePath+"/groups/" + i2+"/fromCol",schemaPath:"#/properties/groups/items/properties/fromCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}}if(data58.toCol !== undefined){let data63 = data58.toCol;if(!(((typeof data63 == "number") && (!(data63 % 1) && !isNaN(data63))) && (isFinite(data63)))){const err163 = {instancePath:instancePath+"/groups/" + i2+"/toCol",schemaPath:"#/properties/groups/items/properties/toCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if((typeof data63 == "number") && (isFinite(data63))){if(data63 > 5 || isNaN(data63)){const err164 = {instancePath:instancePath+"/groups/" + i2+"/toCol",schemaPath:"#/properties/groups/items/properties/toCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if(data63 < 0 || isNaN(data63)){const err165 = {instancePath:instancePath+"/groups/" + i2+"/toCol",schemaPath:"#/properties/groups/items/properties/toCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}}if(data58.variant !== undefined){let data64 = data58.variant;if(!((((data64 === "default") || (data64 === "emphasis")) || (data64 === "security")) || (data64 === "dashed"))){const err166 = {instancePath:instancePath+"/groups/" + i2+"/variant",schemaPath:"#/properties/groups/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema31.properties.groups.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}}else {const err167 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/groups",schemaPath:"#/properties/groups/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}if(data.mainPath !== undefined){let data65 = data.mainPath;if(Array.isArray(data65)){if(data65.length < 2){const err169 = {instancePath:instancePath+"/mainPath",schemaPath:"#/properties/mainPath/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}const len5 = data65.length;for(let i3=0; i3<len5; i3++){let data66 = data65[i3];if(typeof data66 === "string"){if(!pattern16.test(data66)){const err170 = {instancePath:instancePath+"/mainPath/" + i3,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}else {const err171 = {instancePath:instancePath+"/mainPath/" + i3,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}else {const err172 = {instancePath:instancePath+"/mainPath",schemaPath:"#/properties/mainPath/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data.semanticChecks !== undefined){let data67 = data.semanticChecks;if(data67 && typeof data67 == "object" && !Array.isArray(data67)){if(Object.keys(data67).length < 1){const err173 = {instancePath:instancePath+"/semanticChecks",schemaPath:"#/properties/semanticChecks/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}for(const key17 in data67){if(!((((key17 === "allowedRoots") || (key17 === "allowedTerminals")) || (key17 === "requiredEdges")) || (key17 === "requiredPaths"))){const err174 = {instancePath:instancePath+"/semanticChecks",schemaPath:"#/properties/semanticChecks/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}if(data67.allowedRoots !== undefined){let data68 = data67.allowedRoots;if(Array.isArray(data68)){const len6 = data68.length;for(let i4=0; i4<len6; i4++){let data69 = data68[i4];if(typeof data69 === "string"){if(!pattern16.test(data69)){const err175 = {instancePath:instancePath+"/semanticChecks/allowedRoots/" + i4,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/semanticChecks/allowedRoots/" + i4,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}}else {const err177 = {instancePath:instancePath+"/semanticChecks/allowedRoots",schemaPath:"#/properties/semanticChecks/properties/allowedRoots/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}if(data67.allowedTerminals !== undefined){let data70 = data67.allowedTerminals;if(Array.isArray(data70)){const len7 = data70.length;for(let i5=0; i5<len7; i5++){let data71 = data70[i5];if(typeof data71 === "string"){if(!pattern16.test(data71)){const err178 = {instancePath:instancePath+"/semanticChecks/allowedTerminals/" + i5,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}else {const err179 = {instancePath:instancePath+"/semanticChecks/allowedTerminals/" + i5,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}}else {const err180 = {instancePath:instancePath+"/semanticChecks/allowedTerminals",schemaPath:"#/properties/semanticChecks/properties/allowedTerminals/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data67.requiredEdges !== undefined){let data72 = data67.requiredEdges;if(Array.isArray(data72)){const len8 = data72.length;for(let i6=0; i6<len8; i6++){if(!(validate24(data72[i6], {instancePath:instancePath+"/semanticChecks/requiredEdges/" + i6,parentData:data72,parentDataProperty:i6,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}}}else {const err181 = {instancePath:instancePath+"/semanticChecks/requiredEdges",schemaPath:"#/properties/semanticChecks/properties/requiredEdges/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}if(data67.requiredPaths !== undefined){let data74 = data67.requiredPaths;if(Array.isArray(data74)){const len9 = data74.length;for(let i7=0; i7<len9; i7++){if(!(validate24(data74[i7], {instancePath:instancePath+"/semanticChecks/requiredPaths/" + i7,parentData:data74,parentDataProperty:i7,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}}}else {const err182 = {instancePath:instancePath+"/semanticChecks/requiredPaths",schemaPath:"#/properties/semanticChecks/properties/requiredPaths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}}else {const err183 = {instancePath:instancePath+"/semanticChecks",schemaPath:"#/properties/semanticChecks/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}if(data.nodes !== undefined){let data76 = data.nodes;if(Array.isArray(data76)){if(data76.length < 1){const err184 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}const len10 = data76.length;for(let i8=0; i8<len10; i8++){let data77 = data76[i8];if(data77 && typeof data77 == "object" && !Array.isArray(data77)){if(data77.id === undefined){const err185 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}if(data77.lane === undefined){const err186 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "lane"},message:"must have required property '"+"lane"+"'"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}if(data77.col === undefined){const err187 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "col"},message:"must have required property '"+"col"+"'"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}if(data77.type === undefined){const err188 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}if(data77.label === undefined){const err189 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}for(const key18 in data77){if(!(func1.call(schema31.properties.nodes.items.properties, key18))){const err190 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data77.id !== undefined){let data78 = data77.id;if(typeof data78 === "string"){if(!pattern16.test(data78)){const err191 = {instancePath:instancePath+"/nodes/" + i8+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}else {const err192 = {instancePath:instancePath+"/nodes/" + i8+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(data77.lane !== undefined){let data79 = data77.lane;if(typeof data79 === "string"){if(!pattern16.test(data79)){const err193 = {instancePath:instancePath+"/nodes/" + i8+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}else {const err194 = {instancePath:instancePath+"/nodes/" + i8+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(data77.col !== undefined){let data80 = data77.col;if(!(((typeof data80 == "number") && (!(data80 % 1) && !isNaN(data80))) && (isFinite(data80)))){const err195 = {instancePath:instancePath+"/nodes/" + i8+"/col",schemaPath:"#/properties/nodes/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}if((typeof data80 == "number") && (isFinite(data80))){if(data80 > 5 || isNaN(data80)){const err196 = {instancePath:instancePath+"/nodes/" + i8+"/col",schemaPath:"#/properties/nodes/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}if(data80 < 0 || isNaN(data80)){const err197 = {instancePath:instancePath+"/nodes/" + i8+"/col",schemaPath:"#/properties/nodes/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}}if(data77.type !== undefined){let data81 = data77.type;if(!(((((((data81 === "frontend") || (data81 === "backend")) || (data81 === "database")) || (data81 === "cloud")) || (data81 === "security")) || (data81 === "messagebus")) || (data81 === "external"))){const err198 = {instancePath:instancePath+"/nodes/" + i8+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data77.label !== undefined){let data82 = data77.label;if(typeof data82 === "string"){if(func3(data82) < 1){const err199 = {instancePath:instancePath+"/nodes/" + i8+"/label",schemaPath:"#/properties/nodes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}else {const err200 = {instancePath:instancePath+"/nodes/" + i8+"/label",schemaPath:"#/properties/nodes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data77.sublabel !== undefined){if(typeof data77.sublabel !== "string"){const err201 = {instancePath:instancePath+"/nodes/" + i8+"/sublabel",schemaPath:"#/properties/nodes/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}if(data77.tag !== undefined){if(typeof data77.tag !== "string"){const err202 = {instancePath:instancePath+"/nodes/" + i8+"/tag",schemaPath:"#/properties/nodes/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}if(data77.icon !== undefined){let data85 = data77.icon;if(!((((((((((((((((((((data85 === "calendar") || (data85 === "clock")) || (data85 === "person")) || (data85 === "briefcase")) || (data85 === "flag")) || (data85 === "moon")) || (data85 === "frontend")) || (data85 === "backend")) || (data85 === "database")) || (data85 === "cloud")) || (data85 === "security")) || (data85 === "messagebus")) || (data85 === "external")) || (data85 === "start")) || (data85 === "active")) || (data85 === "waiting")) || (data85 === "success")) || (data85 === "failure")) || (data85 === "neutral")) || (data85 === "none"))){const err203 = {instancePath:instancePath+"/nodes/" + i8+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}if(data77.brand !== undefined){let data86 = data77.brand;const _errs223 = errors;let valid70 = false;let passing0 = null;const _errs224 = errors;const _errs226 = errors;let valid71 = false;const _errs227 = errors;if(typeof data86 === "string"){if(func3(data86) > 80){const err204 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}if(!pattern29.test(data86)){const err205 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}var _valid1 = _errs227 === errors;valid71 = valid71 || _valid1;const _errs228 = errors;if(typeof data86 === "string"){if(!pattern30.test(data86)){const err206 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}var _valid1 = _errs228 === errors;valid71 = valid71 || _valid1;if(!valid71){const err207 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}else {errors = _errs226;if(vErrors !== null){if(_errs226){vErrors.length = _errs226;}else {vErrors = null;}}}if(typeof data86 === "string"){if(func3(data86) > 2048){const err208 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}if(func3(data86) < 1){const err209 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}else {const err210 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}var _valid0 = _errs224 === errors;if(_valid0){valid70 = true;passing0 = 0;}const _errs229 = errors;if(data86 && typeof data86 == "object" && !Array.isArray(data86)){if(data86.url === undefined){const err211 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}if(data86.sha256 === undefined){const err212 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}for(const key19 in data86){if(!((key19 === "url") || (key19 === "sha256"))){const err213 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}if(data86.url !== undefined){let data87 = data86.url;if(typeof data87 === "string"){if(func3(data87) > 2048){const err214 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}if(func3(data87) < 8){const err215 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}if(!pattern30.test(data87)){const err216 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}else {const err217 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}if(data86.sha256 !== undefined){let data88 = data86.sha256;if(typeof data88 === "string"){if(!pattern32.test(data88)){const err218 = {instancePath:instancePath+"/nodes/" + i8+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}else {const err219 = {instancePath:instancePath+"/nodes/" + i8+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}}else {const err220 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}var _valid0 = _errs229 === errors;if(_valid0 && valid70){valid70 = false;passing0 = [passing0, 1];}else {if(_valid0){valid70 = true;passing0 = 1;}}if(!valid70){const err221 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}else {errors = _errs223;if(vErrors !== null){if(_errs223){vErrors.length = _errs223;}else {vErrors = null;}}}}if(data77.sources !== undefined){let data89 = data77.sources;if(Array.isArray(data89)){if(data89.length > 3){const err222 = {instancePath:instancePath+"/nodes/" + i8+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}if(data89.length < 1){const err223 = {instancePath:instancePath+"/nodes/" + i8+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}const len11 = data89.length;for(let i9=0; i9<len11; i9++){let data90 = data89[i9];if(data90 && typeof data90 == "object" && !Array.isArray(data90)){if(data90.path === undefined){const err224 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}for(const key20 in data90){if(!((((key20 === "path") || (key20 === "line")) || (key20 === "end_line")) || (key20 === "label"))){const err225 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data90.path !== undefined){let data91 = data90.path;if(typeof data91 === "string"){if(func3(data91) > 240){const err226 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}if(func3(data91) < 1){const err227 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}else {const err228 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}}if(data90.line !== undefined){let data92 = data90.line;if(!(((typeof data92 == "number") && (!(data92 % 1) && !isNaN(data92))) && (isFinite(data92)))){const err229 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}if((typeof data92 == "number") && (isFinite(data92))){if(data92 < 1 || isNaN(data92)){const err230 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}}if(data90.end_line !== undefined){let data93 = data90.end_line;if(!(((typeof data93 == "number") && (!(data93 % 1) && !isNaN(data93))) && (isFinite(data93)))){const err231 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}if((typeof data93 == "number") && (isFinite(data93))){if(data93 < 1 || isNaN(data93)){const err232 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}}if(data90.label !== undefined){let data94 = data90.label;if(typeof data94 === "string"){if(func3(data94) > 48){const err233 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}if(func3(data94) < 1){const err234 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}else {const err235 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}}}else {const err236 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}}}else {const err237 = {instancePath:instancePath+"/nodes/" + i8+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}if(data77.width !== undefined){let data95 = data77.width;if((typeof data95 == "number") && (isFinite(data95))){if(data95 < 32 || isNaN(data95)){const err238 = {instancePath:instancePath+"/nodes/" + i8+"/width",schemaPath:"#/properties/nodes/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 32},message:"must be >= 32"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}else {const err239 = {instancePath:instancePath+"/nodes/" + i8+"/width",schemaPath:"#/properties/nodes/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}}if(data77.height !== undefined){let data96 = data77.height;if((typeof data96 == "number") && (isFinite(data96))){if(data96 < 32 || isNaN(data96)){const err240 = {instancePath:instancePath+"/nodes/" + i8+"/height",schemaPath:"#/properties/nodes/items/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 32},message:"must be >= 32"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}else {const err241 = {instancePath:instancePath+"/nodes/" + i8+"/height",schemaPath:"#/properties/nodes/items/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}}if(data77.yOffset !== undefined){let data97 = data77.yOffset;if(!((typeof data97 == "number") && (isFinite(data97)))){const err242 = {instancePath:instancePath+"/nodes/" + i8+"/yOffset",schemaPath:"#/properties/nodes/items/properties/yOffset/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}}}else {const err243 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}}}else {const err244 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}if(data.edges !== undefined){let data98 = data.edges;if(Array.isArray(data98)){const len12 = data98.length;for(let i10=0; i10<len12; i10++){let data99 = data98[i10];if(data99 && typeof data99 == "object" && !Array.isArray(data99)){if(data99.from === undefined){const err245 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}if(data99.to === undefined){const err246 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}for(const key21 in data99){if(!(func1.call(schema31.properties.edges.items.properties, key21))){const err247 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key21},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}if(data99.id !== undefined){let data100 = data99.id;if(typeof data100 === "string"){if(!pattern16.test(data100)){const err248 = {instancePath:instancePath+"/edges/" + i10+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}else {const err249 = {instancePath:instancePath+"/edges/" + i10+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}if(data99.from !== undefined){let data101 = data99.from;if(typeof data101 === "string"){if(!pattern16.test(data101)){const err250 = {instancePath:instancePath+"/edges/" + i10+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}}else {const err251 = {instancePath:instancePath+"/edges/" + i10+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}if(data99.to !== undefined){let data102 = data99.to;if(typeof data102 === "string"){if(!pattern16.test(data102)){const err252 = {instancePath:instancePath+"/edges/" + i10+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}else {const err253 = {instancePath:instancePath+"/edges/" + i10+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}if(data99.label !== undefined){if(typeof data99.label !== "string"){const err254 = {instancePath:instancePath+"/edges/" + i10+"/label",schemaPath:"#/properties/edges/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}if(data99.variant !== undefined){let data104 = data99.variant;if(!((((data104 === "default") || (data104 === "emphasis")) || (data104 === "security")) || (data104 === "dashed"))){const err255 = {instancePath:instancePath+"/edges/" + i10+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}if(data99.role !== undefined){let data105 = data99.role;if(!(((((data105 === "main") || (data105 === "branch")) || (data105 === "async")) || (data105 === "return")) || (data105 === "error"))){const err256 = {instancePath:instancePath+"/edges/" + i10+"/role",schemaPath:"#/properties/edges/items/properties/role/enum",keyword:"enum",params:{allowedValues: schema31.properties.edges.items.properties.role.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}}if(data99.fromSide !== undefined){let data106 = data99.fromSide;if(!((((data106 === "left") || (data106 === "right")) || (data106 === "top")) || (data106 === "bottom"))){const err257 = {instancePath:instancePath+"/edges/" + i10+"/fromSide",schemaPath:"#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema68.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err257];}else {vErrors.push(err257);}errors++;}}if(data99.toSide !== undefined){let data107 = data99.toSide;if(!((((data107 === "left") || (data107 === "right")) || (data107 === "top")) || (data107 === "bottom"))){const err258 = {instancePath:instancePath+"/edges/" + i10+"/toSide",schemaPath:"#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema68.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}}if(data99.route !== undefined){let data108 = data99.route;if(!(((((((data108 === "auto") || (data108 === "straight")) || (data108 === "drop")) || (data108 === "outside-right")) || (data108 === "return-left")) || (data108 === "bottom-channel")) || (data108 === "up-channel"))){const err259 = {instancePath:instancePath+"/edges/" + i10+"/route",schemaPath:"#/properties/edges/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema31.properties.edges.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data99.via !== undefined){let data109 = data99.via;if(Array.isArray(data109)){const len13 = data109.length;for(let i11=0; i11<len13; i11++){let data110 = data109[i11];if(Array.isArray(data110)){if(data110.length > 2){const err260 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}if(data110.length < 2){const err261 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}const len14 = data110.length;if(len14 > 0){let data111 = data110[0];if(!((typeof data111 == "number") && (isFinite(data111)))){const err262 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}}if(len14 > 1){let data112 = data110[1];if(!((typeof data112 == "number") && (isFinite(data112)))){const err263 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}const len15 = data110.length;if(!(len15 <= 2)){const err264 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err264];}else {vErrors.push(err264);}errors++;}}else {const err265 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}}else {const err266 = {instancePath:instancePath+"/edges/" + i10+"/via",schemaPath:"#/properties/edges/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}if(data99.labelAt !== undefined){let data113 = data99.labelAt;if(Array.isArray(data113)){if(data113.length > 2){const err267 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err267];}else {vErrors.push(err267);}errors++;}if(data113.length < 2){const err268 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}const len16 = data113.length;if(len16 > 0){let data114 = data113[0];if(!((typeof data114 == "number") && (isFinite(data114)))){const err269 = {instancePath:instancePath+"/edges/" + i10+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err269];}else {vErrors.push(err269);}errors++;}}if(len16 > 1){let data115 = data113[1];if(!((typeof data115 == "number") && (isFinite(data115)))){const err270 = {instancePath:instancePath+"/edges/" + i10+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err270];}else {vErrors.push(err270);}errors++;}}const len17 = data113.length;if(!(len17 <= 2)){const err271 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err271];}else {vErrors.push(err271);}errors++;}}else {const err272 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err272];}else {vErrors.push(err272);}errors++;}}if(data99.labelDx !== undefined){let data116 = data99.labelDx;if(!((typeof data116 == "number") && (isFinite(data116)))){const err273 = {instancePath:instancePath+"/edges/" + i10+"/labelDx",schemaPath:"#/properties/edges/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err273];}else {vErrors.push(err273);}errors++;}}if(data99.labelDy !== undefined){let data117 = data99.labelDy;if(!((typeof data117 == "number") && (isFinite(data117)))){const err274 = {instancePath:instancePath+"/edges/" + i10+"/labelDy",schemaPath:"#/properties/edges/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err274];}else {vErrors.push(err274);}errors++;}}if(data99.labelSegment !== undefined){let data118 = data99.labelSegment;if(!(((typeof data118 == "number") && (!(data118 % 1) && !isNaN(data118))) && (isFinite(data118)))){const err275 = {instancePath:instancePath+"/edges/" + i10+"/labelSegment",schemaPath:"#/properties/edges/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err275];}else {vErrors.push(err275);}errors++;}if((typeof data118 == "number") && (isFinite(data118))){if(data118 < 0 || isNaN(data118)){const err276 = {instancePath:instancePath+"/edges/" + i10+"/labelSegment",schemaPath:"#/properties/edges/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err276];}else {vErrors.push(err276);}errors++;}}}if(data99.channelX !== undefined){let data119 = data99.channelX;if(!((typeof data119 == "number") && (isFinite(data119)))){const err277 = {instancePath:instancePath+"/edges/" + i10+"/channelX",schemaPath:"#/properties/edges/items/properties/channelX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err277];}else {vErrors.push(err277);}errors++;}}if(data99.channelY !== undefined){let data120 = data99.channelY;if(!((typeof data120 == "number") && (isFinite(data120)))){const err278 = {instancePath:instancePath+"/edges/" + i10+"/channelY",schemaPath:"#/properties/edges/items/properties/channelY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err278];}else {vErrors.push(err278);}errors++;}}if(data99.bias !== undefined){let data121 = data99.bias;if((typeof data121 == "number") && (isFinite(data121))){if(data121 > 1 || isNaN(data121)){const err279 = {instancePath:instancePath+"/edges/" + i10+"/bias",schemaPath:"#/properties/edges/items/properties/bias/maximum",keyword:"maximum",params:{comparison: "<=", limit: 1},message:"must be <= 1"};if(vErrors === null){vErrors = [err279];}else {vErrors.push(err279);}errors++;}if(data121 < 0 || isNaN(data121)){const err280 = {instancePath:instancePath+"/edges/" + i10+"/bias",schemaPath:"#/properties/edges/items/properties/bias/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err280];}else {vErrors.push(err280);}errors++;}}else {const err281 = {instancePath:instancePath+"/edges/" + i10+"/bias",schemaPath:"#/properties/edges/items/properties/bias/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err281];}else {vErrors.push(err281);}errors++;}}if(data99.width !== undefined){let data122 = data99.width;if((typeof data122 == "number") && (isFinite(data122))){if(data122 < 0.5 || isNaN(data122)){const err282 = {instancePath:instancePath+"/edges/" + i10+"/width",schemaPath:"#/properties/edges/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err282];}else {vErrors.push(err282);}errors++;}}else {const err283 = {instancePath:instancePath+"/edges/" + i10+"/width",schemaPath:"#/properties/edges/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err283];}else {vErrors.push(err283);}errors++;}}}else {const err284 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err284];}else {vErrors.push(err284);}errors++;}}}else {const err285 = {instancePath:instancePath+"/edges",schemaPath:"#/properties/edges/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err285];}else {vErrors.push(err285);}errors++;}}if(data.cards !== undefined){let data123 = data.cards;if(Array.isArray(data123)){const len18 = data123.length;for(let i12=0; i12<len18; i12++){let data124 = data123[i12];if(data124 && typeof data124 == "object" && !Array.isArray(data124)){if(data124.dot === undefined){const err286 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err286];}else {vErrors.push(err286);}errors++;}if(data124.title === undefined){const err287 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err287];}else {vErrors.push(err287);}errors++;}if(data124.items === undefined){const err288 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err288];}else {vErrors.push(err288);}errors++;}for(const key22 in data124){if(!(((key22 === "dot") || (key22 === "title")) || (key22 === "items"))){const err289 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key22},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err289];}else {vErrors.push(err289);}errors++;}}if(data124.dot !== undefined){let data125 = data124.dot;if(!(((((((data125 === "cyan") || (data125 === "emerald")) || (data125 === "violet")) || (data125 === "amber")) || (data125 === "rose")) || (data125 === "orange")) || (data125 === "slate"))){const err290 = {instancePath:instancePath+"/cards/" + i12+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err290];}else {vErrors.push(err290);}errors++;}}if(data124.title !== undefined){let data126 = data124.title;if(typeof data126 === "string"){if(func3(data126) < 1){const err291 = {instancePath:instancePath+"/cards/" + i12+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err291];}else {vErrors.push(err291);}errors++;}}else {const err292 = {instancePath:instancePath+"/cards/" + i12+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err292];}else {vErrors.push(err292);}errors++;}}if(data124.items !== undefined){let data127 = data124.items;if(Array.isArray(data127)){const len19 = data127.length;for(let i13=0; i13<len19; i13++){if(typeof data127[i13] !== "string"){const err293 = {instancePath:instancePath+"/cards/" + i12+"/items/" + i13,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err293];}else {vErrors.push(err293);}errors++;}}}else {const err294 = {instancePath:instancePath+"/cards/" + i12+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err294];}else {vErrors.push(err294);}errors++;}}}else {const err295 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err295];}else {vErrors.push(err295);}errors++;}}}else {const err296 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err296];}else {vErrors.push(err296);}errors++;}}}else {const err297 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err297];}else {vErrors.push(err297);}errors++;}validate20.errors = vErrors;return errors === 0;}validate20.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const sequenceSchema = validate27;const schema73 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/sequence.schema.json","title":"Archify Sequence Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","participants","messages"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"sequence"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"column_fit":{"description":"Horizontal participant layout. Omit this field or use fixed for the stable 86px boxes and 108px gap. Use spread when a wide viewBox would leave unused horizontal space or meaningful participant labels do not fit the fixed boxes; spread derives wider boxes and gaps from the viewBox without changing participant order or message semantics.","enum":["fixed","spread"]},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"default":{"$ref":"common.schema.json#/$defs/legendEntry"},"emphasis":{"$ref":"common.schema.json#/$defs/legendEntry"},"security":{"$ref":"common.schema.json#/$defs/legendEntry"},"dashed":{"$ref":"common.schema.json#/$defs/legendEntry"},"return":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":480},{"type":"number","minimum":480}],"items":false,"minItems":2,"maxItems":2}}},"participants":{"type":"array","minItems":2,"items":{"type":"object","additionalProperties":false,"required":["id","type","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"$ref":"common.schema.json#/$defs/componentType"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"segments":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","label"],"properties":{"from":{"type":"number"},"to":{"type":"number"},"label":{"type":"string","minLength":1}}}},"messages":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["from","to","y","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"y":{"type":"number","minimum":160},"label":{"type":"string","minLength":1},"variant":{"enum":["default","emphasis","security","dashed","return"]},"note":{"type":"string"}}}},"activations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["participant","from","to"],"properties":{"participant":{"$ref":"common.schema.json#/$defs/id"},"from":{"type":"number"},"to":{"type":"number"},"type":{"$ref":"common.schema.json#/$defs/componentType"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const schema77 = {"enum":["trace","none"]};const schema78 = {"enum":["classic","signal-flow","blueprint","editorial"]};const schema79 = {"enum":["standard","showcase"]};function validate28(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate28.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate28.errors = vErrors;return errors === 0;}validate28.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate27(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/sequence.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate27.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.participants === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "participants"},message:"must have required property '"+"participants"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.messages === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "messages"},message:"must have required property '"+"messages"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}for(const key0 in data){if(!((((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "participants")) || (key0 === "segments")) || (key0 === "messages")) || (key0 === "activations")) || (key0 === "cards"))){const err5 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err6 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.diagram_type !== undefined){if("sequence" !== data.diagram_type){const err7 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "sequence"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if(data2.output === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}for(const key1 in data2){if(!(func1.call(schema73.properties.meta.properties, key1))){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}if(!pattern4.test(data4)){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err16 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err19 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(func3(data6) < 1){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}else {const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}}else {const err22 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err23 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err24 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err25 = {};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err26 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err27 = {};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err28 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err29 = {};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err30 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err31 = {};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err32 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err33 = {};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err34 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err35 = {};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err36 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err37 = {};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err38 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(!pattern14.test(data8)){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}else {const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err42 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err43 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err44 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.column_fit !== undefined){let data12 = data2.column_fit;if(!((data12 === "fixed") || (data12 === "spread"))){const err45 = {instancePath:instancePath+"/meta/column_fit",schemaPath:"#/properties/meta/properties/column_fit/enum",keyword:"enum",params:{allowedValues: schema73.properties.meta.properties.column_fit.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data13 = data2.repository;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data13.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data13){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data13.url !== undefined){let data14 = data13.url;if(typeof data14 === "string"){if(func3(data14) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data13.provider !== undefined){let data15 = data13.provider;if(!((data15 === "github") || (data15 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data13.link_mode !== undefined){let data16 = data13.link_mode;if(!((data16 === "web") || (data16 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data13.revision !== undefined){let data17 = data13.revision;if(typeof data17 === "string"){if(!pattern15.test(data17)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate28(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate28.errors : vErrors.concat(validate28.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data19 = data2.legend;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){for(const key5 in data19){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data19.mode !== undefined){let data20 = data19.mode;if(!(((data20 === "auto") || (data20 === "all")) || (data20 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data19.entries !== undefined){let data21 = data19.entries;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){for(const key6 in data21){if(!(((((key6 === "default") || (key6 === "emphasis")) || (key6 === "security")) || (key6 === "dashed")) || (key6 === "return"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data21.default !== undefined){let data22 = data21.default;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data22){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data23) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/default/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data21.emphasis !== undefined){let data25 = data21.emphasis;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data25){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data26) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/emphasis/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data21.security !== undefined){let data28 = data21.security;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data28){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data29) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data21.dashed !== undefined){let data31 = data21.dashed;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data31){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data32) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/dashed/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data21.return !== undefined){let data34 = data21.return;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/return",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data34){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/return",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/return/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data35) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/return/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/return/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/return/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/return",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}}else {const err94 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}}else {const err95 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data2.viewBox !== undefined){let data37 = data2.viewBox;if(Array.isArray(data37)){if(data37.length > 2){const err96 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(data37.length < 2){const err97 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}const len0 = data37.length;if(len0 > 0){let data38 = data37[0];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 480 || isNaN(data38)){const err98 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 480},message:"must be >= 480"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(len0 > 1){let data39 = data37[1];if((typeof data39 == "number") && (isFinite(data39))){if(data39 < 480 || isNaN(data39)){const err100 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 480},message:"must be >= 480"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}const len1 = data37.length;if(!(len1 <= 2)){const err102 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}else {const err103 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data.participants !== undefined){let data40 = data.participants;if(Array.isArray(data40)){if(data40.length < 2){const err105 = {instancePath:instancePath+"/participants",schemaPath:"#/properties/participants/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}const len2 = data40.length;for(let i0=0; i0<len2; i0++){let data41 = data40[i0];if(data41 && typeof data41 == "object" && !Array.isArray(data41)){if(data41.id === undefined){const err106 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data41.type === undefined){const err107 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}if(data41.label === undefined){const err108 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}for(const key12 in data41){if(!(((((((key12 === "id") || (key12 === "type")) || (key12 === "label")) || (key12 === "sublabel")) || (key12 === "icon")) || (key12 === "brand")) || (key12 === "sources"))){const err109 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data41.id !== undefined){let data42 = data41.id;if(typeof data42 === "string"){if(!pattern16.test(data42)){const err110 = {instancePath:instancePath+"/participants/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}else {const err111 = {instancePath:instancePath+"/participants/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data41.type !== undefined){let data43 = data41.type;if(!(((((((data43 === "frontend") || (data43 === "backend")) || (data43 === "database")) || (data43 === "cloud")) || (data43 === "security")) || (data43 === "messagebus")) || (data43 === "external"))){const err112 = {instancePath:instancePath+"/participants/" + i0+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data41.label !== undefined){let data44 = data41.label;if(typeof data44 === "string"){if(func3(data44) < 1){const err113 = {instancePath:instancePath+"/participants/" + i0+"/label",schemaPath:"#/properties/participants/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}else {const err114 = {instancePath:instancePath+"/participants/" + i0+"/label",schemaPath:"#/properties/participants/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}if(data41.sublabel !== undefined){if(typeof data41.sublabel !== "string"){const err115 = {instancePath:instancePath+"/participants/" + i0+"/sublabel",schemaPath:"#/properties/participants/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}if(data41.icon !== undefined){let data46 = data41.icon;if(!((((((((((((((((((((data46 === "calendar") || (data46 === "clock")) || (data46 === "person")) || (data46 === "briefcase")) || (data46 === "flag")) || (data46 === "moon")) || (data46 === "frontend")) || (data46 === "backend")) || (data46 === "database")) || (data46 === "cloud")) || (data46 === "security")) || (data46 === "messagebus")) || (data46 === "external")) || (data46 === "start")) || (data46 === "active")) || (data46 === "waiting")) || (data46 === "success")) || (data46 === "failure")) || (data46 === "neutral")) || (data46 === "none"))){const err116 = {instancePath:instancePath+"/participants/" + i0+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data41.brand !== undefined){let data47 = data41.brand;const _errs136 = errors;let valid41 = false;let passing0 = null;const _errs137 = errors;const _errs139 = errors;let valid42 = false;const _errs140 = errors;if(typeof data47 === "string"){if(func3(data47) > 80){const err117 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(!pattern29.test(data47)){const err118 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}var _valid1 = _errs140 === errors;valid42 = valid42 || _valid1;const _errs141 = errors;if(typeof data47 === "string"){if(!pattern30.test(data47)){const err119 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}var _valid1 = _errs141 === errors;valid42 = valid42 || _valid1;if(!valid42){const err120 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}else {errors = _errs139;if(vErrors !== null){if(_errs139){vErrors.length = _errs139;}else {vErrors = null;}}}if(typeof data47 === "string"){if(func3(data47) > 2048){const err121 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(func3(data47) < 1){const err122 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}else {const err123 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}var _valid0 = _errs137 === errors;if(_valid0){valid41 = true;passing0 = 0;}const _errs142 = errors;if(data47 && typeof data47 == "object" && !Array.isArray(data47)){if(data47.url === undefined){const err124 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}if(data47.sha256 === undefined){const err125 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}for(const key13 in data47){if(!((key13 === "url") || (key13 === "sha256"))){const err126 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data47.url !== undefined){let data48 = data47.url;if(typeof data48 === "string"){if(func3(data48) > 2048){const err127 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}if(func3(data48) < 8){const err128 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(!pattern30.test(data48)){const err129 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}else {const err130 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data47.sha256 !== undefined){let data49 = data47.sha256;if(typeof data49 === "string"){if(!pattern32.test(data49)){const err131 = {instancePath:instancePath+"/participants/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}else {const err132 = {instancePath:instancePath+"/participants/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}}else {const err133 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}var _valid0 = _errs142 === errors;if(_valid0 && valid41){valid41 = false;passing0 = [passing0, 1];}else {if(_valid0){valid41 = true;passing0 = 1;}}if(!valid41){const err134 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}else {errors = _errs136;if(vErrors !== null){if(_errs136){vErrors.length = _errs136;}else {vErrors = null;}}}}if(data41.sources !== undefined){let data50 = data41.sources;if(Array.isArray(data50)){if(data50.length > 3){const err135 = {instancePath:instancePath+"/participants/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(data50.length < 1){const err136 = {instancePath:instancePath+"/participants/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}const len3 = data50.length;for(let i1=0; i1<len3; i1++){let data51 = data50[i1];if(data51 && typeof data51 == "object" && !Array.isArray(data51)){if(data51.path === undefined){const err137 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}for(const key14 in data51){if(!((((key14 === "path") || (key14 === "line")) || (key14 === "end_line")) || (key14 === "label"))){const err138 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data51.path !== undefined){let data52 = data51.path;if(typeof data52 === "string"){if(func3(data52) > 240){const err139 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if(func3(data52) < 1){const err140 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data51.line !== undefined){let data53 = data51.line;if(!(((typeof data53 == "number") && (!(data53 % 1) && !isNaN(data53))) && (isFinite(data53)))){const err142 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if((typeof data53 == "number") && (isFinite(data53))){if(data53 < 1 || isNaN(data53)){const err143 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}}if(data51.end_line !== undefined){let data54 = data51.end_line;if(!(((typeof data54 == "number") && (!(data54 % 1) && !isNaN(data54))) && (isFinite(data54)))){const err144 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}if((typeof data54 == "number") && (isFinite(data54))){if(data54 < 1 || isNaN(data54)){const err145 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}if(data51.label !== undefined){let data55 = data51.label;if(typeof data55 === "string"){if(func3(data55) > 48){const err146 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}if(func3(data55) < 1){const err147 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}}else {const err149 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}}else {const err150 = {instancePath:instancePath+"/participants/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}}else {const err151 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}}else {const err152 = {instancePath:instancePath+"/participants",schemaPath:"#/properties/participants/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(data.segments !== undefined){let data56 = data.segments;if(Array.isArray(data56)){const len4 = data56.length;for(let i2=0; i2<len4; i2++){let data57 = data56[i2];if(data57 && typeof data57 == "object" && !Array.isArray(data57)){if(data57.from === undefined){const err153 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}if(data57.to === undefined){const err154 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}if(data57.label === undefined){const err155 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}for(const key15 in data57){if(!(((key15 === "from") || (key15 === "to")) || (key15 === "label"))){const err156 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}if(data57.from !== undefined){let data58 = data57.from;if(!((typeof data58 == "number") && (isFinite(data58)))){const err157 = {instancePath:instancePath+"/segments/" + i2+"/from",schemaPath:"#/properties/segments/items/properties/from/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}if(data57.to !== undefined){let data59 = data57.to;if(!((typeof data59 == "number") && (isFinite(data59)))){const err158 = {instancePath:instancePath+"/segments/" + i2+"/to",schemaPath:"#/properties/segments/items/properties/to/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data57.label !== undefined){let data60 = data57.label;if(typeof data60 === "string"){if(func3(data60) < 1){const err159 = {instancePath:instancePath+"/segments/" + i2+"/label",schemaPath:"#/properties/segments/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}else {const err160 = {instancePath:instancePath+"/segments/" + i2+"/label",schemaPath:"#/properties/segments/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}else {const err161 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}}else {const err162 = {instancePath:instancePath+"/segments",schemaPath:"#/properties/segments/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}if(data.messages !== undefined){let data61 = data.messages;if(Array.isArray(data61)){if(data61.length < 1){const err163 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}const len5 = data61.length;for(let i3=0; i3<len5; i3++){let data62 = data61[i3];if(data62 && typeof data62 == "object" && !Array.isArray(data62)){if(data62.from === undefined){const err164 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if(data62.to === undefined){const err165 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}if(data62.y === undefined){const err166 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "y"},message:"must have required property '"+"y"+"'"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}if(data62.label === undefined){const err167 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}for(const key16 in data62){if(!(((((((key16 === "id") || (key16 === "from")) || (key16 === "to")) || (key16 === "y")) || (key16 === "label")) || (key16 === "variant")) || (key16 === "note"))){const err168 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}if(data62.id !== undefined){let data63 = data62.id;if(typeof data63 === "string"){if(!pattern16.test(data63)){const err169 = {instancePath:instancePath+"/messages/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}else {const err170 = {instancePath:instancePath+"/messages/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}if(data62.from !== undefined){let data64 = data62.from;if(typeof data64 === "string"){if(!pattern16.test(data64)){const err171 = {instancePath:instancePath+"/messages/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}else {const err172 = {instancePath:instancePath+"/messages/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data62.to !== undefined){let data65 = data62.to;if(typeof data65 === "string"){if(!pattern16.test(data65)){const err173 = {instancePath:instancePath+"/messages/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}else {const err174 = {instancePath:instancePath+"/messages/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}if(data62.y !== undefined){let data66 = data62.y;if((typeof data66 == "number") && (isFinite(data66))){if(data66 < 160 || isNaN(data66)){const err175 = {instancePath:instancePath+"/messages/" + i3+"/y",schemaPath:"#/properties/messages/items/properties/y/minimum",keyword:"minimum",params:{comparison: ">=", limit: 160},message:"must be >= 160"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/messages/" + i3+"/y",schemaPath:"#/properties/messages/items/properties/y/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data62.label !== undefined){let data67 = data62.label;if(typeof data67 === "string"){if(func3(data67) < 1){const err177 = {instancePath:instancePath+"/messages/" + i3+"/label",schemaPath:"#/properties/messages/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}else {const err178 = {instancePath:instancePath+"/messages/" + i3+"/label",schemaPath:"#/properties/messages/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data62.variant !== undefined){let data68 = data62.variant;if(!(((((data68 === "default") || (data68 === "emphasis")) || (data68 === "security")) || (data68 === "dashed")) || (data68 === "return"))){const err179 = {instancePath:instancePath+"/messages/" + i3+"/variant",schemaPath:"#/properties/messages/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema73.properties.messages.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}if(data62.note !== undefined){if(typeof data62.note !== "string"){const err180 = {instancePath:instancePath+"/messages/" + i3+"/note",schemaPath:"#/properties/messages/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}else {const err181 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}}else {const err182 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data.activations !== undefined){let data70 = data.activations;if(Array.isArray(data70)){const len6 = data70.length;for(let i4=0; i4<len6; i4++){let data71 = data70[i4];if(data71 && typeof data71 == "object" && !Array.isArray(data71)){if(data71.participant === undefined){const err183 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/required",keyword:"required",params:{missingProperty: "participant"},message:"must have required property '"+"participant"+"'"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}if(data71.from === undefined){const err184 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}if(data71.to === undefined){const err185 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}for(const key17 in data71){if(!((((key17 === "participant") || (key17 === "from")) || (key17 === "to")) || (key17 === "type"))){const err186 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data71.participant !== undefined){let data72 = data71.participant;if(typeof data72 === "string"){if(!pattern16.test(data72)){const err187 = {instancePath:instancePath+"/activations/" + i4+"/participant",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}else {const err188 = {instancePath:instancePath+"/activations/" + i4+"/participant",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data71.from !== undefined){let data73 = data71.from;if(!((typeof data73 == "number") && (isFinite(data73)))){const err189 = {instancePath:instancePath+"/activations/" + i4+"/from",schemaPath:"#/properties/activations/items/properties/from/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data71.to !== undefined){let data74 = data71.to;if(!((typeof data74 == "number") && (isFinite(data74)))){const err190 = {instancePath:instancePath+"/activations/" + i4+"/to",schemaPath:"#/properties/activations/items/properties/to/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data71.type !== undefined){let data75 = data71.type;if(!(((((((data75 === "frontend") || (data75 === "backend")) || (data75 === "database")) || (data75 === "cloud")) || (data75 === "security")) || (data75 === "messagebus")) || (data75 === "external"))){const err191 = {instancePath:instancePath+"/activations/" + i4+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}}else {const err192 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}}else {const err193 = {instancePath:instancePath+"/activations",schemaPath:"#/properties/activations/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data.cards !== undefined){let data76 = data.cards;if(Array.isArray(data76)){const len7 = data76.length;for(let i5=0; i5<len7; i5++){let data77 = data76[i5];if(data77 && typeof data77 == "object" && !Array.isArray(data77)){if(data77.dot === undefined){const err194 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}if(data77.title === undefined){const err195 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}if(data77.items === undefined){const err196 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}for(const key18 in data77){if(!(((key18 === "dot") || (key18 === "title")) || (key18 === "items"))){const err197 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(data77.dot !== undefined){let data78 = data77.dot;if(!(((((((data78 === "cyan") || (data78 === "emerald")) || (data78 === "violet")) || (data78 === "amber")) || (data78 === "rose")) || (data78 === "orange")) || (data78 === "slate"))){const err198 = {instancePath:instancePath+"/cards/" + i5+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data77.title !== undefined){let data79 = data77.title;if(typeof data79 === "string"){if(func3(data79) < 1){const err199 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}else {const err200 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data77.items !== undefined){let data80 = data77.items;if(Array.isArray(data80)){const len8 = data80.length;for(let i6=0; i6<len8; i6++){if(typeof data80[i6] !== "string"){const err201 = {instancePath:instancePath+"/cards/" + i5+"/items/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}}else {const err202 = {instancePath:instancePath+"/cards/" + i5+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}}else {const err203 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}}else {const err204 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}}else {const err205 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}validate27.errors = vErrors;return errors === 0;}validate27.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const dataflowSchema = validate30;const schema101 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/dataflow.schema.json","title":"Archify Data Flow Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","stages","nodes","flows"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"dataflow"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"default":{"$ref":"common.schema.json#/$defs/legendEntry"},"emphasis":{"$ref":"common.schema.json#/$defs/legendEntry"},"security":{"$ref":"common.schema.json#/$defs/legendEntry"},"dashed":{"$ref":"common.schema.json#/$defs/legendEntry"},"database":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":360},{"type":"number","minimum":360}],"items":false,"minItems":2,"maxItems":2}}},"stages":{"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["label"],"properties":{"label":{"type":"string","minLength":1}}}},"nodes":{"type":"array","minItems":2,"items":{"type":"object","additionalProperties":false,"required":["id","type","label","stage","row"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"$ref":"common.schema.json#/$defs/componentType"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"},"stage":{"type":"integer","minimum":0},"row":{"type":"integer","minimum":0},"width":{"type":"number","minimum":48},"height":{"type":"number","minimum":36},"yOffset":{"type":"number"}}}},"flows":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"classification":{"type":"string"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"route":{"enum":["auto","straight","vertical-channel","bottom-channel","top-channel"]},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"channelX":{"type":"number"},"channelY":{"type":"number"},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const schema127 = {"enum":["left","right","top","bottom"]};const schema131 = {"type":"number","minimum":0.5};function validate31(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate31.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate31.errors = vErrors;return errors === 0;}validate31.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate30(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/dataflow.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate30.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.stages === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "stages"},message:"must have required property '"+"stages"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.nodes === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "nodes"},message:"must have required property '"+"nodes"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(data.flows === undefined){const err5 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "flows"},message:"must have required property '"+"flows"+"'"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "stages")) || (key0 === "nodes")) || (key0 === "flows")) || (key0 === "cards"))){const err6 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err7 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.diagram_type !== undefined){if("dataflow" !== data.diagram_type){const err8 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "dataflow"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2.output === undefined){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data2){if(!(func1.call(schema101.properties.meta.properties, key1))){const err11 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(!pattern4.test(data4)){const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}else {const err16 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err19 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(func3(data6) < 1){const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}else {const err22 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err24 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(!pattern14.test(data8)){const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}else {const err42 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err43 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err44 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err45 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data12 = data2.repository;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data12.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data12){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data12.url !== undefined){let data13 = data12.url;if(typeof data13 === "string"){if(func3(data13) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data12.provider !== undefined){let data14 = data12.provider;if(!((data14 === "github") || (data14 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data12.link_mode !== undefined){let data15 = data12.link_mode;if(!((data15 === "web") || (data15 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data12.revision !== undefined){let data16 = data12.revision;if(typeof data16 === "string"){if(!pattern15.test(data16)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate31(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate31.errors : vErrors.concat(validate31.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data18 = data2.legend;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key5 in data18){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data18.mode !== undefined){let data19 = data18.mode;if(!(((data19 === "auto") || (data19 === "all")) || (data19 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data18.entries !== undefined){let data20 = data18.entries;if(data20 && typeof data20 == "object" && !Array.isArray(data20)){for(const key6 in data20){if(!(((((key6 === "default") || (key6 === "emphasis")) || (key6 === "security")) || (key6 === "dashed")) || (key6 === "database"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data20.default !== undefined){let data21 = data20.default;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(Object.keys(data21).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data21){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data21.label !== undefined){let data22 = data21.label;if(typeof data22 === "string"){if(func3(data22) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data22) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data21.visible !== undefined){if(typeof data21.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/default/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data20.emphasis !== undefined){let data24 = data20.emphasis;if(data24 && typeof data24 == "object" && !Array.isArray(data24)){if(Object.keys(data24).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data24){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data24.label !== undefined){let data25 = data24.label;if(typeof data25 === "string"){if(func3(data25) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data25) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data24.visible !== undefined){if(typeof data24.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/emphasis/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data20.security !== undefined){let data27 = data20.security;if(data27 && typeof data27 == "object" && !Array.isArray(data27)){if(Object.keys(data27).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data27){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data27.label !== undefined){let data28 = data27.label;if(typeof data28 === "string"){if(func3(data28) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data28) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data27.visible !== undefined){if(typeof data27.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data20.dashed !== undefined){let data30 = data20.dashed;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){if(Object.keys(data30).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data30){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data30.label !== undefined){let data31 = data30.label;if(typeof data31 === "string"){if(func3(data31) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data31) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data30.visible !== undefined){if(typeof data30.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/dashed/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data20.database !== undefined){let data33 = data20.database;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(Object.keys(data33).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data33){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data33.label !== undefined){let data34 = data33.label;if(typeof data34 === "string"){if(func3(data34) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data34) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data33.visible !== undefined){if(typeof data33.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/database/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}}else {const err94 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}}else {const err95 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data2.viewBox !== undefined){let data36 = data2.viewBox;if(Array.isArray(data36)){if(data36.length > 2){const err96 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(data36.length < 2){const err97 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}const len0 = data36.length;if(len0 > 0){let data37 = data36[0];if((typeof data37 == "number") && (isFinite(data37))){if(data37 < 360 || isNaN(data37)){const err98 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 360},message:"must be >= 360"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(len0 > 1){let data38 = data36[1];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 360 || isNaN(data38)){const err100 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 360},message:"must be >= 360"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}const len1 = data36.length;if(!(len1 <= 2)){const err102 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}else {const err103 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data.stages !== undefined){let data39 = data.stages;if(Array.isArray(data39)){if(data39.length > 5){const err105 = {instancePath:instancePath+"/stages",schemaPath:"#/properties/stages/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(data39.length < 2){const err106 = {instancePath:instancePath+"/stages",schemaPath:"#/properties/stages/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}const len2 = data39.length;for(let i0=0; i0<len2; i0++){let data40 = data39[i0];if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.label === undefined){const err107 = {instancePath:instancePath+"/stages/" + i0,schemaPath:"#/properties/stages/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}for(const key12 in data40){if(!(key12 === "label")){const err108 = {instancePath:instancePath+"/stages/" + i0,schemaPath:"#/properties/stages/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data40.label !== undefined){let data41 = data40.label;if(typeof data41 === "string"){if(func3(data41) < 1){const err109 = {instancePath:instancePath+"/stages/" + i0+"/label",schemaPath:"#/properties/stages/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}else {const err110 = {instancePath:instancePath+"/stages/" + i0+"/label",schemaPath:"#/properties/stages/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}}else {const err111 = {instancePath:instancePath+"/stages/" + i0,schemaPath:"#/properties/stages/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}}else {const err112 = {instancePath:instancePath+"/stages",schemaPath:"#/properties/stages/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data.nodes !== undefined){let data42 = data.nodes;if(Array.isArray(data42)){if(data42.length < 2){const err113 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}const len3 = data42.length;for(let i1=0; i1<len3; i1++){let data43 = data42[i1];if(data43 && typeof data43 == "object" && !Array.isArray(data43)){if(data43.id === undefined){const err114 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if(data43.type === undefined){const err115 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data43.label === undefined){const err116 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}if(data43.stage === undefined){const err117 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "stage"},message:"must have required property '"+"stage"+"'"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(data43.row === undefined){const err118 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "row"},message:"must have required property '"+"row"+"'"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}for(const key13 in data43){if(!(func1.call(schema101.properties.nodes.items.properties, key13))){const err119 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data43.id !== undefined){let data44 = data43.id;if(typeof data44 === "string"){if(!pattern16.test(data44)){const err120 = {instancePath:instancePath+"/nodes/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}else {const err121 = {instancePath:instancePath+"/nodes/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}if(data43.type !== undefined){let data45 = data43.type;if(!(((((((data45 === "frontend") || (data45 === "backend")) || (data45 === "database")) || (data45 === "cloud")) || (data45 === "security")) || (data45 === "messagebus")) || (data45 === "external"))){const err122 = {instancePath:instancePath+"/nodes/" + i1+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}if(data43.label !== undefined){let data46 = data43.label;if(typeof data46 === "string"){if(func3(data46) < 1){const err123 = {instancePath:instancePath+"/nodes/" + i1+"/label",schemaPath:"#/properties/nodes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}else {const err124 = {instancePath:instancePath+"/nodes/" + i1+"/label",schemaPath:"#/properties/nodes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}if(data43.sublabel !== undefined){if(typeof data43.sublabel !== "string"){const err125 = {instancePath:instancePath+"/nodes/" + i1+"/sublabel",schemaPath:"#/properties/nodes/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data43.tag !== undefined){if(typeof data43.tag !== "string"){const err126 = {instancePath:instancePath+"/nodes/" + i1+"/tag",schemaPath:"#/properties/nodes/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data43.icon !== undefined){let data49 = data43.icon;if(!((((((((((((((((((((data49 === "calendar") || (data49 === "clock")) || (data49 === "person")) || (data49 === "briefcase")) || (data49 === "flag")) || (data49 === "moon")) || (data49 === "frontend")) || (data49 === "backend")) || (data49 === "database")) || (data49 === "cloud")) || (data49 === "security")) || (data49 === "messagebus")) || (data49 === "external")) || (data49 === "start")) || (data49 === "active")) || (data49 === "waiting")) || (data49 === "success")) || (data49 === "failure")) || (data49 === "neutral")) || (data49 === "none"))){const err127 = {instancePath:instancePath+"/nodes/" + i1+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data43.brand !== undefined){let data50 = data43.brand;const _errs144 = errors;let valid44 = false;let passing0 = null;const _errs145 = errors;const _errs147 = errors;let valid45 = false;const _errs148 = errors;if(typeof data50 === "string"){if(func3(data50) > 80){const err128 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(!pattern29.test(data50)){const err129 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}var _valid1 = _errs148 === errors;valid45 = valid45 || _valid1;const _errs149 = errors;if(typeof data50 === "string"){if(!pattern30.test(data50)){const err130 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}var _valid1 = _errs149 === errors;valid45 = valid45 || _valid1;if(!valid45){const err131 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}else {errors = _errs147;if(vErrors !== null){if(_errs147){vErrors.length = _errs147;}else {vErrors = null;}}}if(typeof data50 === "string"){if(func3(data50) > 2048){const err132 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}if(func3(data50) < 1){const err133 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}else {const err134 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}var _valid0 = _errs145 === errors;if(_valid0){valid44 = true;passing0 = 0;}const _errs150 = errors;if(data50 && typeof data50 == "object" && !Array.isArray(data50)){if(data50.url === undefined){const err135 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(data50.sha256 === undefined){const err136 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}for(const key14 in data50){if(!((key14 === "url") || (key14 === "sha256"))){const err137 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}if(data50.url !== undefined){let data51 = data50.url;if(typeof data51 === "string"){if(func3(data51) > 2048){const err138 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}if(func3(data51) < 8){const err139 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if(!pattern30.test(data51)){const err140 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data50.sha256 !== undefined){let data52 = data50.sha256;if(typeof data52 === "string"){if(!pattern32.test(data52)){const err142 = {instancePath:instancePath+"/nodes/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}}else {const err143 = {instancePath:instancePath+"/nodes/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}}else {const err144 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}var _valid0 = _errs150 === errors;if(_valid0 && valid44){valid44 = false;passing0 = [passing0, 1];}else {if(_valid0){valid44 = true;passing0 = 1;}}if(!valid44){const err145 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}else {errors = _errs144;if(vErrors !== null){if(_errs144){vErrors.length = _errs144;}else {vErrors = null;}}}}if(data43.sources !== undefined){let data53 = data43.sources;if(Array.isArray(data53)){if(data53.length > 3){const err146 = {instancePath:instancePath+"/nodes/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}if(data53.length < 1){const err147 = {instancePath:instancePath+"/nodes/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}const len4 = data53.length;for(let i2=0; i2<len4; i2++){let data54 = data53[i2];if(data54 && typeof data54 == "object" && !Array.isArray(data54)){if(data54.path === undefined){const err148 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}for(const key15 in data54){if(!((((key15 === "path") || (key15 === "line")) || (key15 === "end_line")) || (key15 === "label"))){const err149 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data54.path !== undefined){let data55 = data54.path;if(typeof data55 === "string"){if(func3(data55) > 240){const err150 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(func3(data55) < 1){const err151 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}else {const err152 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(data54.line !== undefined){let data56 = data54.line;if(!(((typeof data56 == "number") && (!(data56 % 1) && !isNaN(data56))) && (isFinite(data56)))){const err153 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}if((typeof data56 == "number") && (isFinite(data56))){if(data56 < 1 || isNaN(data56)){const err154 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}}if(data54.end_line !== undefined){let data57 = data54.end_line;if(!(((typeof data57 == "number") && (!(data57 % 1) && !isNaN(data57))) && (isFinite(data57)))){const err155 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}if((typeof data57 == "number") && (isFinite(data57))){if(data57 < 1 || isNaN(data57)){const err156 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}}if(data54.label !== undefined){let data58 = data54.label;if(typeof data58 === "string"){if(func3(data58) > 48){const err157 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}if(func3(data58) < 1){const err158 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}else {const err159 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}}else {const err160 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}else {const err161 = {instancePath:instancePath+"/nodes/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data43.stage !== undefined){let data59 = data43.stage;if(!(((typeof data59 == "number") && (!(data59 % 1) && !isNaN(data59))) && (isFinite(data59)))){const err162 = {instancePath:instancePath+"/nodes/" + i1+"/stage",schemaPath:"#/properties/nodes/items/properties/stage/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}if((typeof data59 == "number") && (isFinite(data59))){if(data59 < 0 || isNaN(data59)){const err163 = {instancePath:instancePath+"/nodes/" + i1+"/stage",schemaPath:"#/properties/nodes/items/properties/stage/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}}if(data43.row !== undefined){let data60 = data43.row;if(!(((typeof data60 == "number") && (!(data60 % 1) && !isNaN(data60))) && (isFinite(data60)))){const err164 = {instancePath:instancePath+"/nodes/" + i1+"/row",schemaPath:"#/properties/nodes/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if((typeof data60 == "number") && (isFinite(data60))){if(data60 < 0 || isNaN(data60)){const err165 = {instancePath:instancePath+"/nodes/" + i1+"/row",schemaPath:"#/properties/nodes/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}}if(data43.width !== undefined){let data61 = data43.width;if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 48 || isNaN(data61)){const err166 = {instancePath:instancePath+"/nodes/" + i1+"/width",schemaPath:"#/properties/nodes/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 48},message:"must be >= 48"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/nodes/" + i1+"/width",schemaPath:"#/properties/nodes/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}if(data43.height !== undefined){let data62 = data43.height;if((typeof data62 == "number") && (isFinite(data62))){if(data62 < 36 || isNaN(data62)){const err168 = {instancePath:instancePath+"/nodes/" + i1+"/height",schemaPath:"#/properties/nodes/items/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 36},message:"must be >= 36"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}else {const err169 = {instancePath:instancePath+"/nodes/" + i1+"/height",schemaPath:"#/properties/nodes/items/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}if(data43.yOffset !== undefined){let data63 = data43.yOffset;if(!((typeof data63 == "number") && (isFinite(data63)))){const err170 = {instancePath:instancePath+"/nodes/" + i1+"/yOffset",schemaPath:"#/properties/nodes/items/properties/yOffset/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}}else {const err171 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}else {const err172 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data.flows !== undefined){let data64 = data.flows;if(Array.isArray(data64)){const len5 = data64.length;for(let i3=0; i3<len5; i3++){let data65 = data64[i3];if(data65 && typeof data65 == "object" && !Array.isArray(data65)){if(data65.from === undefined){const err173 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}if(data65.to === undefined){const err174 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(data65.label === undefined){const err175 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}for(const key16 in data65){if(!(func1.call(schema101.properties.flows.items.properties, key16))){const err176 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data65.id !== undefined){let data66 = data65.id;if(typeof data66 === "string"){if(!pattern16.test(data66)){const err177 = {instancePath:instancePath+"/flows/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}else {const err178 = {instancePath:instancePath+"/flows/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data65.from !== undefined){let data67 = data65.from;if(typeof data67 === "string"){if(!pattern16.test(data67)){const err179 = {instancePath:instancePath+"/flows/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}else {const err180 = {instancePath:instancePath+"/flows/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data65.to !== undefined){let data68 = data65.to;if(typeof data68 === "string"){if(!pattern16.test(data68)){const err181 = {instancePath:instancePath+"/flows/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}else {const err182 = {instancePath:instancePath+"/flows/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data65.label !== undefined){let data69 = data65.label;if(typeof data69 === "string"){if(func3(data69) < 1){const err183 = {instancePath:instancePath+"/flows/" + i3+"/label",schemaPath:"#/properties/flows/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}else {const err184 = {instancePath:instancePath+"/flows/" + i3+"/label",schemaPath:"#/properties/flows/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}if(data65.classification !== undefined){if(typeof data65.classification !== "string"){const err185 = {instancePath:instancePath+"/flows/" + i3+"/classification",schemaPath:"#/properties/flows/items/properties/classification/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data65.variant !== undefined){let data71 = data65.variant;if(!((((data71 === "default") || (data71 === "emphasis")) || (data71 === "security")) || (data71 === "dashed"))){const err186 = {instancePath:instancePath+"/flows/" + i3+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data65.route !== undefined){let data72 = data65.route;if(!(((((data72 === "auto") || (data72 === "straight")) || (data72 === "vertical-channel")) || (data72 === "bottom-channel")) || (data72 === "top-channel"))){const err187 = {instancePath:instancePath+"/flows/" + i3+"/route",schemaPath:"#/properties/flows/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema101.properties.flows.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}if(data65.fromSide !== undefined){let data73 = data65.fromSide;if(!((((data73 === "left") || (data73 === "right")) || (data73 === "top")) || (data73 === "bottom"))){const err188 = {instancePath:instancePath+"/flows/" + i3+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data65.toSide !== undefined){let data74 = data65.toSide;if(!((((data74 === "left") || (data74 === "right")) || (data74 === "top")) || (data74 === "bottom"))){const err189 = {instancePath:instancePath+"/flows/" + i3+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data65.channelX !== undefined){let data75 = data65.channelX;if(!((typeof data75 == "number") && (isFinite(data75)))){const err190 = {instancePath:instancePath+"/flows/" + i3+"/channelX",schemaPath:"#/properties/flows/items/properties/channelX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data65.channelY !== undefined){let data76 = data65.channelY;if(!((typeof data76 == "number") && (isFinite(data76)))){const err191 = {instancePath:instancePath+"/flows/" + i3+"/channelY",schemaPath:"#/properties/flows/items/properties/channelY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}if(data65.labelAt !== undefined){let data77 = data65.labelAt;if(Array.isArray(data77)){if(data77.length > 2){const err192 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}if(data77.length < 2){const err193 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}const len6 = data77.length;if(len6 > 0){let data78 = data77[0];if(!((typeof data78 == "number") && (isFinite(data78)))){const err194 = {instancePath:instancePath+"/flows/" + i3+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(len6 > 1){let data79 = data77[1];if(!((typeof data79 == "number") && (isFinite(data79)))){const err195 = {instancePath:instancePath+"/flows/" + i3+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}const len7 = data77.length;if(!(len7 <= 2)){const err196 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}else {const err197 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(data65.labelDx !== undefined){let data80 = data65.labelDx;if(!((typeof data80 == "number") && (isFinite(data80)))){const err198 = {instancePath:instancePath+"/flows/" + i3+"/labelDx",schemaPath:"#/properties/flows/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data65.labelDy !== undefined){let data81 = data65.labelDy;if(!((typeof data81 == "number") && (isFinite(data81)))){const err199 = {instancePath:instancePath+"/flows/" + i3+"/labelDy",schemaPath:"#/properties/flows/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}if(data65.labelSegment !== undefined){let data82 = data65.labelSegment;if(!(((typeof data82 == "number") && (!(data82 % 1) && !isNaN(data82))) && (isFinite(data82)))){const err200 = {instancePath:instancePath+"/flows/" + i3+"/labelSegment",schemaPath:"#/properties/flows/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}if((typeof data82 == "number") && (isFinite(data82))){if(data82 < 0 || isNaN(data82)){const err201 = {instancePath:instancePath+"/flows/" + i3+"/labelSegment",schemaPath:"#/properties/flows/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}}if(data65.via !== undefined){let data83 = data65.via;if(Array.isArray(data83)){const len8 = data83.length;for(let i4=0; i4<len8; i4++){let data84 = data83[i4];if(Array.isArray(data84)){if(data84.length > 2){const err202 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}if(data84.length < 2){const err203 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}const len9 = data84.length;if(len9 > 0){let data85 = data84[0];if(!((typeof data85 == "number") && (isFinite(data85)))){const err204 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}if(len9 > 1){let data86 = data84[1];if(!((typeof data86 == "number") && (isFinite(data86)))){const err205 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}const len10 = data84.length;if(!(len10 <= 2)){const err206 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}}else {const err208 = {instancePath:instancePath+"/flows/" + i3+"/via",schemaPath:"#/properties/flows/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data65.width !== undefined){let data87 = data65.width;if((typeof data87 == "number") && (isFinite(data87))){if(data87 < 0.5 || isNaN(data87)){const err209 = {instancePath:instancePath+"/flows/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}else {const err210 = {instancePath:instancePath+"/flows/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}}else {const err211 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}else {const err212 = {instancePath:instancePath+"/flows",schemaPath:"#/properties/flows/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data.cards !== undefined){let data88 = data.cards;if(Array.isArray(data88)){const len11 = data88.length;for(let i5=0; i5<len11; i5++){let data89 = data88[i5];if(data89 && typeof data89 == "object" && !Array.isArray(data89)){if(data89.dot === undefined){const err213 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}if(data89.title === undefined){const err214 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}if(data89.items === undefined){const err215 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}for(const key17 in data89){if(!(((key17 === "dot") || (key17 === "title")) || (key17 === "items"))){const err216 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data89.dot !== undefined){let data90 = data89.dot;if(!(((((((data90 === "cyan") || (data90 === "emerald")) || (data90 === "violet")) || (data90 === "amber")) || (data90 === "rose")) || (data90 === "orange")) || (data90 === "slate"))){const err217 = {instancePath:instancePath+"/cards/" + i5+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}if(data89.title !== undefined){let data91 = data89.title;if(typeof data91 === "string"){if(func3(data91) < 1){const err218 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}else {const err219 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}if(data89.items !== undefined){let data92 = data89.items;if(Array.isArray(data92)){const len12 = data92.length;for(let i6=0; i6<len12; i6++){if(typeof data92[i6] !== "string"){const err220 = {instancePath:instancePath+"/cards/" + i5+"/items/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}}else {const err221 = {instancePath:instancePath+"/cards/" + i5+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}}else {const err222 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}}}else {const err223 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}}else {const err224 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}validate30.errors = vErrors;return errors === 0;}validate30.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const lifecycleSchema = validate33;const schema133 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/lifecycle.schema.json","title":"Archify Lifecycle Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","lanes","states","transitions"],"properties":{"schema_version":{"enum":[1,2]},"diagram_type":{"const":"lifecycle"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"start":{"$ref":"common.schema.json#/$defs/legendEntry"},"active":{"$ref":"common.schema.json#/$defs/legendEntry"},"waiting":{"$ref":"common.schema.json#/$defs/legendEntry"},"decision":{"$ref":"common.schema.json#/$defs/legendEntry"},"success":{"$ref":"common.schema.json#/$defs/legendEntry"},"failure":{"$ref":"common.schema.json#/$defs/legendEntry"},"neutral":{"$ref":"common.schema.json#/$defs/legendEntry"},"external":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":420},{"type":"number","minimum":300}],"items":false,"minItems":2,"maxItems":2}}},"lanes":{"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1}}}},"states":{"type":"array","minItems":2,"items":{"type":"object","additionalProperties":false,"required":["id","type","label","lane","col"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"enum":["start","active","waiting","decision","success","failure","neutral","external"]},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"},"step":{"type":"string"},"lane":{"$ref":"common.schema.json#/$defs/id"},"col":{"type":"integer","minimum":0,"maximum":4},"width":{"type":"number","minimum":48},"height":{"type":"number","minimum":36},"yOffset":{"type":"number"}}}},"transitions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string"},"note":{"type":"string"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"route":{"enum":["auto","straight","drop","bottom-channel","top-channel","right-channel","left-channel"]},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"channelX":{"type":"number"},"channelY":{"type":"number"},"cornerRadius":{"type":"number","minimum":0},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate34(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate34.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate34.errors = vErrors;return errors === 0;}validate34.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate33(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/lifecycle.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate33.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.lanes === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "lanes"},message:"must have required property '"+"lanes"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.states === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "states"},message:"must have required property '"+"states"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(data.transitions === undefined){const err5 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "transitions"},message:"must have required property '"+"transitions"+"'"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "lanes")) || (key0 === "states")) || (key0 === "transitions")) || (key0 === "cards"))){const err6 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.schema_version !== undefined){let data0 = data.schema_version;if(!((data0 === 1) || (data0 === 2))){const err7 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/enum",keyword:"enum",params:{allowedValues: schema133.properties.schema_version.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.diagram_type !== undefined){if("lifecycle" !== data.diagram_type){const err8 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "lifecycle"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2.output === undefined){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data2){if(!(func1.call(schema133.properties.meta.properties, key1))){const err11 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(!pattern4.test(data4)){const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}else {const err16 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err19 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(func3(data6) < 1){const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}else {const err22 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err24 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(!pattern14.test(data8)){const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}else {const err42 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err43 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err44 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err45 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data12 = data2.repository;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data12.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data12){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data12.url !== undefined){let data13 = data12.url;if(typeof data13 === "string"){if(func3(data13) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data12.provider !== undefined){let data14 = data12.provider;if(!((data14 === "github") || (data14 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data12.link_mode !== undefined){let data15 = data12.link_mode;if(!((data15 === "web") || (data15 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data12.revision !== undefined){let data16 = data12.revision;if(typeof data16 === "string"){if(!pattern15.test(data16)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate34(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate34.errors : vErrors.concat(validate34.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data18 = data2.legend;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key5 in data18){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data18.mode !== undefined){let data19 = data18.mode;if(!(((data19 === "auto") || (data19 === "all")) || (data19 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data18.entries !== undefined){let data20 = data18.entries;if(data20 && typeof data20 == "object" && !Array.isArray(data20)){for(const key6 in data20){if(!((((((((key6 === "start") || (key6 === "active")) || (key6 === "waiting")) || (key6 === "decision")) || (key6 === "success")) || (key6 === "failure")) || (key6 === "neutral")) || (key6 === "external"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data20.start !== undefined){let data21 = data20.start;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(Object.keys(data21).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/start",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data21){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/start",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data21.label !== undefined){let data22 = data21.label;if(typeof data22 === "string"){if(func3(data22) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/start/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data22) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/start/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/start/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data21.visible !== undefined){if(typeof data21.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/start/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/start",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data20.active !== undefined){let data24 = data20.active;if(data24 && typeof data24 == "object" && !Array.isArray(data24)){if(Object.keys(data24).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/active",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data24){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/active",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data24.label !== undefined){let data25 = data24.label;if(typeof data25 === "string"){if(func3(data25) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/active/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data25) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/active/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/active/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data24.visible !== undefined){if(typeof data24.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/active/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/active",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data20.waiting !== undefined){let data27 = data20.waiting;if(data27 && typeof data27 == "object" && !Array.isArray(data27)){if(Object.keys(data27).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/waiting",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data27){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/waiting",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data27.label !== undefined){let data28 = data27.label;if(typeof data28 === "string"){if(func3(data28) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/waiting/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data28) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/waiting/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/waiting/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data27.visible !== undefined){if(typeof data27.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/waiting/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/waiting",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data20.decision !== undefined){let data30 = data20.decision;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){if(Object.keys(data30).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/decision",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data30){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/decision",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data30.label !== undefined){let data31 = data30.label;if(typeof data31 === "string"){if(func3(data31) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/decision/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data31) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/decision/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/decision/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data30.visible !== undefined){if(typeof data30.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/decision/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/decision",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data20.success !== undefined){let data33 = data20.success;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(Object.keys(data33).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/success",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data33){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/success",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data33.label !== undefined){let data34 = data33.label;if(typeof data34 === "string"){if(func3(data34) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/success/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data34) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/success/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/success/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data33.visible !== undefined){if(typeof data33.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/success/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/success",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data20.failure !== undefined){let data36 = data20.failure;if(data36 && typeof data36 == "object" && !Array.isArray(data36)){if(Object.keys(data36).length < 1){const err94 = {instancePath:instancePath+"/meta/legend/entries/failure",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}for(const key12 in data36){if(!((key12 === "label") || (key12 === "visible"))){const err95 = {instancePath:instancePath+"/meta/legend/entries/failure",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data36.label !== undefined){let data37 = data36.label;if(typeof data37 === "string"){if(func3(data37) > 80){const err96 = {instancePath:instancePath+"/meta/legend/entries/failure/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(func3(data37) < 1){const err97 = {instancePath:instancePath+"/meta/legend/entries/failure/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}else {const err98 = {instancePath:instancePath+"/meta/legend/entries/failure/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}if(data36.visible !== undefined){if(typeof data36.visible !== "boolean"){const err99 = {instancePath:instancePath+"/meta/legend/entries/failure/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}}else {const err100 = {instancePath:instancePath+"/meta/legend/entries/failure",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}if(data20.neutral !== undefined){let data39 = data20.neutral;if(data39 && typeof data39 == "object" && !Array.isArray(data39)){if(Object.keys(data39).length < 1){const err101 = {instancePath:instancePath+"/meta/legend/entries/neutral",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}for(const key13 in data39){if(!((key13 === "label") || (key13 === "visible"))){const err102 = {instancePath:instancePath+"/meta/legend/entries/neutral",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data39.label !== undefined){let data40 = data39.label;if(typeof data40 === "string"){if(func3(data40) > 80){const err103 = {instancePath:instancePath+"/meta/legend/entries/neutral/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(func3(data40) < 1){const err104 = {instancePath:instancePath+"/meta/legend/entries/neutral/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}else {const err105 = {instancePath:instancePath+"/meta/legend/entries/neutral/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data39.visible !== undefined){if(typeof data39.visible !== "boolean"){const err106 = {instancePath:instancePath+"/meta/legend/entries/neutral/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/meta/legend/entries/neutral",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}if(data20.external !== undefined){let data42 = data20.external;if(data42 && typeof data42 == "object" && !Array.isArray(data42)){if(Object.keys(data42).length < 1){const err108 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}for(const key14 in data42){if(!((key14 === "label") || (key14 === "visible"))){const err109 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data42.label !== undefined){let data43 = data42.label;if(typeof data43 === "string"){if(func3(data43) > 80){const err110 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}if(func3(data43) < 1){const err111 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}else {const err112 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data42.visible !== undefined){if(typeof data42.visible !== "boolean"){const err113 = {instancePath:instancePath+"/meta/legend/entries/external/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}}else {const err114 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}}else {const err115 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}}else {const err116 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data2.viewBox !== undefined){let data45 = data2.viewBox;if(Array.isArray(data45)){if(data45.length > 2){const err117 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(data45.length < 2){const err118 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}const len0 = data45.length;if(len0 > 0){let data46 = data45[0];if((typeof data46 == "number") && (isFinite(data46))){if(data46 < 420 || isNaN(data46)){const err119 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 420},message:"must be >= 420"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}else {const err120 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(len0 > 1){let data47 = data45[1];if((typeof data47 == "number") && (isFinite(data47))){if(data47 < 300 || isNaN(data47)){const err121 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 300},message:"must be >= 300"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}else {const err122 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}const len1 = data45.length;if(!(len1 <= 2)){const err123 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}else {const err124 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}}else {const err125 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data.lanes !== undefined){let data48 = data.lanes;if(Array.isArray(data48)){if(data48.length > 4){const err126 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/maxItems",keyword:"maxItems",params:{limit: 4},message:"must NOT have more than 4 items"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}if(data48.length < 1){const err127 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}const len2 = data48.length;for(let i0=0; i0<len2; i0++){let data49 = data48[i0];if(data49 && typeof data49 == "object" && !Array.isArray(data49)){if(data49.id === undefined){const err128 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(data49.label === undefined){const err129 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}for(const key15 in data49){if(!((key15 === "id") || (key15 === "label"))){const err130 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data49.id !== undefined){let data50 = data49.id;if(typeof data50 === "string"){if(!pattern16.test(data50)){const err131 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}else {const err132 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}if(data49.label !== undefined){let data51 = data49.label;if(typeof data51 === "string"){if(func3(data51) < 1){const err133 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}else {const err134 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}}else {const err135 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}}else {const err136 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data.states !== undefined){let data52 = data.states;if(Array.isArray(data52)){if(data52.length < 2){const err137 = {instancePath:instancePath+"/states",schemaPath:"#/properties/states/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}const len3 = data52.length;for(let i1=0; i1<len3; i1++){let data53 = data52[i1];if(data53 && typeof data53 == "object" && !Array.isArray(data53)){if(data53.id === undefined){const err138 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}if(data53.type === undefined){const err139 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if(data53.label === undefined){const err140 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if(data53.lane === undefined){const err141 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "lane"},message:"must have required property '"+"lane"+"'"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}if(data53.col === undefined){const err142 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "col"},message:"must have required property '"+"col"+"'"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}for(const key16 in data53){if(!(func1.call(schema133.properties.states.items.properties, key16))){const err143 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}if(data53.id !== undefined){let data54 = data53.id;if(typeof data54 === "string"){if(!pattern16.test(data54)){const err144 = {instancePath:instancePath+"/states/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}else {const err145 = {instancePath:instancePath+"/states/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data53.type !== undefined){let data55 = data53.type;if(!((((((((data55 === "start") || (data55 === "active")) || (data55 === "waiting")) || (data55 === "decision")) || (data55 === "success")) || (data55 === "failure")) || (data55 === "neutral")) || (data55 === "external"))){const err146 = {instancePath:instancePath+"/states/" + i1+"/type",schemaPath:"#/properties/states/items/properties/type/enum",keyword:"enum",params:{allowedValues: schema133.properties.states.items.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}if(data53.label !== undefined){let data56 = data53.label;if(typeof data56 === "string"){if(func3(data56) < 1){const err147 = {instancePath:instancePath+"/states/" + i1+"/label",schemaPath:"#/properties/states/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {instancePath:instancePath+"/states/" + i1+"/label",schemaPath:"#/properties/states/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data53.sublabel !== undefined){if(typeof data53.sublabel !== "string"){const err149 = {instancePath:instancePath+"/states/" + i1+"/sublabel",schemaPath:"#/properties/states/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data53.tag !== undefined){if(typeof data53.tag !== "string"){const err150 = {instancePath:instancePath+"/states/" + i1+"/tag",schemaPath:"#/properties/states/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}if(data53.icon !== undefined){let data59 = data53.icon;if(!((((((((((((((((((((data59 === "calendar") || (data59 === "clock")) || (data59 === "person")) || (data59 === "briefcase")) || (data59 === "flag")) || (data59 === "moon")) || (data59 === "frontend")) || (data59 === "backend")) || (data59 === "database")) || (data59 === "cloud")) || (data59 === "security")) || (data59 === "messagebus")) || (data59 === "external")) || (data59 === "start")) || (data59 === "active")) || (data59 === "waiting")) || (data59 === "success")) || (data59 === "failure")) || (data59 === "neutral")) || (data59 === "none"))){const err151 = {instancePath:instancePath+"/states/" + i1+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data53.brand !== undefined){let data60 = data53.brand;const _errs170 = errors;let valid50 = false;let passing0 = null;const _errs171 = errors;const _errs173 = errors;let valid51 = false;const _errs174 = errors;if(typeof data60 === "string"){if(func3(data60) > 80){const err152 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}if(!pattern29.test(data60)){const err153 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}var _valid1 = _errs174 === errors;valid51 = valid51 || _valid1;const _errs175 = errors;if(typeof data60 === "string"){if(!pattern30.test(data60)){const err154 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}var _valid1 = _errs175 === errors;valid51 = valid51 || _valid1;if(!valid51){const err155 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}else {errors = _errs173;if(vErrors !== null){if(_errs173){vErrors.length = _errs173;}else {vErrors = null;}}}if(typeof data60 === "string"){if(func3(data60) > 2048){const err156 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}if(func3(data60) < 1){const err157 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}var _valid0 = _errs171 === errors;if(_valid0){valid50 = true;passing0 = 0;}const _errs176 = errors;if(data60 && typeof data60 == "object" && !Array.isArray(data60)){if(data60.url === undefined){const err159 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if(data60.sha256 === undefined){const err160 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}for(const key17 in data60){if(!((key17 === "url") || (key17 === "sha256"))){const err161 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data60.url !== undefined){let data61 = data60.url;if(typeof data61 === "string"){if(func3(data61) > 2048){const err162 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}if(func3(data61) < 8){const err163 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(!pattern30.test(data61)){const err164 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}else {const err165 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(data60.sha256 !== undefined){let data62 = data60.sha256;if(typeof data62 === "string"){if(!pattern32.test(data62)){const err166 = {instancePath:instancePath+"/states/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/states/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}var _valid0 = _errs176 === errors;if(_valid0 && valid50){valid50 = false;passing0 = [passing0, 1];}else {if(_valid0){valid50 = true;passing0 = 1;}}if(!valid50){const err169 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}else {errors = _errs170;if(vErrors !== null){if(_errs170){vErrors.length = _errs170;}else {vErrors = null;}}}}if(data53.sources !== undefined){let data63 = data53.sources;if(Array.isArray(data63)){if(data63.length > 3){const err170 = {instancePath:instancePath+"/states/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if(data63.length < 1){const err171 = {instancePath:instancePath+"/states/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}const len4 = data63.length;for(let i2=0; i2<len4; i2++){let data64 = data63[i2];if(data64 && typeof data64 == "object" && !Array.isArray(data64)){if(data64.path === undefined){const err172 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}for(const key18 in data64){if(!((((key18 === "path") || (key18 === "line")) || (key18 === "end_line")) || (key18 === "label"))){const err173 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(data64.path !== undefined){let data65 = data64.path;if(typeof data65 === "string"){if(func3(data65) > 240){const err174 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(func3(data65) < 1){const err175 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data64.line !== undefined){let data66 = data64.line;if(!(((typeof data66 == "number") && (!(data66 % 1) && !isNaN(data66))) && (isFinite(data66)))){const err177 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}if((typeof data66 == "number") && (isFinite(data66))){if(data66 < 1 || isNaN(data66)){const err178 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}}if(data64.end_line !== undefined){let data67 = data64.end_line;if(!(((typeof data67 == "number") && (!(data67 % 1) && !isNaN(data67))) && (isFinite(data67)))){const err179 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}if((typeof data67 == "number") && (isFinite(data67))){if(data67 < 1 || isNaN(data67)){const err180 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}if(data64.label !== undefined){let data68 = data64.label;if(typeof data68 === "string"){if(func3(data68) > 48){const err181 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}if(func3(data68) < 1){const err182 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}else {const err183 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}}else {const err184 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}}else {const err185 = {instancePath:instancePath+"/states/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data53.step !== undefined){if(typeof data53.step !== "string"){const err186 = {instancePath:instancePath+"/states/" + i1+"/step",schemaPath:"#/properties/states/items/properties/step/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data53.lane !== undefined){let data70 = data53.lane;if(typeof data70 === "string"){if(!pattern16.test(data70)){const err187 = {instancePath:instancePath+"/states/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}else {const err188 = {instancePath:instancePath+"/states/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data53.col !== undefined){let data71 = data53.col;if(!(((typeof data71 == "number") && (!(data71 % 1) && !isNaN(data71))) && (isFinite(data71)))){const err189 = {instancePath:instancePath+"/states/" + i1+"/col",schemaPath:"#/properties/states/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}if((typeof data71 == "number") && (isFinite(data71))){if(data71 > 4 || isNaN(data71)){const err190 = {instancePath:instancePath+"/states/" + i1+"/col",schemaPath:"#/properties/states/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 4},message:"must be <= 4"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}if(data71 < 0 || isNaN(data71)){const err191 = {instancePath:instancePath+"/states/" + i1+"/col",schemaPath:"#/properties/states/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}}if(data53.width !== undefined){let data72 = data53.width;if((typeof data72 == "number") && (isFinite(data72))){if(data72 < 48 || isNaN(data72)){const err192 = {instancePath:instancePath+"/states/" + i1+"/width",schemaPath:"#/properties/states/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 48},message:"must be >= 48"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}else {const err193 = {instancePath:instancePath+"/states/" + i1+"/width",schemaPath:"#/properties/states/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data53.height !== undefined){let data73 = data53.height;if((typeof data73 == "number") && (isFinite(data73))){if(data73 < 36 || isNaN(data73)){const err194 = {instancePath:instancePath+"/states/" + i1+"/height",schemaPath:"#/properties/states/items/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 36},message:"must be >= 36"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}else {const err195 = {instancePath:instancePath+"/states/" + i1+"/height",schemaPath:"#/properties/states/items/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}if(data53.yOffset !== undefined){let data74 = data53.yOffset;if(!((typeof data74 == "number") && (isFinite(data74)))){const err196 = {instancePath:instancePath+"/states/" + i1+"/yOffset",schemaPath:"#/properties/states/items/properties/yOffset/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}}else {const err197 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}}else {const err198 = {instancePath:instancePath+"/states",schemaPath:"#/properties/states/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data.transitions !== undefined){let data75 = data.transitions;if(Array.isArray(data75)){const len5 = data75.length;for(let i3=0; i3<len5; i3++){let data76 = data75[i3];if(data76 && typeof data76 == "object" && !Array.isArray(data76)){if(data76.from === undefined){const err199 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}if(data76.to === undefined){const err200 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}for(const key19 in data76){if(!(func1.call(schema133.properties.transitions.items.properties, key19))){const err201 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}if(data76.id !== undefined){let data77 = data76.id;if(typeof data77 === "string"){if(!pattern16.test(data77)){const err202 = {instancePath:instancePath+"/transitions/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}else {const err203 = {instancePath:instancePath+"/transitions/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}if(data76.from !== undefined){let data78 = data76.from;if(typeof data78 === "string"){if(!pattern16.test(data78)){const err204 = {instancePath:instancePath+"/transitions/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}else {const err205 = {instancePath:instancePath+"/transitions/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}if(data76.to !== undefined){let data79 = data76.to;if(typeof data79 === "string"){if(!pattern16.test(data79)){const err206 = {instancePath:instancePath+"/transitions/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/transitions/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}if(data76.label !== undefined){if(typeof data76.label !== "string"){const err208 = {instancePath:instancePath+"/transitions/" + i3+"/label",schemaPath:"#/properties/transitions/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data76.note !== undefined){if(typeof data76.note !== "string"){const err209 = {instancePath:instancePath+"/transitions/" + i3+"/note",schemaPath:"#/properties/transitions/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data76.variant !== undefined){let data82 = data76.variant;if(!((((data82 === "default") || (data82 === "emphasis")) || (data82 === "security")) || (data82 === "dashed"))){const err210 = {instancePath:instancePath+"/transitions/" + i3+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}if(data76.route !== undefined){let data83 = data76.route;if(!(((((((data83 === "auto") || (data83 === "straight")) || (data83 === "drop")) || (data83 === "bottom-channel")) || (data83 === "top-channel")) || (data83 === "right-channel")) || (data83 === "left-channel"))){const err211 = {instancePath:instancePath+"/transitions/" + i3+"/route",schemaPath:"#/properties/transitions/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema133.properties.transitions.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}if(data76.fromSide !== undefined){let data84 = data76.fromSide;if(!((((data84 === "left") || (data84 === "right")) || (data84 === "top")) || (data84 === "bottom"))){const err212 = {instancePath:instancePath+"/transitions/" + i3+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data76.toSide !== undefined){let data85 = data76.toSide;if(!((((data85 === "left") || (data85 === "right")) || (data85 === "top")) || (data85 === "bottom"))){const err213 = {instancePath:instancePath+"/transitions/" + i3+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}if(data76.channelX !== undefined){let data86 = data76.channelX;if(!((typeof data86 == "number") && (isFinite(data86)))){const err214 = {instancePath:instancePath+"/transitions/" + i3+"/channelX",schemaPath:"#/properties/transitions/items/properties/channelX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}if(data76.channelY !== undefined){let data87 = data76.channelY;if(!((typeof data87 == "number") && (isFinite(data87)))){const err215 = {instancePath:instancePath+"/transitions/" + i3+"/channelY",schemaPath:"#/properties/transitions/items/properties/channelY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}if(data76.cornerRadius !== undefined){let data88 = data76.cornerRadius;if((typeof data88 == "number") && (isFinite(data88))){if(data88 < 0 || isNaN(data88)){const err216 = {instancePath:instancePath+"/transitions/" + i3+"/cornerRadius",schemaPath:"#/properties/transitions/items/properties/cornerRadius/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}else {const err217 = {instancePath:instancePath+"/transitions/" + i3+"/cornerRadius",schemaPath:"#/properties/transitions/items/properties/cornerRadius/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}if(data76.labelAt !== undefined){let data89 = data76.labelAt;if(Array.isArray(data89)){if(data89.length > 2){const err218 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}if(data89.length < 2){const err219 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}const len6 = data89.length;if(len6 > 0){let data90 = data89[0];if(!((typeof data90 == "number") && (isFinite(data90)))){const err220 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(len6 > 1){let data91 = data89[1];if(!((typeof data91 == "number") && (isFinite(data91)))){const err221 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}const len7 = data89.length;if(!(len7 <= 2)){const err222 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}}else {const err223 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}if(data76.labelDx !== undefined){let data92 = data76.labelDx;if(!((typeof data92 == "number") && (isFinite(data92)))){const err224 = {instancePath:instancePath+"/transitions/" + i3+"/labelDx",schemaPath:"#/properties/transitions/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}if(data76.labelDy !== undefined){let data93 = data76.labelDy;if(!((typeof data93 == "number") && (isFinite(data93)))){const err225 = {instancePath:instancePath+"/transitions/" + i3+"/labelDy",schemaPath:"#/properties/transitions/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data76.labelSegment !== undefined){let data94 = data76.labelSegment;if(!(((typeof data94 == "number") && (!(data94 % 1) && !isNaN(data94))) && (isFinite(data94)))){const err226 = {instancePath:instancePath+"/transitions/" + i3+"/labelSegment",schemaPath:"#/properties/transitions/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}if((typeof data94 == "number") && (isFinite(data94))){if(data94 < 0 || isNaN(data94)){const err227 = {instancePath:instancePath+"/transitions/" + i3+"/labelSegment",schemaPath:"#/properties/transitions/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}}if(data76.via !== undefined){let data95 = data76.via;if(Array.isArray(data95)){const len8 = data95.length;for(let i4=0; i4<len8; i4++){let data96 = data95[i4];if(Array.isArray(data96)){if(data96.length > 2){const err228 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}if(data96.length < 2){const err229 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}const len9 = data96.length;if(len9 > 0){let data97 = data96[0];if(!((typeof data97 == "number") && (isFinite(data97)))){const err230 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}if(len9 > 1){let data98 = data96[1];if(!((typeof data98 == "number") && (isFinite(data98)))){const err231 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}const len10 = data96.length;if(!(len10 <= 2)){const err232 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}else {const err233 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}}}else {const err234 = {instancePath:instancePath+"/transitions/" + i3+"/via",schemaPath:"#/properties/transitions/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}if(data76.width !== undefined){let data99 = data76.width;if((typeof data99 == "number") && (isFinite(data99))){if(data99 < 0.5 || isNaN(data99)){const err235 = {instancePath:instancePath+"/transitions/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}}else {const err236 = {instancePath:instancePath+"/transitions/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}}}else {const err237 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}}else {const err238 = {instancePath:instancePath+"/transitions",schemaPath:"#/properties/transitions/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}if(data.cards !== undefined){let data100 = data.cards;if(Array.isArray(data100)){const len11 = data100.length;for(let i5=0; i5<len11; i5++){let data101 = data100[i5];if(data101 && typeof data101 == "object" && !Array.isArray(data101)){if(data101.dot === undefined){const err239 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}if(data101.title === undefined){const err240 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}if(data101.items === undefined){const err241 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}for(const key20 in data101){if(!(((key20 === "dot") || (key20 === "title")) || (key20 === "items"))){const err242 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}}if(data101.dot !== undefined){let data102 = data101.dot;if(!(((((((data102 === "cyan") || (data102 === "emerald")) || (data102 === "violet")) || (data102 === "amber")) || (data102 === "rose")) || (data102 === "orange")) || (data102 === "slate"))){const err243 = {instancePath:instancePath+"/cards/" + i5+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}}if(data101.title !== undefined){let data103 = data101.title;if(typeof data103 === "string"){if(func3(data103) < 1){const err244 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}else {const err245 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}}if(data101.items !== undefined){let data104 = data101.items;if(Array.isArray(data104)){const len12 = data104.length;for(let i6=0; i6<len12; i6++){if(typeof data104[i6] !== "string"){const err246 = {instancePath:instancePath+"/cards/" + i5+"/items/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}}else {const err247 = {instancePath:instancePath+"/cards/" + i5+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}}else {const err248 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}}else {const err249 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}}else {const err250 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}validate33.errors = vErrors;return errors === 0;}validate33.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const architectureSchema = validate36;const schema169 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/architecture.schema.json","title":"Archify Architecture Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","components"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"architecture"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"engineering_profile":{"enum":["deployment-ownership"]},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"frontend":{"$ref":"common.schema.json#/$defs/legendEntry"},"backend":{"$ref":"common.schema.json#/$defs/legendEntry"},"database":{"$ref":"common.schema.json#/$defs/legendEntry"},"cloud":{"$ref":"common.schema.json#/$defs/legendEntry"},"security":{"$ref":"common.schema.json#/$defs/legendEntry"},"messagebus":{"$ref":"common.schema.json#/$defs/legendEntry"},"external":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"enum":["grid"]},"origin":{"$ref":"common.schema.json#/$defs/point"},"cols":{"type":"integer","minimum":1,"maximum":12},"gapX":{"type":"number","minimum":0},"gapY":{"type":"number","minimum":0},"cellW":{"type":"number","minimum":40},"cellH":{"type":"number","minimum":24}}},"components":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","type","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"$ref":"common.schema.json#/$defs/componentType"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"},"row":{"type":"integer","minimum":0},"col":{"type":"integer","minimum":0},"pos":{"$ref":"common.schema.json#/$defs/point"},"size":{"type":"array","prefixItems":[{"type":"number","exclusiveMinimum":0},{"type":"number","exclusiveMinimum":0}],"items":false,"minItems":2,"maxItems":2}}}},"boundaries":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["kind","label","wraps"],"properties":{"kind":{"enum":["region","security-group"]},"label":{"type":"string","minLength":1},"wraps":{"type":"array","minItems":1,"items":{"$ref":"common.schema.json#/$defs/id"}},"pad":{"type":"number","minimum":0}}}},"connections":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"route":{"enum":["auto","straight","orthogonal-h","orthogonal-v"]},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate37(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate37.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate37.errors = vErrors;return errors === 0;}validate37.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate36(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/architecture.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate36.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.components === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "components"},message:"must have required property '"+"components"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!((((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "components")) || (key0 === "boundaries")) || (key0 === "connections")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("architecture" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "architecture"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data2.output === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key1 in data2){if(!(func1.call(schema169.properties.meta.properties, key1))){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}else {const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!pattern4.test(data4)){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}else {const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err15 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err16 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err18 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(func3(data6) < 1){const err19 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}else {const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}}else {const err21 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err22 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err23 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err24 = {};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err38 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(!pattern14.test(data8)){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}else {const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err41 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err42 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err43 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.engineering_profile !== undefined){if(!(data2.engineering_profile === "deployment-ownership")){const err44 = {instancePath:instancePath+"/meta/engineering_profile",schemaPath:"#/properties/meta/properties/engineering_profile/enum",keyword:"enum",params:{allowedValues: schema169.properties.meta.properties.engineering_profile.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.repository !== undefined){let data13 = data2.repository;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.url === undefined){const err45 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}if(data13.revision === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key4 in data13){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data13.url !== undefined){let data14 = data13.url;if(typeof data14 === "string"){if(func3(data14) < 1){const err48 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}else {const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}if(data13.provider !== undefined){let data15 = data13.provider;if(!((data15 === "github") || (data15 === "gitee"))){const err50 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data13.link_mode !== undefined){let data16 = data13.link_mode;if(!((data16 === "web") || (data16 === "local-only"))){const err51 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data13.revision !== undefined){let data17 = data13.revision;if(typeof data17 === "string"){if(!pattern15.test(data17)){const err52 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}else {const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}}else {const err54 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data2.views !== undefined){if(!(validate37(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate37.errors : vErrors.concat(validate37.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data19 = data2.legend;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){for(const key5 in data19){if(!((key5 === "mode") || (key5 === "entries"))){const err55 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data19.mode !== undefined){let data20 = data19.mode;if(!(((data20 === "auto") || (data20 === "all")) || (data20 === "hidden"))){const err56 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data19.entries !== undefined){let data21 = data19.entries;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){for(const key6 in data21){if(!(((((((key6 === "frontend") || (key6 === "backend")) || (key6 === "database")) || (key6 === "cloud")) || (key6 === "security")) || (key6 === "messagebus")) || (key6 === "external"))){const err57 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data21.frontend !== undefined){let data22 = data21.frontend;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err58 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}for(const key7 in data22){if(!((key7 === "label") || (key7 === "visible"))){const err59 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err60 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}if(func3(data23) < 1){const err61 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}else {const err62 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err63 = {instancePath:instancePath+"/meta/legend/entries/frontend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}}else {const err64 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data21.backend !== undefined){let data25 = data21.backend;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err65 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}for(const key8 in data25){if(!((key8 === "label") || (key8 === "visible"))){const err66 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err67 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(func3(data26) < 1){const err68 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}else {const err69 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err70 = {instancePath:instancePath+"/meta/legend/entries/backend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}}else {const err71 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data21.database !== undefined){let data28 = data21.database;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err72 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}for(const key9 in data28){if(!((key9 === "label") || (key9 === "visible"))){const err73 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err74 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(func3(data29) < 1){const err75 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}else {const err76 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err77 = {instancePath:instancePath+"/meta/legend/entries/database/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}else {const err78 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data21.cloud !== undefined){let data31 = data21.cloud;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err79 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}for(const key10 in data31){if(!((key10 === "label") || (key10 === "visible"))){const err80 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err81 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(func3(data32) < 1){const err82 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err84 = {instancePath:instancePath+"/meta/legend/entries/cloud/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}}else {const err85 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data21.security !== undefined){let data34 = data21.security;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err86 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}for(const key11 in data34){if(!((key11 === "label") || (key11 === "visible"))){const err87 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err88 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(func3(data35) < 1){const err89 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}else {const err90 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err91 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}}else {const err92 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}if(data21.messagebus !== undefined){let data37 = data21.messagebus;if(data37 && typeof data37 == "object" && !Array.isArray(data37)){if(Object.keys(data37).length < 1){const err93 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}for(const key12 in data37){if(!((key12 === "label") || (key12 === "visible"))){const err94 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}if(data37.label !== undefined){let data38 = data37.label;if(typeof data38 === "string"){if(func3(data38) > 80){const err95 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}if(func3(data38) < 1){const err96 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}else {const err97 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data37.visible !== undefined){if(typeof data37.visible !== "boolean"){const err98 = {instancePath:instancePath+"/meta/legend/entries/messagebus/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}}else {const err99 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(data21.external !== undefined){let data40 = data21.external;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(Object.keys(data40).length < 1){const err100 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}for(const key13 in data40){if(!((key13 === "label") || (key13 === "visible"))){const err101 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data40.label !== undefined){let data41 = data40.label;if(typeof data41 === "string"){if(func3(data41) > 80){const err102 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}if(func3(data41) < 1){const err103 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}else {const err104 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data40.visible !== undefined){if(typeof data40.visible !== "boolean"){const err105 = {instancePath:instancePath+"/meta/legend/entries/external/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}}else {const err106 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}}else {const err108 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data2.viewBox !== undefined){let data43 = data2.viewBox;if(Array.isArray(data43)){if(data43.length > 2){const err109 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}if(data43.length < 2){const err110 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}const len0 = data43.length;if(len0 > 0){let data44 = data43[0];if((typeof data44 == "number") && (isFinite(data44))){if(data44 < 320 || isNaN(data44)){const err111 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}else {const err112 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(len0 > 1){let data45 = data43[1];if((typeof data45 == "number") && (isFinite(data45))){if(data45 < 240 || isNaN(data45)){const err113 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}else {const err114 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}const len1 = data43.length;if(!(len1 <= 2)){const err115 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}else {const err116 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}}else {const err117 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}if(data.layout !== undefined){let data46 = data.layout;if(data46 && typeof data46 == "object" && !Array.isArray(data46)){if(data46.mode === undefined){const err118 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/required",keyword:"required",params:{missingProperty: "mode"},message:"must have required property '"+"mode"+"'"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}for(const key14 in data46){if(!(((((((key14 === "mode") || (key14 === "origin")) || (key14 === "cols")) || (key14 === "gapX")) || (key14 === "gapY")) || (key14 === "cellW")) || (key14 === "cellH"))){const err119 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data46.mode !== undefined){if(!(data46.mode === "grid")){const err120 = {instancePath:instancePath+"/layout/mode",schemaPath:"#/properties/layout/properties/mode/enum",keyword:"enum",params:{allowedValues: schema169.properties.layout.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(data46.origin !== undefined){let data48 = data46.origin;if(Array.isArray(data48)){if(data48.length > 2){const err121 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(data48.length < 2){const err122 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}const len2 = data48.length;if(len2 > 0){let data49 = data48[0];if(!((typeof data49 == "number") && (isFinite(data49)))){const err123 = {instancePath:instancePath+"/layout/origin/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(len2 > 1){let data50 = data48[1];if(!((typeof data50 == "number") && (isFinite(data50)))){const err124 = {instancePath:instancePath+"/layout/origin/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}const len3 = data48.length;if(!(len3 <= 2)){const err125 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data46.cols !== undefined){let data51 = data46.cols;if(!(((typeof data51 == "number") && (!(data51 % 1) && !isNaN(data51))) && (isFinite(data51)))){const err127 = {instancePath:instancePath+"/layout/cols",schemaPath:"#/properties/layout/properties/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}if((typeof data51 == "number") && (isFinite(data51))){if(data51 > 12 || isNaN(data51)){const err128 = {instancePath:instancePath+"/layout/cols",schemaPath:"#/properties/layout/properties/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(data51 < 1 || isNaN(data51)){const err129 = {instancePath:instancePath+"/layout/cols",schemaPath:"#/properties/layout/properties/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}}if(data46.gapX !== undefined){let data52 = data46.gapX;if((typeof data52 == "number") && (isFinite(data52))){if(data52 < 0 || isNaN(data52)){const err130 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}else {const err131 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}if(data46.gapY !== undefined){let data53 = data46.gapY;if((typeof data53 == "number") && (isFinite(data53))){if(data53 < 0 || isNaN(data53)){const err132 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}else {const err133 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}if(data46.cellW !== undefined){let data54 = data46.cellW;if((typeof data54 == "number") && (isFinite(data54))){if(data54 < 40 || isNaN(data54)){const err134 = {instancePath:instancePath+"/layout/cellW",schemaPath:"#/properties/layout/properties/cellW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 40},message:"must be >= 40"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}else {const err135 = {instancePath:instancePath+"/layout/cellW",schemaPath:"#/properties/layout/properties/cellW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}if(data46.cellH !== undefined){let data55 = data46.cellH;if((typeof data55 == "number") && (isFinite(data55))){if(data55 < 24 || isNaN(data55)){const err136 = {instancePath:instancePath+"/layout/cellH",schemaPath:"#/properties/layout/properties/cellH/minimum",keyword:"minimum",params:{comparison: ">=", limit: 24},message:"must be >= 24"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}else {const err137 = {instancePath:instancePath+"/layout/cellH",schemaPath:"#/properties/layout/properties/cellH/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}}else {const err138 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data.components !== undefined){let data56 = data.components;if(Array.isArray(data56)){if(data56.length < 1){const err139 = {instancePath:instancePath+"/components",schemaPath:"#/properties/components/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}const len4 = data56.length;for(let i0=0; i0<len4; i0++){let data57 = data56[i0];if(data57 && typeof data57 == "object" && !Array.isArray(data57)){if(data57.id === undefined){const err140 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if(data57.type === undefined){const err141 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}if(data57.label === undefined){const err142 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}for(const key15 in data57){if(!(func1.call(schema169.properties.components.items.properties, key15))){const err143 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}if(data57.id !== undefined){let data58 = data57.id;if(typeof data58 === "string"){if(!pattern16.test(data58)){const err144 = {instancePath:instancePath+"/components/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}else {const err145 = {instancePath:instancePath+"/components/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data57.type !== undefined){let data59 = data57.type;if(!(((((((data59 === "frontend") || (data59 === "backend")) || (data59 === "database")) || (data59 === "cloud")) || (data59 === "security")) || (data59 === "messagebus")) || (data59 === "external"))){const err146 = {instancePath:instancePath+"/components/" + i0+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}if(data57.label !== undefined){let data60 = data57.label;if(typeof data60 === "string"){if(func3(data60) < 1){const err147 = {instancePath:instancePath+"/components/" + i0+"/label",schemaPath:"#/properties/components/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {instancePath:instancePath+"/components/" + i0+"/label",schemaPath:"#/properties/components/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data57.sublabel !== undefined){if(typeof data57.sublabel !== "string"){const err149 = {instancePath:instancePath+"/components/" + i0+"/sublabel",schemaPath:"#/properties/components/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data57.tag !== undefined){if(typeof data57.tag !== "string"){const err150 = {instancePath:instancePath+"/components/" + i0+"/tag",schemaPath:"#/properties/components/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}if(data57.icon !== undefined){let data63 = data57.icon;if(!((((((((((((((((((((data63 === "calendar") || (data63 === "clock")) || (data63 === "person")) || (data63 === "briefcase")) || (data63 === "flag")) || (data63 === "moon")) || (data63 === "frontend")) || (data63 === "backend")) || (data63 === "database")) || (data63 === "cloud")) || (data63 === "security")) || (data63 === "messagebus")) || (data63 === "external")) || (data63 === "start")) || (data63 === "active")) || (data63 === "waiting")) || (data63 === "success")) || (data63 === "failure")) || (data63 === "neutral")) || (data63 === "none"))){const err151 = {instancePath:instancePath+"/components/" + i0+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data57.brand !== undefined){let data64 = data57.brand;const _errs175 = errors;let valid48 = false;let passing0 = null;const _errs176 = errors;const _errs178 = errors;let valid49 = false;const _errs179 = errors;if(typeof data64 === "string"){if(func3(data64) > 80){const err152 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}if(!pattern29.test(data64)){const err153 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}var _valid1 = _errs179 === errors;valid49 = valid49 || _valid1;const _errs180 = errors;if(typeof data64 === "string"){if(!pattern30.test(data64)){const err154 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}var _valid1 = _errs180 === errors;valid49 = valid49 || _valid1;if(!valid49){const err155 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}else {errors = _errs178;if(vErrors !== null){if(_errs178){vErrors.length = _errs178;}else {vErrors = null;}}}if(typeof data64 === "string"){if(func3(data64) > 2048){const err156 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}if(func3(data64) < 1){const err157 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}var _valid0 = _errs176 === errors;if(_valid0){valid48 = true;passing0 = 0;}const _errs181 = errors;if(data64 && typeof data64 == "object" && !Array.isArray(data64)){if(data64.url === undefined){const err159 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if(data64.sha256 === undefined){const err160 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}for(const key16 in data64){if(!((key16 === "url") || (key16 === "sha256"))){const err161 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data64.url !== undefined){let data65 = data64.url;if(typeof data65 === "string"){if(func3(data65) > 2048){const err162 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}if(func3(data65) < 8){const err163 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(!pattern30.test(data65)){const err164 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}else {const err165 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(data64.sha256 !== undefined){let data66 = data64.sha256;if(typeof data66 === "string"){if(!pattern32.test(data66)){const err166 = {instancePath:instancePath+"/components/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/components/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}var _valid0 = _errs181 === errors;if(_valid0 && valid48){valid48 = false;passing0 = [passing0, 1];}else {if(_valid0){valid48 = true;passing0 = 1;}}if(!valid48){const err169 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}else {errors = _errs175;if(vErrors !== null){if(_errs175){vErrors.length = _errs175;}else {vErrors = null;}}}}if(data57.sources !== undefined){let data67 = data57.sources;if(Array.isArray(data67)){if(data67.length > 3){const err170 = {instancePath:instancePath+"/components/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if(data67.length < 1){const err171 = {instancePath:instancePath+"/components/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}const len5 = data67.length;for(let i1=0; i1<len5; i1++){let data68 = data67[i1];if(data68 && typeof data68 == "object" && !Array.isArray(data68)){if(data68.path === undefined){const err172 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}for(const key17 in data68){if(!((((key17 === "path") || (key17 === "line")) || (key17 === "end_line")) || (key17 === "label"))){const err173 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(data68.path !== undefined){let data69 = data68.path;if(typeof data69 === "string"){if(func3(data69) > 240){const err174 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(func3(data69) < 1){const err175 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data68.line !== undefined){let data70 = data68.line;if(!(((typeof data70 == "number") && (!(data70 % 1) && !isNaN(data70))) && (isFinite(data70)))){const err177 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}if((typeof data70 == "number") && (isFinite(data70))){if(data70 < 1 || isNaN(data70)){const err178 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}}if(data68.end_line !== undefined){let data71 = data68.end_line;if(!(((typeof data71 == "number") && (!(data71 % 1) && !isNaN(data71))) && (isFinite(data71)))){const err179 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}if((typeof data71 == "number") && (isFinite(data71))){if(data71 < 1 || isNaN(data71)){const err180 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}if(data68.label !== undefined){let data72 = data68.label;if(typeof data72 === "string"){if(func3(data72) > 48){const err181 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}if(func3(data72) < 1){const err182 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}else {const err183 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}}else {const err184 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}}else {const err185 = {instancePath:instancePath+"/components/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data57.row !== undefined){let data73 = data57.row;if(!(((typeof data73 == "number") && (!(data73 % 1) && !isNaN(data73))) && (isFinite(data73)))){const err186 = {instancePath:instancePath+"/components/" + i0+"/row",schemaPath:"#/properties/components/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}if((typeof data73 == "number") && (isFinite(data73))){if(data73 < 0 || isNaN(data73)){const err187 = {instancePath:instancePath+"/components/" + i0+"/row",schemaPath:"#/properties/components/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}}if(data57.col !== undefined){let data74 = data57.col;if(!(((typeof data74 == "number") && (!(data74 % 1) && !isNaN(data74))) && (isFinite(data74)))){const err188 = {instancePath:instancePath+"/components/" + i0+"/col",schemaPath:"#/properties/components/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}if((typeof data74 == "number") && (isFinite(data74))){if(data74 < 0 || isNaN(data74)){const err189 = {instancePath:instancePath+"/components/" + i0+"/col",schemaPath:"#/properties/components/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}}if(data57.pos !== undefined){let data75 = data57.pos;if(Array.isArray(data75)){if(data75.length > 2){const err190 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}if(data75.length < 2){const err191 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}const len6 = data75.length;if(len6 > 0){let data76 = data75[0];if(!((typeof data76 == "number") && (isFinite(data76)))){const err192 = {instancePath:instancePath+"/components/" + i0+"/pos/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(len6 > 1){let data77 = data75[1];if(!((typeof data77 == "number") && (isFinite(data77)))){const err193 = {instancePath:instancePath+"/components/" + i0+"/pos/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}const len7 = data75.length;if(!(len7 <= 2)){const err194 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}else {const err195 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}if(data57.size !== undefined){let data78 = data57.size;if(Array.isArray(data78)){if(data78.length > 2){const err196 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}if(data78.length < 2){const err197 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}const len8 = data78.length;if(len8 > 0){let data79 = data78[0];if((typeof data79 == "number") && (isFinite(data79))){if(data79 <= 0 || isNaN(data79)){const err198 = {instancePath:instancePath+"/components/" + i0+"/size/0",schemaPath:"#/properties/components/items/properties/size/prefixItems/0/exclusiveMinimum",keyword:"exclusiveMinimum",params:{comparison: ">", limit: 0},message:"must be > 0"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}else {const err199 = {instancePath:instancePath+"/components/" + i0+"/size/0",schemaPath:"#/properties/components/items/properties/size/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}if(len8 > 1){let data80 = data78[1];if((typeof data80 == "number") && (isFinite(data80))){if(data80 <= 0 || isNaN(data80)){const err200 = {instancePath:instancePath+"/components/" + i0+"/size/1",schemaPath:"#/properties/components/items/properties/size/prefixItems/1/exclusiveMinimum",keyword:"exclusiveMinimum",params:{comparison: ">", limit: 0},message:"must be > 0"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}else {const err201 = {instancePath:instancePath+"/components/" + i0+"/size/1",schemaPath:"#/properties/components/items/properties/size/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}const len9 = data78.length;if(!(len9 <= 2)){const err202 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}else {const err203 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}}else {const err204 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}}else {const err205 = {instancePath:instancePath+"/components",schemaPath:"#/properties/components/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}if(data.boundaries !== undefined){let data81 = data.boundaries;if(Array.isArray(data81)){const len10 = data81.length;for(let i2=0; i2<len10; i2++){let data82 = data81[i2];if(data82 && typeof data82 == "object" && !Array.isArray(data82)){if(data82.kind === undefined){const err206 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}if(data82.label === undefined){const err207 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}if(data82.wraps === undefined){const err208 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/required",keyword:"required",params:{missingProperty: "wraps"},message:"must have required property '"+"wraps"+"'"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}for(const key18 in data82){if(!((((key18 === "kind") || (key18 === "label")) || (key18 === "wraps")) || (key18 === "pad"))){const err209 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data82.kind !== undefined){let data83 = data82.kind;if(!((data83 === "region") || (data83 === "security-group"))){const err210 = {instancePath:instancePath+"/boundaries/" + i2+"/kind",schemaPath:"#/properties/boundaries/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema169.properties.boundaries.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}if(data82.label !== undefined){let data84 = data82.label;if(typeof data84 === "string"){if(func3(data84) < 1){const err211 = {instancePath:instancePath+"/boundaries/" + i2+"/label",schemaPath:"#/properties/boundaries/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}else {const err212 = {instancePath:instancePath+"/boundaries/" + i2+"/label",schemaPath:"#/properties/boundaries/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data82.wraps !== undefined){let data85 = data82.wraps;if(Array.isArray(data85)){if(data85.length < 1){const err213 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps",schemaPath:"#/properties/boundaries/items/properties/wraps/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}const len11 = data85.length;for(let i3=0; i3<len11; i3++){let data86 = data85[i3];if(typeof data86 === "string"){if(!pattern16.test(data86)){const err214 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps/" + i3,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}else {const err215 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps/" + i3,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}}else {const err216 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps",schemaPath:"#/properties/boundaries/items/properties/wraps/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data82.pad !== undefined){let data87 = data82.pad;if((typeof data87 == "number") && (isFinite(data87))){if(data87 < 0 || isNaN(data87)){const err217 = {instancePath:instancePath+"/boundaries/" + i2+"/pad",schemaPath:"#/properties/boundaries/items/properties/pad/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}else {const err218 = {instancePath:instancePath+"/boundaries/" + i2+"/pad",schemaPath:"#/properties/boundaries/items/properties/pad/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}}else {const err219 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}}else {const err220 = {instancePath:instancePath+"/boundaries",schemaPath:"#/properties/boundaries/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(data.connections !== undefined){let data88 = data.connections;if(Array.isArray(data88)){const len12 = data88.length;for(let i4=0; i4<len12; i4++){let data89 = data88[i4];if(data89 && typeof data89 == "object" && !Array.isArray(data89)){if(data89.from === undefined){const err221 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}if(data89.to === undefined){const err222 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}for(const key19 in data89){if(!(func1.call(schema169.properties.connections.items.properties, key19))){const err223 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}if(data89.id !== undefined){let data90 = data89.id;if(typeof data90 === "string"){if(!pattern16.test(data90)){const err224 = {instancePath:instancePath+"/connections/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}else {const err225 = {instancePath:instancePath+"/connections/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data89.from !== undefined){let data91 = data89.from;if(typeof data91 === "string"){if(!pattern16.test(data91)){const err226 = {instancePath:instancePath+"/connections/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}}else {const err227 = {instancePath:instancePath+"/connections/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}if(data89.to !== undefined){let data92 = data89.to;if(typeof data92 === "string"){if(!pattern16.test(data92)){const err228 = {instancePath:instancePath+"/connections/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}}else {const err229 = {instancePath:instancePath+"/connections/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}}if(data89.label !== undefined){if(typeof data89.label !== "string"){const err230 = {instancePath:instancePath+"/connections/" + i4+"/label",schemaPath:"#/properties/connections/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}if(data89.variant !== undefined){let data94 = data89.variant;if(!((((data94 === "default") || (data94 === "emphasis")) || (data94 === "security")) || (data94 === "dashed"))){const err231 = {instancePath:instancePath+"/connections/" + i4+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}if(data89.fromSide !== undefined){let data95 = data89.fromSide;if(!((((data95 === "left") || (data95 === "right")) || (data95 === "top")) || (data95 === "bottom"))){const err232 = {instancePath:instancePath+"/connections/" + i4+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}if(data89.toSide !== undefined){let data96 = data89.toSide;if(!((((data96 === "left") || (data96 === "right")) || (data96 === "top")) || (data96 === "bottom"))){const err233 = {instancePath:instancePath+"/connections/" + i4+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}}if(data89.route !== undefined){let data97 = data89.route;if(!((((data97 === "auto") || (data97 === "straight")) || (data97 === "orthogonal-h")) || (data97 === "orthogonal-v"))){const err234 = {instancePath:instancePath+"/connections/" + i4+"/route",schemaPath:"#/properties/connections/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema169.properties.connections.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}if(data89.via !== undefined){let data98 = data89.via;if(Array.isArray(data98)){const len13 = data98.length;for(let i5=0; i5<len13; i5++){let data99 = data98[i5];if(Array.isArray(data99)){if(data99.length > 2){const err235 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}if(data99.length < 2){const err236 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}const len14 = data99.length;if(len14 > 0){let data100 = data99[0];if(!((typeof data100 == "number") && (isFinite(data100)))){const err237 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}if(len14 > 1){let data101 = data99[1];if(!((typeof data101 == "number") && (isFinite(data101)))){const err238 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}const len15 = data99.length;if(!(len15 <= 2)){const err239 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}}else {const err240 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}}else {const err241 = {instancePath:instancePath+"/connections/" + i4+"/via",schemaPath:"#/properties/connections/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}}if(data89.labelAt !== undefined){let data102 = data89.labelAt;if(Array.isArray(data102)){if(data102.length > 2){const err242 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}if(data102.length < 2){const err243 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}const len16 = data102.length;if(len16 > 0){let data103 = data102[0];if(!((typeof data103 == "number") && (isFinite(data103)))){const err244 = {instancePath:instancePath+"/connections/" + i4+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}if(len16 > 1){let data104 = data102[1];if(!((typeof data104 == "number") && (isFinite(data104)))){const err245 = {instancePath:instancePath+"/connections/" + i4+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}}const len17 = data102.length;if(!(len17 <= 2)){const err246 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}else {const err247 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}if(data89.labelDx !== undefined){let data105 = data89.labelDx;if(!((typeof data105 == "number") && (isFinite(data105)))){const err248 = {instancePath:instancePath+"/connections/" + i4+"/labelDx",schemaPath:"#/properties/connections/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}if(data89.labelDy !== undefined){let data106 = data89.labelDy;if(!((typeof data106 == "number") && (isFinite(data106)))){const err249 = {instancePath:instancePath+"/connections/" + i4+"/labelDy",schemaPath:"#/properties/connections/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}if(data89.labelSegment !== undefined){let data107 = data89.labelSegment;if(!(((typeof data107 == "number") && (!(data107 % 1) && !isNaN(data107))) && (isFinite(data107)))){const err250 = {instancePath:instancePath+"/connections/" + i4+"/labelSegment",schemaPath:"#/properties/connections/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}if((typeof data107 == "number") && (isFinite(data107))){if(data107 < 0 || isNaN(data107)){const err251 = {instancePath:instancePath+"/connections/" + i4+"/labelSegment",schemaPath:"#/properties/connections/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}}if(data89.width !== undefined){let data108 = data89.width;if((typeof data108 == "number") && (isFinite(data108))){if(data108 < 0.5 || isNaN(data108)){const err252 = {instancePath:instancePath+"/connections/" + i4+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}else {const err253 = {instancePath:instancePath+"/connections/" + i4+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}}else {const err254 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}}else {const err255 = {instancePath:instancePath+"/connections",schemaPath:"#/properties/connections/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}if(data.cards !== undefined){let data109 = data.cards;if(Array.isArray(data109)){const len18 = data109.length;for(let i6=0; i6<len18; i6++){let data110 = data109[i6];if(data110 && typeof data110 == "object" && !Array.isArray(data110)){if(data110.dot === undefined){const err256 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}if(data110.title === undefined){const err257 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err257];}else {vErrors.push(err257);}errors++;}if(data110.items === undefined){const err258 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}for(const key20 in data110){if(!(((key20 === "dot") || (key20 === "title")) || (key20 === "items"))){const err259 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data110.dot !== undefined){let data111 = data110.dot;if(!(((((((data111 === "cyan") || (data111 === "emerald")) || (data111 === "violet")) || (data111 === "amber")) || (data111 === "rose")) || (data111 === "orange")) || (data111 === "slate"))){const err260 = {instancePath:instancePath+"/cards/" + i6+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}}if(data110.title !== undefined){let data112 = data110.title;if(typeof data112 === "string"){if(func3(data112) < 1){const err261 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}}else {const err262 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}}if(data110.items !== undefined){let data113 = data110.items;if(Array.isArray(data113)){const len19 = data113.length;for(let i7=0; i7<len19; i7++){if(typeof data113[i7] !== "string"){const err263 = {instancePath:instancePath+"/cards/" + i6+"/items/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}}else {const err264 = {instancePath:instancePath+"/cards/" + i6+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err264];}else {vErrors.push(err264);}errors++;}}}else {const err265 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}}else {const err266 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}}else {const err267 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err267];}else {vErrors.push(err267);}errors++;}validate36.errors = vErrors;return errors === 0;}validate36.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const erdSchema = validate39;const schema206 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/erd.schema.json","title":"Archify Entity-Relationship Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","entities"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"erd"},"meta":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"pk":{"$ref":"common.schema.json#/$defs/legendEntry"},"fk":{"$ref":"common.schema.json#/$defs/legendEntry"},"uk":{"$ref":"common.schema.json#/$defs/legendEntry"},"one":{"$ref":"common.schema.json#/$defs/legendEntry"},"many":{"$ref":"common.schema.json#/$defs/legendEntry"},"optional":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"enum":["grid"]},"origin":{"$ref":"common.schema.json#/$defs/point"},"gapX":{"type":"number","minimum":0},"gapY":{"type":"number","minimum":0},"entityW":{"type":"number","minimum":80},"headerH":{"type":"number","minimum":16},"rowH":{"type":"number","minimum":10}}},"entities":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"row":{"type":"integer","minimum":0,"maximum":12},"col":{"type":"integer","minimum":0,"maximum":12},"pos":{"$ref":"common.schema.json#/$defs/point"},"width":{"type":"number","minimum":80},"attributes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string"},"key":{"anyOf":[{"enum":["pk","fk","uk"]},{"type":"array","minItems":1,"items":{"enum":["pk","fk","uk"]}}]},"references":{"type":"string","minLength":3,"pattern":"^[^.]+\\.[^.]+$"}},"if":{"properties":{"key":{"anyOf":[{"const":"fk"},{"type":"array","contains":{"const":"fk"}}]}},"required":["key"]},"then":{"required":["references"],"properties":{"references":{}}}}},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"relationships":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","fromCardinality","toCardinality"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string"},"fromCardinality":{"enum":["one","many"]},"toCardinality":{"enum":["one","many"]},"fromOptional":{"type":"boolean"},"toOptional":{"type":"boolean"},"identifying":{"type":"boolean"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"route":{"enum":["auto","straight","orthogonal-h","orthogonal-v"]},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}},"allOf":[{"if":{"required":["identifying"],"properties":{"identifying":{"const":false}}},"then":{"properties":{"variant":{"enum":["dashed"]}}}}]}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const pattern133 = new RegExp("^[^.]+\\.[^.]+$", "u");function validate40(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate40.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate40.errors = vErrors;return errors === 0;}validate40.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate39(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/erd.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate39.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.entities === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "entities"},message:"must have required property '"+"entities"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "entities")) || (key0 === "relationships")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("erd" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "erd"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}for(const key1 in data2){if(!(func1.call(schema206.properties.meta.properties, key1))){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err9 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}else {const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err11 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!pattern4.test(data4)){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err14 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err15 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err16 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err17 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err18 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err19 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(data10.revision === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err22 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err24 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err25 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err26 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}else {const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data2.views !== undefined){if(!(validate40(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate40.errors : vErrors.concat(validate40.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data16 = data2.legend;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){for(const key3 in data16){if(!((key3 === "mode") || (key3 === "entries"))){const err29 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data16.mode !== undefined){let data17 = data16.mode;if(!(((data17 === "auto") || (data17 === "all")) || (data17 === "hidden"))){const err30 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data16.entries !== undefined){let data18 = data16.entries;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key4 in data18){if(!((((((key4 === "pk") || (key4 === "fk")) || (key4 === "uk")) || (key4 === "one")) || (key4 === "many")) || (key4 === "optional"))){const err31 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}if(data18.pk !== undefined){let data19 = data18.pk;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){if(Object.keys(data19).length < 1){const err32 = {instancePath:instancePath+"/meta/legend/entries/pk",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}for(const key5 in data19){if(!((key5 === "label") || (key5 === "visible"))){const err33 = {instancePath:instancePath+"/meta/legend/entries/pk",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data19.label !== undefined){let data20 = data19.label;if(typeof data20 === "string"){if(func3(data20) > 80){const err34 = {instancePath:instancePath+"/meta/legend/entries/pk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}if(func3(data20) < 1){const err35 = {instancePath:instancePath+"/meta/legend/entries/pk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/meta/legend/entries/pk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data19.visible !== undefined){if(typeof data19.visible !== "boolean"){const err37 = {instancePath:instancePath+"/meta/legend/entries/pk/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}else {const err38 = {instancePath:instancePath+"/meta/legend/entries/pk",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data18.fk !== undefined){let data22 = data18.fk;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err39 = {instancePath:instancePath+"/meta/legend/entries/fk",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}for(const key6 in data22){if(!((key6 === "label") || (key6 === "visible"))){const err40 = {instancePath:instancePath+"/meta/legend/entries/fk",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err41 = {instancePath:instancePath+"/meta/legend/entries/fk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}if(func3(data23) < 1){const err42 = {instancePath:instancePath+"/meta/legend/entries/fk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/meta/legend/entries/fk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err44 = {instancePath:instancePath+"/meta/legend/entries/fk/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}}else {const err45 = {instancePath:instancePath+"/meta/legend/entries/fk",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data18.uk !== undefined){let data25 = data18.uk;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err46 = {instancePath:instancePath+"/meta/legend/entries/uk",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key7 in data25){if(!((key7 === "label") || (key7 === "visible"))){const err47 = {instancePath:instancePath+"/meta/legend/entries/uk",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err48 = {instancePath:instancePath+"/meta/legend/entries/uk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}if(func3(data26) < 1){const err49 = {instancePath:instancePath+"/meta/legend/entries/uk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/legend/entries/uk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err51 = {instancePath:instancePath+"/meta/legend/entries/uk/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}}else {const err52 = {instancePath:instancePath+"/meta/legend/entries/uk",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data18.one !== undefined){let data28 = data18.one;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err53 = {instancePath:instancePath+"/meta/legend/entries/one",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}for(const key8 in data28){if(!((key8 === "label") || (key8 === "visible"))){const err54 = {instancePath:instancePath+"/meta/legend/entries/one",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err55 = {instancePath:instancePath+"/meta/legend/entries/one/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}if(func3(data29) < 1){const err56 = {instancePath:instancePath+"/meta/legend/entries/one/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}else {const err57 = {instancePath:instancePath+"/meta/legend/entries/one/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err58 = {instancePath:instancePath+"/meta/legend/entries/one/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {instancePath:instancePath+"/meta/legend/entries/one",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data18.many !== undefined){let data31 = data18.many;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err60 = {instancePath:instancePath+"/meta/legend/entries/many",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}for(const key9 in data31){if(!((key9 === "label") || (key9 === "visible"))){const err61 = {instancePath:instancePath+"/meta/legend/entries/many",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err62 = {instancePath:instancePath+"/meta/legend/entries/many/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}if(func3(data32) < 1){const err63 = {instancePath:instancePath+"/meta/legend/entries/many/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}else {const err64 = {instancePath:instancePath+"/meta/legend/entries/many/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err65 = {instancePath:instancePath+"/meta/legend/entries/many/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}}else {const err66 = {instancePath:instancePath+"/meta/legend/entries/many",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data18.optional !== undefined){let data34 = data18.optional;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err67 = {instancePath:instancePath+"/meta/legend/entries/optional",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}for(const key10 in data34){if(!((key10 === "label") || (key10 === "visible"))){const err68 = {instancePath:instancePath+"/meta/legend/entries/optional",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err69 = {instancePath:instancePath+"/meta/legend/entries/optional/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(func3(data35) < 1){const err70 = {instancePath:instancePath+"/meta/legend/entries/optional/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/meta/legend/entries/optional/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err72 = {instancePath:instancePath+"/meta/legend/entries/optional/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}else {const err73 = {instancePath:instancePath+"/meta/legend/entries/optional",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data2.viewBox !== undefined){let data37 = data2.viewBox;if(Array.isArray(data37)){if(data37.length > 2){const err76 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data37.length < 2){const err77 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}const len0 = data37.length;if(len0 > 0){let data38 = data37[0];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 320 || isNaN(data38)){const err78 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}else {const err79 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(len0 > 1){let data39 = data37[1];if((typeof data39 == "number") && (isFinite(data39))){if(data39 < 240 || isNaN(data39)){const err80 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}else {const err81 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}const len1 = data37.length;if(!(len1 <= 2)){const err82 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data.layout !== undefined){let data40 = data.layout;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.mode === undefined){const err85 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/required",keyword:"required",params:{missingProperty: "mode"},message:"must have required property '"+"mode"+"'"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}for(const key11 in data40){if(!(((((((key11 === "mode") || (key11 === "origin")) || (key11 === "gapX")) || (key11 === "gapY")) || (key11 === "entityW")) || (key11 === "headerH")) || (key11 === "rowH"))){const err86 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data40.mode !== undefined){if(!(data40.mode === "grid")){const err87 = {instancePath:instancePath+"/layout/mode",schemaPath:"#/properties/layout/properties/mode/enum",keyword:"enum",params:{allowedValues: schema206.properties.layout.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data40.origin !== undefined){let data42 = data40.origin;if(Array.isArray(data42)){if(data42.length > 2){const err88 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data42.length < 2){const err89 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}const len2 = data42.length;if(len2 > 0){let data43 = data42[0];if(!((typeof data43 == "number") && (isFinite(data43)))){const err90 = {instancePath:instancePath+"/layout/origin/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(len2 > 1){let data44 = data42[1];if(!((typeof data44 == "number") && (isFinite(data44)))){const err91 = {instancePath:instancePath+"/layout/origin/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}const len3 = data42.length;if(!(len3 <= 2)){const err92 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}else {const err93 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data40.gapX !== undefined){let data45 = data40.gapX;if((typeof data45 == "number") && (isFinite(data45))){if(data45 < 0 || isNaN(data45)){const err94 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}else {const err95 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data40.gapY !== undefined){let data46 = data40.gapY;if((typeof data46 == "number") && (isFinite(data46))){if(data46 < 0 || isNaN(data46)){const err96 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}else {const err97 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data40.entityW !== undefined){let data47 = data40.entityW;if((typeof data47 == "number") && (isFinite(data47))){if(data47 < 80 || isNaN(data47)){const err98 = {instancePath:instancePath+"/layout/entityW",schemaPath:"#/properties/layout/properties/entityW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 80},message:"must be >= 80"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/layout/entityW",schemaPath:"#/properties/layout/properties/entityW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(data40.headerH !== undefined){let data48 = data40.headerH;if((typeof data48 == "number") && (isFinite(data48))){if(data48 < 16 || isNaN(data48)){const err100 = {instancePath:instancePath+"/layout/headerH",schemaPath:"#/properties/layout/properties/headerH/minimum",keyword:"minimum",params:{comparison: ">=", limit: 16},message:"must be >= 16"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/layout/headerH",schemaPath:"#/properties/layout/properties/headerH/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data40.rowH !== undefined){let data49 = data40.rowH;if((typeof data49 == "number") && (isFinite(data49))){if(data49 < 10 || isNaN(data49)){const err102 = {instancePath:instancePath+"/layout/rowH",schemaPath:"#/properties/layout/properties/rowH/minimum",keyword:"minimum",params:{comparison: ">=", limit: 10},message:"must be >= 10"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}else {const err103 = {instancePath:instancePath+"/layout/rowH",schemaPath:"#/properties/layout/properties/rowH/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data.entities !== undefined){let data50 = data.entities;if(Array.isArray(data50)){if(data50.length < 1){const err105 = {instancePath:instancePath+"/entities",schemaPath:"#/properties/entities/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}const len4 = data50.length;for(let i0=0; i0<len4; i0++){let data51 = data50[i0];if(data51 && typeof data51 == "object" && !Array.isArray(data51)){if(data51.id === undefined){const err106 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data51.label === undefined){const err107 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}for(const key12 in data51){if(!(func1.call(schema206.properties.entities.items.properties, key12))){const err108 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data51.id !== undefined){let data52 = data51.id;if(typeof data52 === "string"){if(!pattern16.test(data52)){const err109 = {instancePath:instancePath+"/entities/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}else {const err110 = {instancePath:instancePath+"/entities/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}if(data51.label !== undefined){let data53 = data51.label;if(typeof data53 === "string"){if(func3(data53) < 1){const err111 = {instancePath:instancePath+"/entities/" + i0+"/label",schemaPath:"#/properties/entities/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}else {const err112 = {instancePath:instancePath+"/entities/" + i0+"/label",schemaPath:"#/properties/entities/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data51.sublabel !== undefined){if(typeof data51.sublabel !== "string"){const err113 = {instancePath:instancePath+"/entities/" + i0+"/sublabel",schemaPath:"#/properties/entities/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(data51.tag !== undefined){if(typeof data51.tag !== "string"){const err114 = {instancePath:instancePath+"/entities/" + i0+"/tag",schemaPath:"#/properties/entities/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}if(data51.row !== undefined){let data56 = data51.row;if(!(((typeof data56 == "number") && (!(data56 % 1) && !isNaN(data56))) && (isFinite(data56)))){const err115 = {instancePath:instancePath+"/entities/" + i0+"/row",schemaPath:"#/properties/entities/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if((typeof data56 == "number") && (isFinite(data56))){if(data56 > 12 || isNaN(data56)){const err116 = {instancePath:instancePath+"/entities/" + i0+"/row",schemaPath:"#/properties/entities/items/properties/row/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}if(data56 < 0 || isNaN(data56)){const err117 = {instancePath:instancePath+"/entities/" + i0+"/row",schemaPath:"#/properties/entities/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}}if(data51.col !== undefined){let data57 = data51.col;if(!(((typeof data57 == "number") && (!(data57 % 1) && !isNaN(data57))) && (isFinite(data57)))){const err118 = {instancePath:instancePath+"/entities/" + i0+"/col",schemaPath:"#/properties/entities/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}if((typeof data57 == "number") && (isFinite(data57))){if(data57 > 12 || isNaN(data57)){const err119 = {instancePath:instancePath+"/entities/" + i0+"/col",schemaPath:"#/properties/entities/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}if(data57 < 0 || isNaN(data57)){const err120 = {instancePath:instancePath+"/entities/" + i0+"/col",schemaPath:"#/properties/entities/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}}if(data51.pos !== undefined){let data58 = data51.pos;if(Array.isArray(data58)){if(data58.length > 2){const err121 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(data58.length < 2){const err122 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}const len5 = data58.length;if(len5 > 0){let data59 = data58[0];if(!((typeof data59 == "number") && (isFinite(data59)))){const err123 = {instancePath:instancePath+"/entities/" + i0+"/pos/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(len5 > 1){let data60 = data58[1];if(!((typeof data60 == "number") && (isFinite(data60)))){const err124 = {instancePath:instancePath+"/entities/" + i0+"/pos/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}const len6 = data58.length;if(!(len6 <= 2)){const err125 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data51.width !== undefined){let data61 = data51.width;if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 80 || isNaN(data61)){const err127 = {instancePath:instancePath+"/entities/" + i0+"/width",schemaPath:"#/properties/entities/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 80},message:"must be >= 80"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}else {const err128 = {instancePath:instancePath+"/entities/" + i0+"/width",schemaPath:"#/properties/entities/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data51.attributes !== undefined){let data62 = data51.attributes;if(Array.isArray(data62)){const len7 = data62.length;for(let i1=0; i1<len7; i1++){let data63 = data62[i1];const _errs147 = errors;let valid35 = true;const _errs148 = errors;if(data63 && typeof data63 == "object" && !Array.isArray(data63)){let missing0;if((data63.key === undefined) && (missing0 = "key")){const err129 = {};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}else {if(data63.key !== undefined){let data64 = data63.key;const _errs150 = errors;let valid37 = false;const _errs151 = errors;if("fk" !== data64){const err130 = {};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}var _valid1 = _errs151 === errors;valid37 = valid37 || _valid1;const _errs152 = errors;if(errors === _errs152){if(Array.isArray(data64)){const _errs154 = errors;const len8 = data64.length;for(let i2=0; i2<len8; i2++){const _errs155 = errors;if("fk" !== data64[i2]){const err131 = {};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}var valid38 = _errs155 === errors;if(valid38){break;}}if(!valid38){const err132 = {};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}else {errors = _errs154;if(vErrors !== null){if(_errs154){vErrors.length = _errs154;}else {vErrors = null;}}}}else {const err133 = {};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}var _valid1 = _errs152 === errors;valid37 = valid37 || _valid1;if(!valid37){const err134 = {};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}else {errors = _errs150;if(vErrors !== null){if(_errs150){vErrors.length = _errs150;}else {vErrors = null;}}}}}}var _valid0 = _errs148 === errors;errors = _errs147;if(vErrors !== null){if(_errs147){vErrors.length = _errs147;}else {vErrors = null;}}if(_valid0){const _errs156 = errors;if(data63 && typeof data63 == "object" && !Array.isArray(data63)){if(data63.references === undefined){const err135 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/then/required",keyword:"required",params:{missingProperty: "references"},message:"must have required property '"+"references"+"'"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}var _valid0 = _errs156 === errors;valid35 = _valid0;if(valid35){var props0 = {};props0.references = true;props0.key = true;}}if(!valid35){const err136 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}if(data63 && typeof data63 == "object" && !Array.isArray(data63)){if(data63.name === undefined){const err137 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}for(const key13 in data63){if(!((((key13 === "name") || (key13 === "type")) || (key13 === "key")) || (key13 === "references"))){const err138 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data63.name !== undefined){let data66 = data63.name;if(typeof data66 === "string"){if(func3(data66) < 1){const err139 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/name",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}else {const err140 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/name",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}if(data63.type !== undefined){if(typeof data63.type !== "string"){const err141 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/type",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data63.key !== undefined){let data68 = data63.key;const _errs163 = errors;let valid40 = false;const _errs164 = errors;if(!(((data68 === "pk") || (data68 === "fk")) || (data68 === "uk"))){const err142 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/0/enum",keyword:"enum",params:{allowedValues: schema206.properties.entities.items.properties.attributes.items.properties.key.anyOf[0].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}var _valid2 = _errs164 === errors;valid40 = valid40 || _valid2;const _errs165 = errors;if(Array.isArray(data68)){if(data68.length < 1){const err143 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/1/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}const len9 = data68.length;for(let i3=0; i3<len9; i3++){let data69 = data68[i3];if(!(((data69 === "pk") || (data69 === "fk")) || (data69 === "uk"))){const err144 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key/" + i3,schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/1/items/enum",keyword:"enum",params:{allowedValues: schema206.properties.entities.items.properties.attributes.items.properties.key.anyOf[1].items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}}else {const err145 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}var _valid2 = _errs165 === errors;valid40 = valid40 || _valid2;if(!valid40){const err146 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}else {errors = _errs163;if(vErrors !== null){if(_errs163){vErrors.length = _errs163;}else {vErrors = null;}}}}if(data63.references !== undefined){let data70 = data63.references;if(typeof data70 === "string"){if(func3(data70) < 3){const err147 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/references",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/references/minLength",keyword:"minLength",params:{limit: 3},message:"must NOT have fewer than 3 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}if(!pattern133.test(data70)){const err148 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/references",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/references/pattern",keyword:"pattern",params:{pattern: "^[^.]+\\.[^.]+$"},message:"must match pattern \""+"^[^.]+\\.[^.]+$"+"\""};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}else {const err149 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/references",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/references/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}}else {const err150 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}}else {const err151 = {instancePath:instancePath+"/entities/" + i0+"/attributes",schemaPath:"#/properties/entities/items/properties/attributes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data51.sources !== undefined){let data71 = data51.sources;if(Array.isArray(data71)){if(data71.length > 3){const err152 = {instancePath:instancePath+"/entities/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}if(data71.length < 1){const err153 = {instancePath:instancePath+"/entities/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}const len10 = data71.length;for(let i4=0; i4<len10; i4++){let data72 = data71[i4];if(data72 && typeof data72 == "object" && !Array.isArray(data72)){if(data72.path === undefined){const err154 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}for(const key14 in data72){if(!((((key14 === "path") || (key14 === "line")) || (key14 === "end_line")) || (key14 === "label"))){const err155 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}if(data72.path !== undefined){let data73 = data72.path;if(typeof data73 === "string"){if(func3(data73) > 240){const err156 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}if(func3(data73) < 1){const err157 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data72.line !== undefined){let data74 = data72.line;if(!(((typeof data74 == "number") && (!(data74 % 1) && !isNaN(data74))) && (isFinite(data74)))){const err159 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if((typeof data74 == "number") && (isFinite(data74))){if(data74 < 1 || isNaN(data74)){const err160 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}if(data72.end_line !== undefined){let data75 = data72.end_line;if(!(((typeof data75 == "number") && (!(data75 % 1) && !isNaN(data75))) && (isFinite(data75)))){const err161 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}if((typeof data75 == "number") && (isFinite(data75))){if(data75 < 1 || isNaN(data75)){const err162 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}}if(data72.label !== undefined){let data76 = data72.label;if(typeof data76 === "string"){if(func3(data76) > 48){const err163 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(func3(data76) < 1){const err164 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}else {const err165 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}}else {const err166 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}}else {const err167 = {instancePath:instancePath+"/entities/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}}else {const err169 = {instancePath:instancePath+"/entities",schemaPath:"#/properties/entities/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}if(data.relationships !== undefined){let data77 = data.relationships;if(Array.isArray(data77)){const len11 = data77.length;for(let i5=0; i5<len11; i5++){let data78 = data77[i5];const _errs189 = errors;let valid50 = true;const _errs190 = errors;if(data78 && typeof data78 == "object" && !Array.isArray(data78)){let missing1;if((data78.identifying === undefined) && (missing1 = "identifying")){const err170 = {};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}else {if(data78.identifying !== undefined){if(false !== data78.identifying){const err171 = {};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}}var _valid3 = _errs190 === errors;errors = _errs189;if(vErrors !== null){if(_errs189){vErrors.length = _errs189;}else {vErrors = null;}}if(_valid3){const _errs192 = errors;if(data78 && typeof data78 == "object" && !Array.isArray(data78)){if(data78.variant !== undefined){if(!(data78.variant === "dashed")){const err172 = {instancePath:instancePath+"/relationships/" + i5+"/variant",schemaPath:"#/properties/relationships/items/allOf/0/then/properties/variant/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.allOf[0].then.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}}var _valid3 = _errs192 === errors;valid50 = _valid3;if(valid50){var props1 = {};props1.variant = true;props1.identifying = true;}}if(!valid50){const err173 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/allOf/0/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}if(data78 && typeof data78 == "object" && !Array.isArray(data78)){if(data78.from === undefined){const err174 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(data78.to === undefined){const err175 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}if(data78.fromCardinality === undefined){const err176 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "fromCardinality"},message:"must have required property '"+"fromCardinality"+"'"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}if(data78.toCardinality === undefined){const err177 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "toCardinality"},message:"must have required property '"+"toCardinality"+"'"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}for(const key15 in data78){if(!(func1.call(schema206.properties.relationships.items.properties, key15))){const err178 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data78.id !== undefined){let data81 = data78.id;if(typeof data81 === "string"){if(!pattern16.test(data81)){const err179 = {instancePath:instancePath+"/relationships/" + i5+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}else {const err180 = {instancePath:instancePath+"/relationships/" + i5+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data78.from !== undefined){let data82 = data78.from;if(typeof data82 === "string"){if(!pattern16.test(data82)){const err181 = {instancePath:instancePath+"/relationships/" + i5+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}else {const err182 = {instancePath:instancePath+"/relationships/" + i5+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data78.to !== undefined){let data83 = data78.to;if(typeof data83 === "string"){if(!pattern16.test(data83)){const err183 = {instancePath:instancePath+"/relationships/" + i5+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}else {const err184 = {instancePath:instancePath+"/relationships/" + i5+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}if(data78.label !== undefined){if(typeof data78.label !== "string"){const err185 = {instancePath:instancePath+"/relationships/" + i5+"/label",schemaPath:"#/properties/relationships/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data78.fromCardinality !== undefined){let data85 = data78.fromCardinality;if(!((data85 === "one") || (data85 === "many"))){const err186 = {instancePath:instancePath+"/relationships/" + i5+"/fromCardinality",schemaPath:"#/properties/relationships/items/properties/fromCardinality/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.properties.fromCardinality.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data78.toCardinality !== undefined){let data86 = data78.toCardinality;if(!((data86 === "one") || (data86 === "many"))){const err187 = {instancePath:instancePath+"/relationships/" + i5+"/toCardinality",schemaPath:"#/properties/relationships/items/properties/toCardinality/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.properties.toCardinality.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}if(data78.fromOptional !== undefined){if(typeof data78.fromOptional !== "boolean"){const err188 = {instancePath:instancePath+"/relationships/" + i5+"/fromOptional",schemaPath:"#/properties/relationships/items/properties/fromOptional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data78.toOptional !== undefined){if(typeof data78.toOptional !== "boolean"){const err189 = {instancePath:instancePath+"/relationships/" + i5+"/toOptional",schemaPath:"#/properties/relationships/items/properties/toOptional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data78.identifying !== undefined){if(typeof data78.identifying !== "boolean"){const err190 = {instancePath:instancePath+"/relationships/" + i5+"/identifying",schemaPath:"#/properties/relationships/items/properties/identifying/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data78.variant !== undefined){let data90 = data78.variant;if(!((((data90 === "default") || (data90 === "emphasis")) || (data90 === "security")) || (data90 === "dashed"))){const err191 = {instancePath:instancePath+"/relationships/" + i5+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}if(data78.fromSide !== undefined){let data91 = data78.fromSide;if(!((((data91 === "left") || (data91 === "right")) || (data91 === "top")) || (data91 === "bottom"))){const err192 = {instancePath:instancePath+"/relationships/" + i5+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(data78.toSide !== undefined){let data92 = data78.toSide;if(!((((data92 === "left") || (data92 === "right")) || (data92 === "top")) || (data92 === "bottom"))){const err193 = {instancePath:instancePath+"/relationships/" + i5+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data78.route !== undefined){let data93 = data78.route;if(!((((data93 === "auto") || (data93 === "straight")) || (data93 === "orthogonal-h")) || (data93 === "orthogonal-v"))){const err194 = {instancePath:instancePath+"/relationships/" + i5+"/route",schemaPath:"#/properties/relationships/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(data78.via !== undefined){let data94 = data78.via;if(Array.isArray(data94)){const len12 = data94.length;for(let i6=0; i6<len12; i6++){let data95 = data94[i6];if(Array.isArray(data95)){if(data95.length > 2){const err195 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}if(data95.length < 2){const err196 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}const len13 = data95.length;if(len13 > 0){let data96 = data95[0];if(!((typeof data96 == "number") && (isFinite(data96)))){const err197 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(len13 > 1){let data97 = data95[1];if(!((typeof data97 == "number") && (isFinite(data97)))){const err198 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}const len14 = data95.length;if(!(len14 <= 2)){const err199 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}else {const err200 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}}else {const err201 = {instancePath:instancePath+"/relationships/" + i5+"/via",schemaPath:"#/properties/relationships/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}if(data78.labelAt !== undefined){let data98 = data78.labelAt;if(Array.isArray(data98)){if(data98.length > 2){const err202 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}if(data98.length < 2){const err203 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}const len15 = data98.length;if(len15 > 0){let data99 = data98[0];if(!((typeof data99 == "number") && (isFinite(data99)))){const err204 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}if(len15 > 1){let data100 = data98[1];if(!((typeof data100 == "number") && (isFinite(data100)))){const err205 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}const len16 = data98.length;if(!(len16 <= 2)){const err206 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}if(data78.labelDx !== undefined){let data101 = data78.labelDx;if(!((typeof data101 == "number") && (isFinite(data101)))){const err208 = {instancePath:instancePath+"/relationships/" + i5+"/labelDx",schemaPath:"#/properties/relationships/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data78.labelDy !== undefined){let data102 = data78.labelDy;if(!((typeof data102 == "number") && (isFinite(data102)))){const err209 = {instancePath:instancePath+"/relationships/" + i5+"/labelDy",schemaPath:"#/properties/relationships/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data78.labelSegment !== undefined){let data103 = data78.labelSegment;if(!(((typeof data103 == "number") && (!(data103 % 1) && !isNaN(data103))) && (isFinite(data103)))){const err210 = {instancePath:instancePath+"/relationships/" + i5+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}if((typeof data103 == "number") && (isFinite(data103))){if(data103 < 0 || isNaN(data103)){const err211 = {instancePath:instancePath+"/relationships/" + i5+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}if(data78.width !== undefined){let data104 = data78.width;if((typeof data104 == "number") && (isFinite(data104))){if(data104 < 0.5 || isNaN(data104)){const err212 = {instancePath:instancePath+"/relationships/" + i5+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}else {const err213 = {instancePath:instancePath+"/relationships/" + i5+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}}else {const err214 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}}else {const err215 = {instancePath:instancePath+"/relationships",schemaPath:"#/properties/relationships/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}if(data.cards !== undefined){let data105 = data.cards;if(Array.isArray(data105)){const len17 = data105.length;for(let i7=0; i7<len17; i7++){let data106 = data105[i7];if(data106 && typeof data106 == "object" && !Array.isArray(data106)){if(data106.dot === undefined){const err216 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}if(data106.title === undefined){const err217 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}if(data106.items === undefined){const err218 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}for(const key16 in data106){if(!(((key16 === "dot") || (key16 === "title")) || (key16 === "items"))){const err219 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}if(data106.dot !== undefined){let data107 = data106.dot;if(!(((((((data107 === "cyan") || (data107 === "emerald")) || (data107 === "violet")) || (data107 === "amber")) || (data107 === "rose")) || (data107 === "orange")) || (data107 === "slate"))){const err220 = {instancePath:instancePath+"/cards/" + i7+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(data106.title !== undefined){let data108 = data106.title;if(typeof data108 === "string"){if(func3(data108) < 1){const err221 = {instancePath:instancePath+"/cards/" + i7+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}else {const err222 = {instancePath:instancePath+"/cards/" + i7+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}}if(data106.items !== undefined){let data109 = data106.items;if(Array.isArray(data109)){const len18 = data109.length;for(let i8=0; i8<len18; i8++){if(typeof data109[i8] !== "string"){const err223 = {instancePath:instancePath+"/cards/" + i7+"/items/" + i8,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}}else {const err224 = {instancePath:instancePath+"/cards/" + i7+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}}else {const err225 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}}else {const err226 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}}}else {const err227 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}validate39.errors = vErrors;return errors === 0;}validate39.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const treeSchema = validate42;const schema236 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/tree.schema.json","title":"Archify Hierarchy and Tree Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","nodes"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"tree"},"meta":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"properties":{"direction":{"enum":["down","right"]},"gapX":{"type":"number","minimum":16},"gapY":{"type":"number","minimum":24},"nodeW":{"type":"number","minimum":96},"nodeMaxW":{"type":"number","minimum":120}}},"nodes":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"parent":{"$ref":"common.schema.json#/$defs/id"},"sublabel":{"type":"string"},"collapsed":{"type":"boolean"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate43(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate43.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate43.errors = vErrors;return errors === 0;}validate43.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate42(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/tree.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate42.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.nodes === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "nodes"},message:"must have required property '"+"nodes"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "nodes")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("tree" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "tree"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}for(const key1 in data2){if(!(func1.call(schema236.properties.meta.properties, key1))){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err9 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}else {const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err11 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!pattern4.test(data4)){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err14 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err15 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err16 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err17 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err18 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err19 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(data10.revision === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err22 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err24 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err25 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err26 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}else {const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data2.views !== undefined){if(!(validate43(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate43.errors : vErrors.concat(validate43.errors);errors = vErrors.length;}}if(data2.viewBox !== undefined){let data16 = data2.viewBox;if(Array.isArray(data16)){if(data16.length > 2){const err29 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}if(data16.length < 2){const err30 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}const len0 = data16.length;if(len0 > 0){let data17 = data16[0];if((typeof data17 == "number") && (isFinite(data17))){if(data17 < 320 || isNaN(data17)){const err31 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}else {const err32 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}if(len0 > 1){let data18 = data16[1];if((typeof data18 == "number") && (isFinite(data18))){if(data18 < 240 || isNaN(data18)){const err33 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}else {const err34 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}const len1 = data16.length;if(!(len1 <= 2)){const err35 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}else {const err37 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}if(data.layout !== undefined){let data19 = data.layout;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){for(const key3 in data19){if(!(((((key3 === "direction") || (key3 === "gapX")) || (key3 === "gapY")) || (key3 === "nodeW")) || (key3 === "nodeMaxW"))){const err38 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data19.direction !== undefined){let data20 = data19.direction;if(!((data20 === "down") || (data20 === "right"))){const err39 = {instancePath:instancePath+"/layout/direction",schemaPath:"#/properties/layout/properties/direction/enum",keyword:"enum",params:{allowedValues: schema236.properties.layout.properties.direction.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}if(data19.gapX !== undefined){let data21 = data19.gapX;if((typeof data21 == "number") && (isFinite(data21))){if(data21 < 16 || isNaN(data21)){const err40 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 16},message:"must be >= 16"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}else {const err41 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data19.gapY !== undefined){let data22 = data19.gapY;if((typeof data22 == "number") && (isFinite(data22))){if(data22 < 24 || isNaN(data22)){const err42 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 24},message:"must be >= 24"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data19.nodeW !== undefined){let data23 = data19.nodeW;if((typeof data23 == "number") && (isFinite(data23))){if(data23 < 96 || isNaN(data23)){const err44 = {instancePath:instancePath+"/layout/nodeW",schemaPath:"#/properties/layout/properties/nodeW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 96},message:"must be >= 96"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}else {const err45 = {instancePath:instancePath+"/layout/nodeW",schemaPath:"#/properties/layout/properties/nodeW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data19.nodeMaxW !== undefined){let data24 = data19.nodeMaxW;if((typeof data24 == "number") && (isFinite(data24))){if(data24 < 120 || isNaN(data24)){const err46 = {instancePath:instancePath+"/layout/nodeMaxW",schemaPath:"#/properties/layout/properties/nodeMaxW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 120},message:"must be >= 120"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}else {const err47 = {instancePath:instancePath+"/layout/nodeMaxW",schemaPath:"#/properties/layout/properties/nodeMaxW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}}else {const err48 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data.nodes !== undefined){let data25 = data.nodes;if(Array.isArray(data25)){if(data25.length < 1){const err49 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}const len2 = data25.length;for(let i0=0; i0<len2; i0++){let data26 = data25[i0];if(data26 && typeof data26 == "object" && !Array.isArray(data26)){if(data26.id === undefined){const err50 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}if(data26.label === undefined){const err51 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}for(const key4 in data26){if(!((((((key4 === "id") || (key4 === "label")) || (key4 === "parent")) || (key4 === "sublabel")) || (key4 === "collapsed")) || (key4 === "sources"))){const err52 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data26.id !== undefined){let data27 = data26.id;if(typeof data27 === "string"){if(!pattern16.test(data27)){const err53 = {instancePath:instancePath+"/nodes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/nodes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data26.label !== undefined){let data28 = data26.label;if(typeof data28 === "string"){if(func3(data28) < 1){const err55 = {instancePath:instancePath+"/nodes/" + i0+"/label",schemaPath:"#/properties/nodes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}else {const err56 = {instancePath:instancePath+"/nodes/" + i0+"/label",schemaPath:"#/properties/nodes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data26.parent !== undefined){let data29 = data26.parent;if(typeof data29 === "string"){if(!pattern16.test(data29)){const err57 = {instancePath:instancePath+"/nodes/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}else {const err58 = {instancePath:instancePath+"/nodes/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data26.sublabel !== undefined){if(typeof data26.sublabel !== "string"){const err59 = {instancePath:instancePath+"/nodes/" + i0+"/sublabel",schemaPath:"#/properties/nodes/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data26.collapsed !== undefined){if(typeof data26.collapsed !== "boolean"){const err60 = {instancePath:instancePath+"/nodes/" + i0+"/collapsed",schemaPath:"#/properties/nodes/items/properties/collapsed/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data26.sources !== undefined){let data32 = data26.sources;if(Array.isArray(data32)){if(data32.length > 3){const err61 = {instancePath:instancePath+"/nodes/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(data32.length < 1){const err62 = {instancePath:instancePath+"/nodes/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}const len3 = data32.length;for(let i1=0; i1<len3; i1++){let data33 = data32[i1];if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(data33.path === undefined){const err63 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}for(const key5 in data33){if(!((((key5 === "path") || (key5 === "line")) || (key5 === "end_line")) || (key5 === "label"))){const err64 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data33.path !== undefined){let data34 = data33.path;if(typeof data34 === "string"){if(func3(data34) > 240){const err65 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}if(func3(data34) < 1){const err66 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}else {const err67 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data33.line !== undefined){let data35 = data33.line;if(!(((typeof data35 == "number") && (!(data35 % 1) && !isNaN(data35))) && (isFinite(data35)))){const err68 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if((typeof data35 == "number") && (isFinite(data35))){if(data35 < 1 || isNaN(data35)){const err69 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}}if(data33.end_line !== undefined){let data36 = data33.end_line;if(!(((typeof data36 == "number") && (!(data36 % 1) && !isNaN(data36))) && (isFinite(data36)))){const err70 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if((typeof data36 == "number") && (isFinite(data36))){if(data36 < 1 || isNaN(data36)){const err71 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}if(data33.label !== undefined){let data37 = data33.label;if(typeof data37 === "string"){if(func3(data37) > 48){const err72 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if(func3(data37) < 1){const err73 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}else {const err74 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}}else {const err76 = {instancePath:instancePath+"/nodes/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}}else {const err77 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}else {const err78 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data.cards !== undefined){let data38 = data.cards;if(Array.isArray(data38)){const len4 = data38.length;for(let i2=0; i2<len4; i2++){let data39 = data38[i2];if(data39 && typeof data39 == "object" && !Array.isArray(data39)){if(data39.dot === undefined){const err79 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}if(data39.title === undefined){const err80 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}if(data39.items === undefined){const err81 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}for(const key6 in data39){if(!(((key6 === "dot") || (key6 === "title")) || (key6 === "items"))){const err82 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}if(data39.dot !== undefined){let data40 = data39.dot;if(!(((((((data40 === "cyan") || (data40 === "emerald")) || (data40 === "violet")) || (data40 === "amber")) || (data40 === "rose")) || (data40 === "orange")) || (data40 === "slate"))){const err83 = {instancePath:instancePath+"/cards/" + i2+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data39.title !== undefined){let data41 = data39.title;if(typeof data41 === "string"){if(func3(data41) < 1){const err84 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}else {const err85 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data39.items !== undefined){let data42 = data39.items;if(Array.isArray(data42)){const len5 = data42.length;for(let i3=0; i3<len5; i3++){if(typeof data42[i3] !== "string"){const err86 = {instancePath:instancePath+"/cards/" + i2+"/items/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath:instancePath+"/cards/" + i2+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}}else {const err88 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}}else {const err89 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}}else {const err90 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}validate42.errors = vErrors;return errors === 0;}validate42.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const classSchema = validate45;const schema249 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/class.schema.json","title":"Archify Class and Interface Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","types"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"class"},"meta":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"dependency":{"$ref":"common.schema.json#/$defs/legendEntry"},"association":{"$ref":"common.schema.json#/$defs/legendEntry"},"inheritance":{"$ref":"common.schema.json#/$defs/legendEntry"},"realization":{"$ref":"common.schema.json#/$defs/legendEntry"},"composition":{"$ref":"common.schema.json#/$defs/legendEntry"},"aggregation":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"enum":["grid"]},"origin":{"$ref":"common.schema.json#/$defs/point"},"gapX":{"type":"number","minimum":0},"gapY":{"type":"number","minimum":0},"typeW":{"type":"number","minimum":120},"typeMaxW":{"type":"number","minimum":160}}},"types":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","label","kind"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"kind":{"enum":["class","abstract","interface","enum","record"]},"sublabel":{"type":"string"},"row":{"type":"integer","minimum":0,"maximum":12},"col":{"type":"integer","minimum":0,"maximum":12},"pos":{"$ref":"common.schema.json#/$defs/point"},"width":{"type":"number","minimum":120},"attributes":{"type":"array","items":{"$ref":"#/$defs/attribute"}},"methods":{"type":"array","items":{"$ref":"#/$defs/method"}},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"relationships":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","kind"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"kind":{"enum":["dependency","association","inheritance","realization","composition","aggregation"]},"label":{"type":"string"},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"route":{"enum":["auto","straight","orthogonal-h","orthogonal-v"]},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}},"$defs":{"visibility":{"enum":["public","protected","package","private"]},"attribute":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"}}},"method":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"parameters":{"type":"string"},"returns":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"},"abstract":{"type":"boolean"}}}}};function validate46(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate46.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate46.errors = vErrors;return errors === 0;}validate46.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema268 = {"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"}}};const schema269 = {"enum":["public","protected","package","private"]};function validate48(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate48.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.name === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((key0 === "name") || (key0 === "type")) || (key0 === "visibility")) || (key0 === "static"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.name !== undefined){let data0 = data.name;if(typeof data0 === "string"){if(func3(data0) < 1){const err2 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}else {const err3 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.type !== undefined){let data1 = data.type;if(typeof data1 === "string"){if(func3(data1) < 1){const err4 = {instancePath:instancePath+"/type",schemaPath:"#/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}else {const err5 = {instancePath:instancePath+"/type",schemaPath:"#/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.visibility !== undefined){let data2 = data.visibility;if(!((((data2 === "public") || (data2 === "protected")) || (data2 === "package")) || (data2 === "private"))){const err6 = {instancePath:instancePath+"/visibility",schemaPath:"#/$defs/visibility/enum",keyword:"enum",params:{allowedValues: schema269.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.static !== undefined){if(typeof data.static !== "boolean"){const err7 = {instancePath:instancePath+"/static",schemaPath:"#/properties/static/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}validate48.errors = vErrors;return errors === 0;}validate48.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema270 = {"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"parameters":{"type":"string"},"returns":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"},"abstract":{"type":"boolean"}}};function validate50(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate50.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.name === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "name") || (key0 === "parameters")) || (key0 === "returns")) || (key0 === "visibility")) || (key0 === "static")) || (key0 === "abstract"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.name !== undefined){let data0 = data.name;if(typeof data0 === "string"){if(func3(data0) < 1){const err2 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}else {const err3 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.parameters !== undefined){if(typeof data.parameters !== "string"){const err4 = {instancePath:instancePath+"/parameters",schemaPath:"#/properties/parameters/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.returns !== undefined){let data2 = data.returns;if(typeof data2 === "string"){if(func3(data2) < 1){const err5 = {instancePath:instancePath+"/returns",schemaPath:"#/properties/returns/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/returns",schemaPath:"#/properties/returns/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.visibility !== undefined){let data3 = data.visibility;if(!((((data3 === "public") || (data3 === "protected")) || (data3 === "package")) || (data3 === "private"))){const err7 = {instancePath:instancePath+"/visibility",schemaPath:"#/$defs/visibility/enum",keyword:"enum",params:{allowedValues: schema269.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.static !== undefined){if(typeof data.static !== "boolean"){const err8 = {instancePath:instancePath+"/static",schemaPath:"#/properties/static/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.abstract !== undefined){if(typeof data.abstract !== "boolean"){const err9 = {instancePath:instancePath+"/abstract",schemaPath:"#/properties/abstract/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}}else {const err10 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}validate50.errors = vErrors;return errors === 0;}validate50.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate45(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/class.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate45.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.types === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "types"},message:"must have required property '"+"types"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "types")) || (key0 === "relationships")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("class" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "class"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}for(const key1 in data2){if(!(func1.call(schema249.properties.meta.properties, key1))){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err9 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}else {const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err11 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!pattern4.test(data4)){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err14 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err15 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err16 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err17 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err18 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err19 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(data10.revision === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err22 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err24 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err25 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err26 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}else {const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data2.views !== undefined){if(!(validate46(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data16 = data2.legend;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){for(const key3 in data16){if(!((key3 === "mode") || (key3 === "entries"))){const err29 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data16.mode !== undefined){let data17 = data16.mode;if(!(((data17 === "auto") || (data17 === "all")) || (data17 === "hidden"))){const err30 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data16.entries !== undefined){let data18 = data16.entries;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key4 in data18){if(!((((((key4 === "dependency") || (key4 === "association")) || (key4 === "inheritance")) || (key4 === "realization")) || (key4 === "composition")) || (key4 === "aggregation"))){const err31 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}if(data18.dependency !== undefined){let data19 = data18.dependency;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){if(Object.keys(data19).length < 1){const err32 = {instancePath:instancePath+"/meta/legend/entries/dependency",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}for(const key5 in data19){if(!((key5 === "label") || (key5 === "visible"))){const err33 = {instancePath:instancePath+"/meta/legend/entries/dependency",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data19.label !== undefined){let data20 = data19.label;if(typeof data20 === "string"){if(func3(data20) > 80){const err34 = {instancePath:instancePath+"/meta/legend/entries/dependency/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}if(func3(data20) < 1){const err35 = {instancePath:instancePath+"/meta/legend/entries/dependency/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/meta/legend/entries/dependency/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data19.visible !== undefined){if(typeof data19.visible !== "boolean"){const err37 = {instancePath:instancePath+"/meta/legend/entries/dependency/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}else {const err38 = {instancePath:instancePath+"/meta/legend/entries/dependency",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data18.association !== undefined){let data22 = data18.association;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err39 = {instancePath:instancePath+"/meta/legend/entries/association",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}for(const key6 in data22){if(!((key6 === "label") || (key6 === "visible"))){const err40 = {instancePath:instancePath+"/meta/legend/entries/association",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err41 = {instancePath:instancePath+"/meta/legend/entries/association/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}if(func3(data23) < 1){const err42 = {instancePath:instancePath+"/meta/legend/entries/association/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/meta/legend/entries/association/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err44 = {instancePath:instancePath+"/meta/legend/entries/association/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}}else {const err45 = {instancePath:instancePath+"/meta/legend/entries/association",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data18.inheritance !== undefined){let data25 = data18.inheritance;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err46 = {instancePath:instancePath+"/meta/legend/entries/inheritance",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key7 in data25){if(!((key7 === "label") || (key7 === "visible"))){const err47 = {instancePath:instancePath+"/meta/legend/entries/inheritance",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err48 = {instancePath:instancePath+"/meta/legend/entries/inheritance/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}if(func3(data26) < 1){const err49 = {instancePath:instancePath+"/meta/legend/entries/inheritance/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/legend/entries/inheritance/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err51 = {instancePath:instancePath+"/meta/legend/entries/inheritance/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}}else {const err52 = {instancePath:instancePath+"/meta/legend/entries/inheritance",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data18.realization !== undefined){let data28 = data18.realization;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err53 = {instancePath:instancePath+"/meta/legend/entries/realization",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}for(const key8 in data28){if(!((key8 === "label") || (key8 === "visible"))){const err54 = {instancePath:instancePath+"/meta/legend/entries/realization",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err55 = {instancePath:instancePath+"/meta/legend/entries/realization/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}if(func3(data29) < 1){const err56 = {instancePath:instancePath+"/meta/legend/entries/realization/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}else {const err57 = {instancePath:instancePath+"/meta/legend/entries/realization/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err58 = {instancePath:instancePath+"/meta/legend/entries/realization/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {instancePath:instancePath+"/meta/legend/entries/realization",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data18.composition !== undefined){let data31 = data18.composition;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err60 = {instancePath:instancePath+"/meta/legend/entries/composition",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}for(const key9 in data31){if(!((key9 === "label") || (key9 === "visible"))){const err61 = {instancePath:instancePath+"/meta/legend/entries/composition",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err62 = {instancePath:instancePath+"/meta/legend/entries/composition/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}if(func3(data32) < 1){const err63 = {instancePath:instancePath+"/meta/legend/entries/composition/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}else {const err64 = {instancePath:instancePath+"/meta/legend/entries/composition/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err65 = {instancePath:instancePath+"/meta/legend/entries/composition/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}}else {const err66 = {instancePath:instancePath+"/meta/legend/entries/composition",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data18.aggregation !== undefined){let data34 = data18.aggregation;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err67 = {instancePath:instancePath+"/meta/legend/entries/aggregation",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}for(const key10 in data34){if(!((key10 === "label") || (key10 === "visible"))){const err68 = {instancePath:instancePath+"/meta/legend/entries/aggregation",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err69 = {instancePath:instancePath+"/meta/legend/entries/aggregation/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(func3(data35) < 1){const err70 = {instancePath:instancePath+"/meta/legend/entries/aggregation/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/meta/legend/entries/aggregation/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err72 = {instancePath:instancePath+"/meta/legend/entries/aggregation/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}else {const err73 = {instancePath:instancePath+"/meta/legend/entries/aggregation",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data2.viewBox !== undefined){let data37 = data2.viewBox;if(Array.isArray(data37)){if(data37.length > 2){const err76 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data37.length < 2){const err77 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}const len0 = data37.length;if(len0 > 0){let data38 = data37[0];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 320 || isNaN(data38)){const err78 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}else {const err79 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(len0 > 1){let data39 = data37[1];if((typeof data39 == "number") && (isFinite(data39))){if(data39 < 240 || isNaN(data39)){const err80 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}else {const err81 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}const len1 = data37.length;if(!(len1 <= 2)){const err82 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data.layout !== undefined){let data40 = data.layout;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.mode === undefined){const err85 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/required",keyword:"required",params:{missingProperty: "mode"},message:"must have required property '"+"mode"+"'"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}for(const key11 in data40){if(!((((((key11 === "mode") || (key11 === "origin")) || (key11 === "gapX")) || (key11 === "gapY")) || (key11 === "typeW")) || (key11 === "typeMaxW"))){const err86 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data40.mode !== undefined){if(!(data40.mode === "grid")){const err87 = {instancePath:instancePath+"/layout/mode",schemaPath:"#/properties/layout/properties/mode/enum",keyword:"enum",params:{allowedValues: schema249.properties.layout.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data40.origin !== undefined){let data42 = data40.origin;if(Array.isArray(data42)){if(data42.length > 2){const err88 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data42.length < 2){const err89 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}const len2 = data42.length;if(len2 > 0){let data43 = data42[0];if(!((typeof data43 == "number") && (isFinite(data43)))){const err90 = {instancePath:instancePath+"/layout/origin/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(len2 > 1){let data44 = data42[1];if(!((typeof data44 == "number") && (isFinite(data44)))){const err91 = {instancePath:instancePath+"/layout/origin/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}const len3 = data42.length;if(!(len3 <= 2)){const err92 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}else {const err93 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data40.gapX !== undefined){let data45 = data40.gapX;if((typeof data45 == "number") && (isFinite(data45))){if(data45 < 0 || isNaN(data45)){const err94 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}else {const err95 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data40.gapY !== undefined){let data46 = data40.gapY;if((typeof data46 == "number") && (isFinite(data46))){if(data46 < 0 || isNaN(data46)){const err96 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}else {const err97 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data40.typeW !== undefined){let data47 = data40.typeW;if((typeof data47 == "number") && (isFinite(data47))){if(data47 < 120 || isNaN(data47)){const err98 = {instancePath:instancePath+"/layout/typeW",schemaPath:"#/properties/layout/properties/typeW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 120},message:"must be >= 120"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/layout/typeW",schemaPath:"#/properties/layout/properties/typeW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(data40.typeMaxW !== undefined){let data48 = data40.typeMaxW;if((typeof data48 == "number") && (isFinite(data48))){if(data48 < 160 || isNaN(data48)){const err100 = {instancePath:instancePath+"/layout/typeMaxW",schemaPath:"#/properties/layout/properties/typeMaxW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 160},message:"must be >= 160"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/layout/typeMaxW",schemaPath:"#/properties/layout/properties/typeMaxW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}}else {const err102 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data.types !== undefined){let data49 = data.types;if(Array.isArray(data49)){if(data49.length < 1){const err103 = {instancePath:instancePath+"/types",schemaPath:"#/properties/types/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}const len4 = data49.length;for(let i0=0; i0<len4; i0++){let data50 = data49[i0];if(data50 && typeof data50 == "object" && !Array.isArray(data50)){if(data50.id === undefined){const err104 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}if(data50.label === undefined){const err105 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(data50.kind === undefined){const err106 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}for(const key12 in data50){if(!(func1.call(schema249.properties.types.items.properties, key12))){const err107 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}if(data50.id !== undefined){let data51 = data50.id;if(typeof data51 === "string"){if(!pattern16.test(data51)){const err108 = {instancePath:instancePath+"/types/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}else {const err109 = {instancePath:instancePath+"/types/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data50.label !== undefined){let data52 = data50.label;if(typeof data52 === "string"){if(func3(data52) < 1){const err110 = {instancePath:instancePath+"/types/" + i0+"/label",schemaPath:"#/properties/types/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}else {const err111 = {instancePath:instancePath+"/types/" + i0+"/label",schemaPath:"#/properties/types/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data50.kind !== undefined){let data53 = data50.kind;if(!(((((data53 === "class") || (data53 === "abstract")) || (data53 === "interface")) || (data53 === "enum")) || (data53 === "record"))){const err112 = {instancePath:instancePath+"/types/" + i0+"/kind",schemaPath:"#/properties/types/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema249.properties.types.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data50.sublabel !== undefined){if(typeof data50.sublabel !== "string"){const err113 = {instancePath:instancePath+"/types/" + i0+"/sublabel",schemaPath:"#/properties/types/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(data50.row !== undefined){let data55 = data50.row;if(!(((typeof data55 == "number") && (!(data55 % 1) && !isNaN(data55))) && (isFinite(data55)))){const err114 = {instancePath:instancePath+"/types/" + i0+"/row",schemaPath:"#/properties/types/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if((typeof data55 == "number") && (isFinite(data55))){if(data55 > 12 || isNaN(data55)){const err115 = {instancePath:instancePath+"/types/" + i0+"/row",schemaPath:"#/properties/types/items/properties/row/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data55 < 0 || isNaN(data55)){const err116 = {instancePath:instancePath+"/types/" + i0+"/row",schemaPath:"#/properties/types/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}}if(data50.col !== undefined){let data56 = data50.col;if(!(((typeof data56 == "number") && (!(data56 % 1) && !isNaN(data56))) && (isFinite(data56)))){const err117 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if((typeof data56 == "number") && (isFinite(data56))){if(data56 > 12 || isNaN(data56)){const err118 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}if(data56 < 0 || isNaN(data56)){const err119 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}}if(data50.pos !== undefined){let data57 = data50.pos;if(Array.isArray(data57)){if(data57.length > 2){const err120 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}if(data57.length < 2){const err121 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}const len5 = data57.length;if(len5 > 0){let data58 = data57[0];if(!((typeof data58 == "number") && (isFinite(data58)))){const err122 = {instancePath:instancePath+"/types/" + i0+"/pos/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}if(len5 > 1){let data59 = data57[1];if(!((typeof data59 == "number") && (isFinite(data59)))){const err123 = {instancePath:instancePath+"/types/" + i0+"/pos/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}const len6 = data57.length;if(!(len6 <= 2)){const err124 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}else {const err125 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data50.width !== undefined){let data60 = data50.width;if((typeof data60 == "number") && (isFinite(data60))){if(data60 < 120 || isNaN(data60)){const err126 = {instancePath:instancePath+"/types/" + i0+"/width",schemaPath:"#/properties/types/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 120},message:"must be >= 120"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}else {const err127 = {instancePath:instancePath+"/types/" + i0+"/width",schemaPath:"#/properties/types/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data50.attributes !== undefined){let data61 = data50.attributes;if(Array.isArray(data61)){const len7 = data61.length;for(let i1=0; i1<len7; i1++){if(!(validate48(data61[i1], {instancePath:instancePath+"/types/" + i0+"/attributes/" + i1,parentData:data61,parentDataProperty:i1,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate48.errors : vErrors.concat(validate48.errors);errors = vErrors.length;}}}else {const err128 = {instancePath:instancePath+"/types/" + i0+"/attributes",schemaPath:"#/properties/types/items/properties/attributes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data50.methods !== undefined){let data63 = data50.methods;if(Array.isArray(data63)){const len8 = data63.length;for(let i2=0; i2<len8; i2++){if(!(validate50(data63[i2], {instancePath:instancePath+"/types/" + i0+"/methods/" + i2,parentData:data63,parentDataProperty:i2,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate50.errors : vErrors.concat(validate50.errors);errors = vErrors.length;}}}else {const err129 = {instancePath:instancePath+"/types/" + i0+"/methods",schemaPath:"#/properties/types/items/properties/methods/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}if(data50.sources !== undefined){let data65 = data50.sources;if(Array.isArray(data65)){if(data65.length > 3){const err130 = {instancePath:instancePath+"/types/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}if(data65.length < 1){const err131 = {instancePath:instancePath+"/types/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}const len9 = data65.length;for(let i3=0; i3<len9; i3++){let data66 = data65[i3];if(data66 && typeof data66 == "object" && !Array.isArray(data66)){if(data66.path === undefined){const err132 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}for(const key13 in data66){if(!((((key13 === "path") || (key13 === "line")) || (key13 === "end_line")) || (key13 === "label"))){const err133 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}if(data66.path !== undefined){let data67 = data66.path;if(typeof data67 === "string"){if(func3(data67) > 240){const err134 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}if(func3(data67) < 1){const err135 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}else {const err136 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data66.line !== undefined){let data68 = data66.line;if(!(((typeof data68 == "number") && (!(data68 % 1) && !isNaN(data68))) && (isFinite(data68)))){const err137 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}if((typeof data68 == "number") && (isFinite(data68))){if(data68 < 1 || isNaN(data68)){const err138 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}}if(data66.end_line !== undefined){let data69 = data66.end_line;if(!(((typeof data69 == "number") && (!(data69 % 1) && !isNaN(data69))) && (isFinite(data69)))){const err139 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if((typeof data69 == "number") && (isFinite(data69))){if(data69 < 1 || isNaN(data69)){const err140 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}}if(data66.label !== undefined){let data70 = data66.label;if(typeof data70 === "string"){if(func3(data70) > 48){const err141 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}if(func3(data70) < 1){const err142 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}}else {const err143 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}}else {const err144 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}}else {const err145 = {instancePath:instancePath+"/types/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}else {const err146 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath:instancePath+"/types",schemaPath:"#/properties/types/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}if(data.relationships !== undefined){let data71 = data.relationships;if(Array.isArray(data71)){const len10 = data71.length;for(let i4=0; i4<len10; i4++){let data72 = data71[i4];if(data72 && typeof data72 == "object" && !Array.isArray(data72)){if(data72.from === undefined){const err148 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}if(data72.to === undefined){const err149 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}if(data72.kind === undefined){const err150 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}for(const key14 in data72){if(!(func1.call(schema249.properties.relationships.items.properties, key14))){const err151 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data72.id !== undefined){let data73 = data72.id;if(typeof data73 === "string"){if(!pattern16.test(data73)){const err152 = {instancePath:instancePath+"/relationships/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}else {const err153 = {instancePath:instancePath+"/relationships/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}if(data72.from !== undefined){let data74 = data72.from;if(typeof data74 === "string"){if(!pattern16.test(data74)){const err154 = {instancePath:instancePath+"/relationships/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}else {const err155 = {instancePath:instancePath+"/relationships/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}if(data72.to !== undefined){let data75 = data72.to;if(typeof data75 === "string"){if(!pattern16.test(data75)){const err156 = {instancePath:instancePath+"/relationships/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}else {const err157 = {instancePath:instancePath+"/relationships/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}if(data72.kind !== undefined){let data76 = data72.kind;if(!((((((data76 === "dependency") || (data76 === "association")) || (data76 === "inheritance")) || (data76 === "realization")) || (data76 === "composition")) || (data76 === "aggregation"))){const err158 = {instancePath:instancePath+"/relationships/" + i4+"/kind",schemaPath:"#/properties/relationships/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema249.properties.relationships.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data72.label !== undefined){if(typeof data72.label !== "string"){const err159 = {instancePath:instancePath+"/relationships/" + i4+"/label",schemaPath:"#/properties/relationships/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}if(data72.fromSide !== undefined){let data78 = data72.fromSide;if(!((((data78 === "left") || (data78 === "right")) || (data78 === "top")) || (data78 === "bottom"))){const err160 = {instancePath:instancePath+"/relationships/" + i4+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}if(data72.toSide !== undefined){let data79 = data72.toSide;if(!((((data79 === "left") || (data79 === "right")) || (data79 === "top")) || (data79 === "bottom"))){const err161 = {instancePath:instancePath+"/relationships/" + i4+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data72.route !== undefined){let data80 = data72.route;if(!((((data80 === "auto") || (data80 === "straight")) || (data80 === "orthogonal-h")) || (data80 === "orthogonal-v"))){const err162 = {instancePath:instancePath+"/relationships/" + i4+"/route",schemaPath:"#/properties/relationships/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema249.properties.relationships.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}if(data72.via !== undefined){let data81 = data72.via;if(Array.isArray(data81)){const len11 = data81.length;for(let i5=0; i5<len11; i5++){let data82 = data81[i5];if(Array.isArray(data82)){if(data82.length > 2){const err163 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(data82.length < 2){const err164 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}const len12 = data82.length;if(len12 > 0){let data83 = data82[0];if(!((typeof data83 == "number") && (isFinite(data83)))){const err165 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(len12 > 1){let data84 = data82[1];if(!((typeof data84 == "number") && (isFinite(data84)))){const err166 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}const len13 = data82.length;if(!(len13 <= 2)){const err167 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}else {const err168 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}}else {const err169 = {instancePath:instancePath+"/relationships/" + i4+"/via",schemaPath:"#/properties/relationships/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}if(data72.labelAt !== undefined){let data85 = data72.labelAt;if(Array.isArray(data85)){if(data85.length > 2){const err170 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if(data85.length < 2){const err171 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}const len14 = data85.length;if(len14 > 0){let data86 = data85[0];if(!((typeof data86 == "number") && (isFinite(data86)))){const err172 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(len14 > 1){let data87 = data85[1];if(!((typeof data87 == "number") && (isFinite(data87)))){const err173 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}const len15 = data85.length;if(!(len15 <= 2)){const err174 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}else {const err175 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}if(data72.labelDx !== undefined){let data88 = data72.labelDx;if(!((typeof data88 == "number") && (isFinite(data88)))){const err176 = {instancePath:instancePath+"/relationships/" + i4+"/labelDx",schemaPath:"#/properties/relationships/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data72.labelDy !== undefined){let data89 = data72.labelDy;if(!((typeof data89 == "number") && (isFinite(data89)))){const err177 = {instancePath:instancePath+"/relationships/" + i4+"/labelDy",schemaPath:"#/properties/relationships/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}if(data72.labelSegment !== undefined){let data90 = data72.labelSegment;if(!(((typeof data90 == "number") && (!(data90 % 1) && !isNaN(data90))) && (isFinite(data90)))){const err178 = {instancePath:instancePath+"/relationships/" + i4+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}if((typeof data90 == "number") && (isFinite(data90))){if(data90 < 0 || isNaN(data90)){const err179 = {instancePath:instancePath+"/relationships/" + i4+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}}}else {const err180 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}else {const err181 = {instancePath:instancePath+"/relationships",schemaPath:"#/properties/relationships/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}if(data.cards !== undefined){let data91 = data.cards;if(Array.isArray(data91)){const len16 = data91.length;for(let i6=0; i6<len16; i6++){let data92 = data91[i6];if(data92 && typeof data92 == "object" && !Array.isArray(data92)){if(data92.dot === undefined){const err182 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}if(data92.title === undefined){const err183 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}if(data92.items === undefined){const err184 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}for(const key15 in data92){if(!(((key15 === "dot") || (key15 === "title")) || (key15 === "items"))){const err185 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data92.dot !== undefined){let data93 = data92.dot;if(!(((((((data93 === "cyan") || (data93 === "emerald")) || (data93 === "violet")) || (data93 === "amber")) || (data93 === "rose")) || (data93 === "orange")) || (data93 === "slate"))){const err186 = {instancePath:instancePath+"/cards/" + i6+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data92.title !== undefined){let data94 = data92.title;if(typeof data94 === "string"){if(func3(data94) < 1){const err187 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}else {const err188 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data92.items !== undefined){let data95 = data92.items;if(Array.isArray(data95)){const len17 = data95.length;for(let i7=0; i7<len17; i7++){if(typeof data95[i7] !== "string"){const err189 = {instancePath:instancePath+"/cards/" + i6+"/items/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}}else {const err190 = {instancePath:instancePath+"/cards/" + i6+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}}else {const err191 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}}else {const err192 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}}else {const err193 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}validate45.errors = vErrors;return errors === 0;}validate45.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const timelineSchema = validate52;const schema281 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/timeline.schema.json","title":"Archify Event Timeline","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","events"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"timeline"},"meta":{"type":"object","additionalProperties":false,"required":["title","evidence"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"evidence":{"enum":["observed","illustrative"],"description":"Whether the events are recorded observations or illustrative input; drawn on the canvas."},"timezone":{"type":"string","minLength":1,"description":"IANA time zone used for axis and event labels; defaults to UTC."}}},"layout":{"type":"object","additionalProperties":false,"properties":{"width":{"type":"number","minimum":480,"description":"Drawing width of the time axis in px."},"breaks":{"enum":["auto","none"],"description":"auto compresses long quiet periods into disclosed axis breaks."}}},"lanes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1}}}},"events":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","at","title"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$","description":"ISO 8601 timestamp with an explicit Z or ±HH:MM offset."},"title":{"type":"string","minLength":1},"detail":{"type":"string"},"lane":{"$ref":"common.schema.json#/$defs/id"},"kind":{"enum":["default","change","alert","action","recovery"]},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const pattern157 = new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$", "u");function validate53(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate53.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate53.errors = vErrors;return errors === 0;}validate53.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate52(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/timeline.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate52.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.events === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "events"},message:"must have required property '"+"events"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "lanes")) || (key0 === "events")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("timeline" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "timeline"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data2.evidence === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "evidence"},message:"must have required property '"+"evidence"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key1 in data2){if(!(func1.call(schema281.properties.meta.properties, key1))){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}else {const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!pattern4.test(data4)){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}else {const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err15 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err16 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err17 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err18 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err19 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(data10.revision === undefined){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err22 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}else {const err24 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err25 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err26 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}else {const err28 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data2.views !== undefined){if(!(validate53(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate53.errors : vErrors.concat(validate53.errors);errors = vErrors.length;}}if(data2.evidence !== undefined){let data16 = data2.evidence;if(!((data16 === "observed") || (data16 === "illustrative"))){const err30 = {instancePath:instancePath+"/meta/evidence",schemaPath:"#/properties/meta/properties/evidence/enum",keyword:"enum",params:{allowedValues: schema281.properties.meta.properties.evidence.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data2.timezone !== undefined){let data17 = data2.timezone;if(typeof data17 === "string"){if(func3(data17) < 1){const err31 = {instancePath:instancePath+"/meta/timezone",schemaPath:"#/properties/meta/properties/timezone/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}else {const err32 = {instancePath:instancePath+"/meta/timezone",schemaPath:"#/properties/meta/properties/timezone/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}}else {const err33 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data.layout !== undefined){let data18 = data.layout;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key3 in data18){if(!((key3 === "width") || (key3 === "breaks"))){const err34 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data18.width !== undefined){let data19 = data18.width;if((typeof data19 == "number") && (isFinite(data19))){if(data19 < 480 || isNaN(data19)){const err35 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 480},message:"must be >= 480"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data18.breaks !== undefined){let data20 = data18.breaks;if(!((data20 === "auto") || (data20 === "none"))){const err37 = {instancePath:instancePath+"/layout/breaks",schemaPath:"#/properties/layout/properties/breaks/enum",keyword:"enum",params:{allowedValues: schema281.properties.layout.properties.breaks.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}else {const err38 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data.lanes !== undefined){let data21 = data.lanes;if(Array.isArray(data21)){const len0 = data21.length;for(let i0=0; i0<len0; i0++){let data22 = data21[i0];if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(data22.id === undefined){const err39 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(data22.label === undefined){const err40 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}for(const key4 in data22){if(!((key4 === "id") || (key4 === "label"))){const err41 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data22.id !== undefined){let data23 = data22.id;if(typeof data23 === "string"){if(!pattern16.test(data23)){const err42 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data22.label !== undefined){let data24 = data22.label;if(typeof data24 === "string"){if(func3(data24) < 1){const err44 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}else {const err45 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}}else {const err46 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}}else {const err47 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data.events !== undefined){let data25 = data.events;if(Array.isArray(data25)){if(data25.length < 1){const err48 = {instancePath:instancePath+"/events",schemaPath:"#/properties/events/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}const len1 = data25.length;for(let i1=0; i1<len1; i1++){let data26 = data25[i1];if(data26 && typeof data26 == "object" && !Array.isArray(data26)){if(data26.id === undefined){const err49 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}if(data26.at === undefined){const err50 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/required",keyword:"required",params:{missingProperty: "at"},message:"must have required property '"+"at"+"'"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}if(data26.title === undefined){const err51 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}for(const key5 in data26){if(!(((((((key5 === "id") || (key5 === "at")) || (key5 === "title")) || (key5 === "detail")) || (key5 === "lane")) || (key5 === "kind")) || (key5 === "sources"))){const err52 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data26.id !== undefined){let data27 = data26.id;if(typeof data27 === "string"){if(!pattern16.test(data27)){const err53 = {instancePath:instancePath+"/events/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/events/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data26.at !== undefined){let data28 = data26.at;if(typeof data28 === "string"){if(!pattern157.test(data28)){const err55 = {instancePath:instancePath+"/events/" + i1+"/at",schemaPath:"#/properties/events/items/properties/at/pattern",keyword:"pattern",params:{pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$"},message:"must match pattern \""+"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$"+"\""};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}else {const err56 = {instancePath:instancePath+"/events/" + i1+"/at",schemaPath:"#/properties/events/items/properties/at/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data26.title !== undefined){let data29 = data26.title;if(typeof data29 === "string"){if(func3(data29) < 1){const err57 = {instancePath:instancePath+"/events/" + i1+"/title",schemaPath:"#/properties/events/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}else {const err58 = {instancePath:instancePath+"/events/" + i1+"/title",schemaPath:"#/properties/events/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data26.detail !== undefined){if(typeof data26.detail !== "string"){const err59 = {instancePath:instancePath+"/events/" + i1+"/detail",schemaPath:"#/properties/events/items/properties/detail/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data26.lane !== undefined){let data31 = data26.lane;if(typeof data31 === "string"){if(!pattern16.test(data31)){const err60 = {instancePath:instancePath+"/events/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}else {const err61 = {instancePath:instancePath+"/events/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data26.kind !== undefined){let data32 = data26.kind;if(!(((((data32 === "default") || (data32 === "change")) || (data32 === "alert")) || (data32 === "action")) || (data32 === "recovery"))){const err62 = {instancePath:instancePath+"/events/" + i1+"/kind",schemaPath:"#/properties/events/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema281.properties.events.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}if(data26.sources !== undefined){let data33 = data26.sources;if(Array.isArray(data33)){if(data33.length > 3){const err63 = {instancePath:instancePath+"/events/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}if(data33.length < 1){const err64 = {instancePath:instancePath+"/events/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}const len2 = data33.length;for(let i2=0; i2<len2; i2++){let data34 = data33[i2];if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(data34.path === undefined){const err65 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}for(const key6 in data34){if(!((((key6 === "path") || (key6 === "line")) || (key6 === "end_line")) || (key6 === "label"))){const err66 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data34.path !== undefined){let data35 = data34.path;if(typeof data35 === "string"){if(func3(data35) > 240){const err67 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(func3(data35) < 1){const err68 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}else {const err69 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data34.line !== undefined){let data36 = data34.line;if(!(((typeof data36 == "number") && (!(data36 % 1) && !isNaN(data36))) && (isFinite(data36)))){const err70 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if((typeof data36 == "number") && (isFinite(data36))){if(data36 < 1 || isNaN(data36)){const err71 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}if(data34.end_line !== undefined){let data37 = data34.end_line;if(!(((typeof data37 == "number") && (!(data37 % 1) && !isNaN(data37))) && (isFinite(data37)))){const err72 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if((typeof data37 == "number") && (isFinite(data37))){if(data37 < 1 || isNaN(data37)){const err73 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}if(data34.label !== undefined){let data38 = data34.label;if(typeof data38 === "string"){if(func3(data38) > 48){const err74 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(func3(data38) < 1){const err75 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}else {const err76 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}}else {const err77 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}else {const err78 = {instancePath:instancePath+"/events/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}}else {const err80 = {instancePath:instancePath+"/events",schemaPath:"#/properties/events/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}if(data.cards !== undefined){let data39 = data.cards;if(Array.isArray(data39)){const len3 = data39.length;for(let i3=0; i3<len3; i3++){let data40 = data39[i3];if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.dot === undefined){const err81 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(data40.title === undefined){const err82 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(data40.items === undefined){const err83 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}for(const key7 in data40){if(!(((key7 === "dot") || (key7 === "title")) || (key7 === "items"))){const err84 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data40.dot !== undefined){let data41 = data40.dot;if(!(((((((data41 === "cyan") || (data41 === "emerald")) || (data41 === "violet")) || (data41 === "amber")) || (data41 === "rose")) || (data41 === "orange")) || (data41 === "slate"))){const err85 = {instancePath:instancePath+"/cards/" + i3+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data40.title !== undefined){let data42 = data40.title;if(typeof data42 === "string"){if(func3(data42) < 1){const err86 = {instancePath:instancePath+"/cards/" + i3+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}else {const err87 = {instancePath:instancePath+"/cards/" + i3+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data40.items !== undefined){let data43 = data40.items;if(Array.isArray(data43)){const len4 = data43.length;for(let i4=0; i4<len4; i4++){if(typeof data43[i4] !== "string"){const err88 = {instancePath:instancePath+"/cards/" + i3+"/items/" + i4,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}}else {const err89 = {instancePath:instancePath+"/cards/" + i3+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}}else {const err90 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}}else {const err91 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}}else {const err92 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}validate52.errors = vErrors;return errors === 0;}validate52.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const waterfallSchema = validate55;const schema295 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/waterfall.schema.json","title":"Archify Execution Waterfall","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","spans"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"waterfall"},"meta":{"type":"object","additionalProperties":false,"required":["title","evidence"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"evidence":{"enum":["measured","illustrative"],"description":"Whether span timing is recorded measurement or illustrative input; drawn on the canvas."},"unit":{"enum":["us","ms","s"],"description":"Unit of every start, end, and duration; defaults to ms."}}},"layout":{"type":"object","additionalProperties":false,"properties":{"width":{"type":"number","minimum":360,"description":"Width of the time axis in px."}}},"spans":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","name","start"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"name":{"type":"string","minLength":1},"start":{"type":"number","minimum":0,"description":"Offset from the trace origin, in meta.unit."},"end":{"type":"number","minimum":0},"duration":{"type":"number","minimum":0},"parent":{"$ref":"common.schema.json#/$defs/id"},"status":{"enum":["ok","error","cancelled","incomplete"]},"service":{"type":"string","minLength":1},"detail":{"type":"string"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate56(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate56.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate56.errors = vErrors;return errors === 0;}validate56.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate55(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/waterfall.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate55.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.spans === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "spans"},message:"must have required property '"+"spans"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "spans")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("waterfall" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "waterfall"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data2.evidence === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "evidence"},message:"must have required property '"+"evidence"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key1 in data2){if(!(func1.call(schema295.properties.meta.properties, key1))){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}else {const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!pattern4.test(data4)){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}else {const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err15 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err16 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err17 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err18 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err19 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(data10.revision === undefined){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err22 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}else {const err24 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err25 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err26 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}else {const err28 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data2.views !== undefined){if(!(validate56(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate56.errors : vErrors.concat(validate56.errors);errors = vErrors.length;}}if(data2.evidence !== undefined){let data16 = data2.evidence;if(!((data16 === "measured") || (data16 === "illustrative"))){const err30 = {instancePath:instancePath+"/meta/evidence",schemaPath:"#/properties/meta/properties/evidence/enum",keyword:"enum",params:{allowedValues: schema295.properties.meta.properties.evidence.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data2.unit !== undefined){let data17 = data2.unit;if(!(((data17 === "us") || (data17 === "ms")) || (data17 === "s"))){const err31 = {instancePath:instancePath+"/meta/unit",schemaPath:"#/properties/meta/properties/unit/enum",keyword:"enum",params:{allowedValues: schema295.properties.meta.properties.unit.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}}else {const err32 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}if(data.layout !== undefined){let data18 = data.layout;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key3 in data18){if(!(key3 === "width")){const err33 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data18.width !== undefined){let data19 = data18.width;if((typeof data19 == "number") && (isFinite(data19))){if(data19 < 360 || isNaN(data19)){const err34 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 360},message:"must be >= 360"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}else {const err35 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data.spans !== undefined){let data20 = data.spans;if(Array.isArray(data20)){if(data20.length < 1){const err37 = {instancePath:instancePath+"/spans",schemaPath:"#/properties/spans/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}const len0 = data20.length;for(let i0=0; i0<len0; i0++){let data21 = data20[i0];if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.id === undefined){const err38 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(data21.name === undefined){const err39 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(data21.start === undefined){const err40 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/required",keyword:"required",params:{missingProperty: "start"},message:"must have required property '"+"start"+"'"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}for(const key4 in data21){if(!(func1.call(schema295.properties.spans.items.properties, key4))){const err41 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data21.id !== undefined){let data22 = data21.id;if(typeof data22 === "string"){if(!pattern16.test(data22)){const err42 = {instancePath:instancePath+"/spans/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/spans/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data21.name !== undefined){let data23 = data21.name;if(typeof data23 === "string"){if(func3(data23) < 1){const err44 = {instancePath:instancePath+"/spans/" + i0+"/name",schemaPath:"#/properties/spans/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}else {const err45 = {instancePath:instancePath+"/spans/" + i0+"/name",schemaPath:"#/properties/spans/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data21.start !== undefined){let data24 = data21.start;if((typeof data24 == "number") && (isFinite(data24))){if(data24 < 0 || isNaN(data24)){const err46 = {instancePath:instancePath+"/spans/" + i0+"/start",schemaPath:"#/properties/spans/items/properties/start/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}else {const err47 = {instancePath:instancePath+"/spans/" + i0+"/start",schemaPath:"#/properties/spans/items/properties/start/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data21.end !== undefined){let data25 = data21.end;if((typeof data25 == "number") && (isFinite(data25))){if(data25 < 0 || isNaN(data25)){const err48 = {instancePath:instancePath+"/spans/" + i0+"/end",schemaPath:"#/properties/spans/items/properties/end/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}else {const err49 = {instancePath:instancePath+"/spans/" + i0+"/end",schemaPath:"#/properties/spans/items/properties/end/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}if(data21.duration !== undefined){let data26 = data21.duration;if((typeof data26 == "number") && (isFinite(data26))){if(data26 < 0 || isNaN(data26)){const err50 = {instancePath:instancePath+"/spans/" + i0+"/duration",schemaPath:"#/properties/spans/items/properties/duration/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}else {const err51 = {instancePath:instancePath+"/spans/" + i0+"/duration",schemaPath:"#/properties/spans/items/properties/duration/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data21.parent !== undefined){let data27 = data21.parent;if(typeof data27 === "string"){if(!pattern16.test(data27)){const err52 = {instancePath:instancePath+"/spans/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}else {const err53 = {instancePath:instancePath+"/spans/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}if(data21.status !== undefined){let data28 = data21.status;if(!((((data28 === "ok") || (data28 === "error")) || (data28 === "cancelled")) || (data28 === "incomplete"))){const err54 = {instancePath:instancePath+"/spans/" + i0+"/status",schemaPath:"#/properties/spans/items/properties/status/enum",keyword:"enum",params:{allowedValues: schema295.properties.spans.items.properties.status.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data21.service !== undefined){let data29 = data21.service;if(typeof data29 === "string"){if(func3(data29) < 1){const err55 = {instancePath:instancePath+"/spans/" + i0+"/service",schemaPath:"#/properties/spans/items/properties/service/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}else {const err56 = {instancePath:instancePath+"/spans/" + i0+"/service",schemaPath:"#/properties/spans/items/properties/service/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data21.detail !== undefined){if(typeof data21.detail !== "string"){const err57 = {instancePath:instancePath+"/spans/" + i0+"/detail",schemaPath:"#/properties/spans/items/properties/detail/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data21.sources !== undefined){let data31 = data21.sources;if(Array.isArray(data31)){if(data31.length > 3){const err58 = {instancePath:instancePath+"/spans/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}if(data31.length < 1){const err59 = {instancePath:instancePath+"/spans/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}const len1 = data31.length;for(let i1=0; i1<len1; i1++){let data32 = data31[i1];if(data32 && typeof data32 == "object" && !Array.isArray(data32)){if(data32.path === undefined){const err60 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}for(const key5 in data32){if(!((((key5 === "path") || (key5 === "line")) || (key5 === "end_line")) || (key5 === "label"))){const err61 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data32.path !== undefined){let data33 = data32.path;if(typeof data33 === "string"){if(func3(data33) > 240){const err62 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}if(func3(data33) < 1){const err63 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}else {const err64 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data32.line !== undefined){let data34 = data32.line;if(!(((typeof data34 == "number") && (!(data34 % 1) && !isNaN(data34))) && (isFinite(data34)))){const err65 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}if((typeof data34 == "number") && (isFinite(data34))){if(data34 < 1 || isNaN(data34)){const err66 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}}if(data32.end_line !== undefined){let data35 = data32.end_line;if(!(((typeof data35 == "number") && (!(data35 % 1) && !isNaN(data35))) && (isFinite(data35)))){const err67 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if((typeof data35 == "number") && (isFinite(data35))){if(data35 < 1 || isNaN(data35)){const err68 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}}if(data32.label !== undefined){let data36 = data32.label;if(typeof data36 === "string"){if(func3(data36) > 48){const err69 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(func3(data36) < 1){const err70 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}else {const err73 = {instancePath:instancePath+"/spans/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/spans",schemaPath:"#/properties/spans/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data.cards !== undefined){let data37 = data.cards;if(Array.isArray(data37)){const len2 = data37.length;for(let i2=0; i2<len2; i2++){let data38 = data37[i2];if(data38 && typeof data38 == "object" && !Array.isArray(data38)){if(data38.dot === undefined){const err76 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data38.title === undefined){const err77 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}if(data38.items === undefined){const err78 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}for(const key6 in data38){if(!(((key6 === "dot") || (key6 === "title")) || (key6 === "items"))){const err79 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data38.dot !== undefined){let data39 = data38.dot;if(!(((((((data39 === "cyan") || (data39 === "emerald")) || (data39 === "violet")) || (data39 === "amber")) || (data39 === "rose")) || (data39 === "orange")) || (data39 === "slate"))){const err80 = {instancePath:instancePath+"/cards/" + i2+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}if(data38.title !== undefined){let data40 = data38.title;if(typeof data40 === "string"){if(func3(data40) < 1){const err81 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}else {const err82 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}if(data38.items !== undefined){let data41 = data38.items;if(Array.isArray(data41)){const len3 = data41.length;for(let i3=0; i3<len3; i3++){if(typeof data41[i3] !== "string"){const err83 = {instancePath:instancePath+"/cards/" + i2+"/items/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath:instancePath+"/cards/" + i2+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}}else {const err85 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}validate55.errors = vErrors;return errors === 0;}validate55.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};+};const pattern4 = new RegExp("^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$", "u");const pattern5 = new RegExp("^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$", "u");const pattern6 = new RegExp("(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$", "u");const pattern7 = new RegExp("[\\\\<>:\"|?*\\u0000-\\u001F\\u007F-\\u009F]", "u");const pattern8 = new RegExp("[\\uD800-\\uDFFF]", "u");const pattern9 = new RegExp("(^|/)[.]{1,2}(/|$)", "u");const pattern10 = new RegExp("[. ](/|$)", "u");const pattern11 = new RegExp("(^|/)[^/]{256}", "u");const pattern12 = new RegExp("(^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Nn][Ii][Nn][$]|[Cc][Oo][Nn][Oo][Uu][Tt][$]|[Cc][Oo][Mm][1-9¹²³]|[Ll][Pp][Tt][1-9¹²³])(?:[.]|/|$)", "u");const pattern13 = new RegExp("(^|/)[^/]*~[1-9][0-9]*(?:[.]|/|$)", "u");const pattern14 = new RegExp("^[^/]+(?:/[^/]+)*$", "u");const pattern15 = new RegExp("^[a-fA-F0-9]{40}$", "u");const pattern16 = new RegExp("^[a-zA-Z][a-zA-Z0-9_-]*$", "u");const pattern29 = new RegExp("^[^\\r\\n]+$", "u");const pattern30 = new RegExp("^https?://", "u");const pattern32 = new RegExp("^[a-f0-9]{64}$", "u");const schema37 = {"type":"array","maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["id","label","focus"],"properties":{"id":{"$ref":"#/$defs/id"},"label":{"type":"string","minLength":1,"maxLength":48},"focus":{"type":"array","minItems":1,"items":{"$ref":"#/$defs/id"}},"note":{"type":"string","maxLength":140}}}};function validate22(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate22.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate22.errors = vErrors;return errors === 0;}validate22.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema55 = {"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"}}};function validate24(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate24.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.from === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.to === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}for(const key0 in data){if(!((key0 === "from") || (key0 === "to"))){const err2 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.from !== undefined){let data0 = data.from;if(typeof data0 === "string"){if(!pattern16.test(data0)){const err3 = {instancePath:instancePath+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}else {const err4 = {instancePath:instancePath+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.to !== undefined){let data1 = data.to;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}validate24.errors = vErrors;return errors === 0;}validate24.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate20(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/workflow.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate20.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.lanes === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "lanes"},message:"must have required property '"+"lanes"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.nodes === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "nodes"},message:"must have required property '"+"nodes"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(data.edges === undefined){const err5 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "edges"},message:"must have required property '"+"edges"+"'"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}for(const key0 in data){if(!(func1.call(schema31.properties, key0))){const err6 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.schema_version !== undefined){let data0 = data.schema_version;if(!((data0 === 1) || (data0 === 2))){const err7 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/enum",keyword:"enum",params:{allowedValues: schema31.properties.schema_version.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.diagram_type !== undefined){if("workflow" !== data.diagram_type){const err8 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "workflow"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2.output === undefined){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data2){if(!(func1.call(schema31.properties.meta.properties, key1))){const err11 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(!pattern4.test(data4)){const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}else {const err16 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err19 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(func3(data6) < 1){const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}else {const err22 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err24 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(!pattern14.test(data8)){const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}else {const err42 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err43 = {instancePath:instancePath+"/meta/animation",schemaPath:"#/properties/meta/properties/animation/enum",keyword:"enum",params:{allowedValues: schema31.properties.meta.properties.animation.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err44 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"#/properties/meta/properties/visual_preset/enum",keyword:"enum",params:{allowedValues: schema31.properties.meta.properties.visual_preset.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err45 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"#/properties/meta/properties/quality_profile/enum",keyword:"enum",params:{allowedValues: schema31.properties.meta.properties.quality_profile.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data12 = data2.repository;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data12.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data12){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data12.url !== undefined){let data13 = data12.url;if(typeof data13 === "string"){if(func3(data13) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data12.provider !== undefined){let data14 = data12.provider;if(!((data14 === "github") || (data14 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data12.link_mode !== undefined){let data15 = data12.link_mode;if(!((data15 === "web") || (data15 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data12.revision !== undefined){let data16 = data12.revision;if(typeof data16 === "string"){if(!pattern15.test(data16)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate22(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data18 = data2.legend;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key5 in data18){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data18.mode !== undefined){let data19 = data18.mode;if(!(((data19 === "auto") || (data19 === "all")) || (data19 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data18.entries !== undefined){let data20 = data18.entries;if(data20 && typeof data20 == "object" && !Array.isArray(data20)){for(const key6 in data20){if(!(((((((key6 === "frontend") || (key6 === "backend")) || (key6 === "database")) || (key6 === "cloud")) || (key6 === "security")) || (key6 === "messagebus")) || (key6 === "external"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data20.frontend !== undefined){let data21 = data20.frontend;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(Object.keys(data21).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data21){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data21.label !== undefined){let data22 = data21.label;if(typeof data22 === "string"){if(func3(data22) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data22) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data21.visible !== undefined){if(typeof data21.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/frontend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data20.backend !== undefined){let data24 = data20.backend;if(data24 && typeof data24 == "object" && !Array.isArray(data24)){if(Object.keys(data24).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data24){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data24.label !== undefined){let data25 = data24.label;if(typeof data25 === "string"){if(func3(data25) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data25) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data24.visible !== undefined){if(typeof data24.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/backend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data20.database !== undefined){let data27 = data20.database;if(data27 && typeof data27 == "object" && !Array.isArray(data27)){if(Object.keys(data27).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data27){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data27.label !== undefined){let data28 = data27.label;if(typeof data28 === "string"){if(func3(data28) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data28) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data27.visible !== undefined){if(typeof data27.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/database/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data20.cloud !== undefined){let data30 = data20.cloud;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){if(Object.keys(data30).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data30){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data30.label !== undefined){let data31 = data30.label;if(typeof data31 === "string"){if(func3(data31) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data31) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data30.visible !== undefined){if(typeof data30.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/cloud/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data20.security !== undefined){let data33 = data20.security;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(Object.keys(data33).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data33){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data33.label !== undefined){let data34 = data33.label;if(typeof data34 === "string"){if(func3(data34) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data34) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data33.visible !== undefined){if(typeof data33.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data20.messagebus !== undefined){let data36 = data20.messagebus;if(data36 && typeof data36 == "object" && !Array.isArray(data36)){if(Object.keys(data36).length < 1){const err94 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}for(const key12 in data36){if(!((key12 === "label") || (key12 === "visible"))){const err95 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data36.label !== undefined){let data37 = data36.label;if(typeof data37 === "string"){if(func3(data37) > 80){const err96 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(func3(data37) < 1){const err97 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}else {const err98 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}if(data36.visible !== undefined){if(typeof data36.visible !== "boolean"){const err99 = {instancePath:instancePath+"/meta/legend/entries/messagebus/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}}else {const err100 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}if(data20.external !== undefined){let data39 = data20.external;if(data39 && typeof data39 == "object" && !Array.isArray(data39)){if(Object.keys(data39).length < 1){const err101 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}for(const key13 in data39){if(!((key13 === "label") || (key13 === "visible"))){const err102 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data39.label !== undefined){let data40 = data39.label;if(typeof data40 === "string"){if(func3(data40) > 80){const err103 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(func3(data40) < 1){const err104 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}else {const err105 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data39.visible !== undefined){if(typeof data39.visible !== "boolean"){const err106 = {instancePath:instancePath+"/meta/legend/entries/external/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}}else {const err108 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}}else {const err109 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data2.viewBox !== undefined){let data42 = data2.viewBox;if(Array.isArray(data42)){if(data42.length > 2){const err110 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}if(data42.length < 2){const err111 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}const len0 = data42.length;if(len0 > 0){let data43 = data42[0];if((typeof data43 == "number") && (isFinite(data43))){if(data43 < 700 || isNaN(data43)){const err112 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 700},message:"must be >= 700"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}else {const err113 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(len0 > 1){let data44 = data42[1];if((typeof data44 == "number") && (isFinite(data44))){if(data44 < 240 || isNaN(data44)){const err114 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}else {const err115 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}const len1 = data42.length;if(!(len1 <= 2)){const err116 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}else {const err117 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}}else {const err118 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}if(data.lanes !== undefined){let data45 = data.lanes;if(Array.isArray(data45)){if(data45.length < 1){const err119 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}const len2 = data45.length;for(let i0=0; i0<len2; i0++){let data46 = data45[i0];if(data46 && typeof data46 == "object" && !Array.isArray(data46)){if(data46.id === undefined){const err120 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}if(data46.label === undefined){const err121 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}for(const key14 in data46){if(!(((key14 === "id") || (key14 === "label")) || (key14 === "variant"))){const err122 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}if(data46.id !== undefined){let data47 = data46.id;if(typeof data47 === "string"){if(!pattern16.test(data47)){const err123 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}else {const err124 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}if(data46.label !== undefined){let data48 = data46.label;if(typeof data48 === "string"){if(func3(data48) < 1){const err125 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data46.variant !== undefined){let data49 = data46.variant;if(!((data49 === "normal") || (data49 === "exception"))){const err127 = {instancePath:instancePath+"/lanes/" + i0+"/variant",schemaPath:"#/properties/lanes/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema31.properties.lanes.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}}else {const err128 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}}else {const err129 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}if(data.phases !== undefined){let data50 = data.phases;if(Array.isArray(data50)){const len3 = data50.length;for(let i1=0; i1<len3; i1++){let data51 = data50[i1];if(data51 && typeof data51 == "object" && !Array.isArray(data51)){if(data51.id === undefined){const err130 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}if(data51.label === undefined){const err131 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}if(data51.fromCol === undefined){const err132 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "fromCol"},message:"must have required property '"+"fromCol"+"'"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}if(data51.toCol === undefined){const err133 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/required",keyword:"required",params:{missingProperty: "toCol"},message:"must have required property '"+"toCol"+"'"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}for(const key15 in data51){if(!(((((key15 === "id") || (key15 === "label")) || (key15 === "fromCol")) || (key15 === "toCol")) || (key15 === "variant"))){const err134 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}if(data51.id !== undefined){let data52 = data51.id;if(typeof data52 === "string"){if(!pattern16.test(data52)){const err135 = {instancePath:instancePath+"/phases/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}else {const err136 = {instancePath:instancePath+"/phases/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data51.label !== undefined){let data53 = data51.label;if(typeof data53 === "string"){if(func3(data53) < 1){const err137 = {instancePath:instancePath+"/phases/" + i1+"/label",schemaPath:"#/properties/phases/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}else {const err138 = {instancePath:instancePath+"/phases/" + i1+"/label",schemaPath:"#/properties/phases/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data51.fromCol !== undefined){let data54 = data51.fromCol;if(!(((typeof data54 == "number") && (!(data54 % 1) && !isNaN(data54))) && (isFinite(data54)))){const err139 = {instancePath:instancePath+"/phases/" + i1+"/fromCol",schemaPath:"#/properties/phases/items/properties/fromCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if((typeof data54 == "number") && (isFinite(data54))){if(data54 > 5 || isNaN(data54)){const err140 = {instancePath:instancePath+"/phases/" + i1+"/fromCol",schemaPath:"#/properties/phases/items/properties/fromCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if(data54 < 0 || isNaN(data54)){const err141 = {instancePath:instancePath+"/phases/" + i1+"/fromCol",schemaPath:"#/properties/phases/items/properties/fromCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}if(data51.toCol !== undefined){let data55 = data51.toCol;if(!(((typeof data55 == "number") && (!(data55 % 1) && !isNaN(data55))) && (isFinite(data55)))){const err142 = {instancePath:instancePath+"/phases/" + i1+"/toCol",schemaPath:"#/properties/phases/items/properties/toCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if((typeof data55 == "number") && (isFinite(data55))){if(data55 > 5 || isNaN(data55)){const err143 = {instancePath:instancePath+"/phases/" + i1+"/toCol",schemaPath:"#/properties/phases/items/properties/toCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}if(data55 < 0 || isNaN(data55)){const err144 = {instancePath:instancePath+"/phases/" + i1+"/toCol",schemaPath:"#/properties/phases/items/properties/toCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}}if(data51.variant !== undefined){let data56 = data51.variant;if(!((((data56 === "default") || (data56 === "emphasis")) || (data56 === "security")) || (data56 === "dashed"))){const err145 = {instancePath:instancePath+"/phases/" + i1+"/variant",schemaPath:"#/properties/phases/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema31.properties.phases.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}else {const err146 = {instancePath:instancePath+"/phases/" + i1,schemaPath:"#/properties/phases/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath:instancePath+"/phases",schemaPath:"#/properties/phases/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}if(data.groups !== undefined){let data57 = data.groups;if(Array.isArray(data57)){const len4 = data57.length;for(let i2=0; i2<len4; i2++){let data58 = data57[i2];if(data58 && typeof data58 == "object" && !Array.isArray(data58)){if(data58.id === undefined){const err148 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}if(data58.label === undefined){const err149 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}if(data58.lane === undefined){const err150 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "lane"},message:"must have required property '"+"lane"+"'"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(data58.fromCol === undefined){const err151 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "fromCol"},message:"must have required property '"+"fromCol"+"'"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}if(data58.toCol === undefined){const err152 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/required",keyword:"required",params:{missingProperty: "toCol"},message:"must have required property '"+"toCol"+"'"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}for(const key16 in data58){if(!((((((key16 === "id") || (key16 === "label")) || (key16 === "lane")) || (key16 === "fromCol")) || (key16 === "toCol")) || (key16 === "variant"))){const err153 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}if(data58.id !== undefined){let data59 = data58.id;if(typeof data59 === "string"){if(!pattern16.test(data59)){const err154 = {instancePath:instancePath+"/groups/" + i2+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}else {const err155 = {instancePath:instancePath+"/groups/" + i2+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}if(data58.label !== undefined){let data60 = data58.label;if(typeof data60 === "string"){if(func3(data60) < 1){const err156 = {instancePath:instancePath+"/groups/" + i2+"/label",schemaPath:"#/properties/groups/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}else {const err157 = {instancePath:instancePath+"/groups/" + i2+"/label",schemaPath:"#/properties/groups/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}if(data58.lane !== undefined){let data61 = data58.lane;if(typeof data61 === "string"){if(!pattern16.test(data61)){const err158 = {instancePath:instancePath+"/groups/" + i2+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}else {const err159 = {instancePath:instancePath+"/groups/" + i2+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}if(data58.fromCol !== undefined){let data62 = data58.fromCol;if(!(((typeof data62 == "number") && (!(data62 % 1) && !isNaN(data62))) && (isFinite(data62)))){const err160 = {instancePath:instancePath+"/groups/" + i2+"/fromCol",schemaPath:"#/properties/groups/items/properties/fromCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}if((typeof data62 == "number") && (isFinite(data62))){if(data62 > 5 || isNaN(data62)){const err161 = {instancePath:instancePath+"/groups/" + i2+"/fromCol",schemaPath:"#/properties/groups/items/properties/fromCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}if(data62 < 0 || isNaN(data62)){const err162 = {instancePath:instancePath+"/groups/" + i2+"/fromCol",schemaPath:"#/properties/groups/items/properties/fromCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}}if(data58.toCol !== undefined){let data63 = data58.toCol;if(!(((typeof data63 == "number") && (!(data63 % 1) && !isNaN(data63))) && (isFinite(data63)))){const err163 = {instancePath:instancePath+"/groups/" + i2+"/toCol",schemaPath:"#/properties/groups/items/properties/toCol/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if((typeof data63 == "number") && (isFinite(data63))){if(data63 > 5 || isNaN(data63)){const err164 = {instancePath:instancePath+"/groups/" + i2+"/toCol",schemaPath:"#/properties/groups/items/properties/toCol/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if(data63 < 0 || isNaN(data63)){const err165 = {instancePath:instancePath+"/groups/" + i2+"/toCol",schemaPath:"#/properties/groups/items/properties/toCol/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}}if(data58.variant !== undefined){let data64 = data58.variant;if(!((((data64 === "default") || (data64 === "emphasis")) || (data64 === "security")) || (data64 === "dashed"))){const err166 = {instancePath:instancePath+"/groups/" + i2+"/variant",schemaPath:"#/properties/groups/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema31.properties.groups.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}}else {const err167 = {instancePath:instancePath+"/groups/" + i2,schemaPath:"#/properties/groups/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/groups",schemaPath:"#/properties/groups/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}if(data.mainPath !== undefined){let data65 = data.mainPath;if(Array.isArray(data65)){if(data65.length < 2){const err169 = {instancePath:instancePath+"/mainPath",schemaPath:"#/properties/mainPath/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}const len5 = data65.length;for(let i3=0; i3<len5; i3++){let data66 = data65[i3];if(typeof data66 === "string"){if(!pattern16.test(data66)){const err170 = {instancePath:instancePath+"/mainPath/" + i3,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}else {const err171 = {instancePath:instancePath+"/mainPath/" + i3,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}else {const err172 = {instancePath:instancePath+"/mainPath",schemaPath:"#/properties/mainPath/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data.semanticChecks !== undefined){let data67 = data.semanticChecks;if(data67 && typeof data67 == "object" && !Array.isArray(data67)){if(Object.keys(data67).length < 1){const err173 = {instancePath:instancePath+"/semanticChecks",schemaPath:"#/properties/semanticChecks/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}for(const key17 in data67){if(!((((key17 === "allowedRoots") || (key17 === "allowedTerminals")) || (key17 === "requiredEdges")) || (key17 === "requiredPaths"))){const err174 = {instancePath:instancePath+"/semanticChecks",schemaPath:"#/properties/semanticChecks/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}if(data67.allowedRoots !== undefined){let data68 = data67.allowedRoots;if(Array.isArray(data68)){const len6 = data68.length;for(let i4=0; i4<len6; i4++){let data69 = data68[i4];if(typeof data69 === "string"){if(!pattern16.test(data69)){const err175 = {instancePath:instancePath+"/semanticChecks/allowedRoots/" + i4,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/semanticChecks/allowedRoots/" + i4,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}}else {const err177 = {instancePath:instancePath+"/semanticChecks/allowedRoots",schemaPath:"#/properties/semanticChecks/properties/allowedRoots/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}if(data67.allowedTerminals !== undefined){let data70 = data67.allowedTerminals;if(Array.isArray(data70)){const len7 = data70.length;for(let i5=0; i5<len7; i5++){let data71 = data70[i5];if(typeof data71 === "string"){if(!pattern16.test(data71)){const err178 = {instancePath:instancePath+"/semanticChecks/allowedTerminals/" + i5,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}else {const err179 = {instancePath:instancePath+"/semanticChecks/allowedTerminals/" + i5,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}}else {const err180 = {instancePath:instancePath+"/semanticChecks/allowedTerminals",schemaPath:"#/properties/semanticChecks/properties/allowedTerminals/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data67.requiredEdges !== undefined){let data72 = data67.requiredEdges;if(Array.isArray(data72)){const len8 = data72.length;for(let i6=0; i6<len8; i6++){if(!(validate24(data72[i6], {instancePath:instancePath+"/semanticChecks/requiredEdges/" + i6,parentData:data72,parentDataProperty:i6,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}}}else {const err181 = {instancePath:instancePath+"/semanticChecks/requiredEdges",schemaPath:"#/properties/semanticChecks/properties/requiredEdges/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}if(data67.requiredPaths !== undefined){let data74 = data67.requiredPaths;if(Array.isArray(data74)){const len9 = data74.length;for(let i7=0; i7<len9; i7++){if(!(validate24(data74[i7], {instancePath:instancePath+"/semanticChecks/requiredPaths/" + i7,parentData:data74,parentDataProperty:i7,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);errors = vErrors.length;}}}else {const err182 = {instancePath:instancePath+"/semanticChecks/requiredPaths",schemaPath:"#/properties/semanticChecks/properties/requiredPaths/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}}else {const err183 = {instancePath:instancePath+"/semanticChecks",schemaPath:"#/properties/semanticChecks/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}if(data.nodes !== undefined){let data76 = data.nodes;if(Array.isArray(data76)){if(data76.length < 1){const err184 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}const len10 = data76.length;for(let i8=0; i8<len10; i8++){let data77 = data76[i8];if(data77 && typeof data77 == "object" && !Array.isArray(data77)){if(data77.id === undefined){const err185 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}if(data77.lane === undefined){const err186 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "lane"},message:"must have required property '"+"lane"+"'"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}if(data77.col === undefined){const err187 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "col"},message:"must have required property '"+"col"+"'"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}if(data77.type === undefined){const err188 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}if(data77.label === undefined){const err189 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}for(const key18 in data77){if(!(func1.call(schema31.properties.nodes.items.properties, key18))){const err190 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data77.id !== undefined){let data78 = data77.id;if(typeof data78 === "string"){if(!pattern16.test(data78)){const err191 = {instancePath:instancePath+"/nodes/" + i8+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}else {const err192 = {instancePath:instancePath+"/nodes/" + i8+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(data77.lane !== undefined){let data79 = data77.lane;if(typeof data79 === "string"){if(!pattern16.test(data79)){const err193 = {instancePath:instancePath+"/nodes/" + i8+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}else {const err194 = {instancePath:instancePath+"/nodes/" + i8+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(data77.col !== undefined){let data80 = data77.col;if(!(((typeof data80 == "number") && (!(data80 % 1) && !isNaN(data80))) && (isFinite(data80)))){const err195 = {instancePath:instancePath+"/nodes/" + i8+"/col",schemaPath:"#/properties/nodes/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}if((typeof data80 == "number") && (isFinite(data80))){if(data80 > 5 || isNaN(data80)){const err196 = {instancePath:instancePath+"/nodes/" + i8+"/col",schemaPath:"#/properties/nodes/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 5},message:"must be <= 5"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}if(data80 < 0 || isNaN(data80)){const err197 = {instancePath:instancePath+"/nodes/" + i8+"/col",schemaPath:"#/properties/nodes/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}}if(data77.type !== undefined){let data81 = data77.type;if(!(((((((data81 === "frontend") || (data81 === "backend")) || (data81 === "database")) || (data81 === "cloud")) || (data81 === "security")) || (data81 === "messagebus")) || (data81 === "external"))){const err198 = {instancePath:instancePath+"/nodes/" + i8+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data77.label !== undefined){let data82 = data77.label;if(typeof data82 === "string"){if(func3(data82) < 1){const err199 = {instancePath:instancePath+"/nodes/" + i8+"/label",schemaPath:"#/properties/nodes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}else {const err200 = {instancePath:instancePath+"/nodes/" + i8+"/label",schemaPath:"#/properties/nodes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data77.sublabel !== undefined){if(typeof data77.sublabel !== "string"){const err201 = {instancePath:instancePath+"/nodes/" + i8+"/sublabel",schemaPath:"#/properties/nodes/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}if(data77.tag !== undefined){if(typeof data77.tag !== "string"){const err202 = {instancePath:instancePath+"/nodes/" + i8+"/tag",schemaPath:"#/properties/nodes/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}if(data77.icon !== undefined){let data85 = data77.icon;if(!((((((((((((((((((((data85 === "calendar") || (data85 === "clock")) || (data85 === "person")) || (data85 === "briefcase")) || (data85 === "flag")) || (data85 === "moon")) || (data85 === "frontend")) || (data85 === "backend")) || (data85 === "database")) || (data85 === "cloud")) || (data85 === "security")) || (data85 === "messagebus")) || (data85 === "external")) || (data85 === "start")) || (data85 === "active")) || (data85 === "waiting")) || (data85 === "success")) || (data85 === "failure")) || (data85 === "neutral")) || (data85 === "none"))){const err203 = {instancePath:instancePath+"/nodes/" + i8+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}if(data77.brand !== undefined){let data86 = data77.brand;const _errs223 = errors;let valid70 = false;let passing0 = null;const _errs224 = errors;const _errs226 = errors;let valid71 = false;const _errs227 = errors;if(typeof data86 === "string"){if(func3(data86) > 80){const err204 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}if(!pattern29.test(data86)){const err205 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}var _valid1 = _errs227 === errors;valid71 = valid71 || _valid1;const _errs228 = errors;if(typeof data86 === "string"){if(!pattern30.test(data86)){const err206 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}var _valid1 = _errs228 === errors;valid71 = valid71 || _valid1;if(!valid71){const err207 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}else {errors = _errs226;if(vErrors !== null){if(_errs226){vErrors.length = _errs226;}else {vErrors = null;}}}if(typeof data86 === "string"){if(func3(data86) > 2048){const err208 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}if(func3(data86) < 1){const err209 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}else {const err210 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}var _valid0 = _errs224 === errors;if(_valid0){valid70 = true;passing0 = 0;}const _errs229 = errors;if(data86 && typeof data86 == "object" && !Array.isArray(data86)){if(data86.url === undefined){const err211 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}if(data86.sha256 === undefined){const err212 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}for(const key19 in data86){if(!((key19 === "url") || (key19 === "sha256"))){const err213 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}if(data86.url !== undefined){let data87 = data86.url;if(typeof data87 === "string"){if(func3(data87) > 2048){const err214 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}if(func3(data87) < 8){const err215 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}if(!pattern30.test(data87)){const err216 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}else {const err217 = {instancePath:instancePath+"/nodes/" + i8+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}if(data86.sha256 !== undefined){let data88 = data86.sha256;if(typeof data88 === "string"){if(!pattern32.test(data88)){const err218 = {instancePath:instancePath+"/nodes/" + i8+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}else {const err219 = {instancePath:instancePath+"/nodes/" + i8+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}}else {const err220 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}var _valid0 = _errs229 === errors;if(_valid0 && valid70){valid70 = false;passing0 = [passing0, 1];}else {if(_valid0){valid70 = true;passing0 = 1;}}if(!valid70){const err221 = {instancePath:instancePath+"/nodes/" + i8+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}else {errors = _errs223;if(vErrors !== null){if(_errs223){vErrors.length = _errs223;}else {vErrors = null;}}}}if(data77.sources !== undefined){let data89 = data77.sources;if(Array.isArray(data89)){if(data89.length > 3){const err222 = {instancePath:instancePath+"/nodes/" + i8+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}if(data89.length < 1){const err223 = {instancePath:instancePath+"/nodes/" + i8+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}const len11 = data89.length;for(let i9=0; i9<len11; i9++){let data90 = data89[i9];if(data90 && typeof data90 == "object" && !Array.isArray(data90)){if(data90.path === undefined){const err224 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}for(const key20 in data90){if(!((((key20 === "path") || (key20 === "line")) || (key20 === "end_line")) || (key20 === "label"))){const err225 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data90.path !== undefined){let data91 = data90.path;if(typeof data91 === "string"){if(func3(data91) > 240){const err226 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}if(func3(data91) < 1){const err227 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}else {const err228 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}}if(data90.line !== undefined){let data92 = data90.line;if(!(((typeof data92 == "number") && (!(data92 % 1) && !isNaN(data92))) && (isFinite(data92)))){const err229 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}if((typeof data92 == "number") && (isFinite(data92))){if(data92 < 1 || isNaN(data92)){const err230 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}}if(data90.end_line !== undefined){let data93 = data90.end_line;if(!(((typeof data93 == "number") && (!(data93 % 1) && !isNaN(data93))) && (isFinite(data93)))){const err231 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}if((typeof data93 == "number") && (isFinite(data93))){if(data93 < 1 || isNaN(data93)){const err232 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}}if(data90.label !== undefined){let data94 = data90.label;if(typeof data94 === "string"){if(func3(data94) > 48){const err233 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}if(func3(data94) < 1){const err234 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}else {const err235 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}}}else {const err236 = {instancePath:instancePath+"/nodes/" + i8+"/sources/" + i9,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}}}else {const err237 = {instancePath:instancePath+"/nodes/" + i8+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}if(data77.width !== undefined){let data95 = data77.width;if((typeof data95 == "number") && (isFinite(data95))){if(data95 < 32 || isNaN(data95)){const err238 = {instancePath:instancePath+"/nodes/" + i8+"/width",schemaPath:"#/properties/nodes/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 32},message:"must be >= 32"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}else {const err239 = {instancePath:instancePath+"/nodes/" + i8+"/width",schemaPath:"#/properties/nodes/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}}if(data77.height !== undefined){let data96 = data77.height;if((typeof data96 == "number") && (isFinite(data96))){if(data96 < 32 || isNaN(data96)){const err240 = {instancePath:instancePath+"/nodes/" + i8+"/height",schemaPath:"#/properties/nodes/items/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 32},message:"must be >= 32"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}else {const err241 = {instancePath:instancePath+"/nodes/" + i8+"/height",schemaPath:"#/properties/nodes/items/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}}if(data77.yOffset !== undefined){let data97 = data77.yOffset;if(!((typeof data97 == "number") && (isFinite(data97)))){const err242 = {instancePath:instancePath+"/nodes/" + i8+"/yOffset",schemaPath:"#/properties/nodes/items/properties/yOffset/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}}}else {const err243 = {instancePath:instancePath+"/nodes/" + i8,schemaPath:"#/properties/nodes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}}}else {const err244 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}if(data.edges !== undefined){let data98 = data.edges;if(Array.isArray(data98)){const len12 = data98.length;for(let i10=0; i10<len12; i10++){let data99 = data98[i10];if(data99 && typeof data99 == "object" && !Array.isArray(data99)){if(data99.from === undefined){const err245 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}if(data99.to === undefined){const err246 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}for(const key21 in data99){if(!(func1.call(schema31.properties.edges.items.properties, key21))){const err247 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key21},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}if(data99.id !== undefined){let data100 = data99.id;if(typeof data100 === "string"){if(!pattern16.test(data100)){const err248 = {instancePath:instancePath+"/edges/" + i10+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}else {const err249 = {instancePath:instancePath+"/edges/" + i10+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}if(data99.from !== undefined){let data101 = data99.from;if(typeof data101 === "string"){if(!pattern16.test(data101)){const err250 = {instancePath:instancePath+"/edges/" + i10+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}}else {const err251 = {instancePath:instancePath+"/edges/" + i10+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}if(data99.to !== undefined){let data102 = data99.to;if(typeof data102 === "string"){if(!pattern16.test(data102)){const err252 = {instancePath:instancePath+"/edges/" + i10+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}else {const err253 = {instancePath:instancePath+"/edges/" + i10+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}if(data99.label !== undefined){if(typeof data99.label !== "string"){const err254 = {instancePath:instancePath+"/edges/" + i10+"/label",schemaPath:"#/properties/edges/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}if(data99.variant !== undefined){let data104 = data99.variant;if(!((((data104 === "default") || (data104 === "emphasis")) || (data104 === "security")) || (data104 === "dashed"))){const err255 = {instancePath:instancePath+"/edges/" + i10+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}if(data99.role !== undefined){let data105 = data99.role;if(!(((((data105 === "main") || (data105 === "branch")) || (data105 === "async")) || (data105 === "return")) || (data105 === "error"))){const err256 = {instancePath:instancePath+"/edges/" + i10+"/role",schemaPath:"#/properties/edges/items/properties/role/enum",keyword:"enum",params:{allowedValues: schema31.properties.edges.items.properties.role.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}}if(data99.fromSide !== undefined){let data106 = data99.fromSide;if(!((((data106 === "left") || (data106 === "right")) || (data106 === "top")) || (data106 === "bottom"))){const err257 = {instancePath:instancePath+"/edges/" + i10+"/fromSide",schemaPath:"#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema68.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err257];}else {vErrors.push(err257);}errors++;}}if(data99.toSide !== undefined){let data107 = data99.toSide;if(!((((data107 === "left") || (data107 === "right")) || (data107 === "top")) || (data107 === "bottom"))){const err258 = {instancePath:instancePath+"/edges/" + i10+"/toSide",schemaPath:"#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema68.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}}if(data99.route !== undefined){let data108 = data99.route;if(!(((((((data108 === "auto") || (data108 === "straight")) || (data108 === "drop")) || (data108 === "outside-right")) || (data108 === "return-left")) || (data108 === "bottom-channel")) || (data108 === "up-channel"))){const err259 = {instancePath:instancePath+"/edges/" + i10+"/route",schemaPath:"#/properties/edges/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema31.properties.edges.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data99.via !== undefined){let data109 = data99.via;if(Array.isArray(data109)){const len13 = data109.length;for(let i11=0; i11<len13; i11++){let data110 = data109[i11];if(Array.isArray(data110)){if(data110.length > 2){const err260 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}if(data110.length < 2){const err261 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}const len14 = data110.length;if(len14 > 0){let data111 = data110[0];if(!((typeof data111 == "number") && (isFinite(data111)))){const err262 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}}if(len14 > 1){let data112 = data110[1];if(!((typeof data112 == "number") && (isFinite(data112)))){const err263 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}const len15 = data110.length;if(!(len15 <= 2)){const err264 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err264];}else {vErrors.push(err264);}errors++;}}else {const err265 = {instancePath:instancePath+"/edges/" + i10+"/via/" + i11,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}}else {const err266 = {instancePath:instancePath+"/edges/" + i10+"/via",schemaPath:"#/properties/edges/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}if(data99.labelAt !== undefined){let data113 = data99.labelAt;if(Array.isArray(data113)){if(data113.length > 2){const err267 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err267];}else {vErrors.push(err267);}errors++;}if(data113.length < 2){const err268 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err268];}else {vErrors.push(err268);}errors++;}const len16 = data113.length;if(len16 > 0){let data114 = data113[0];if(!((typeof data114 == "number") && (isFinite(data114)))){const err269 = {instancePath:instancePath+"/edges/" + i10+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err269];}else {vErrors.push(err269);}errors++;}}if(len16 > 1){let data115 = data113[1];if(!((typeof data115 == "number") && (isFinite(data115)))){const err270 = {instancePath:instancePath+"/edges/" + i10+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err270];}else {vErrors.push(err270);}errors++;}}const len17 = data113.length;if(!(len17 <= 2)){const err271 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err271];}else {vErrors.push(err271);}errors++;}}else {const err272 = {instancePath:instancePath+"/edges/" + i10+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err272];}else {vErrors.push(err272);}errors++;}}if(data99.labelDx !== undefined){let data116 = data99.labelDx;if(!((typeof data116 == "number") && (isFinite(data116)))){const err273 = {instancePath:instancePath+"/edges/" + i10+"/labelDx",schemaPath:"#/properties/edges/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err273];}else {vErrors.push(err273);}errors++;}}if(data99.labelDy !== undefined){let data117 = data99.labelDy;if(!((typeof data117 == "number") && (isFinite(data117)))){const err274 = {instancePath:instancePath+"/edges/" + i10+"/labelDy",schemaPath:"#/properties/edges/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err274];}else {vErrors.push(err274);}errors++;}}if(data99.labelSegment !== undefined){let data118 = data99.labelSegment;if(!(((typeof data118 == "number") && (!(data118 % 1) && !isNaN(data118))) && (isFinite(data118)))){const err275 = {instancePath:instancePath+"/edges/" + i10+"/labelSegment",schemaPath:"#/properties/edges/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err275];}else {vErrors.push(err275);}errors++;}if((typeof data118 == "number") && (isFinite(data118))){if(data118 < 0 || isNaN(data118)){const err276 = {instancePath:instancePath+"/edges/" + i10+"/labelSegment",schemaPath:"#/properties/edges/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err276];}else {vErrors.push(err276);}errors++;}}}if(data99.channelX !== undefined){let data119 = data99.channelX;if(!((typeof data119 == "number") && (isFinite(data119)))){const err277 = {instancePath:instancePath+"/edges/" + i10+"/channelX",schemaPath:"#/properties/edges/items/properties/channelX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err277];}else {vErrors.push(err277);}errors++;}}if(data99.channelY !== undefined){let data120 = data99.channelY;if(!((typeof data120 == "number") && (isFinite(data120)))){const err278 = {instancePath:instancePath+"/edges/" + i10+"/channelY",schemaPath:"#/properties/edges/items/properties/channelY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err278];}else {vErrors.push(err278);}errors++;}}if(data99.bias !== undefined){let data121 = data99.bias;if((typeof data121 == "number") && (isFinite(data121))){if(data121 > 1 || isNaN(data121)){const err279 = {instancePath:instancePath+"/edges/" + i10+"/bias",schemaPath:"#/properties/edges/items/properties/bias/maximum",keyword:"maximum",params:{comparison: "<=", limit: 1},message:"must be <= 1"};if(vErrors === null){vErrors = [err279];}else {vErrors.push(err279);}errors++;}if(data121 < 0 || isNaN(data121)){const err280 = {instancePath:instancePath+"/edges/" + i10+"/bias",schemaPath:"#/properties/edges/items/properties/bias/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err280];}else {vErrors.push(err280);}errors++;}}else {const err281 = {instancePath:instancePath+"/edges/" + i10+"/bias",schemaPath:"#/properties/edges/items/properties/bias/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err281];}else {vErrors.push(err281);}errors++;}}if(data99.width !== undefined){let data122 = data99.width;if((typeof data122 == "number") && (isFinite(data122))){if(data122 < 0.5 || isNaN(data122)){const err282 = {instancePath:instancePath+"/edges/" + i10+"/width",schemaPath:"#/properties/edges/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err282];}else {vErrors.push(err282);}errors++;}}else {const err283 = {instancePath:instancePath+"/edges/" + i10+"/width",schemaPath:"#/properties/edges/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err283];}else {vErrors.push(err283);}errors++;}}}else {const err284 = {instancePath:instancePath+"/edges/" + i10,schemaPath:"#/properties/edges/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err284];}else {vErrors.push(err284);}errors++;}}}else {const err285 = {instancePath:instancePath+"/edges",schemaPath:"#/properties/edges/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err285];}else {vErrors.push(err285);}errors++;}}if(data.cards !== undefined){let data123 = data.cards;if(Array.isArray(data123)){const len18 = data123.length;for(let i12=0; i12<len18; i12++){let data124 = data123[i12];if(data124 && typeof data124 == "object" && !Array.isArray(data124)){if(data124.dot === undefined){const err286 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err286];}else {vErrors.push(err286);}errors++;}if(data124.title === undefined){const err287 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err287];}else {vErrors.push(err287);}errors++;}if(data124.items === undefined){const err288 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err288];}else {vErrors.push(err288);}errors++;}for(const key22 in data124){if(!(((key22 === "dot") || (key22 === "title")) || (key22 === "items"))){const err289 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key22},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err289];}else {vErrors.push(err289);}errors++;}}if(data124.dot !== undefined){let data125 = data124.dot;if(!(((((((data125 === "cyan") || (data125 === "emerald")) || (data125 === "violet")) || (data125 === "amber")) || (data125 === "rose")) || (data125 === "orange")) || (data125 === "slate"))){const err290 = {instancePath:instancePath+"/cards/" + i12+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err290];}else {vErrors.push(err290);}errors++;}}if(data124.title !== undefined){let data126 = data124.title;if(typeof data126 === "string"){if(func3(data126) < 1){const err291 = {instancePath:instancePath+"/cards/" + i12+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err291];}else {vErrors.push(err291);}errors++;}}else {const err292 = {instancePath:instancePath+"/cards/" + i12+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err292];}else {vErrors.push(err292);}errors++;}}if(data124.items !== undefined){let data127 = data124.items;if(Array.isArray(data127)){const len19 = data127.length;for(let i13=0; i13<len19; i13++){if(typeof data127[i13] !== "string"){const err293 = {instancePath:instancePath+"/cards/" + i12+"/items/" + i13,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err293];}else {vErrors.push(err293);}errors++;}}}else {const err294 = {instancePath:instancePath+"/cards/" + i12+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err294];}else {vErrors.push(err294);}errors++;}}}else {const err295 = {instancePath:instancePath+"/cards/" + i12,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err295];}else {vErrors.push(err295);}errors++;}}}else {const err296 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err296];}else {vErrors.push(err296);}errors++;}}}else {const err297 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err297];}else {vErrors.push(err297);}errors++;}validate20.errors = vErrors;return errors === 0;}validate20.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const sequenceSchema = validate27;const schema73 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/sequence.schema.json","title":"Archify Sequence Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","participants","messages"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"sequence"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"column_fit":{"description":"Horizontal participant layout. Omit this field or use fixed for the stable 86px boxes and 108px gap. Use spread when a wide viewBox would leave unused horizontal space or meaningful participant labels do not fit the fixed boxes; spread derives wider boxes and gaps from the viewBox without changing participant order or message semantics.","enum":["fixed","spread"]},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"default":{"$ref":"common.schema.json#/$defs/legendEntry"},"emphasis":{"$ref":"common.schema.json#/$defs/legendEntry"},"security":{"$ref":"common.schema.json#/$defs/legendEntry"},"dashed":{"$ref":"common.schema.json#/$defs/legendEntry"},"return":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":480},{"type":"number","minimum":480}],"items":false,"minItems":2,"maxItems":2}}},"participants":{"type":"array","minItems":2,"items":{"type":"object","additionalProperties":false,"required":["id","type","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"$ref":"common.schema.json#/$defs/componentType"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"segments":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","label"],"properties":{"from":{"type":"number"},"to":{"type":"number"},"label":{"type":"string","minLength":1}}}},"messages":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["from","to","y","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"y":{"type":"number","minimum":160},"label":{"type":"string","minLength":1},"variant":{"enum":["default","emphasis","security","dashed","return"]},"note":{"type":"string"}}}},"activations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["participant","from","to"],"properties":{"participant":{"$ref":"common.schema.json#/$defs/id"},"from":{"type":"number"},"to":{"type":"number"},"type":{"$ref":"common.schema.json#/$defs/componentType"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const schema77 = {"enum":["trace","none"]};const schema78 = {"enum":["classic","signal-flow","blueprint","editorial"]};const schema79 = {"enum":["standard","showcase"]};function validate28(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate28.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate28.errors = vErrors;return errors === 0;}validate28.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate27(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/sequence.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate27.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.participants === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "participants"},message:"must have required property '"+"participants"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.messages === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "messages"},message:"must have required property '"+"messages"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}for(const key0 in data){if(!((((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "participants")) || (key0 === "segments")) || (key0 === "messages")) || (key0 === "activations")) || (key0 === "cards"))){const err5 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err6 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.diagram_type !== undefined){if("sequence" !== data.diagram_type){const err7 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "sequence"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if(data2.output === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}for(const key1 in data2){if(!(func1.call(schema73.properties.meta.properties, key1))){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}if(!pattern4.test(data4)){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err16 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err19 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(func3(data6) < 1){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}else {const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}}else {const err22 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err23 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err24 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err25 = {};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err26 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err27 = {};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err28 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err29 = {};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err30 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err31 = {};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err32 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err33 = {};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err34 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err35 = {};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err36 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err37 = {};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err38 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(!pattern14.test(data8)){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}else {const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err42 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err43 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err44 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.column_fit !== undefined){let data12 = data2.column_fit;if(!((data12 === "fixed") || (data12 === "spread"))){const err45 = {instancePath:instancePath+"/meta/column_fit",schemaPath:"#/properties/meta/properties/column_fit/enum",keyword:"enum",params:{allowedValues: schema73.properties.meta.properties.column_fit.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data13 = data2.repository;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data13.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data13){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data13.url !== undefined){let data14 = data13.url;if(typeof data14 === "string"){if(func3(data14) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data13.provider !== undefined){let data15 = data13.provider;if(!((data15 === "github") || (data15 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data13.link_mode !== undefined){let data16 = data13.link_mode;if(!((data16 === "web") || (data16 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data13.revision !== undefined){let data17 = data13.revision;if(typeof data17 === "string"){if(!pattern15.test(data17)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate28(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate28.errors : vErrors.concat(validate28.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data19 = data2.legend;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){for(const key5 in data19){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data19.mode !== undefined){let data20 = data19.mode;if(!(((data20 === "auto") || (data20 === "all")) || (data20 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data19.entries !== undefined){let data21 = data19.entries;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){for(const key6 in data21){if(!(((((key6 === "default") || (key6 === "emphasis")) || (key6 === "security")) || (key6 === "dashed")) || (key6 === "return"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data21.default !== undefined){let data22 = data21.default;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data22){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data23) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/default/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data21.emphasis !== undefined){let data25 = data21.emphasis;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data25){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data26) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/emphasis/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data21.security !== undefined){let data28 = data21.security;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data28){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data29) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data21.dashed !== undefined){let data31 = data21.dashed;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data31){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data32) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/dashed/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data21.return !== undefined){let data34 = data21.return;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/return",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data34){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/return",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/return/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data35) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/return/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/return/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/return/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/return",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}}else {const err94 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}}else {const err95 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data2.viewBox !== undefined){let data37 = data2.viewBox;if(Array.isArray(data37)){if(data37.length > 2){const err96 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(data37.length < 2){const err97 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}const len0 = data37.length;if(len0 > 0){let data38 = data37[0];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 480 || isNaN(data38)){const err98 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 480},message:"must be >= 480"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(len0 > 1){let data39 = data37[1];if((typeof data39 == "number") && (isFinite(data39))){if(data39 < 480 || isNaN(data39)){const err100 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 480},message:"must be >= 480"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}const len1 = data37.length;if(!(len1 <= 2)){const err102 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}else {const err103 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data.participants !== undefined){let data40 = data.participants;if(Array.isArray(data40)){if(data40.length < 2){const err105 = {instancePath:instancePath+"/participants",schemaPath:"#/properties/participants/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}const len2 = data40.length;for(let i0=0; i0<len2; i0++){let data41 = data40[i0];if(data41 && typeof data41 == "object" && !Array.isArray(data41)){if(data41.id === undefined){const err106 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data41.type === undefined){const err107 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}if(data41.label === undefined){const err108 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}for(const key12 in data41){if(!(((((((key12 === "id") || (key12 === "type")) || (key12 === "label")) || (key12 === "sublabel")) || (key12 === "icon")) || (key12 === "brand")) || (key12 === "sources"))){const err109 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data41.id !== undefined){let data42 = data41.id;if(typeof data42 === "string"){if(!pattern16.test(data42)){const err110 = {instancePath:instancePath+"/participants/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}else {const err111 = {instancePath:instancePath+"/participants/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data41.type !== undefined){let data43 = data41.type;if(!(((((((data43 === "frontend") || (data43 === "backend")) || (data43 === "database")) || (data43 === "cloud")) || (data43 === "security")) || (data43 === "messagebus")) || (data43 === "external"))){const err112 = {instancePath:instancePath+"/participants/" + i0+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data41.label !== undefined){let data44 = data41.label;if(typeof data44 === "string"){if(func3(data44) < 1){const err113 = {instancePath:instancePath+"/participants/" + i0+"/label",schemaPath:"#/properties/participants/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}else {const err114 = {instancePath:instancePath+"/participants/" + i0+"/label",schemaPath:"#/properties/participants/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}if(data41.sublabel !== undefined){if(typeof data41.sublabel !== "string"){const err115 = {instancePath:instancePath+"/participants/" + i0+"/sublabel",schemaPath:"#/properties/participants/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}if(data41.icon !== undefined){let data46 = data41.icon;if(!((((((((((((((((((((data46 === "calendar") || (data46 === "clock")) || (data46 === "person")) || (data46 === "briefcase")) || (data46 === "flag")) || (data46 === "moon")) || (data46 === "frontend")) || (data46 === "backend")) || (data46 === "database")) || (data46 === "cloud")) || (data46 === "security")) || (data46 === "messagebus")) || (data46 === "external")) || (data46 === "start")) || (data46 === "active")) || (data46 === "waiting")) || (data46 === "success")) || (data46 === "failure")) || (data46 === "neutral")) || (data46 === "none"))){const err116 = {instancePath:instancePath+"/participants/" + i0+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data41.brand !== undefined){let data47 = data41.brand;const _errs136 = errors;let valid41 = false;let passing0 = null;const _errs137 = errors;const _errs139 = errors;let valid42 = false;const _errs140 = errors;if(typeof data47 === "string"){if(func3(data47) > 80){const err117 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(!pattern29.test(data47)){const err118 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}var _valid1 = _errs140 === errors;valid42 = valid42 || _valid1;const _errs141 = errors;if(typeof data47 === "string"){if(!pattern30.test(data47)){const err119 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}var _valid1 = _errs141 === errors;valid42 = valid42 || _valid1;if(!valid42){const err120 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}else {errors = _errs139;if(vErrors !== null){if(_errs139){vErrors.length = _errs139;}else {vErrors = null;}}}if(typeof data47 === "string"){if(func3(data47) > 2048){const err121 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(func3(data47) < 1){const err122 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}else {const err123 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}var _valid0 = _errs137 === errors;if(_valid0){valid41 = true;passing0 = 0;}const _errs142 = errors;if(data47 && typeof data47 == "object" && !Array.isArray(data47)){if(data47.url === undefined){const err124 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}if(data47.sha256 === undefined){const err125 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}for(const key13 in data47){if(!((key13 === "url") || (key13 === "sha256"))){const err126 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data47.url !== undefined){let data48 = data47.url;if(typeof data48 === "string"){if(func3(data48) > 2048){const err127 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}if(func3(data48) < 8){const err128 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(!pattern30.test(data48)){const err129 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}else {const err130 = {instancePath:instancePath+"/participants/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data47.sha256 !== undefined){let data49 = data47.sha256;if(typeof data49 === "string"){if(!pattern32.test(data49)){const err131 = {instancePath:instancePath+"/participants/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}else {const err132 = {instancePath:instancePath+"/participants/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}}else {const err133 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}var _valid0 = _errs142 === errors;if(_valid0 && valid41){valid41 = false;passing0 = [passing0, 1];}else {if(_valid0){valid41 = true;passing0 = 1;}}if(!valid41){const err134 = {instancePath:instancePath+"/participants/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}else {errors = _errs136;if(vErrors !== null){if(_errs136){vErrors.length = _errs136;}else {vErrors = null;}}}}if(data41.sources !== undefined){let data50 = data41.sources;if(Array.isArray(data50)){if(data50.length > 3){const err135 = {instancePath:instancePath+"/participants/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(data50.length < 1){const err136 = {instancePath:instancePath+"/participants/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}const len3 = data50.length;for(let i1=0; i1<len3; i1++){let data51 = data50[i1];if(data51 && typeof data51 == "object" && !Array.isArray(data51)){if(data51.path === undefined){const err137 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}for(const key14 in data51){if(!((((key14 === "path") || (key14 === "line")) || (key14 === "end_line")) || (key14 === "label"))){const err138 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data51.path !== undefined){let data52 = data51.path;if(typeof data52 === "string"){if(func3(data52) > 240){const err139 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if(func3(data52) < 1){const err140 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data51.line !== undefined){let data53 = data51.line;if(!(((typeof data53 == "number") && (!(data53 % 1) && !isNaN(data53))) && (isFinite(data53)))){const err142 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if((typeof data53 == "number") && (isFinite(data53))){if(data53 < 1 || isNaN(data53)){const err143 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}}if(data51.end_line !== undefined){let data54 = data51.end_line;if(!(((typeof data54 == "number") && (!(data54 % 1) && !isNaN(data54))) && (isFinite(data54)))){const err144 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}if((typeof data54 == "number") && (isFinite(data54))){if(data54 < 1 || isNaN(data54)){const err145 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}if(data51.label !== undefined){let data55 = data51.label;if(typeof data55 === "string"){if(func3(data55) > 48){const err146 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}if(func3(data55) < 1){const err147 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}}else {const err149 = {instancePath:instancePath+"/participants/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}}else {const err150 = {instancePath:instancePath+"/participants/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}}else {const err151 = {instancePath:instancePath+"/participants/" + i0,schemaPath:"#/properties/participants/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}}else {const err152 = {instancePath:instancePath+"/participants",schemaPath:"#/properties/participants/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(data.segments !== undefined){let data56 = data.segments;if(Array.isArray(data56)){const len4 = data56.length;for(let i2=0; i2<len4; i2++){let data57 = data56[i2];if(data57 && typeof data57 == "object" && !Array.isArray(data57)){if(data57.from === undefined){const err153 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}if(data57.to === undefined){const err154 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}if(data57.label === undefined){const err155 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}for(const key15 in data57){if(!(((key15 === "from") || (key15 === "to")) || (key15 === "label"))){const err156 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}if(data57.from !== undefined){let data58 = data57.from;if(!((typeof data58 == "number") && (isFinite(data58)))){const err157 = {instancePath:instancePath+"/segments/" + i2+"/from",schemaPath:"#/properties/segments/items/properties/from/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}if(data57.to !== undefined){let data59 = data57.to;if(!((typeof data59 == "number") && (isFinite(data59)))){const err158 = {instancePath:instancePath+"/segments/" + i2+"/to",schemaPath:"#/properties/segments/items/properties/to/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data57.label !== undefined){let data60 = data57.label;if(typeof data60 === "string"){if(func3(data60) < 1){const err159 = {instancePath:instancePath+"/segments/" + i2+"/label",schemaPath:"#/properties/segments/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}else {const err160 = {instancePath:instancePath+"/segments/" + i2+"/label",schemaPath:"#/properties/segments/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}else {const err161 = {instancePath:instancePath+"/segments/" + i2,schemaPath:"#/properties/segments/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}}else {const err162 = {instancePath:instancePath+"/segments",schemaPath:"#/properties/segments/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}if(data.messages !== undefined){let data61 = data.messages;if(Array.isArray(data61)){if(data61.length < 1){const err163 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}const len5 = data61.length;for(let i3=0; i3<len5; i3++){let data62 = data61[i3];if(data62 && typeof data62 == "object" && !Array.isArray(data62)){if(data62.from === undefined){const err164 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if(data62.to === undefined){const err165 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}if(data62.y === undefined){const err166 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "y"},message:"must have required property '"+"y"+"'"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}if(data62.label === undefined){const err167 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}for(const key16 in data62){if(!(((((((key16 === "id") || (key16 === "from")) || (key16 === "to")) || (key16 === "y")) || (key16 === "label")) || (key16 === "variant")) || (key16 === "note"))){const err168 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}if(data62.id !== undefined){let data63 = data62.id;if(typeof data63 === "string"){if(!pattern16.test(data63)){const err169 = {instancePath:instancePath+"/messages/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}else {const err170 = {instancePath:instancePath+"/messages/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}if(data62.from !== undefined){let data64 = data62.from;if(typeof data64 === "string"){if(!pattern16.test(data64)){const err171 = {instancePath:instancePath+"/messages/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}else {const err172 = {instancePath:instancePath+"/messages/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data62.to !== undefined){let data65 = data62.to;if(typeof data65 === "string"){if(!pattern16.test(data65)){const err173 = {instancePath:instancePath+"/messages/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}else {const err174 = {instancePath:instancePath+"/messages/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}if(data62.y !== undefined){let data66 = data62.y;if((typeof data66 == "number") && (isFinite(data66))){if(data66 < 160 || isNaN(data66)){const err175 = {instancePath:instancePath+"/messages/" + i3+"/y",schemaPath:"#/properties/messages/items/properties/y/minimum",keyword:"minimum",params:{comparison: ">=", limit: 160},message:"must be >= 160"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/messages/" + i3+"/y",schemaPath:"#/properties/messages/items/properties/y/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data62.label !== undefined){let data67 = data62.label;if(typeof data67 === "string"){if(func3(data67) < 1){const err177 = {instancePath:instancePath+"/messages/" + i3+"/label",schemaPath:"#/properties/messages/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}else {const err178 = {instancePath:instancePath+"/messages/" + i3+"/label",schemaPath:"#/properties/messages/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data62.variant !== undefined){let data68 = data62.variant;if(!(((((data68 === "default") || (data68 === "emphasis")) || (data68 === "security")) || (data68 === "dashed")) || (data68 === "return"))){const err179 = {instancePath:instancePath+"/messages/" + i3+"/variant",schemaPath:"#/properties/messages/items/properties/variant/enum",keyword:"enum",params:{allowedValues: schema73.properties.messages.items.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}if(data62.note !== undefined){if(typeof data62.note !== "string"){const err180 = {instancePath:instancePath+"/messages/" + i3+"/note",schemaPath:"#/properties/messages/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}else {const err181 = {instancePath:instancePath+"/messages/" + i3,schemaPath:"#/properties/messages/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}}else {const err182 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data.activations !== undefined){let data70 = data.activations;if(Array.isArray(data70)){const len6 = data70.length;for(let i4=0; i4<len6; i4++){let data71 = data70[i4];if(data71 && typeof data71 == "object" && !Array.isArray(data71)){if(data71.participant === undefined){const err183 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/required",keyword:"required",params:{missingProperty: "participant"},message:"must have required property '"+"participant"+"'"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}if(data71.from === undefined){const err184 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}if(data71.to === undefined){const err185 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}for(const key17 in data71){if(!((((key17 === "participant") || (key17 === "from")) || (key17 === "to")) || (key17 === "type"))){const err186 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data71.participant !== undefined){let data72 = data71.participant;if(typeof data72 === "string"){if(!pattern16.test(data72)){const err187 = {instancePath:instancePath+"/activations/" + i4+"/participant",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}else {const err188 = {instancePath:instancePath+"/activations/" + i4+"/participant",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data71.from !== undefined){let data73 = data71.from;if(!((typeof data73 == "number") && (isFinite(data73)))){const err189 = {instancePath:instancePath+"/activations/" + i4+"/from",schemaPath:"#/properties/activations/items/properties/from/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data71.to !== undefined){let data74 = data71.to;if(!((typeof data74 == "number") && (isFinite(data74)))){const err190 = {instancePath:instancePath+"/activations/" + i4+"/to",schemaPath:"#/properties/activations/items/properties/to/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data71.type !== undefined){let data75 = data71.type;if(!(((((((data75 === "frontend") || (data75 === "backend")) || (data75 === "database")) || (data75 === "cloud")) || (data75 === "security")) || (data75 === "messagebus")) || (data75 === "external"))){const err191 = {instancePath:instancePath+"/activations/" + i4+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}}else {const err192 = {instancePath:instancePath+"/activations/" + i4,schemaPath:"#/properties/activations/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}}else {const err193 = {instancePath:instancePath+"/activations",schemaPath:"#/properties/activations/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data.cards !== undefined){let data76 = data.cards;if(Array.isArray(data76)){const len7 = data76.length;for(let i5=0; i5<len7; i5++){let data77 = data76[i5];if(data77 && typeof data77 == "object" && !Array.isArray(data77)){if(data77.dot === undefined){const err194 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}if(data77.title === undefined){const err195 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}if(data77.items === undefined){const err196 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}for(const key18 in data77){if(!(((key18 === "dot") || (key18 === "title")) || (key18 === "items"))){const err197 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(data77.dot !== undefined){let data78 = data77.dot;if(!(((((((data78 === "cyan") || (data78 === "emerald")) || (data78 === "violet")) || (data78 === "amber")) || (data78 === "rose")) || (data78 === "orange")) || (data78 === "slate"))){const err198 = {instancePath:instancePath+"/cards/" + i5+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data77.title !== undefined){let data79 = data77.title;if(typeof data79 === "string"){if(func3(data79) < 1){const err199 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}else {const err200 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}if(data77.items !== undefined){let data80 = data77.items;if(Array.isArray(data80)){const len8 = data80.length;for(let i6=0; i6<len8; i6++){if(typeof data80[i6] !== "string"){const err201 = {instancePath:instancePath+"/cards/" + i5+"/items/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}}else {const err202 = {instancePath:instancePath+"/cards/" + i5+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}}else {const err203 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}}else {const err204 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}}else {const err205 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}validate27.errors = vErrors;return errors === 0;}validate27.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const dataflowSchema = validate30;const schema101 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/dataflow.schema.json","title":"Archify Data Flow Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","stages","nodes","flows"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"dataflow"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"default":{"$ref":"common.schema.json#/$defs/legendEntry"},"emphasis":{"$ref":"common.schema.json#/$defs/legendEntry"},"security":{"$ref":"common.schema.json#/$defs/legendEntry"},"dashed":{"$ref":"common.schema.json#/$defs/legendEntry"},"database":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":360},{"type":"number","minimum":360}],"items":false,"minItems":2,"maxItems":2}}},"stages":{"type":"array","minItems":2,"maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["label"],"properties":{"label":{"type":"string","minLength":1}}}},"nodes":{"type":"array","minItems":2,"items":{"type":"object","additionalProperties":false,"required":["id","type","label","stage","row"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"$ref":"common.schema.json#/$defs/componentType"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"},"stage":{"type":"integer","minimum":0},"row":{"type":"integer","minimum":0},"width":{"type":"number","minimum":48},"height":{"type":"number","minimum":36},"yOffset":{"type":"number"}}}},"flows":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"classification":{"type":"string"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"route":{"enum":["auto","straight","vertical-channel","bottom-channel","top-channel"]},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"channelX":{"type":"number"},"channelY":{"type":"number"},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const schema127 = {"enum":["left","right","top","bottom"]};const schema131 = {"type":"number","minimum":0.5};function validate31(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate31.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate31.errors = vErrors;return errors === 0;}validate31.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate30(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/dataflow.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate30.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.stages === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "stages"},message:"must have required property '"+"stages"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.nodes === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "nodes"},message:"must have required property '"+"nodes"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(data.flows === undefined){const err5 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "flows"},message:"must have required property '"+"flows"+"'"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "stages")) || (key0 === "nodes")) || (key0 === "flows")) || (key0 === "cards"))){const err6 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err7 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.diagram_type !== undefined){if("dataflow" !== data.diagram_type){const err8 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "dataflow"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2.output === undefined){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data2){if(!(func1.call(schema101.properties.meta.properties, key1))){const err11 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(!pattern4.test(data4)){const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}else {const err16 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err19 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(func3(data6) < 1){const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}else {const err22 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err24 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(!pattern14.test(data8)){const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}else {const err42 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err43 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err44 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err45 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data12 = data2.repository;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data12.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data12){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data12.url !== undefined){let data13 = data12.url;if(typeof data13 === "string"){if(func3(data13) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data12.provider !== undefined){let data14 = data12.provider;if(!((data14 === "github") || (data14 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data12.link_mode !== undefined){let data15 = data12.link_mode;if(!((data15 === "web") || (data15 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data12.revision !== undefined){let data16 = data12.revision;if(typeof data16 === "string"){if(!pattern15.test(data16)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate31(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate31.errors : vErrors.concat(validate31.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data18 = data2.legend;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key5 in data18){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data18.mode !== undefined){let data19 = data18.mode;if(!(((data19 === "auto") || (data19 === "all")) || (data19 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data18.entries !== undefined){let data20 = data18.entries;if(data20 && typeof data20 == "object" && !Array.isArray(data20)){for(const key6 in data20){if(!(((((key6 === "default") || (key6 === "emphasis")) || (key6 === "security")) || (key6 === "dashed")) || (key6 === "database"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data20.default !== undefined){let data21 = data20.default;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(Object.keys(data21).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data21){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data21.label !== undefined){let data22 = data21.label;if(typeof data22 === "string"){if(func3(data22) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data22) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/default/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data21.visible !== undefined){if(typeof data21.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/default/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/default",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data20.emphasis !== undefined){let data24 = data20.emphasis;if(data24 && typeof data24 == "object" && !Array.isArray(data24)){if(Object.keys(data24).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data24){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data24.label !== undefined){let data25 = data24.label;if(typeof data25 === "string"){if(func3(data25) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data25) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/emphasis/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data24.visible !== undefined){if(typeof data24.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/emphasis/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/emphasis",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data20.security !== undefined){let data27 = data20.security;if(data27 && typeof data27 == "object" && !Array.isArray(data27)){if(Object.keys(data27).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data27){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data27.label !== undefined){let data28 = data27.label;if(typeof data28 === "string"){if(func3(data28) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data28) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data27.visible !== undefined){if(typeof data27.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data20.dashed !== undefined){let data30 = data20.dashed;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){if(Object.keys(data30).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data30){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data30.label !== undefined){let data31 = data30.label;if(typeof data31 === "string"){if(func3(data31) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data31) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/dashed/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data30.visible !== undefined){if(typeof data30.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/dashed/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/dashed",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data20.database !== undefined){let data33 = data20.database;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(Object.keys(data33).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data33){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data33.label !== undefined){let data34 = data33.label;if(typeof data34 === "string"){if(func3(data34) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data34) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data33.visible !== undefined){if(typeof data33.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/database/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}}else {const err94 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}}else {const err95 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data2.viewBox !== undefined){let data36 = data2.viewBox;if(Array.isArray(data36)){if(data36.length > 2){const err96 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(data36.length < 2){const err97 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}const len0 = data36.length;if(len0 > 0){let data37 = data36[0];if((typeof data37 == "number") && (isFinite(data37))){if(data37 < 360 || isNaN(data37)){const err98 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 360},message:"must be >= 360"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(len0 > 1){let data38 = data36[1];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 360 || isNaN(data38)){const err100 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 360},message:"must be >= 360"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}const len1 = data36.length;if(!(len1 <= 2)){const err102 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}else {const err103 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data.stages !== undefined){let data39 = data.stages;if(Array.isArray(data39)){if(data39.length > 5){const err105 = {instancePath:instancePath+"/stages",schemaPath:"#/properties/stages/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(data39.length < 2){const err106 = {instancePath:instancePath+"/stages",schemaPath:"#/properties/stages/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}const len2 = data39.length;for(let i0=0; i0<len2; i0++){let data40 = data39[i0];if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.label === undefined){const err107 = {instancePath:instancePath+"/stages/" + i0,schemaPath:"#/properties/stages/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}for(const key12 in data40){if(!(key12 === "label")){const err108 = {instancePath:instancePath+"/stages/" + i0,schemaPath:"#/properties/stages/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data40.label !== undefined){let data41 = data40.label;if(typeof data41 === "string"){if(func3(data41) < 1){const err109 = {instancePath:instancePath+"/stages/" + i0+"/label",schemaPath:"#/properties/stages/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}else {const err110 = {instancePath:instancePath+"/stages/" + i0+"/label",schemaPath:"#/properties/stages/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}}else {const err111 = {instancePath:instancePath+"/stages/" + i0,schemaPath:"#/properties/stages/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}}else {const err112 = {instancePath:instancePath+"/stages",schemaPath:"#/properties/stages/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data.nodes !== undefined){let data42 = data.nodes;if(Array.isArray(data42)){if(data42.length < 2){const err113 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}const len3 = data42.length;for(let i1=0; i1<len3; i1++){let data43 = data42[i1];if(data43 && typeof data43 == "object" && !Array.isArray(data43)){if(data43.id === undefined){const err114 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if(data43.type === undefined){const err115 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data43.label === undefined){const err116 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}if(data43.stage === undefined){const err117 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "stage"},message:"must have required property '"+"stage"+"'"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(data43.row === undefined){const err118 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "row"},message:"must have required property '"+"row"+"'"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}for(const key13 in data43){if(!(func1.call(schema101.properties.nodes.items.properties, key13))){const err119 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data43.id !== undefined){let data44 = data43.id;if(typeof data44 === "string"){if(!pattern16.test(data44)){const err120 = {instancePath:instancePath+"/nodes/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}else {const err121 = {instancePath:instancePath+"/nodes/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}if(data43.type !== undefined){let data45 = data43.type;if(!(((((((data45 === "frontend") || (data45 === "backend")) || (data45 === "database")) || (data45 === "cloud")) || (data45 === "security")) || (data45 === "messagebus")) || (data45 === "external"))){const err122 = {instancePath:instancePath+"/nodes/" + i1+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}if(data43.label !== undefined){let data46 = data43.label;if(typeof data46 === "string"){if(func3(data46) < 1){const err123 = {instancePath:instancePath+"/nodes/" + i1+"/label",schemaPath:"#/properties/nodes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}else {const err124 = {instancePath:instancePath+"/nodes/" + i1+"/label",schemaPath:"#/properties/nodes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}if(data43.sublabel !== undefined){if(typeof data43.sublabel !== "string"){const err125 = {instancePath:instancePath+"/nodes/" + i1+"/sublabel",schemaPath:"#/properties/nodes/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data43.tag !== undefined){if(typeof data43.tag !== "string"){const err126 = {instancePath:instancePath+"/nodes/" + i1+"/tag",schemaPath:"#/properties/nodes/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data43.icon !== undefined){let data49 = data43.icon;if(!((((((((((((((((((((data49 === "calendar") || (data49 === "clock")) || (data49 === "person")) || (data49 === "briefcase")) || (data49 === "flag")) || (data49 === "moon")) || (data49 === "frontend")) || (data49 === "backend")) || (data49 === "database")) || (data49 === "cloud")) || (data49 === "security")) || (data49 === "messagebus")) || (data49 === "external")) || (data49 === "start")) || (data49 === "active")) || (data49 === "waiting")) || (data49 === "success")) || (data49 === "failure")) || (data49 === "neutral")) || (data49 === "none"))){const err127 = {instancePath:instancePath+"/nodes/" + i1+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data43.brand !== undefined){let data50 = data43.brand;const _errs144 = errors;let valid44 = false;let passing0 = null;const _errs145 = errors;const _errs147 = errors;let valid45 = false;const _errs148 = errors;if(typeof data50 === "string"){if(func3(data50) > 80){const err128 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(!pattern29.test(data50)){const err129 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}var _valid1 = _errs148 === errors;valid45 = valid45 || _valid1;const _errs149 = errors;if(typeof data50 === "string"){if(!pattern30.test(data50)){const err130 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}var _valid1 = _errs149 === errors;valid45 = valid45 || _valid1;if(!valid45){const err131 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}else {errors = _errs147;if(vErrors !== null){if(_errs147){vErrors.length = _errs147;}else {vErrors = null;}}}if(typeof data50 === "string"){if(func3(data50) > 2048){const err132 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}if(func3(data50) < 1){const err133 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}else {const err134 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}var _valid0 = _errs145 === errors;if(_valid0){valid44 = true;passing0 = 0;}const _errs150 = errors;if(data50 && typeof data50 == "object" && !Array.isArray(data50)){if(data50.url === undefined){const err135 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(data50.sha256 === undefined){const err136 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}for(const key14 in data50){if(!((key14 === "url") || (key14 === "sha256"))){const err137 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}if(data50.url !== undefined){let data51 = data50.url;if(typeof data51 === "string"){if(func3(data51) > 2048){const err138 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}if(func3(data51) < 8){const err139 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if(!pattern30.test(data51)){const err140 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/nodes/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data50.sha256 !== undefined){let data52 = data50.sha256;if(typeof data52 === "string"){if(!pattern32.test(data52)){const err142 = {instancePath:instancePath+"/nodes/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}}else {const err143 = {instancePath:instancePath+"/nodes/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}}else {const err144 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}var _valid0 = _errs150 === errors;if(_valid0 && valid44){valid44 = false;passing0 = [passing0, 1];}else {if(_valid0){valid44 = true;passing0 = 1;}}if(!valid44){const err145 = {instancePath:instancePath+"/nodes/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}else {errors = _errs144;if(vErrors !== null){if(_errs144){vErrors.length = _errs144;}else {vErrors = null;}}}}if(data43.sources !== undefined){let data53 = data43.sources;if(Array.isArray(data53)){if(data53.length > 3){const err146 = {instancePath:instancePath+"/nodes/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}if(data53.length < 1){const err147 = {instancePath:instancePath+"/nodes/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}const len4 = data53.length;for(let i2=0; i2<len4; i2++){let data54 = data53[i2];if(data54 && typeof data54 == "object" && !Array.isArray(data54)){if(data54.path === undefined){const err148 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}for(const key15 in data54){if(!((((key15 === "path") || (key15 === "line")) || (key15 === "end_line")) || (key15 === "label"))){const err149 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data54.path !== undefined){let data55 = data54.path;if(typeof data55 === "string"){if(func3(data55) > 240){const err150 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(func3(data55) < 1){const err151 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}else {const err152 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(data54.line !== undefined){let data56 = data54.line;if(!(((typeof data56 == "number") && (!(data56 % 1) && !isNaN(data56))) && (isFinite(data56)))){const err153 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}if((typeof data56 == "number") && (isFinite(data56))){if(data56 < 1 || isNaN(data56)){const err154 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}}if(data54.end_line !== undefined){let data57 = data54.end_line;if(!(((typeof data57 == "number") && (!(data57 % 1) && !isNaN(data57))) && (isFinite(data57)))){const err155 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}if((typeof data57 == "number") && (isFinite(data57))){if(data57 < 1 || isNaN(data57)){const err156 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}}if(data54.label !== undefined){let data58 = data54.label;if(typeof data58 === "string"){if(func3(data58) > 48){const err157 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}if(func3(data58) < 1){const err158 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}else {const err159 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}}else {const err160 = {instancePath:instancePath+"/nodes/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}else {const err161 = {instancePath:instancePath+"/nodes/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data43.stage !== undefined){let data59 = data43.stage;if(!(((typeof data59 == "number") && (!(data59 % 1) && !isNaN(data59))) && (isFinite(data59)))){const err162 = {instancePath:instancePath+"/nodes/" + i1+"/stage",schemaPath:"#/properties/nodes/items/properties/stage/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}if((typeof data59 == "number") && (isFinite(data59))){if(data59 < 0 || isNaN(data59)){const err163 = {instancePath:instancePath+"/nodes/" + i1+"/stage",schemaPath:"#/properties/nodes/items/properties/stage/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}}if(data43.row !== undefined){let data60 = data43.row;if(!(((typeof data60 == "number") && (!(data60 % 1) && !isNaN(data60))) && (isFinite(data60)))){const err164 = {instancePath:instancePath+"/nodes/" + i1+"/row",schemaPath:"#/properties/nodes/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if((typeof data60 == "number") && (isFinite(data60))){if(data60 < 0 || isNaN(data60)){const err165 = {instancePath:instancePath+"/nodes/" + i1+"/row",schemaPath:"#/properties/nodes/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}}if(data43.width !== undefined){let data61 = data43.width;if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 48 || isNaN(data61)){const err166 = {instancePath:instancePath+"/nodes/" + i1+"/width",schemaPath:"#/properties/nodes/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 48},message:"must be >= 48"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/nodes/" + i1+"/width",schemaPath:"#/properties/nodes/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}if(data43.height !== undefined){let data62 = data43.height;if((typeof data62 == "number") && (isFinite(data62))){if(data62 < 36 || isNaN(data62)){const err168 = {instancePath:instancePath+"/nodes/" + i1+"/height",schemaPath:"#/properties/nodes/items/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 36},message:"must be >= 36"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}else {const err169 = {instancePath:instancePath+"/nodes/" + i1+"/height",schemaPath:"#/properties/nodes/items/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}if(data43.yOffset !== undefined){let data63 = data43.yOffset;if(!((typeof data63 == "number") && (isFinite(data63)))){const err170 = {instancePath:instancePath+"/nodes/" + i1+"/yOffset",schemaPath:"#/properties/nodes/items/properties/yOffset/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}}else {const err171 = {instancePath:instancePath+"/nodes/" + i1,schemaPath:"#/properties/nodes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}else {const err172 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}if(data.flows !== undefined){let data64 = data.flows;if(Array.isArray(data64)){const len5 = data64.length;for(let i3=0; i3<len5; i3++){let data65 = data64[i3];if(data65 && typeof data65 == "object" && !Array.isArray(data65)){if(data65.from === undefined){const err173 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}if(data65.to === undefined){const err174 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(data65.label === undefined){const err175 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}for(const key16 in data65){if(!(func1.call(schema101.properties.flows.items.properties, key16))){const err176 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data65.id !== undefined){let data66 = data65.id;if(typeof data66 === "string"){if(!pattern16.test(data66)){const err177 = {instancePath:instancePath+"/flows/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}else {const err178 = {instancePath:instancePath+"/flows/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data65.from !== undefined){let data67 = data65.from;if(typeof data67 === "string"){if(!pattern16.test(data67)){const err179 = {instancePath:instancePath+"/flows/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}else {const err180 = {instancePath:instancePath+"/flows/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data65.to !== undefined){let data68 = data65.to;if(typeof data68 === "string"){if(!pattern16.test(data68)){const err181 = {instancePath:instancePath+"/flows/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}else {const err182 = {instancePath:instancePath+"/flows/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data65.label !== undefined){let data69 = data65.label;if(typeof data69 === "string"){if(func3(data69) < 1){const err183 = {instancePath:instancePath+"/flows/" + i3+"/label",schemaPath:"#/properties/flows/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}else {const err184 = {instancePath:instancePath+"/flows/" + i3+"/label",schemaPath:"#/properties/flows/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}if(data65.classification !== undefined){if(typeof data65.classification !== "string"){const err185 = {instancePath:instancePath+"/flows/" + i3+"/classification",schemaPath:"#/properties/flows/items/properties/classification/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data65.variant !== undefined){let data71 = data65.variant;if(!((((data71 === "default") || (data71 === "emphasis")) || (data71 === "security")) || (data71 === "dashed"))){const err186 = {instancePath:instancePath+"/flows/" + i3+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data65.route !== undefined){let data72 = data65.route;if(!(((((data72 === "auto") || (data72 === "straight")) || (data72 === "vertical-channel")) || (data72 === "bottom-channel")) || (data72 === "top-channel"))){const err187 = {instancePath:instancePath+"/flows/" + i3+"/route",schemaPath:"#/properties/flows/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema101.properties.flows.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}if(data65.fromSide !== undefined){let data73 = data65.fromSide;if(!((((data73 === "left") || (data73 === "right")) || (data73 === "top")) || (data73 === "bottom"))){const err188 = {instancePath:instancePath+"/flows/" + i3+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data65.toSide !== undefined){let data74 = data65.toSide;if(!((((data74 === "left") || (data74 === "right")) || (data74 === "top")) || (data74 === "bottom"))){const err189 = {instancePath:instancePath+"/flows/" + i3+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data65.channelX !== undefined){let data75 = data65.channelX;if(!((typeof data75 == "number") && (isFinite(data75)))){const err190 = {instancePath:instancePath+"/flows/" + i3+"/channelX",schemaPath:"#/properties/flows/items/properties/channelX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data65.channelY !== undefined){let data76 = data65.channelY;if(!((typeof data76 == "number") && (isFinite(data76)))){const err191 = {instancePath:instancePath+"/flows/" + i3+"/channelY",schemaPath:"#/properties/flows/items/properties/channelY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}if(data65.labelAt !== undefined){let data77 = data65.labelAt;if(Array.isArray(data77)){if(data77.length > 2){const err192 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}if(data77.length < 2){const err193 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}const len6 = data77.length;if(len6 > 0){let data78 = data77[0];if(!((typeof data78 == "number") && (isFinite(data78)))){const err194 = {instancePath:instancePath+"/flows/" + i3+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(len6 > 1){let data79 = data77[1];if(!((typeof data79 == "number") && (isFinite(data79)))){const err195 = {instancePath:instancePath+"/flows/" + i3+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}const len7 = data77.length;if(!(len7 <= 2)){const err196 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}else {const err197 = {instancePath:instancePath+"/flows/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(data65.labelDx !== undefined){let data80 = data65.labelDx;if(!((typeof data80 == "number") && (isFinite(data80)))){const err198 = {instancePath:instancePath+"/flows/" + i3+"/labelDx",schemaPath:"#/properties/flows/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data65.labelDy !== undefined){let data81 = data65.labelDy;if(!((typeof data81 == "number") && (isFinite(data81)))){const err199 = {instancePath:instancePath+"/flows/" + i3+"/labelDy",schemaPath:"#/properties/flows/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}if(data65.labelSegment !== undefined){let data82 = data65.labelSegment;if(!(((typeof data82 == "number") && (!(data82 % 1) && !isNaN(data82))) && (isFinite(data82)))){const err200 = {instancePath:instancePath+"/flows/" + i3+"/labelSegment",schemaPath:"#/properties/flows/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}if((typeof data82 == "number") && (isFinite(data82))){if(data82 < 0 || isNaN(data82)){const err201 = {instancePath:instancePath+"/flows/" + i3+"/labelSegment",schemaPath:"#/properties/flows/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}}if(data65.via !== undefined){let data83 = data65.via;if(Array.isArray(data83)){const len8 = data83.length;for(let i4=0; i4<len8; i4++){let data84 = data83[i4];if(Array.isArray(data84)){if(data84.length > 2){const err202 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}if(data84.length < 2){const err203 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}const len9 = data84.length;if(len9 > 0){let data85 = data84[0];if(!((typeof data85 == "number") && (isFinite(data85)))){const err204 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}if(len9 > 1){let data86 = data84[1];if(!((typeof data86 == "number") && (isFinite(data86)))){const err205 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}const len10 = data84.length;if(!(len10 <= 2)){const err206 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/flows/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}}else {const err208 = {instancePath:instancePath+"/flows/" + i3+"/via",schemaPath:"#/properties/flows/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data65.width !== undefined){let data87 = data65.width;if((typeof data87 == "number") && (isFinite(data87))){if(data87 < 0.5 || isNaN(data87)){const err209 = {instancePath:instancePath+"/flows/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}else {const err210 = {instancePath:instancePath+"/flows/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}}else {const err211 = {instancePath:instancePath+"/flows/" + i3,schemaPath:"#/properties/flows/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}else {const err212 = {instancePath:instancePath+"/flows",schemaPath:"#/properties/flows/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data.cards !== undefined){let data88 = data.cards;if(Array.isArray(data88)){const len11 = data88.length;for(let i5=0; i5<len11; i5++){let data89 = data88[i5];if(data89 && typeof data89 == "object" && !Array.isArray(data89)){if(data89.dot === undefined){const err213 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}if(data89.title === undefined){const err214 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}if(data89.items === undefined){const err215 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}for(const key17 in data89){if(!(((key17 === "dot") || (key17 === "title")) || (key17 === "items"))){const err216 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data89.dot !== undefined){let data90 = data89.dot;if(!(((((((data90 === "cyan") || (data90 === "emerald")) || (data90 === "violet")) || (data90 === "amber")) || (data90 === "rose")) || (data90 === "orange")) || (data90 === "slate"))){const err217 = {instancePath:instancePath+"/cards/" + i5+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}if(data89.title !== undefined){let data91 = data89.title;if(typeof data91 === "string"){if(func3(data91) < 1){const err218 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}else {const err219 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}if(data89.items !== undefined){let data92 = data89.items;if(Array.isArray(data92)){const len12 = data92.length;for(let i6=0; i6<len12; i6++){if(typeof data92[i6] !== "string"){const err220 = {instancePath:instancePath+"/cards/" + i5+"/items/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}}else {const err221 = {instancePath:instancePath+"/cards/" + i5+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}}else {const err222 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}}}else {const err223 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}}else {const err224 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}validate30.errors = vErrors;return errors === 0;}validate30.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const lifecycleSchema = validate33;const schema133 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/lifecycle.schema.json","title":"Archify Lifecycle Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","lanes","states","transitions"],"properties":{"schema_version":{"enum":[1,2]},"diagram_type":{"const":"lifecycle"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"start":{"$ref":"common.schema.json#/$defs/legendEntry"},"active":{"$ref":"common.schema.json#/$defs/legendEntry"},"waiting":{"$ref":"common.schema.json#/$defs/legendEntry"},"decision":{"$ref":"common.schema.json#/$defs/legendEntry"},"success":{"$ref":"common.schema.json#/$defs/legendEntry"},"failure":{"$ref":"common.schema.json#/$defs/legendEntry"},"neutral":{"$ref":"common.schema.json#/$defs/legendEntry"},"external":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":420},{"type":"number","minimum":300}],"items":false,"minItems":2,"maxItems":2}}},"lanes":{"type":"array","minItems":1,"maxItems":4,"items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1}}}},"states":{"type":"array","minItems":2,"items":{"type":"object","additionalProperties":false,"required":["id","type","label","lane","col"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"enum":["start","active","waiting","decision","success","failure","neutral","external"]},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"},"step":{"type":"string"},"lane":{"$ref":"common.schema.json#/$defs/id"},"col":{"type":"integer","minimum":0,"maximum":4},"width":{"type":"number","minimum":48},"height":{"type":"number","minimum":36},"yOffset":{"type":"number"}}}},"transitions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string"},"note":{"type":"string"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"route":{"enum":["auto","straight","drop","bottom-channel","top-channel","right-channel","left-channel"]},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"channelX":{"type":"number"},"channelY":{"type":"number"},"cornerRadius":{"type":"number","minimum":0},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate34(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate34.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate34.errors = vErrors;return errors === 0;}validate34.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate33(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/lifecycle.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate33.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.lanes === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "lanes"},message:"must have required property '"+"lanes"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data.states === undefined){const err4 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "states"},message:"must have required property '"+"states"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(data.transitions === undefined){const err5 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "transitions"},message:"must have required property '"+"transitions"+"'"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "lanes")) || (key0 === "states")) || (key0 === "transitions")) || (key0 === "cards"))){const err6 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.schema_version !== undefined){let data0 = data.schema_version;if(!((data0 === 1) || (data0 === 2))){const err7 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/enum",keyword:"enum",params:{allowedValues: schema133.properties.schema_version.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.diagram_type !== undefined){if("lifecycle" !== data.diagram_type){const err8 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "lifecycle"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2.output === undefined){const err10 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data2){if(!(func1.call(schema133.properties.meta.properties, key1))){const err11 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err12 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(!pattern4.test(data4)){const err15 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}else {const err16 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err18 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err19 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(func3(data6) < 1){const err21 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}else {const err22 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err24 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err38 = {};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}if(!pattern14.test(data8)){const err41 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}else {const err42 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err43 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err44 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err45 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data2.repository !== undefined){let data12 = data2.repository;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.url === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}if(data12.revision === undefined){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}for(const key4 in data12){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err48 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data12.url !== undefined){let data13 = data12.url;if(typeof data13 === "string"){if(func3(data13) < 1){const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data12.provider !== undefined){let data14 = data12.provider;if(!((data14 === "github") || (data14 === "gitee"))){const err51 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data12.link_mode !== undefined){let data15 = data12.link_mode;if(!((data15 === "web") || (data15 === "local-only"))){const err52 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data12.revision !== undefined){let data16 = data12.revision;if(typeof data16 === "string"){if(!pattern15.test(data16)){const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}}else {const err55 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data2.views !== undefined){if(!(validate34(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate34.errors : vErrors.concat(validate34.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data18 = data2.legend;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key5 in data18){if(!((key5 === "mode") || (key5 === "entries"))){const err56 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data18.mode !== undefined){let data19 = data18.mode;if(!(((data19 === "auto") || (data19 === "all")) || (data19 === "hidden"))){const err57 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data18.entries !== undefined){let data20 = data18.entries;if(data20 && typeof data20 == "object" && !Array.isArray(data20)){for(const key6 in data20){if(!((((((((key6 === "start") || (key6 === "active")) || (key6 === "waiting")) || (key6 === "decision")) || (key6 === "success")) || (key6 === "failure")) || (key6 === "neutral")) || (key6 === "external"))){const err58 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data20.start !== undefined){let data21 = data20.start;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(Object.keys(data21).length < 1){const err59 = {instancePath:instancePath+"/meta/legend/entries/start",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key7 in data21){if(!((key7 === "label") || (key7 === "visible"))){const err60 = {instancePath:instancePath+"/meta/legend/entries/start",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data21.label !== undefined){let data22 = data21.label;if(typeof data22 === "string"){if(func3(data22) > 80){const err61 = {instancePath:instancePath+"/meta/legend/entries/start/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(func3(data22) < 1){const err62 = {instancePath:instancePath+"/meta/legend/entries/start/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}else {const err63 = {instancePath:instancePath+"/meta/legend/entries/start/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}if(data21.visible !== undefined){if(typeof data21.visible !== "boolean"){const err64 = {instancePath:instancePath+"/meta/legend/entries/start/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}}else {const err65 = {instancePath:instancePath+"/meta/legend/entries/start",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}if(data20.active !== undefined){let data24 = data20.active;if(data24 && typeof data24 == "object" && !Array.isArray(data24)){if(Object.keys(data24).length < 1){const err66 = {instancePath:instancePath+"/meta/legend/entries/active",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}for(const key8 in data24){if(!((key8 === "label") || (key8 === "visible"))){const err67 = {instancePath:instancePath+"/meta/legend/entries/active",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data24.label !== undefined){let data25 = data24.label;if(typeof data25 === "string"){if(func3(data25) > 80){const err68 = {instancePath:instancePath+"/meta/legend/entries/active/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(func3(data25) < 1){const err69 = {instancePath:instancePath+"/meta/legend/entries/active/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}else {const err70 = {instancePath:instancePath+"/meta/legend/entries/active/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data24.visible !== undefined){if(typeof data24.visible !== "boolean"){const err71 = {instancePath:instancePath+"/meta/legend/entries/active/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/meta/legend/entries/active",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data20.waiting !== undefined){let data27 = data20.waiting;if(data27 && typeof data27 == "object" && !Array.isArray(data27)){if(Object.keys(data27).length < 1){const err73 = {instancePath:instancePath+"/meta/legend/entries/waiting",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}for(const key9 in data27){if(!((key9 === "label") || (key9 === "visible"))){const err74 = {instancePath:instancePath+"/meta/legend/entries/waiting",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}if(data27.label !== undefined){let data28 = data27.label;if(typeof data28 === "string"){if(func3(data28) > 80){const err75 = {instancePath:instancePath+"/meta/legend/entries/waiting/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(func3(data28) < 1){const err76 = {instancePath:instancePath+"/meta/legend/entries/waiting/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}else {const err77 = {instancePath:instancePath+"/meta/legend/entries/waiting/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data27.visible !== undefined){if(typeof data27.visible !== "boolean"){const err78 = {instancePath:instancePath+"/meta/legend/entries/waiting/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/meta/legend/entries/waiting",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data20.decision !== undefined){let data30 = data20.decision;if(data30 && typeof data30 == "object" && !Array.isArray(data30)){if(Object.keys(data30).length < 1){const err80 = {instancePath:instancePath+"/meta/legend/entries/decision",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}for(const key10 in data30){if(!((key10 === "label") || (key10 === "visible"))){const err81 = {instancePath:instancePath+"/meta/legend/entries/decision",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}if(data30.label !== undefined){let data31 = data30.label;if(typeof data31 === "string"){if(func3(data31) > 80){const err82 = {instancePath:instancePath+"/meta/legend/entries/decision/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(func3(data31) < 1){const err83 = {instancePath:instancePath+"/meta/legend/entries/decision/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}else {const err84 = {instancePath:instancePath+"/meta/legend/entries/decision/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data30.visible !== undefined){if(typeof data30.visible !== "boolean"){const err85 = {instancePath:instancePath+"/meta/legend/entries/decision/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/meta/legend/entries/decision",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data20.success !== undefined){let data33 = data20.success;if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(Object.keys(data33).length < 1){const err87 = {instancePath:instancePath+"/meta/legend/entries/success",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}for(const key11 in data33){if(!((key11 === "label") || (key11 === "visible"))){const err88 = {instancePath:instancePath+"/meta/legend/entries/success",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}if(data33.label !== undefined){let data34 = data33.label;if(typeof data34 === "string"){if(func3(data34) > 80){const err89 = {instancePath:instancePath+"/meta/legend/entries/success/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(func3(data34) < 1){const err90 = {instancePath:instancePath+"/meta/legend/entries/success/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}else {const err91 = {instancePath:instancePath+"/meta/legend/entries/success/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data33.visible !== undefined){if(typeof data33.visible !== "boolean"){const err92 = {instancePath:instancePath+"/meta/legend/entries/success/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath:instancePath+"/meta/legend/entries/success",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data20.failure !== undefined){let data36 = data20.failure;if(data36 && typeof data36 == "object" && !Array.isArray(data36)){if(Object.keys(data36).length < 1){const err94 = {instancePath:instancePath+"/meta/legend/entries/failure",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}for(const key12 in data36){if(!((key12 === "label") || (key12 === "visible"))){const err95 = {instancePath:instancePath+"/meta/legend/entries/failure",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data36.label !== undefined){let data37 = data36.label;if(typeof data37 === "string"){if(func3(data37) > 80){const err96 = {instancePath:instancePath+"/meta/legend/entries/failure/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(func3(data37) < 1){const err97 = {instancePath:instancePath+"/meta/legend/entries/failure/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}else {const err98 = {instancePath:instancePath+"/meta/legend/entries/failure/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}if(data36.visible !== undefined){if(typeof data36.visible !== "boolean"){const err99 = {instancePath:instancePath+"/meta/legend/entries/failure/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}}else {const err100 = {instancePath:instancePath+"/meta/legend/entries/failure",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}if(data20.neutral !== undefined){let data39 = data20.neutral;if(data39 && typeof data39 == "object" && !Array.isArray(data39)){if(Object.keys(data39).length < 1){const err101 = {instancePath:instancePath+"/meta/legend/entries/neutral",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}for(const key13 in data39){if(!((key13 === "label") || (key13 === "visible"))){const err102 = {instancePath:instancePath+"/meta/legend/entries/neutral",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data39.label !== undefined){let data40 = data39.label;if(typeof data40 === "string"){if(func3(data40) > 80){const err103 = {instancePath:instancePath+"/meta/legend/entries/neutral/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(func3(data40) < 1){const err104 = {instancePath:instancePath+"/meta/legend/entries/neutral/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}else {const err105 = {instancePath:instancePath+"/meta/legend/entries/neutral/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}if(data39.visible !== undefined){if(typeof data39.visible !== "boolean"){const err106 = {instancePath:instancePath+"/meta/legend/entries/neutral/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/meta/legend/entries/neutral",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}if(data20.external !== undefined){let data42 = data20.external;if(data42 && typeof data42 == "object" && !Array.isArray(data42)){if(Object.keys(data42).length < 1){const err108 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}for(const key14 in data42){if(!((key14 === "label") || (key14 === "visible"))){const err109 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data42.label !== undefined){let data43 = data42.label;if(typeof data43 === "string"){if(func3(data43) > 80){const err110 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}if(func3(data43) < 1){const err111 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}else {const err112 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data42.visible !== undefined){if(typeof data42.visible !== "boolean"){const err113 = {instancePath:instancePath+"/meta/legend/entries/external/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}}else {const err114 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}}else {const err115 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}}else {const err116 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data2.viewBox !== undefined){let data45 = data2.viewBox;if(Array.isArray(data45)){if(data45.length > 2){const err117 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(data45.length < 2){const err118 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}const len0 = data45.length;if(len0 > 0){let data46 = data45[0];if((typeof data46 == "number") && (isFinite(data46))){if(data46 < 420 || isNaN(data46)){const err119 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 420},message:"must be >= 420"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}else {const err120 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(len0 > 1){let data47 = data45[1];if((typeof data47 == "number") && (isFinite(data47))){if(data47 < 300 || isNaN(data47)){const err121 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 300},message:"must be >= 300"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}else {const err122 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}const len1 = data45.length;if(!(len1 <= 2)){const err123 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}else {const err124 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}}else {const err125 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}if(data.lanes !== undefined){let data48 = data.lanes;if(Array.isArray(data48)){if(data48.length > 4){const err126 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/maxItems",keyword:"maxItems",params:{limit: 4},message:"must NOT have more than 4 items"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}if(data48.length < 1){const err127 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}const len2 = data48.length;for(let i0=0; i0<len2; i0++){let data49 = data48[i0];if(data49 && typeof data49 == "object" && !Array.isArray(data49)){if(data49.id === undefined){const err128 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(data49.label === undefined){const err129 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}for(const key15 in data49){if(!((key15 === "id") || (key15 === "label"))){const err130 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data49.id !== undefined){let data50 = data49.id;if(typeof data50 === "string"){if(!pattern16.test(data50)){const err131 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}else {const err132 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}if(data49.label !== undefined){let data51 = data49.label;if(typeof data51 === "string"){if(func3(data51) < 1){const err133 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}else {const err134 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}}else {const err135 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}}else {const err136 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data.states !== undefined){let data52 = data.states;if(Array.isArray(data52)){if(data52.length < 2){const err137 = {instancePath:instancePath+"/states",schemaPath:"#/properties/states/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}const len3 = data52.length;for(let i1=0; i1<len3; i1++){let data53 = data52[i1];if(data53 && typeof data53 == "object" && !Array.isArray(data53)){if(data53.id === undefined){const err138 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}if(data53.type === undefined){const err139 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}if(data53.label === undefined){const err140 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if(data53.lane === undefined){const err141 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "lane"},message:"must have required property '"+"lane"+"'"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}if(data53.col === undefined){const err142 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/required",keyword:"required",params:{missingProperty: "col"},message:"must have required property '"+"col"+"'"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}for(const key16 in data53){if(!(func1.call(schema133.properties.states.items.properties, key16))){const err143 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}if(data53.id !== undefined){let data54 = data53.id;if(typeof data54 === "string"){if(!pattern16.test(data54)){const err144 = {instancePath:instancePath+"/states/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}else {const err145 = {instancePath:instancePath+"/states/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data53.type !== undefined){let data55 = data53.type;if(!((((((((data55 === "start") || (data55 === "active")) || (data55 === "waiting")) || (data55 === "decision")) || (data55 === "success")) || (data55 === "failure")) || (data55 === "neutral")) || (data55 === "external"))){const err146 = {instancePath:instancePath+"/states/" + i1+"/type",schemaPath:"#/properties/states/items/properties/type/enum",keyword:"enum",params:{allowedValues: schema133.properties.states.items.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}if(data53.label !== undefined){let data56 = data53.label;if(typeof data56 === "string"){if(func3(data56) < 1){const err147 = {instancePath:instancePath+"/states/" + i1+"/label",schemaPath:"#/properties/states/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {instancePath:instancePath+"/states/" + i1+"/label",schemaPath:"#/properties/states/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data53.sublabel !== undefined){if(typeof data53.sublabel !== "string"){const err149 = {instancePath:instancePath+"/states/" + i1+"/sublabel",schemaPath:"#/properties/states/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data53.tag !== undefined){if(typeof data53.tag !== "string"){const err150 = {instancePath:instancePath+"/states/" + i1+"/tag",schemaPath:"#/properties/states/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}if(data53.icon !== undefined){let data59 = data53.icon;if(!((((((((((((((((((((data59 === "calendar") || (data59 === "clock")) || (data59 === "person")) || (data59 === "briefcase")) || (data59 === "flag")) || (data59 === "moon")) || (data59 === "frontend")) || (data59 === "backend")) || (data59 === "database")) || (data59 === "cloud")) || (data59 === "security")) || (data59 === "messagebus")) || (data59 === "external")) || (data59 === "start")) || (data59 === "active")) || (data59 === "waiting")) || (data59 === "success")) || (data59 === "failure")) || (data59 === "neutral")) || (data59 === "none"))){const err151 = {instancePath:instancePath+"/states/" + i1+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data53.brand !== undefined){let data60 = data53.brand;const _errs170 = errors;let valid50 = false;let passing0 = null;const _errs171 = errors;const _errs173 = errors;let valid51 = false;const _errs174 = errors;if(typeof data60 === "string"){if(func3(data60) > 80){const err152 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}if(!pattern29.test(data60)){const err153 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}var _valid1 = _errs174 === errors;valid51 = valid51 || _valid1;const _errs175 = errors;if(typeof data60 === "string"){if(!pattern30.test(data60)){const err154 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}var _valid1 = _errs175 === errors;valid51 = valid51 || _valid1;if(!valid51){const err155 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}else {errors = _errs173;if(vErrors !== null){if(_errs173){vErrors.length = _errs173;}else {vErrors = null;}}}if(typeof data60 === "string"){if(func3(data60) > 2048){const err156 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}if(func3(data60) < 1){const err157 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}var _valid0 = _errs171 === errors;if(_valid0){valid50 = true;passing0 = 0;}const _errs176 = errors;if(data60 && typeof data60 == "object" && !Array.isArray(data60)){if(data60.url === undefined){const err159 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if(data60.sha256 === undefined){const err160 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}for(const key17 in data60){if(!((key17 === "url") || (key17 === "sha256"))){const err161 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data60.url !== undefined){let data61 = data60.url;if(typeof data61 === "string"){if(func3(data61) > 2048){const err162 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}if(func3(data61) < 8){const err163 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(!pattern30.test(data61)){const err164 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}else {const err165 = {instancePath:instancePath+"/states/" + i1+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(data60.sha256 !== undefined){let data62 = data60.sha256;if(typeof data62 === "string"){if(!pattern32.test(data62)){const err166 = {instancePath:instancePath+"/states/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/states/" + i1+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}var _valid0 = _errs176 === errors;if(_valid0 && valid50){valid50 = false;passing0 = [passing0, 1];}else {if(_valid0){valid50 = true;passing0 = 1;}}if(!valid50){const err169 = {instancePath:instancePath+"/states/" + i1+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}else {errors = _errs170;if(vErrors !== null){if(_errs170){vErrors.length = _errs170;}else {vErrors = null;}}}}if(data53.sources !== undefined){let data63 = data53.sources;if(Array.isArray(data63)){if(data63.length > 3){const err170 = {instancePath:instancePath+"/states/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if(data63.length < 1){const err171 = {instancePath:instancePath+"/states/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}const len4 = data63.length;for(let i2=0; i2<len4; i2++){let data64 = data63[i2];if(data64 && typeof data64 == "object" && !Array.isArray(data64)){if(data64.path === undefined){const err172 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}for(const key18 in data64){if(!((((key18 === "path") || (key18 === "line")) || (key18 === "end_line")) || (key18 === "label"))){const err173 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(data64.path !== undefined){let data65 = data64.path;if(typeof data65 === "string"){if(func3(data65) > 240){const err174 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(func3(data65) < 1){const err175 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data64.line !== undefined){let data66 = data64.line;if(!(((typeof data66 == "number") && (!(data66 % 1) && !isNaN(data66))) && (isFinite(data66)))){const err177 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}if((typeof data66 == "number") && (isFinite(data66))){if(data66 < 1 || isNaN(data66)){const err178 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}}if(data64.end_line !== undefined){let data67 = data64.end_line;if(!(((typeof data67 == "number") && (!(data67 % 1) && !isNaN(data67))) && (isFinite(data67)))){const err179 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}if((typeof data67 == "number") && (isFinite(data67))){if(data67 < 1 || isNaN(data67)){const err180 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}if(data64.label !== undefined){let data68 = data64.label;if(typeof data68 === "string"){if(func3(data68) > 48){const err181 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}if(func3(data68) < 1){const err182 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}else {const err183 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}}else {const err184 = {instancePath:instancePath+"/states/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}}else {const err185 = {instancePath:instancePath+"/states/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data53.step !== undefined){if(typeof data53.step !== "string"){const err186 = {instancePath:instancePath+"/states/" + i1+"/step",schemaPath:"#/properties/states/items/properties/step/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data53.lane !== undefined){let data70 = data53.lane;if(typeof data70 === "string"){if(!pattern16.test(data70)){const err187 = {instancePath:instancePath+"/states/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}else {const err188 = {instancePath:instancePath+"/states/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data53.col !== undefined){let data71 = data53.col;if(!(((typeof data71 == "number") && (!(data71 % 1) && !isNaN(data71))) && (isFinite(data71)))){const err189 = {instancePath:instancePath+"/states/" + i1+"/col",schemaPath:"#/properties/states/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}if((typeof data71 == "number") && (isFinite(data71))){if(data71 > 4 || isNaN(data71)){const err190 = {instancePath:instancePath+"/states/" + i1+"/col",schemaPath:"#/properties/states/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 4},message:"must be <= 4"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}if(data71 < 0 || isNaN(data71)){const err191 = {instancePath:instancePath+"/states/" + i1+"/col",schemaPath:"#/properties/states/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}}if(data53.width !== undefined){let data72 = data53.width;if((typeof data72 == "number") && (isFinite(data72))){if(data72 < 48 || isNaN(data72)){const err192 = {instancePath:instancePath+"/states/" + i1+"/width",schemaPath:"#/properties/states/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 48},message:"must be >= 48"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}else {const err193 = {instancePath:instancePath+"/states/" + i1+"/width",schemaPath:"#/properties/states/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data53.height !== undefined){let data73 = data53.height;if((typeof data73 == "number") && (isFinite(data73))){if(data73 < 36 || isNaN(data73)){const err194 = {instancePath:instancePath+"/states/" + i1+"/height",schemaPath:"#/properties/states/items/properties/height/minimum",keyword:"minimum",params:{comparison: ">=", limit: 36},message:"must be >= 36"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}else {const err195 = {instancePath:instancePath+"/states/" + i1+"/height",schemaPath:"#/properties/states/items/properties/height/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}if(data53.yOffset !== undefined){let data74 = data53.yOffset;if(!((typeof data74 == "number") && (isFinite(data74)))){const err196 = {instancePath:instancePath+"/states/" + i1+"/yOffset",schemaPath:"#/properties/states/items/properties/yOffset/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}}}else {const err197 = {instancePath:instancePath+"/states/" + i1,schemaPath:"#/properties/states/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}}else {const err198 = {instancePath:instancePath+"/states",schemaPath:"#/properties/states/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}if(data.transitions !== undefined){let data75 = data.transitions;if(Array.isArray(data75)){const len5 = data75.length;for(let i3=0; i3<len5; i3++){let data76 = data75[i3];if(data76 && typeof data76 == "object" && !Array.isArray(data76)){if(data76.from === undefined){const err199 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}if(data76.to === undefined){const err200 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}for(const key19 in data76){if(!(func1.call(schema133.properties.transitions.items.properties, key19))){const err201 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}if(data76.id !== undefined){let data77 = data76.id;if(typeof data77 === "string"){if(!pattern16.test(data77)){const err202 = {instancePath:instancePath+"/transitions/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}else {const err203 = {instancePath:instancePath+"/transitions/" + i3+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}if(data76.from !== undefined){let data78 = data76.from;if(typeof data78 === "string"){if(!pattern16.test(data78)){const err204 = {instancePath:instancePath+"/transitions/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}else {const err205 = {instancePath:instancePath+"/transitions/" + i3+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}if(data76.to !== undefined){let data79 = data76.to;if(typeof data79 === "string"){if(!pattern16.test(data79)){const err206 = {instancePath:instancePath+"/transitions/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/transitions/" + i3+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}if(data76.label !== undefined){if(typeof data76.label !== "string"){const err208 = {instancePath:instancePath+"/transitions/" + i3+"/label",schemaPath:"#/properties/transitions/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data76.note !== undefined){if(typeof data76.note !== "string"){const err209 = {instancePath:instancePath+"/transitions/" + i3+"/note",schemaPath:"#/properties/transitions/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data76.variant !== undefined){let data82 = data76.variant;if(!((((data82 === "default") || (data82 === "emphasis")) || (data82 === "security")) || (data82 === "dashed"))){const err210 = {instancePath:instancePath+"/transitions/" + i3+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}if(data76.route !== undefined){let data83 = data76.route;if(!(((((((data83 === "auto") || (data83 === "straight")) || (data83 === "drop")) || (data83 === "bottom-channel")) || (data83 === "top-channel")) || (data83 === "right-channel")) || (data83 === "left-channel"))){const err211 = {instancePath:instancePath+"/transitions/" + i3+"/route",schemaPath:"#/properties/transitions/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema133.properties.transitions.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}if(data76.fromSide !== undefined){let data84 = data76.fromSide;if(!((((data84 === "left") || (data84 === "right")) || (data84 === "top")) || (data84 === "bottom"))){const err212 = {instancePath:instancePath+"/transitions/" + i3+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data76.toSide !== undefined){let data85 = data76.toSide;if(!((((data85 === "left") || (data85 === "right")) || (data85 === "top")) || (data85 === "bottom"))){const err213 = {instancePath:instancePath+"/transitions/" + i3+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}if(data76.channelX !== undefined){let data86 = data76.channelX;if(!((typeof data86 == "number") && (isFinite(data86)))){const err214 = {instancePath:instancePath+"/transitions/" + i3+"/channelX",schemaPath:"#/properties/transitions/items/properties/channelX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}if(data76.channelY !== undefined){let data87 = data76.channelY;if(!((typeof data87 == "number") && (isFinite(data87)))){const err215 = {instancePath:instancePath+"/transitions/" + i3+"/channelY",schemaPath:"#/properties/transitions/items/properties/channelY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}if(data76.cornerRadius !== undefined){let data88 = data76.cornerRadius;if((typeof data88 == "number") && (isFinite(data88))){if(data88 < 0 || isNaN(data88)){const err216 = {instancePath:instancePath+"/transitions/" + i3+"/cornerRadius",schemaPath:"#/properties/transitions/items/properties/cornerRadius/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}else {const err217 = {instancePath:instancePath+"/transitions/" + i3+"/cornerRadius",schemaPath:"#/properties/transitions/items/properties/cornerRadius/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}if(data76.labelAt !== undefined){let data89 = data76.labelAt;if(Array.isArray(data89)){if(data89.length > 2){const err218 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}if(data89.length < 2){const err219 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}const len6 = data89.length;if(len6 > 0){let data90 = data89[0];if(!((typeof data90 == "number") && (isFinite(data90)))){const err220 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(len6 > 1){let data91 = data89[1];if(!((typeof data91 == "number") && (isFinite(data91)))){const err221 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}const len7 = data89.length;if(!(len7 <= 2)){const err222 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}}else {const err223 = {instancePath:instancePath+"/transitions/" + i3+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}if(data76.labelDx !== undefined){let data92 = data76.labelDx;if(!((typeof data92 == "number") && (isFinite(data92)))){const err224 = {instancePath:instancePath+"/transitions/" + i3+"/labelDx",schemaPath:"#/properties/transitions/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}if(data76.labelDy !== undefined){let data93 = data76.labelDy;if(!((typeof data93 == "number") && (isFinite(data93)))){const err225 = {instancePath:instancePath+"/transitions/" + i3+"/labelDy",schemaPath:"#/properties/transitions/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data76.labelSegment !== undefined){let data94 = data76.labelSegment;if(!(((typeof data94 == "number") && (!(data94 % 1) && !isNaN(data94))) && (isFinite(data94)))){const err226 = {instancePath:instancePath+"/transitions/" + i3+"/labelSegment",schemaPath:"#/properties/transitions/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}if((typeof data94 == "number") && (isFinite(data94))){if(data94 < 0 || isNaN(data94)){const err227 = {instancePath:instancePath+"/transitions/" + i3+"/labelSegment",schemaPath:"#/properties/transitions/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}}if(data76.via !== undefined){let data95 = data76.via;if(Array.isArray(data95)){const len8 = data95.length;for(let i4=0; i4<len8; i4++){let data96 = data95[i4];if(Array.isArray(data96)){if(data96.length > 2){const err228 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}if(data96.length < 2){const err229 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}const len9 = data96.length;if(len9 > 0){let data97 = data96[0];if(!((typeof data97 == "number") && (isFinite(data97)))){const err230 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}if(len9 > 1){let data98 = data96[1];if(!((typeof data98 == "number") && (isFinite(data98)))){const err231 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}const len10 = data96.length;if(!(len10 <= 2)){const err232 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}else {const err233 = {instancePath:instancePath+"/transitions/" + i3+"/via/" + i4,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}}}else {const err234 = {instancePath:instancePath+"/transitions/" + i3+"/via",schemaPath:"#/properties/transitions/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}if(data76.width !== undefined){let data99 = data76.width;if((typeof data99 == "number") && (isFinite(data99))){if(data99 < 0.5 || isNaN(data99)){const err235 = {instancePath:instancePath+"/transitions/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}}else {const err236 = {instancePath:instancePath+"/transitions/" + i3+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}}}else {const err237 = {instancePath:instancePath+"/transitions/" + i3,schemaPath:"#/properties/transitions/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}}else {const err238 = {instancePath:instancePath+"/transitions",schemaPath:"#/properties/transitions/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}if(data.cards !== undefined){let data100 = data.cards;if(Array.isArray(data100)){const len11 = data100.length;for(let i5=0; i5<len11; i5++){let data101 = data100[i5];if(data101 && typeof data101 == "object" && !Array.isArray(data101)){if(data101.dot === undefined){const err239 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}if(data101.title === undefined){const err240 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}if(data101.items === undefined){const err241 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}for(const key20 in data101){if(!(((key20 === "dot") || (key20 === "title")) || (key20 === "items"))){const err242 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}}if(data101.dot !== undefined){let data102 = data101.dot;if(!(((((((data102 === "cyan") || (data102 === "emerald")) || (data102 === "violet")) || (data102 === "amber")) || (data102 === "rose")) || (data102 === "orange")) || (data102 === "slate"))){const err243 = {instancePath:instancePath+"/cards/" + i5+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}}if(data101.title !== undefined){let data103 = data101.title;if(typeof data103 === "string"){if(func3(data103) < 1){const err244 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}else {const err245 = {instancePath:instancePath+"/cards/" + i5+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}}if(data101.items !== undefined){let data104 = data101.items;if(Array.isArray(data104)){const len12 = data104.length;for(let i6=0; i6<len12; i6++){if(typeof data104[i6] !== "string"){const err246 = {instancePath:instancePath+"/cards/" + i5+"/items/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}}else {const err247 = {instancePath:instancePath+"/cards/" + i5+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}}else {const err248 = {instancePath:instancePath+"/cards/" + i5,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}}else {const err249 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}}else {const err250 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}validate33.errors = vErrors;return errors === 0;}validate33.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const architectureSchema = validate36;const schema169 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/architecture.schema.json","title":"Archify Architecture Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","components"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"architecture"},"meta":{"type":"object","additionalProperties":false,"required":["title","output"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"translations":{"$ref":"common.schema.json#/$defs/translations"},"subtitle":{"type":"string"},"output":{"$ref":"common.schema.json#/$defs/portableOutputPath"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"engineering_profile":{"enum":["deployment-ownership"]},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"frontend":{"$ref":"common.schema.json#/$defs/legendEntry"},"backend":{"$ref":"common.schema.json#/$defs/legendEntry"},"database":{"$ref":"common.schema.json#/$defs/legendEntry"},"cloud":{"$ref":"common.schema.json#/$defs/legendEntry"},"security":{"$ref":"common.schema.json#/$defs/legendEntry"},"messagebus":{"$ref":"common.schema.json#/$defs/legendEntry"},"external":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"enum":["grid"]},"origin":{"$ref":"common.schema.json#/$defs/point"},"cols":{"type":"integer","minimum":1,"maximum":12},"gapX":{"type":"number","minimum":0},"gapY":{"type":"number","minimum":0},"cellW":{"type":"number","minimum":40},"cellH":{"type":"number","minimum":24}}},"components":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","type","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"type":{"$ref":"common.schema.json#/$defs/componentType"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"icon":{"$ref":"common.schema.json#/$defs/nodeIcon"},"brand":{"$ref":"common.schema.json#/$defs/brandMark"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"},"row":{"type":"integer","minimum":0},"col":{"type":"integer","minimum":0},"pos":{"$ref":"common.schema.json#/$defs/point"},"size":{"type":"array","prefixItems":[{"type":"number","exclusiveMinimum":0},{"type":"number","exclusiveMinimum":0}],"items":false,"minItems":2,"maxItems":2}}}},"boundaries":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["kind","label","wraps"],"properties":{"kind":{"enum":["region","security-group"]},"label":{"type":"string","minLength":1},"wraps":{"type":"array","minItems":1,"items":{"$ref":"common.schema.json#/$defs/id"}},"pad":{"type":"number","minimum":0}}}},"connections":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"route":{"enum":["auto","straight","orthogonal-h","orthogonal-v"]},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate37(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate37.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate37.errors = vErrors;return errors === 0;}validate37.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate36(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/architecture.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate36.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.components === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "components"},message:"must have required property '"+"components"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!((((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "components")) || (key0 === "boundaries")) || (key0 === "connections")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("architecture" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "architecture"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data2.output === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "output"},message:"must have required property '"+"output"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key1 in data2){if(!(func1.call(schema169.properties.meta.properties, key1))){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}else {const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!pattern4.test(data4)){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}else {const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.translations !== undefined){let data5 = data2.translations;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(Object.keys(data5).length > 600){const err15 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/maxProperties",keyword:"maxProperties",params:{limit: 600},message:"must NOT have more than 600 properties"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}for(const key2 in data5){const _errs15 = errors;if(typeof key2 === "string"){if(!pattern5.test(key2)){const err16 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames/pattern",keyword:"pattern",params:{pattern: "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"},message:"must match pattern \""+"^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"+"\"",propertyName:key2};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}var valid4 = _errs15 === errors;if(!valid4){const err17 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/propertyNames",keyword:"propertyNames",params:{propertyName: key2},message:"property name must be valid"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}for(const key3 in data5){let data6 = data5[key3];if(typeof data6 === "string"){if(func3(data6) > 400){const err18 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/maxLength",keyword:"maxLength",params:{limit: 400},message:"must NOT have more than 400 characters"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(func3(data6) < 1){const err19 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}else {const err20 = {instancePath:instancePath+"/meta/translations/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"common.schema.json#/$defs/translations/additionalProperties/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}}else {const err21 = {instancePath:instancePath+"/meta/translations",schemaPath:"common.schema.json#/$defs/translations/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err22 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data2.output !== undefined){let data8 = data2.output;if(typeof data8 === "string"){if(!pattern6.test(data8)){const err23 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/0/pattern",keyword:"pattern",params:{pattern: "(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"},message:"must match pattern \""+"(?:^|/)[^/]+[.][Hh][Tt][Mm][Ll]$"+"\""};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}const _errs26 = errors;const _errs27 = errors;if(typeof data8 === "string"){if(!pattern7.test(data8)){const err24 = {};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}var valid8 = _errs27 === errors;if(valid8){const err25 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}else {errors = _errs26;if(vErrors !== null){if(_errs26){vErrors.length = _errs26;}else {vErrors = null;}}}const _errs29 = errors;const _errs30 = errors;if(typeof data8 === "string"){if(!pattern8.test(data8)){const err26 = {};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}var valid9 = _errs30 === errors;if(valid9){const err27 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}else {errors = _errs29;if(vErrors !== null){if(_errs29){vErrors.length = _errs29;}else {vErrors = null;}}}const _errs32 = errors;const _errs33 = errors;if(typeof data8 === "string"){if(!pattern9.test(data8)){const err28 = {};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}var valid10 = _errs33 === errors;if(valid10){const err29 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}else {errors = _errs32;if(vErrors !== null){if(_errs32){vErrors.length = _errs32;}else {vErrors = null;}}}const _errs35 = errors;const _errs36 = errors;if(typeof data8 === "string"){if(!pattern10.test(data8)){const err30 = {};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}var valid11 = _errs36 === errors;if(valid11){const err31 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}else {errors = _errs35;if(vErrors !== null){if(_errs35){vErrors.length = _errs35;}else {vErrors = null;}}}const _errs38 = errors;const _errs39 = errors;if(typeof data8 === "string"){if(!pattern11.test(data8)){const err32 = {};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}var valid12 = _errs39 === errors;if(valid12){const err33 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/5/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}else {errors = _errs38;if(vErrors !== null){if(_errs38){vErrors.length = _errs38;}else {vErrors = null;}}}const _errs41 = errors;const _errs42 = errors;if(typeof data8 === "string"){if(!pattern12.test(data8)){const err34 = {};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}var valid13 = _errs42 === errors;if(valid13){const err35 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/6/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}const _errs44 = errors;const _errs45 = errors;if(typeof data8 === "string"){if(!pattern13.test(data8)){const err36 = {};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}var valid14 = _errs45 === errors;if(valid14){const err37 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/allOf/7/not",keyword:"not",params:{},message:"must NOT be valid"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs44;if(vErrors !== null){if(_errs44){vErrors.length = _errs44;}else {vErrors = null;}}}if(typeof data8 === "string"){if(func3(data8) < 1){const err38 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(!pattern14.test(data8)){const err39 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/pattern",keyword:"pattern",params:{pattern: "^[^/]+(?:/[^/]+)*$"},message:"must match pattern \""+"^[^/]+(?:/[^/]+)*$"+"\""};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}else {const err40 = {instancePath:instancePath+"/meta/output",schemaPath:"common.schema.json#/$defs/portableOutputPath/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data2.animation !== undefined){let data9 = data2.animation;if(!((data9 === "trace") || (data9 === "none"))){const err41 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data2.visual_preset !== undefined){let data10 = data2.visual_preset;if(!((((data10 === "classic") || (data10 === "signal-flow")) || (data10 === "blueprint")) || (data10 === "editorial"))){const err42 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}if(data2.quality_profile !== undefined){let data11 = data2.quality_profile;if(!((data11 === "standard") || (data11 === "showcase"))){const err43 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data2.engineering_profile !== undefined){if(!(data2.engineering_profile === "deployment-ownership")){const err44 = {instancePath:instancePath+"/meta/engineering_profile",schemaPath:"#/properties/meta/properties/engineering_profile/enum",keyword:"enum",params:{allowedValues: schema169.properties.meta.properties.engineering_profile.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}if(data2.repository !== undefined){let data13 = data2.repository;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.url === undefined){const err45 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}if(data13.revision === undefined){const err46 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key4 in data13){if(!((((key4 === "url") || (key4 === "provider")) || (key4 === "link_mode")) || (key4 === "revision"))){const err47 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data13.url !== undefined){let data14 = data13.url;if(typeof data14 === "string"){if(func3(data14) < 1){const err48 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}else {const err49 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}if(data13.provider !== undefined){let data15 = data13.provider;if(!((data15 === "github") || (data15 === "gitee"))){const err50 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data13.link_mode !== undefined){let data16 = data13.link_mode;if(!((data16 === "web") || (data16 === "local-only"))){const err51 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data13.revision !== undefined){let data17 = data13.revision;if(typeof data17 === "string"){if(!pattern15.test(data17)){const err52 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}else {const err53 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}}else {const err54 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data2.views !== undefined){if(!(validate37(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate37.errors : vErrors.concat(validate37.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data19 = data2.legend;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){for(const key5 in data19){if(!((key5 === "mode") || (key5 === "entries"))){const err55 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}if(data19.mode !== undefined){let data20 = data19.mode;if(!(((data20 === "auto") || (data20 === "all")) || (data20 === "hidden"))){const err56 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data19.entries !== undefined){let data21 = data19.entries;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){for(const key6 in data21){if(!(((((((key6 === "frontend") || (key6 === "backend")) || (key6 === "database")) || (key6 === "cloud")) || (key6 === "security")) || (key6 === "messagebus")) || (key6 === "external"))){const err57 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data21.frontend !== undefined){let data22 = data21.frontend;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err58 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}for(const key7 in data22){if(!((key7 === "label") || (key7 === "visible"))){const err59 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err60 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}if(func3(data23) < 1){const err61 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}else {const err62 = {instancePath:instancePath+"/meta/legend/entries/frontend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err63 = {instancePath:instancePath+"/meta/legend/entries/frontend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}}else {const err64 = {instancePath:instancePath+"/meta/legend/entries/frontend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data21.backend !== undefined){let data25 = data21.backend;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err65 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}for(const key8 in data25){if(!((key8 === "label") || (key8 === "visible"))){const err66 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err67 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(func3(data26) < 1){const err68 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}else {const err69 = {instancePath:instancePath+"/meta/legend/entries/backend/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err70 = {instancePath:instancePath+"/meta/legend/entries/backend/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}}else {const err71 = {instancePath:instancePath+"/meta/legend/entries/backend",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data21.database !== undefined){let data28 = data21.database;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err72 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}for(const key9 in data28){if(!((key9 === "label") || (key9 === "visible"))){const err73 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err74 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(func3(data29) < 1){const err75 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}else {const err76 = {instancePath:instancePath+"/meta/legend/entries/database/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err77 = {instancePath:instancePath+"/meta/legend/entries/database/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}else {const err78 = {instancePath:instancePath+"/meta/legend/entries/database",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data21.cloud !== undefined){let data31 = data21.cloud;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err79 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}for(const key10 in data31){if(!((key10 === "label") || (key10 === "visible"))){const err80 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err81 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(func3(data32) < 1){const err82 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/meta/legend/entries/cloud/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err84 = {instancePath:instancePath+"/meta/legend/entries/cloud/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}}else {const err85 = {instancePath:instancePath+"/meta/legend/entries/cloud",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data21.security !== undefined){let data34 = data21.security;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err86 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}for(const key11 in data34){if(!((key11 === "label") || (key11 === "visible"))){const err87 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err88 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(func3(data35) < 1){const err89 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}else {const err90 = {instancePath:instancePath+"/meta/legend/entries/security/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err91 = {instancePath:instancePath+"/meta/legend/entries/security/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}}else {const err92 = {instancePath:instancePath+"/meta/legend/entries/security",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}if(data21.messagebus !== undefined){let data37 = data21.messagebus;if(data37 && typeof data37 == "object" && !Array.isArray(data37)){if(Object.keys(data37).length < 1){const err93 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}for(const key12 in data37){if(!((key12 === "label") || (key12 === "visible"))){const err94 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}if(data37.label !== undefined){let data38 = data37.label;if(typeof data38 === "string"){if(func3(data38) > 80){const err95 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}if(func3(data38) < 1){const err96 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}else {const err97 = {instancePath:instancePath+"/meta/legend/entries/messagebus/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data37.visible !== undefined){if(typeof data37.visible !== "boolean"){const err98 = {instancePath:instancePath+"/meta/legend/entries/messagebus/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}}else {const err99 = {instancePath:instancePath+"/meta/legend/entries/messagebus",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(data21.external !== undefined){let data40 = data21.external;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(Object.keys(data40).length < 1){const err100 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}for(const key13 in data40){if(!((key13 === "label") || (key13 === "visible"))){const err101 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data40.label !== undefined){let data41 = data40.label;if(typeof data41 === "string"){if(func3(data41) > 80){const err102 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}if(func3(data41) < 1){const err103 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}else {const err104 = {instancePath:instancePath+"/meta/legend/entries/external/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data40.visible !== undefined){if(typeof data40.visible !== "boolean"){const err105 = {instancePath:instancePath+"/meta/legend/entries/external/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}}}else {const err106 = {instancePath:instancePath+"/meta/legend/entries/external",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}}}else {const err107 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}}else {const err108 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data2.viewBox !== undefined){let data43 = data2.viewBox;if(Array.isArray(data43)){if(data43.length > 2){const err109 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}if(data43.length < 2){const err110 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}const len0 = data43.length;if(len0 > 0){let data44 = data43[0];if((typeof data44 == "number") && (isFinite(data44))){if(data44 < 320 || isNaN(data44)){const err111 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}else {const err112 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(len0 > 1){let data45 = data43[1];if((typeof data45 == "number") && (isFinite(data45))){if(data45 < 240 || isNaN(data45)){const err113 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}else {const err114 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}const len1 = data43.length;if(!(len1 <= 2)){const err115 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}}else {const err116 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}}else {const err117 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}if(data.layout !== undefined){let data46 = data.layout;if(data46 && typeof data46 == "object" && !Array.isArray(data46)){if(data46.mode === undefined){const err118 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/required",keyword:"required",params:{missingProperty: "mode"},message:"must have required property '"+"mode"+"'"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}for(const key14 in data46){if(!(((((((key14 === "mode") || (key14 === "origin")) || (key14 === "cols")) || (key14 === "gapX")) || (key14 === "gapY")) || (key14 === "cellW")) || (key14 === "cellH"))){const err119 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data46.mode !== undefined){if(!(data46.mode === "grid")){const err120 = {instancePath:instancePath+"/layout/mode",schemaPath:"#/properties/layout/properties/mode/enum",keyword:"enum",params:{allowedValues: schema169.properties.layout.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(data46.origin !== undefined){let data48 = data46.origin;if(Array.isArray(data48)){if(data48.length > 2){const err121 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(data48.length < 2){const err122 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}const len2 = data48.length;if(len2 > 0){let data49 = data48[0];if(!((typeof data49 == "number") && (isFinite(data49)))){const err123 = {instancePath:instancePath+"/layout/origin/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(len2 > 1){let data50 = data48[1];if(!((typeof data50 == "number") && (isFinite(data50)))){const err124 = {instancePath:instancePath+"/layout/origin/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}const len3 = data48.length;if(!(len3 <= 2)){const err125 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data46.cols !== undefined){let data51 = data46.cols;if(!(((typeof data51 == "number") && (!(data51 % 1) && !isNaN(data51))) && (isFinite(data51)))){const err127 = {instancePath:instancePath+"/layout/cols",schemaPath:"#/properties/layout/properties/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}if((typeof data51 == "number") && (isFinite(data51))){if(data51 > 12 || isNaN(data51)){const err128 = {instancePath:instancePath+"/layout/cols",schemaPath:"#/properties/layout/properties/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(data51 < 1 || isNaN(data51)){const err129 = {instancePath:instancePath+"/layout/cols",schemaPath:"#/properties/layout/properties/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}}if(data46.gapX !== undefined){let data52 = data46.gapX;if((typeof data52 == "number") && (isFinite(data52))){if(data52 < 0 || isNaN(data52)){const err130 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}else {const err131 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}if(data46.gapY !== undefined){let data53 = data46.gapY;if((typeof data53 == "number") && (isFinite(data53))){if(data53 < 0 || isNaN(data53)){const err132 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}else {const err133 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}if(data46.cellW !== undefined){let data54 = data46.cellW;if((typeof data54 == "number") && (isFinite(data54))){if(data54 < 40 || isNaN(data54)){const err134 = {instancePath:instancePath+"/layout/cellW",schemaPath:"#/properties/layout/properties/cellW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 40},message:"must be >= 40"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}else {const err135 = {instancePath:instancePath+"/layout/cellW",schemaPath:"#/properties/layout/properties/cellW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}if(data46.cellH !== undefined){let data55 = data46.cellH;if((typeof data55 == "number") && (isFinite(data55))){if(data55 < 24 || isNaN(data55)){const err136 = {instancePath:instancePath+"/layout/cellH",schemaPath:"#/properties/layout/properties/cellH/minimum",keyword:"minimum",params:{comparison: ">=", limit: 24},message:"must be >= 24"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}else {const err137 = {instancePath:instancePath+"/layout/cellH",schemaPath:"#/properties/layout/properties/cellH/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}}else {const err138 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data.components !== undefined){let data56 = data.components;if(Array.isArray(data56)){if(data56.length < 1){const err139 = {instancePath:instancePath+"/components",schemaPath:"#/properties/components/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}const len4 = data56.length;for(let i0=0; i0<len4; i0++){let data57 = data56[i0];if(data57 && typeof data57 == "object" && !Array.isArray(data57)){if(data57.id === undefined){const err140 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if(data57.type === undefined){const err141 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}if(data57.label === undefined){const err142 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}for(const key15 in data57){if(!(func1.call(schema169.properties.components.items.properties, key15))){const err143 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}if(data57.id !== undefined){let data58 = data57.id;if(typeof data58 === "string"){if(!pattern16.test(data58)){const err144 = {instancePath:instancePath+"/components/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}else {const err145 = {instancePath:instancePath+"/components/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data57.type !== undefined){let data59 = data57.type;if(!(((((((data59 === "frontend") || (data59 === "backend")) || (data59 === "database")) || (data59 === "cloud")) || (data59 === "security")) || (data59 === "messagebus")) || (data59 === "external"))){const err146 = {instancePath:instancePath+"/components/" + i0+"/type",schemaPath:"common.schema.json#/$defs/componentType/enum",keyword:"enum",params:{allowedValues: schema60.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}if(data57.label !== undefined){let data60 = data57.label;if(typeof data60 === "string"){if(func3(data60) < 1){const err147 = {instancePath:instancePath+"/components/" + i0+"/label",schemaPath:"#/properties/components/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}else {const err148 = {instancePath:instancePath+"/components/" + i0+"/label",schemaPath:"#/properties/components/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data57.sublabel !== undefined){if(typeof data57.sublabel !== "string"){const err149 = {instancePath:instancePath+"/components/" + i0+"/sublabel",schemaPath:"#/properties/components/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}if(data57.tag !== undefined){if(typeof data57.tag !== "string"){const err150 = {instancePath:instancePath+"/components/" + i0+"/tag",schemaPath:"#/properties/components/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}if(data57.icon !== undefined){let data63 = data57.icon;if(!((((((((((((((((((((data63 === "calendar") || (data63 === "clock")) || (data63 === "person")) || (data63 === "briefcase")) || (data63 === "flag")) || (data63 === "moon")) || (data63 === "frontend")) || (data63 === "backend")) || (data63 === "database")) || (data63 === "cloud")) || (data63 === "security")) || (data63 === "messagebus")) || (data63 === "external")) || (data63 === "start")) || (data63 === "active")) || (data63 === "waiting")) || (data63 === "success")) || (data63 === "failure")) || (data63 === "neutral")) || (data63 === "none"))){const err151 = {instancePath:instancePath+"/components/" + i0+"/icon",schemaPath:"common.schema.json#/$defs/nodeIcon/enum",keyword:"enum",params:{allowedValues: schema61.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data57.brand !== undefined){let data64 = data57.brand;const _errs175 = errors;let valid48 = false;let passing0 = null;const _errs176 = errors;const _errs178 = errors;let valid49 = false;const _errs179 = errors;if(typeof data64 === "string"){if(func3(data64) > 80){const err152 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}if(!pattern29.test(data64)){const err153 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/0/pattern",keyword:"pattern",params:{pattern: "^[^\\r\\n]+$"},message:"must match pattern \""+"^[^\\r\\n]+$"+"\""};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}var _valid1 = _errs179 === errors;valid49 = valid49 || _valid1;const _errs180 = errors;if(typeof data64 === "string"){if(!pattern30.test(data64)){const err154 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf/1/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}var _valid1 = _errs180 === errors;valid49 = valid49 || _valid1;if(!valid49){const err155 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}else {errors = _errs178;if(vErrors !== null){if(_errs178){vErrors.length = _errs178;}else {vErrors = null;}}}if(typeof data64 === "string"){if(func3(data64) > 2048){const err156 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}if(func3(data64) < 1){const err157 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/0/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}var _valid0 = _errs176 === errors;if(_valid0){valid48 = true;passing0 = 0;}const _errs181 = errors;if(data64 && typeof data64 == "object" && !Array.isArray(data64)){if(data64.url === undefined){const err159 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if(data64.sha256 === undefined){const err160 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/required",keyword:"required",params:{missingProperty: "sha256"},message:"must have required property '"+"sha256"+"'"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}for(const key16 in data64){if(!((key16 === "url") || (key16 === "sha256"))){const err161 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data64.url !== undefined){let data65 = data64.url;if(typeof data65 === "string"){if(func3(data65) > 2048){const err162 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/maxLength",keyword:"maxLength",params:{limit: 2048},message:"must NOT have more than 2048 characters"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}if(func3(data65) < 8){const err163 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/minLength",keyword:"minLength",params:{limit: 8},message:"must NOT have fewer than 8 characters"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(!pattern30.test(data65)){const err164 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/pattern",keyword:"pattern",params:{pattern: "^https?://"},message:"must match pattern \""+"^https?://"+"\""};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}else {const err165 = {instancePath:instancePath+"/components/" + i0+"/brand/url",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}if(data64.sha256 !== undefined){let data66 = data64.sha256;if(typeof data66 === "string"){if(!pattern32.test(data66)){const err166 = {instancePath:instancePath+"/components/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/pattern",keyword:"pattern",params:{pattern: "^[a-f0-9]{64}$"},message:"must match pattern \""+"^[a-f0-9]{64}$"+"\""};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}else {const err167 = {instancePath:instancePath+"/components/" + i0+"/brand/sha256",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/properties/sha256/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}var _valid0 = _errs181 === errors;if(_valid0 && valid48){valid48 = false;passing0 = [passing0, 1];}else {if(_valid0){valid48 = true;passing0 = 1;}}if(!valid48){const err169 = {instancePath:instancePath+"/components/" + i0+"/brand",schemaPath:"common.schema.json#/$defs/brandMark/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}else {errors = _errs175;if(vErrors !== null){if(_errs175){vErrors.length = _errs175;}else {vErrors = null;}}}}if(data57.sources !== undefined){let data67 = data57.sources;if(Array.isArray(data67)){if(data67.length > 3){const err170 = {instancePath:instancePath+"/components/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}if(data67.length < 1){const err171 = {instancePath:instancePath+"/components/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}const len5 = data67.length;for(let i1=0; i1<len5; i1++){let data68 = data67[i1];if(data68 && typeof data68 == "object" && !Array.isArray(data68)){if(data68.path === undefined){const err172 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}for(const key17 in data68){if(!((((key17 === "path") || (key17 === "line")) || (key17 === "end_line")) || (key17 === "label"))){const err173 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key17},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(data68.path !== undefined){let data69 = data68.path;if(typeof data69 === "string"){if(func3(data69) > 240){const err174 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(func3(data69) < 1){const err175 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data68.line !== undefined){let data70 = data68.line;if(!(((typeof data70 == "number") && (!(data70 % 1) && !isNaN(data70))) && (isFinite(data70)))){const err177 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}if((typeof data70 == "number") && (isFinite(data70))){if(data70 < 1 || isNaN(data70)){const err178 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}}if(data68.end_line !== undefined){let data71 = data68.end_line;if(!(((typeof data71 == "number") && (!(data71 % 1) && !isNaN(data71))) && (isFinite(data71)))){const err179 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}if((typeof data71 == "number") && (isFinite(data71))){if(data71 < 1 || isNaN(data71)){const err180 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}if(data68.label !== undefined){let data72 = data68.label;if(typeof data72 === "string"){if(func3(data72) > 48){const err181 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}if(func3(data72) < 1){const err182 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}else {const err183 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}}else {const err184 = {instancePath:instancePath+"/components/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}}else {const err185 = {instancePath:instancePath+"/components/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data57.row !== undefined){let data73 = data57.row;if(!(((typeof data73 == "number") && (!(data73 % 1) && !isNaN(data73))) && (isFinite(data73)))){const err186 = {instancePath:instancePath+"/components/" + i0+"/row",schemaPath:"#/properties/components/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}if((typeof data73 == "number") && (isFinite(data73))){if(data73 < 0 || isNaN(data73)){const err187 = {instancePath:instancePath+"/components/" + i0+"/row",schemaPath:"#/properties/components/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}}if(data57.col !== undefined){let data74 = data57.col;if(!(((typeof data74 == "number") && (!(data74 % 1) && !isNaN(data74))) && (isFinite(data74)))){const err188 = {instancePath:instancePath+"/components/" + i0+"/col",schemaPath:"#/properties/components/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}if((typeof data74 == "number") && (isFinite(data74))){if(data74 < 0 || isNaN(data74)){const err189 = {instancePath:instancePath+"/components/" + i0+"/col",schemaPath:"#/properties/components/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}}if(data57.pos !== undefined){let data75 = data57.pos;if(Array.isArray(data75)){if(data75.length > 2){const err190 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}if(data75.length < 2){const err191 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}const len6 = data75.length;if(len6 > 0){let data76 = data75[0];if(!((typeof data76 == "number") && (isFinite(data76)))){const err192 = {instancePath:instancePath+"/components/" + i0+"/pos/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(len6 > 1){let data77 = data75[1];if(!((typeof data77 == "number") && (isFinite(data77)))){const err193 = {instancePath:instancePath+"/components/" + i0+"/pos/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}const len7 = data75.length;if(!(len7 <= 2)){const err194 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}else {const err195 = {instancePath:instancePath+"/components/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}}if(data57.size !== undefined){let data78 = data57.size;if(Array.isArray(data78)){if(data78.length > 2){const err196 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}if(data78.length < 2){const err197 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}const len8 = data78.length;if(len8 > 0){let data79 = data78[0];if((typeof data79 == "number") && (isFinite(data79))){if(data79 <= 0 || isNaN(data79)){const err198 = {instancePath:instancePath+"/components/" + i0+"/size/0",schemaPath:"#/properties/components/items/properties/size/prefixItems/0/exclusiveMinimum",keyword:"exclusiveMinimum",params:{comparison: ">", limit: 0},message:"must be > 0"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}else {const err199 = {instancePath:instancePath+"/components/" + i0+"/size/0",schemaPath:"#/properties/components/items/properties/size/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}if(len8 > 1){let data80 = data78[1];if((typeof data80 == "number") && (isFinite(data80))){if(data80 <= 0 || isNaN(data80)){const err200 = {instancePath:instancePath+"/components/" + i0+"/size/1",schemaPath:"#/properties/components/items/properties/size/prefixItems/1/exclusiveMinimum",keyword:"exclusiveMinimum",params:{comparison: ">", limit: 0},message:"must be > 0"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}else {const err201 = {instancePath:instancePath+"/components/" + i0+"/size/1",schemaPath:"#/properties/components/items/properties/size/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}const len9 = data78.length;if(!(len9 <= 2)){const err202 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}}else {const err203 = {instancePath:instancePath+"/components/" + i0+"/size",schemaPath:"#/properties/components/items/properties/size/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}}}else {const err204 = {instancePath:instancePath+"/components/" + i0,schemaPath:"#/properties/components/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}}else {const err205 = {instancePath:instancePath+"/components",schemaPath:"#/properties/components/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}if(data.boundaries !== undefined){let data81 = data.boundaries;if(Array.isArray(data81)){const len10 = data81.length;for(let i2=0; i2<len10; i2++){let data82 = data81[i2];if(data82 && typeof data82 == "object" && !Array.isArray(data82)){if(data82.kind === undefined){const err206 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}if(data82.label === undefined){const err207 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}if(data82.wraps === undefined){const err208 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/required",keyword:"required",params:{missingProperty: "wraps"},message:"must have required property '"+"wraps"+"'"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}for(const key18 in data82){if(!((((key18 === "kind") || (key18 === "label")) || (key18 === "wraps")) || (key18 === "pad"))){const err209 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key18},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data82.kind !== undefined){let data83 = data82.kind;if(!((data83 === "region") || (data83 === "security-group"))){const err210 = {instancePath:instancePath+"/boundaries/" + i2+"/kind",schemaPath:"#/properties/boundaries/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema169.properties.boundaries.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}}if(data82.label !== undefined){let data84 = data82.label;if(typeof data84 === "string"){if(func3(data84) < 1){const err211 = {instancePath:instancePath+"/boundaries/" + i2+"/label",schemaPath:"#/properties/boundaries/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}else {const err212 = {instancePath:instancePath+"/boundaries/" + i2+"/label",schemaPath:"#/properties/boundaries/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}if(data82.wraps !== undefined){let data85 = data82.wraps;if(Array.isArray(data85)){if(data85.length < 1){const err213 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps",schemaPath:"#/properties/boundaries/items/properties/wraps/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}const len11 = data85.length;for(let i3=0; i3<len11; i3++){let data86 = data85[i3];if(typeof data86 === "string"){if(!pattern16.test(data86)){const err214 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps/" + i3,schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}else {const err215 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps/" + i3,schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}}else {const err216 = {instancePath:instancePath+"/boundaries/" + i2+"/wraps",schemaPath:"#/properties/boundaries/items/properties/wraps/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}}if(data82.pad !== undefined){let data87 = data82.pad;if((typeof data87 == "number") && (isFinite(data87))){if(data87 < 0 || isNaN(data87)){const err217 = {instancePath:instancePath+"/boundaries/" + i2+"/pad",schemaPath:"#/properties/boundaries/items/properties/pad/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}}else {const err218 = {instancePath:instancePath+"/boundaries/" + i2+"/pad",schemaPath:"#/properties/boundaries/items/properties/pad/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}}}else {const err219 = {instancePath:instancePath+"/boundaries/" + i2,schemaPath:"#/properties/boundaries/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}}else {const err220 = {instancePath:instancePath+"/boundaries",schemaPath:"#/properties/boundaries/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(data.connections !== undefined){let data88 = data.connections;if(Array.isArray(data88)){const len12 = data88.length;for(let i4=0; i4<len12; i4++){let data89 = data88[i4];if(data89 && typeof data89 == "object" && !Array.isArray(data89)){if(data89.from === undefined){const err221 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}if(data89.to === undefined){const err222 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}for(const key19 in data89){if(!(func1.call(schema169.properties.connections.items.properties, key19))){const err223 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key19},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}if(data89.id !== undefined){let data90 = data89.id;if(typeof data90 === "string"){if(!pattern16.test(data90)){const err224 = {instancePath:instancePath+"/connections/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}else {const err225 = {instancePath:instancePath+"/connections/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}if(data89.from !== undefined){let data91 = data89.from;if(typeof data91 === "string"){if(!pattern16.test(data91)){const err226 = {instancePath:instancePath+"/connections/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}}else {const err227 = {instancePath:instancePath+"/connections/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}}if(data89.to !== undefined){let data92 = data89.to;if(typeof data92 === "string"){if(!pattern16.test(data92)){const err228 = {instancePath:instancePath+"/connections/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err228];}else {vErrors.push(err228);}errors++;}}else {const err229 = {instancePath:instancePath+"/connections/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err229];}else {vErrors.push(err229);}errors++;}}if(data89.label !== undefined){if(typeof data89.label !== "string"){const err230 = {instancePath:instancePath+"/connections/" + i4+"/label",schemaPath:"#/properties/connections/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err230];}else {vErrors.push(err230);}errors++;}}if(data89.variant !== undefined){let data94 = data89.variant;if(!((((data94 === "default") || (data94 === "emphasis")) || (data94 === "security")) || (data94 === "dashed"))){const err231 = {instancePath:instancePath+"/connections/" + i4+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err231];}else {vErrors.push(err231);}errors++;}}if(data89.fromSide !== undefined){let data95 = data89.fromSide;if(!((((data95 === "left") || (data95 === "right")) || (data95 === "top")) || (data95 === "bottom"))){const err232 = {instancePath:instancePath+"/connections/" + i4+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err232];}else {vErrors.push(err232);}errors++;}}if(data89.toSide !== undefined){let data96 = data89.toSide;if(!((((data96 === "left") || (data96 === "right")) || (data96 === "top")) || (data96 === "bottom"))){const err233 = {instancePath:instancePath+"/connections/" + i4+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err233];}else {vErrors.push(err233);}errors++;}}if(data89.route !== undefined){let data97 = data89.route;if(!((((data97 === "auto") || (data97 === "straight")) || (data97 === "orthogonal-h")) || (data97 === "orthogonal-v"))){const err234 = {instancePath:instancePath+"/connections/" + i4+"/route",schemaPath:"#/properties/connections/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema169.properties.connections.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err234];}else {vErrors.push(err234);}errors++;}}if(data89.via !== undefined){let data98 = data89.via;if(Array.isArray(data98)){const len13 = data98.length;for(let i5=0; i5<len13; i5++){let data99 = data98[i5];if(Array.isArray(data99)){if(data99.length > 2){const err235 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err235];}else {vErrors.push(err235);}errors++;}if(data99.length < 2){const err236 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err236];}else {vErrors.push(err236);}errors++;}const len14 = data99.length;if(len14 > 0){let data100 = data99[0];if(!((typeof data100 == "number") && (isFinite(data100)))){const err237 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err237];}else {vErrors.push(err237);}errors++;}}if(len14 > 1){let data101 = data99[1];if(!((typeof data101 == "number") && (isFinite(data101)))){const err238 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err238];}else {vErrors.push(err238);}errors++;}}const len15 = data99.length;if(!(len15 <= 2)){const err239 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err239];}else {vErrors.push(err239);}errors++;}}else {const err240 = {instancePath:instancePath+"/connections/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err240];}else {vErrors.push(err240);}errors++;}}}else {const err241 = {instancePath:instancePath+"/connections/" + i4+"/via",schemaPath:"#/properties/connections/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err241];}else {vErrors.push(err241);}errors++;}}if(data89.labelAt !== undefined){let data102 = data89.labelAt;if(Array.isArray(data102)){if(data102.length > 2){const err242 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err242];}else {vErrors.push(err242);}errors++;}if(data102.length < 2){const err243 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err243];}else {vErrors.push(err243);}errors++;}const len16 = data102.length;if(len16 > 0){let data103 = data102[0];if(!((typeof data103 == "number") && (isFinite(data103)))){const err244 = {instancePath:instancePath+"/connections/" + i4+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err244];}else {vErrors.push(err244);}errors++;}}if(len16 > 1){let data104 = data102[1];if(!((typeof data104 == "number") && (isFinite(data104)))){const err245 = {instancePath:instancePath+"/connections/" + i4+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err245];}else {vErrors.push(err245);}errors++;}}const len17 = data102.length;if(!(len17 <= 2)){const err246 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err246];}else {vErrors.push(err246);}errors++;}}else {const err247 = {instancePath:instancePath+"/connections/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err247];}else {vErrors.push(err247);}errors++;}}if(data89.labelDx !== undefined){let data105 = data89.labelDx;if(!((typeof data105 == "number") && (isFinite(data105)))){const err248 = {instancePath:instancePath+"/connections/" + i4+"/labelDx",schemaPath:"#/properties/connections/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err248];}else {vErrors.push(err248);}errors++;}}if(data89.labelDy !== undefined){let data106 = data89.labelDy;if(!((typeof data106 == "number") && (isFinite(data106)))){const err249 = {instancePath:instancePath+"/connections/" + i4+"/labelDy",schemaPath:"#/properties/connections/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err249];}else {vErrors.push(err249);}errors++;}}if(data89.labelSegment !== undefined){let data107 = data89.labelSegment;if(!(((typeof data107 == "number") && (!(data107 % 1) && !isNaN(data107))) && (isFinite(data107)))){const err250 = {instancePath:instancePath+"/connections/" + i4+"/labelSegment",schemaPath:"#/properties/connections/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err250];}else {vErrors.push(err250);}errors++;}if((typeof data107 == "number") && (isFinite(data107))){if(data107 < 0 || isNaN(data107)){const err251 = {instancePath:instancePath+"/connections/" + i4+"/labelSegment",schemaPath:"#/properties/connections/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err251];}else {vErrors.push(err251);}errors++;}}}if(data89.width !== undefined){let data108 = data89.width;if((typeof data108 == "number") && (isFinite(data108))){if(data108 < 0.5 || isNaN(data108)){const err252 = {instancePath:instancePath+"/connections/" + i4+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err252];}else {vErrors.push(err252);}errors++;}}else {const err253 = {instancePath:instancePath+"/connections/" + i4+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err253];}else {vErrors.push(err253);}errors++;}}}else {const err254 = {instancePath:instancePath+"/connections/" + i4,schemaPath:"#/properties/connections/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err254];}else {vErrors.push(err254);}errors++;}}}else {const err255 = {instancePath:instancePath+"/connections",schemaPath:"#/properties/connections/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err255];}else {vErrors.push(err255);}errors++;}}if(data.cards !== undefined){let data109 = data.cards;if(Array.isArray(data109)){const len18 = data109.length;for(let i6=0; i6<len18; i6++){let data110 = data109[i6];if(data110 && typeof data110 == "object" && !Array.isArray(data110)){if(data110.dot === undefined){const err256 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err256];}else {vErrors.push(err256);}errors++;}if(data110.title === undefined){const err257 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err257];}else {vErrors.push(err257);}errors++;}if(data110.items === undefined){const err258 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err258];}else {vErrors.push(err258);}errors++;}for(const key20 in data110){if(!(((key20 === "dot") || (key20 === "title")) || (key20 === "items"))){const err259 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key20},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err259];}else {vErrors.push(err259);}errors++;}}if(data110.dot !== undefined){let data111 = data110.dot;if(!(((((((data111 === "cyan") || (data111 === "emerald")) || (data111 === "violet")) || (data111 === "amber")) || (data111 === "rose")) || (data111 === "orange")) || (data111 === "slate"))){const err260 = {instancePath:instancePath+"/cards/" + i6+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err260];}else {vErrors.push(err260);}errors++;}}if(data110.title !== undefined){let data112 = data110.title;if(typeof data112 === "string"){if(func3(data112) < 1){const err261 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err261];}else {vErrors.push(err261);}errors++;}}else {const err262 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err262];}else {vErrors.push(err262);}errors++;}}if(data110.items !== undefined){let data113 = data110.items;if(Array.isArray(data113)){const len19 = data113.length;for(let i7=0; i7<len19; i7++){if(typeof data113[i7] !== "string"){const err263 = {instancePath:instancePath+"/cards/" + i6+"/items/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err263];}else {vErrors.push(err263);}errors++;}}}else {const err264 = {instancePath:instancePath+"/cards/" + i6+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err264];}else {vErrors.push(err264);}errors++;}}}else {const err265 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err265];}else {vErrors.push(err265);}errors++;}}}else {const err266 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err266];}else {vErrors.push(err266);}errors++;}}}else {const err267 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err267];}else {vErrors.push(err267);}errors++;}validate36.errors = vErrors;return errors === 0;}validate36.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const erdSchema = validate39;const schema206 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/erd.schema.json","title":"Archify Entity-Relationship Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","entities"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"erd"},"meta":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"pk":{"$ref":"common.schema.json#/$defs/legendEntry"},"fk":{"$ref":"common.schema.json#/$defs/legendEntry"},"uk":{"$ref":"common.schema.json#/$defs/legendEntry"},"one":{"$ref":"common.schema.json#/$defs/legendEntry"},"many":{"$ref":"common.schema.json#/$defs/legendEntry"},"optional":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"enum":["grid"]},"origin":{"$ref":"common.schema.json#/$defs/point"},"gapX":{"type":"number","minimum":0},"gapY":{"type":"number","minimum":0},"entityW":{"type":"number","minimum":80},"headerH":{"type":"number","minimum":16},"rowH":{"type":"number","minimum":10}}},"entities":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"sublabel":{"type":"string"},"tag":{"type":"string"},"row":{"type":"integer","minimum":0,"maximum":12},"col":{"type":"integer","minimum":0,"maximum":12},"pos":{"$ref":"common.schema.json#/$defs/point"},"width":{"type":"number","minimum":80},"attributes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string"},"key":{"anyOf":[{"enum":["pk","fk","uk"]},{"type":"array","minItems":1,"items":{"enum":["pk","fk","uk"]}}]},"references":{"type":"string","minLength":3,"pattern":"^[^.]+\\.[^.]+$"}},"if":{"properties":{"key":{"anyOf":[{"const":"fk"},{"type":"array","contains":{"const":"fk"}}]}},"required":["key"]},"then":{"required":["references"],"properties":{"references":{}}}}},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"relationships":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","fromCardinality","toCardinality"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string"},"fromCardinality":{"enum":["one","many"]},"toCardinality":{"enum":["one","many"]},"fromOptional":{"type":"boolean"},"toOptional":{"type":"boolean"},"identifying":{"type":"boolean"},"variant":{"$ref":"common.schema.json#/$defs/variant"},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"route":{"enum":["auto","straight","orthogonal-h","orthogonal-v"]},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0},"width":{"$ref":"common.schema.json#/$defs/relationshipWidth"}},"allOf":[{"if":{"required":["identifying"],"properties":{"identifying":{"const":false}}},"then":{"properties":{"variant":{"enum":["dashed"]}}}}]}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const pattern133 = new RegExp("^[^.]+\\.[^.]+$", "u");function validate40(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate40.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate40.errors = vErrors;return errors === 0;}validate40.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate39(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/erd.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate39.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.entities === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "entities"},message:"must have required property '"+"entities"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "entities")) || (key0 === "relationships")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("erd" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "erd"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}for(const key1 in data2){if(!(func1.call(schema206.properties.meta.properties, key1))){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err9 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}else {const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err11 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!pattern4.test(data4)){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err14 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err15 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err16 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err17 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err18 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err19 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(data10.revision === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err22 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err24 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err25 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err26 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}else {const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data2.views !== undefined){if(!(validate40(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate40.errors : vErrors.concat(validate40.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data16 = data2.legend;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){for(const key3 in data16){if(!((key3 === "mode") || (key3 === "entries"))){const err29 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data16.mode !== undefined){let data17 = data16.mode;if(!(((data17 === "auto") || (data17 === "all")) || (data17 === "hidden"))){const err30 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data16.entries !== undefined){let data18 = data16.entries;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key4 in data18){if(!((((((key4 === "pk") || (key4 === "fk")) || (key4 === "uk")) || (key4 === "one")) || (key4 === "many")) || (key4 === "optional"))){const err31 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}if(data18.pk !== undefined){let data19 = data18.pk;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){if(Object.keys(data19).length < 1){const err32 = {instancePath:instancePath+"/meta/legend/entries/pk",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}for(const key5 in data19){if(!((key5 === "label") || (key5 === "visible"))){const err33 = {instancePath:instancePath+"/meta/legend/entries/pk",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data19.label !== undefined){let data20 = data19.label;if(typeof data20 === "string"){if(func3(data20) > 80){const err34 = {instancePath:instancePath+"/meta/legend/entries/pk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}if(func3(data20) < 1){const err35 = {instancePath:instancePath+"/meta/legend/entries/pk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/meta/legend/entries/pk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data19.visible !== undefined){if(typeof data19.visible !== "boolean"){const err37 = {instancePath:instancePath+"/meta/legend/entries/pk/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}else {const err38 = {instancePath:instancePath+"/meta/legend/entries/pk",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data18.fk !== undefined){let data22 = data18.fk;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err39 = {instancePath:instancePath+"/meta/legend/entries/fk",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}for(const key6 in data22){if(!((key6 === "label") || (key6 === "visible"))){const err40 = {instancePath:instancePath+"/meta/legend/entries/fk",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err41 = {instancePath:instancePath+"/meta/legend/entries/fk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}if(func3(data23) < 1){const err42 = {instancePath:instancePath+"/meta/legend/entries/fk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/meta/legend/entries/fk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err44 = {instancePath:instancePath+"/meta/legend/entries/fk/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}}else {const err45 = {instancePath:instancePath+"/meta/legend/entries/fk",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data18.uk !== undefined){let data25 = data18.uk;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err46 = {instancePath:instancePath+"/meta/legend/entries/uk",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key7 in data25){if(!((key7 === "label") || (key7 === "visible"))){const err47 = {instancePath:instancePath+"/meta/legend/entries/uk",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err48 = {instancePath:instancePath+"/meta/legend/entries/uk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}if(func3(data26) < 1){const err49 = {instancePath:instancePath+"/meta/legend/entries/uk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/legend/entries/uk/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err51 = {instancePath:instancePath+"/meta/legend/entries/uk/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}}else {const err52 = {instancePath:instancePath+"/meta/legend/entries/uk",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data18.one !== undefined){let data28 = data18.one;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err53 = {instancePath:instancePath+"/meta/legend/entries/one",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}for(const key8 in data28){if(!((key8 === "label") || (key8 === "visible"))){const err54 = {instancePath:instancePath+"/meta/legend/entries/one",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err55 = {instancePath:instancePath+"/meta/legend/entries/one/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}if(func3(data29) < 1){const err56 = {instancePath:instancePath+"/meta/legend/entries/one/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}else {const err57 = {instancePath:instancePath+"/meta/legend/entries/one/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err58 = {instancePath:instancePath+"/meta/legend/entries/one/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {instancePath:instancePath+"/meta/legend/entries/one",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data18.many !== undefined){let data31 = data18.many;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err60 = {instancePath:instancePath+"/meta/legend/entries/many",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}for(const key9 in data31){if(!((key9 === "label") || (key9 === "visible"))){const err61 = {instancePath:instancePath+"/meta/legend/entries/many",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err62 = {instancePath:instancePath+"/meta/legend/entries/many/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}if(func3(data32) < 1){const err63 = {instancePath:instancePath+"/meta/legend/entries/many/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}else {const err64 = {instancePath:instancePath+"/meta/legend/entries/many/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err65 = {instancePath:instancePath+"/meta/legend/entries/many/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}}else {const err66 = {instancePath:instancePath+"/meta/legend/entries/many",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data18.optional !== undefined){let data34 = data18.optional;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err67 = {instancePath:instancePath+"/meta/legend/entries/optional",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}for(const key10 in data34){if(!((key10 === "label") || (key10 === "visible"))){const err68 = {instancePath:instancePath+"/meta/legend/entries/optional",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err69 = {instancePath:instancePath+"/meta/legend/entries/optional/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(func3(data35) < 1){const err70 = {instancePath:instancePath+"/meta/legend/entries/optional/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/meta/legend/entries/optional/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err72 = {instancePath:instancePath+"/meta/legend/entries/optional/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}else {const err73 = {instancePath:instancePath+"/meta/legend/entries/optional",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data2.viewBox !== undefined){let data37 = data2.viewBox;if(Array.isArray(data37)){if(data37.length > 2){const err76 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data37.length < 2){const err77 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}const len0 = data37.length;if(len0 > 0){let data38 = data37[0];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 320 || isNaN(data38)){const err78 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}else {const err79 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(len0 > 1){let data39 = data37[1];if((typeof data39 == "number") && (isFinite(data39))){if(data39 < 240 || isNaN(data39)){const err80 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}else {const err81 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}const len1 = data37.length;if(!(len1 <= 2)){const err82 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data.layout !== undefined){let data40 = data.layout;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.mode === undefined){const err85 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/required",keyword:"required",params:{missingProperty: "mode"},message:"must have required property '"+"mode"+"'"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}for(const key11 in data40){if(!(((((((key11 === "mode") || (key11 === "origin")) || (key11 === "gapX")) || (key11 === "gapY")) || (key11 === "entityW")) || (key11 === "headerH")) || (key11 === "rowH"))){const err86 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data40.mode !== undefined){if(!(data40.mode === "grid")){const err87 = {instancePath:instancePath+"/layout/mode",schemaPath:"#/properties/layout/properties/mode/enum",keyword:"enum",params:{allowedValues: schema206.properties.layout.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data40.origin !== undefined){let data42 = data40.origin;if(Array.isArray(data42)){if(data42.length > 2){const err88 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data42.length < 2){const err89 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}const len2 = data42.length;if(len2 > 0){let data43 = data42[0];if(!((typeof data43 == "number") && (isFinite(data43)))){const err90 = {instancePath:instancePath+"/layout/origin/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(len2 > 1){let data44 = data42[1];if(!((typeof data44 == "number") && (isFinite(data44)))){const err91 = {instancePath:instancePath+"/layout/origin/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}const len3 = data42.length;if(!(len3 <= 2)){const err92 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}else {const err93 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data40.gapX !== undefined){let data45 = data40.gapX;if((typeof data45 == "number") && (isFinite(data45))){if(data45 < 0 || isNaN(data45)){const err94 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}else {const err95 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data40.gapY !== undefined){let data46 = data40.gapY;if((typeof data46 == "number") && (isFinite(data46))){if(data46 < 0 || isNaN(data46)){const err96 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}else {const err97 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data40.entityW !== undefined){let data47 = data40.entityW;if((typeof data47 == "number") && (isFinite(data47))){if(data47 < 80 || isNaN(data47)){const err98 = {instancePath:instancePath+"/layout/entityW",schemaPath:"#/properties/layout/properties/entityW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 80},message:"must be >= 80"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/layout/entityW",schemaPath:"#/properties/layout/properties/entityW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(data40.headerH !== undefined){let data48 = data40.headerH;if((typeof data48 == "number") && (isFinite(data48))){if(data48 < 16 || isNaN(data48)){const err100 = {instancePath:instancePath+"/layout/headerH",schemaPath:"#/properties/layout/properties/headerH/minimum",keyword:"minimum",params:{comparison: ">=", limit: 16},message:"must be >= 16"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/layout/headerH",schemaPath:"#/properties/layout/properties/headerH/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data40.rowH !== undefined){let data49 = data40.rowH;if((typeof data49 == "number") && (isFinite(data49))){if(data49 < 10 || isNaN(data49)){const err102 = {instancePath:instancePath+"/layout/rowH",schemaPath:"#/properties/layout/properties/rowH/minimum",keyword:"minimum",params:{comparison: ">=", limit: 10},message:"must be >= 10"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}else {const err103 = {instancePath:instancePath+"/layout/rowH",schemaPath:"#/properties/layout/properties/rowH/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}}}else {const err104 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}if(data.entities !== undefined){let data50 = data.entities;if(Array.isArray(data50)){if(data50.length < 1){const err105 = {instancePath:instancePath+"/entities",schemaPath:"#/properties/entities/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}const len4 = data50.length;for(let i0=0; i0<len4; i0++){let data51 = data50[i0];if(data51 && typeof data51 == "object" && !Array.isArray(data51)){if(data51.id === undefined){const err106 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data51.label === undefined){const err107 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}for(const key12 in data51){if(!(func1.call(schema206.properties.entities.items.properties, key12))){const err108 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data51.id !== undefined){let data52 = data51.id;if(typeof data52 === "string"){if(!pattern16.test(data52)){const err109 = {instancePath:instancePath+"/entities/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}else {const err110 = {instancePath:instancePath+"/entities/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}if(data51.label !== undefined){let data53 = data51.label;if(typeof data53 === "string"){if(func3(data53) < 1){const err111 = {instancePath:instancePath+"/entities/" + i0+"/label",schemaPath:"#/properties/entities/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}else {const err112 = {instancePath:instancePath+"/entities/" + i0+"/label",schemaPath:"#/properties/entities/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data51.sublabel !== undefined){if(typeof data51.sublabel !== "string"){const err113 = {instancePath:instancePath+"/entities/" + i0+"/sublabel",schemaPath:"#/properties/entities/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(data51.tag !== undefined){if(typeof data51.tag !== "string"){const err114 = {instancePath:instancePath+"/entities/" + i0+"/tag",schemaPath:"#/properties/entities/items/properties/tag/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}}if(data51.row !== undefined){let data56 = data51.row;if(!(((typeof data56 == "number") && (!(data56 % 1) && !isNaN(data56))) && (isFinite(data56)))){const err115 = {instancePath:instancePath+"/entities/" + i0+"/row",schemaPath:"#/properties/entities/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if((typeof data56 == "number") && (isFinite(data56))){if(data56 > 12 || isNaN(data56)){const err116 = {instancePath:instancePath+"/entities/" + i0+"/row",schemaPath:"#/properties/entities/items/properties/row/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}if(data56 < 0 || isNaN(data56)){const err117 = {instancePath:instancePath+"/entities/" + i0+"/row",schemaPath:"#/properties/entities/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}}if(data51.col !== undefined){let data57 = data51.col;if(!(((typeof data57 == "number") && (!(data57 % 1) && !isNaN(data57))) && (isFinite(data57)))){const err118 = {instancePath:instancePath+"/entities/" + i0+"/col",schemaPath:"#/properties/entities/items/properties/col/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}if((typeof data57 == "number") && (isFinite(data57))){if(data57 > 12 || isNaN(data57)){const err119 = {instancePath:instancePath+"/entities/" + i0+"/col",schemaPath:"#/properties/entities/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}if(data57 < 0 || isNaN(data57)){const err120 = {instancePath:instancePath+"/entities/" + i0+"/col",schemaPath:"#/properties/entities/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}}if(data51.pos !== undefined){let data58 = data51.pos;if(Array.isArray(data58)){if(data58.length > 2){const err121 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(data58.length < 2){const err122 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}const len5 = data58.length;if(len5 > 0){let data59 = data58[0];if(!((typeof data59 == "number") && (isFinite(data59)))){const err123 = {instancePath:instancePath+"/entities/" + i0+"/pos/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(len5 > 1){let data60 = data58[1];if(!((typeof data60 == "number") && (isFinite(data60)))){const err124 = {instancePath:instancePath+"/entities/" + i0+"/pos/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}const len6 = data58.length;if(!(len6 <= 2)){const err125 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/entities/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data51.width !== undefined){let data61 = data51.width;if((typeof data61 == "number") && (isFinite(data61))){if(data61 < 80 || isNaN(data61)){const err127 = {instancePath:instancePath+"/entities/" + i0+"/width",schemaPath:"#/properties/entities/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 80},message:"must be >= 80"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}else {const err128 = {instancePath:instancePath+"/entities/" + i0+"/width",schemaPath:"#/properties/entities/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data51.attributes !== undefined){let data62 = data51.attributes;if(Array.isArray(data62)){const len7 = data62.length;for(let i1=0; i1<len7; i1++){let data63 = data62[i1];const _errs147 = errors;let valid35 = true;const _errs148 = errors;if(data63 && typeof data63 == "object" && !Array.isArray(data63)){let missing0;if((data63.key === undefined) && (missing0 = "key")){const err129 = {};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}else {if(data63.key !== undefined){let data64 = data63.key;const _errs150 = errors;let valid37 = false;const _errs151 = errors;if("fk" !== data64){const err130 = {};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}var _valid1 = _errs151 === errors;valid37 = valid37 || _valid1;const _errs152 = errors;if(errors === _errs152){if(Array.isArray(data64)){const _errs154 = errors;const len8 = data64.length;for(let i2=0; i2<len8; i2++){const _errs155 = errors;if("fk" !== data64[i2]){const err131 = {};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}var valid38 = _errs155 === errors;if(valid38){break;}}if(!valid38){const err132 = {};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}else {errors = _errs154;if(vErrors !== null){if(_errs154){vErrors.length = _errs154;}else {vErrors = null;}}}}else {const err133 = {};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}var _valid1 = _errs152 === errors;valid37 = valid37 || _valid1;if(!valid37){const err134 = {};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}else {errors = _errs150;if(vErrors !== null){if(_errs150){vErrors.length = _errs150;}else {vErrors = null;}}}}}}var _valid0 = _errs148 === errors;errors = _errs147;if(vErrors !== null){if(_errs147){vErrors.length = _errs147;}else {vErrors = null;}}if(_valid0){const _errs156 = errors;if(data63 && typeof data63 == "object" && !Array.isArray(data63)){if(data63.references === undefined){const err135 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/then/required",keyword:"required",params:{missingProperty: "references"},message:"must have required property '"+"references"+"'"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}var _valid0 = _errs156 === errors;valid35 = _valid0;if(valid35){var props0 = {};props0.references = true;props0.key = true;}}if(!valid35){const err136 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}if(data63 && typeof data63 == "object" && !Array.isArray(data63)){if(data63.name === undefined){const err137 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}for(const key13 in data63){if(!((((key13 === "name") || (key13 === "type")) || (key13 === "key")) || (key13 === "references"))){const err138 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}if(data63.name !== undefined){let data66 = data63.name;if(typeof data66 === "string"){if(func3(data66) < 1){const err139 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/name",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}else {const err140 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/name",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}if(data63.type !== undefined){if(typeof data63.type !== "string"){const err141 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/type",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}if(data63.key !== undefined){let data68 = data63.key;const _errs163 = errors;let valid40 = false;const _errs164 = errors;if(!(((data68 === "pk") || (data68 === "fk")) || (data68 === "uk"))){const err142 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/0/enum",keyword:"enum",params:{allowedValues: schema206.properties.entities.items.properties.attributes.items.properties.key.anyOf[0].enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}var _valid2 = _errs164 === errors;valid40 = valid40 || _valid2;const _errs165 = errors;if(Array.isArray(data68)){if(data68.length < 1){const err143 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/1/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}const len9 = data68.length;for(let i3=0; i3<len9; i3++){let data69 = data68[i3];if(!(((data69 === "pk") || (data69 === "fk")) || (data69 === "uk"))){const err144 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key/" + i3,schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/1/items/enum",keyword:"enum",params:{allowedValues: schema206.properties.entities.items.properties.attributes.items.properties.key.anyOf[1].items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}}else {const err145 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf/1/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}var _valid2 = _errs165 === errors;valid40 = valid40 || _valid2;if(!valid40){const err146 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/key",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/key/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}else {errors = _errs163;if(vErrors !== null){if(_errs163){vErrors.length = _errs163;}else {vErrors = null;}}}}if(data63.references !== undefined){let data70 = data63.references;if(typeof data70 === "string"){if(func3(data70) < 3){const err147 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/references",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/references/minLength",keyword:"minLength",params:{limit: 3},message:"must NOT have fewer than 3 characters"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}if(!pattern133.test(data70)){const err148 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/references",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/references/pattern",keyword:"pattern",params:{pattern: "^[^.]+\\.[^.]+$"},message:"must match pattern \""+"^[^.]+\\.[^.]+$"+"\""};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}else {const err149 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1+"/references",schemaPath:"#/properties/entities/items/properties/attributes/items/properties/references/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}}else {const err150 = {instancePath:instancePath+"/entities/" + i0+"/attributes/" + i1,schemaPath:"#/properties/entities/items/properties/attributes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}}}else {const err151 = {instancePath:instancePath+"/entities/" + i0+"/attributes",schemaPath:"#/properties/entities/items/properties/attributes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}if(data51.sources !== undefined){let data71 = data51.sources;if(Array.isArray(data71)){if(data71.length > 3){const err152 = {instancePath:instancePath+"/entities/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}if(data71.length < 1){const err153 = {instancePath:instancePath+"/entities/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}const len10 = data71.length;for(let i4=0; i4<len10; i4++){let data72 = data71[i4];if(data72 && typeof data72 == "object" && !Array.isArray(data72)){if(data72.path === undefined){const err154 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}for(const key14 in data72){if(!((((key14 === "path") || (key14 === "line")) || (key14 === "end_line")) || (key14 === "label"))){const err155 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}if(data72.path !== undefined){let data73 = data72.path;if(typeof data73 === "string"){if(func3(data73) > 240){const err156 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}if(func3(data73) < 1){const err157 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data72.line !== undefined){let data74 = data72.line;if(!(((typeof data74 == "number") && (!(data74 % 1) && !isNaN(data74))) && (isFinite(data74)))){const err159 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}if((typeof data74 == "number") && (isFinite(data74))){if(data74 < 1 || isNaN(data74)){const err160 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}}if(data72.end_line !== undefined){let data75 = data72.end_line;if(!(((typeof data75 == "number") && (!(data75 % 1) && !isNaN(data75))) && (isFinite(data75)))){const err161 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}if((typeof data75 == "number") && (isFinite(data75))){if(data75 < 1 || isNaN(data75)){const err162 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}}if(data72.label !== undefined){let data76 = data72.label;if(typeof data76 === "string"){if(func3(data76) > 48){const err163 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}if(func3(data76) < 1){const err164 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}}else {const err165 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}}}else {const err166 = {instancePath:instancePath+"/entities/" + i0+"/sources/" + i4,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}}else {const err167 = {instancePath:instancePath+"/entities/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}}else {const err168 = {instancePath:instancePath+"/entities/" + i0,schemaPath:"#/properties/entities/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}}else {const err169 = {instancePath:instancePath+"/entities",schemaPath:"#/properties/entities/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}if(data.relationships !== undefined){let data77 = data.relationships;if(Array.isArray(data77)){const len11 = data77.length;for(let i5=0; i5<len11; i5++){let data78 = data77[i5];const _errs189 = errors;let valid50 = true;const _errs190 = errors;if(data78 && typeof data78 == "object" && !Array.isArray(data78)){let missing1;if((data78.identifying === undefined) && (missing1 = "identifying")){const err170 = {};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}else {if(data78.identifying !== undefined){if(false !== data78.identifying){const err171 = {};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}}}}var _valid3 = _errs190 === errors;errors = _errs189;if(vErrors !== null){if(_errs189){vErrors.length = _errs189;}else {vErrors = null;}}if(_valid3){const _errs192 = errors;if(data78 && typeof data78 == "object" && !Array.isArray(data78)){if(data78.variant !== undefined){if(!(data78.variant === "dashed")){const err172 = {instancePath:instancePath+"/relationships/" + i5+"/variant",schemaPath:"#/properties/relationships/items/allOf/0/then/properties/variant/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.allOf[0].then.properties.variant.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}}}var _valid3 = _errs192 === errors;valid50 = _valid3;if(valid50){var props1 = {};props1.variant = true;props1.identifying = true;}}if(!valid50){const err173 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/allOf/0/if",keyword:"if",params:{failingKeyword: "then"},message:"must match \"then\" schema"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}if(data78 && typeof data78 == "object" && !Array.isArray(data78)){if(data78.from === undefined){const err174 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}if(data78.to === undefined){const err175 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}if(data78.fromCardinality === undefined){const err176 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "fromCardinality"},message:"must have required property '"+"fromCardinality"+"'"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}if(data78.toCardinality === undefined){const err177 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "toCardinality"},message:"must have required property '"+"toCardinality"+"'"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}for(const key15 in data78){if(!(func1.call(schema206.properties.relationships.items.properties, key15))){const err178 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data78.id !== undefined){let data81 = data78.id;if(typeof data81 === "string"){if(!pattern16.test(data81)){const err179 = {instancePath:instancePath+"/relationships/" + i5+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}}else {const err180 = {instancePath:instancePath+"/relationships/" + i5+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}if(data78.from !== undefined){let data82 = data78.from;if(typeof data82 === "string"){if(!pattern16.test(data82)){const err181 = {instancePath:instancePath+"/relationships/" + i5+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}else {const err182 = {instancePath:instancePath+"/relationships/" + i5+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data78.to !== undefined){let data83 = data78.to;if(typeof data83 === "string"){if(!pattern16.test(data83)){const err183 = {instancePath:instancePath+"/relationships/" + i5+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}}else {const err184 = {instancePath:instancePath+"/relationships/" + i5+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}}if(data78.label !== undefined){if(typeof data78.label !== "string"){const err185 = {instancePath:instancePath+"/relationships/" + i5+"/label",schemaPath:"#/properties/relationships/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}}if(data78.fromCardinality !== undefined){let data85 = data78.fromCardinality;if(!((data85 === "one") || (data85 === "many"))){const err186 = {instancePath:instancePath+"/relationships/" + i5+"/fromCardinality",schemaPath:"#/properties/relationships/items/properties/fromCardinality/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.properties.fromCardinality.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data78.toCardinality !== undefined){let data86 = data78.toCardinality;if(!((data86 === "one") || (data86 === "many"))){const err187 = {instancePath:instancePath+"/relationships/" + i5+"/toCardinality",schemaPath:"#/properties/relationships/items/properties/toCardinality/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.properties.toCardinality.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}if(data78.fromOptional !== undefined){if(typeof data78.fromOptional !== "boolean"){const err188 = {instancePath:instancePath+"/relationships/" + i5+"/fromOptional",schemaPath:"#/properties/relationships/items/properties/fromOptional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}if(data78.toOptional !== undefined){if(typeof data78.toOptional !== "boolean"){const err189 = {instancePath:instancePath+"/relationships/" + i5+"/toOptional",schemaPath:"#/properties/relationships/items/properties/toOptional/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data78.identifying !== undefined){if(typeof data78.identifying !== "boolean"){const err190 = {instancePath:instancePath+"/relationships/" + i5+"/identifying",schemaPath:"#/properties/relationships/items/properties/identifying/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}if(data78.variant !== undefined){let data90 = data78.variant;if(!((((data90 === "default") || (data90 === "emphasis")) || (data90 === "security")) || (data90 === "dashed"))){const err191 = {instancePath:instancePath+"/relationships/" + i5+"/variant",schemaPath:"common.schema.json#/$defs/variant/enum",keyword:"enum",params:{allowedValues: schema67.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}if(data78.fromSide !== undefined){let data91 = data78.fromSide;if(!((((data91 === "left") || (data91 === "right")) || (data91 === "top")) || (data91 === "bottom"))){const err192 = {instancePath:instancePath+"/relationships/" + i5+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}if(data78.toSide !== undefined){let data92 = data78.toSide;if(!((((data92 === "left") || (data92 === "right")) || (data92 === "top")) || (data92 === "bottom"))){const err193 = {instancePath:instancePath+"/relationships/" + i5+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}if(data78.route !== undefined){let data93 = data78.route;if(!((((data93 === "auto") || (data93 === "straight")) || (data93 === "orthogonal-h")) || (data93 === "orthogonal-v"))){const err194 = {instancePath:instancePath+"/relationships/" + i5+"/route",schemaPath:"#/properties/relationships/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema206.properties.relationships.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}}if(data78.via !== undefined){let data94 = data78.via;if(Array.isArray(data94)){const len12 = data94.length;for(let i6=0; i6<len12; i6++){let data95 = data94[i6];if(Array.isArray(data95)){if(data95.length > 2){const err195 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err195];}else {vErrors.push(err195);}errors++;}if(data95.length < 2){const err196 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err196];}else {vErrors.push(err196);}errors++;}const len13 = data95.length;if(len13 > 0){let data96 = data95[0];if(!((typeof data96 == "number") && (isFinite(data96)))){const err197 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err197];}else {vErrors.push(err197);}errors++;}}if(len13 > 1){let data97 = data95[1];if(!((typeof data97 == "number") && (isFinite(data97)))){const err198 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err198];}else {vErrors.push(err198);}errors++;}}const len14 = data95.length;if(!(len14 <= 2)){const err199 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err199];}else {vErrors.push(err199);}errors++;}}else {const err200 = {instancePath:instancePath+"/relationships/" + i5+"/via/" + i6,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err200];}else {vErrors.push(err200);}errors++;}}}else {const err201 = {instancePath:instancePath+"/relationships/" + i5+"/via",schemaPath:"#/properties/relationships/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err201];}else {vErrors.push(err201);}errors++;}}if(data78.labelAt !== undefined){let data98 = data78.labelAt;if(Array.isArray(data98)){if(data98.length > 2){const err202 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err202];}else {vErrors.push(err202);}errors++;}if(data98.length < 2){const err203 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err203];}else {vErrors.push(err203);}errors++;}const len15 = data98.length;if(len15 > 0){let data99 = data98[0];if(!((typeof data99 == "number") && (isFinite(data99)))){const err204 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err204];}else {vErrors.push(err204);}errors++;}}if(len15 > 1){let data100 = data98[1];if(!((typeof data100 == "number") && (isFinite(data100)))){const err205 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err205];}else {vErrors.push(err205);}errors++;}}const len16 = data98.length;if(!(len16 <= 2)){const err206 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err206];}else {vErrors.push(err206);}errors++;}}else {const err207 = {instancePath:instancePath+"/relationships/" + i5+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err207];}else {vErrors.push(err207);}errors++;}}if(data78.labelDx !== undefined){let data101 = data78.labelDx;if(!((typeof data101 == "number") && (isFinite(data101)))){const err208 = {instancePath:instancePath+"/relationships/" + i5+"/labelDx",schemaPath:"#/properties/relationships/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err208];}else {vErrors.push(err208);}errors++;}}if(data78.labelDy !== undefined){let data102 = data78.labelDy;if(!((typeof data102 == "number") && (isFinite(data102)))){const err209 = {instancePath:instancePath+"/relationships/" + i5+"/labelDy",schemaPath:"#/properties/relationships/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err209];}else {vErrors.push(err209);}errors++;}}if(data78.labelSegment !== undefined){let data103 = data78.labelSegment;if(!(((typeof data103 == "number") && (!(data103 % 1) && !isNaN(data103))) && (isFinite(data103)))){const err210 = {instancePath:instancePath+"/relationships/" + i5+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err210];}else {vErrors.push(err210);}errors++;}if((typeof data103 == "number") && (isFinite(data103))){if(data103 < 0 || isNaN(data103)){const err211 = {instancePath:instancePath+"/relationships/" + i5+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err211];}else {vErrors.push(err211);}errors++;}}}if(data78.width !== undefined){let data104 = data78.width;if((typeof data104 == "number") && (isFinite(data104))){if(data104 < 0.5 || isNaN(data104)){const err212 = {instancePath:instancePath+"/relationships/" + i5+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0.5},message:"must be >= 0.5"};if(vErrors === null){vErrors = [err212];}else {vErrors.push(err212);}errors++;}}else {const err213 = {instancePath:instancePath+"/relationships/" + i5+"/width",schemaPath:"common.schema.json#/$defs/relationshipWidth/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err213];}else {vErrors.push(err213);}errors++;}}}else {const err214 = {instancePath:instancePath+"/relationships/" + i5,schemaPath:"#/properties/relationships/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err214];}else {vErrors.push(err214);}errors++;}}}else {const err215 = {instancePath:instancePath+"/relationships",schemaPath:"#/properties/relationships/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err215];}else {vErrors.push(err215);}errors++;}}if(data.cards !== undefined){let data105 = data.cards;if(Array.isArray(data105)){const len17 = data105.length;for(let i7=0; i7<len17; i7++){let data106 = data105[i7];if(data106 && typeof data106 == "object" && !Array.isArray(data106)){if(data106.dot === undefined){const err216 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err216];}else {vErrors.push(err216);}errors++;}if(data106.title === undefined){const err217 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err217];}else {vErrors.push(err217);}errors++;}if(data106.items === undefined){const err218 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err218];}else {vErrors.push(err218);}errors++;}for(const key16 in data106){if(!(((key16 === "dot") || (key16 === "title")) || (key16 === "items"))){const err219 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key16},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err219];}else {vErrors.push(err219);}errors++;}}if(data106.dot !== undefined){let data107 = data106.dot;if(!(((((((data107 === "cyan") || (data107 === "emerald")) || (data107 === "violet")) || (data107 === "amber")) || (data107 === "rose")) || (data107 === "orange")) || (data107 === "slate"))){const err220 = {instancePath:instancePath+"/cards/" + i7+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err220];}else {vErrors.push(err220);}errors++;}}if(data106.title !== undefined){let data108 = data106.title;if(typeof data108 === "string"){if(func3(data108) < 1){const err221 = {instancePath:instancePath+"/cards/" + i7+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err221];}else {vErrors.push(err221);}errors++;}}else {const err222 = {instancePath:instancePath+"/cards/" + i7+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err222];}else {vErrors.push(err222);}errors++;}}if(data106.items !== undefined){let data109 = data106.items;if(Array.isArray(data109)){const len18 = data109.length;for(let i8=0; i8<len18; i8++){if(typeof data109[i8] !== "string"){const err223 = {instancePath:instancePath+"/cards/" + i7+"/items/" + i8,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err223];}else {vErrors.push(err223);}errors++;}}}else {const err224 = {instancePath:instancePath+"/cards/" + i7+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err224];}else {vErrors.push(err224);}errors++;}}}else {const err225 = {instancePath:instancePath+"/cards/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err225];}else {vErrors.push(err225);}errors++;}}}else {const err226 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err226];}else {vErrors.push(err226);}errors++;}}}else {const err227 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err227];}else {vErrors.push(err227);}errors++;}validate39.errors = vErrors;return errors === 0;}validate39.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const treeSchema = validate42;const schema236 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/tree.schema.json","title":"Archify Hierarchy and Tree Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","nodes"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"tree"},"meta":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"properties":{"direction":{"enum":["down","right"]},"gapX":{"type":"number","minimum":16},"gapY":{"type":"number","minimum":24},"nodeW":{"type":"number","minimum":96},"nodeMaxW":{"type":"number","minimum":120}}},"nodes":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"parent":{"$ref":"common.schema.json#/$defs/id"},"sublabel":{"type":"string"},"collapsed":{"type":"boolean"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate43(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate43.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate43.errors = vErrors;return errors === 0;}validate43.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate42(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/tree.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate42.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.nodes === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "nodes"},message:"must have required property '"+"nodes"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "nodes")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("tree" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "tree"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}for(const key1 in data2){if(!(func1.call(schema236.properties.meta.properties, key1))){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err9 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}else {const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err11 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!pattern4.test(data4)){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err14 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err15 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err16 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err17 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err18 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err19 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(data10.revision === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err22 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err24 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err25 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err26 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}else {const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data2.views !== undefined){if(!(validate43(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate43.errors : vErrors.concat(validate43.errors);errors = vErrors.length;}}if(data2.viewBox !== undefined){let data16 = data2.viewBox;if(Array.isArray(data16)){if(data16.length > 2){const err29 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}if(data16.length < 2){const err30 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}const len0 = data16.length;if(len0 > 0){let data17 = data16[0];if((typeof data17 == "number") && (isFinite(data17))){if(data17 < 320 || isNaN(data17)){const err31 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}else {const err32 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}if(len0 > 1){let data18 = data16[1];if((typeof data18 == "number") && (isFinite(data18))){if(data18 < 240 || isNaN(data18)){const err33 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}else {const err34 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}const len1 = data16.length;if(!(len1 <= 2)){const err35 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}else {const err37 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}if(data.layout !== undefined){let data19 = data.layout;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){for(const key3 in data19){if(!(((((key3 === "direction") || (key3 === "gapX")) || (key3 === "gapY")) || (key3 === "nodeW")) || (key3 === "nodeMaxW"))){const err38 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data19.direction !== undefined){let data20 = data19.direction;if(!((data20 === "down") || (data20 === "right"))){const err39 = {instancePath:instancePath+"/layout/direction",schemaPath:"#/properties/layout/properties/direction/enum",keyword:"enum",params:{allowedValues: schema236.properties.layout.properties.direction.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}if(data19.gapX !== undefined){let data21 = data19.gapX;if((typeof data21 == "number") && (isFinite(data21))){if(data21 < 16 || isNaN(data21)){const err40 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 16},message:"must be >= 16"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}else {const err41 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data19.gapY !== undefined){let data22 = data19.gapY;if((typeof data22 == "number") && (isFinite(data22))){if(data22 < 24 || isNaN(data22)){const err42 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 24},message:"must be >= 24"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data19.nodeW !== undefined){let data23 = data19.nodeW;if((typeof data23 == "number") && (isFinite(data23))){if(data23 < 96 || isNaN(data23)){const err44 = {instancePath:instancePath+"/layout/nodeW",schemaPath:"#/properties/layout/properties/nodeW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 96},message:"must be >= 96"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}else {const err45 = {instancePath:instancePath+"/layout/nodeW",schemaPath:"#/properties/layout/properties/nodeW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data19.nodeMaxW !== undefined){let data24 = data19.nodeMaxW;if((typeof data24 == "number") && (isFinite(data24))){if(data24 < 120 || isNaN(data24)){const err46 = {instancePath:instancePath+"/layout/nodeMaxW",schemaPath:"#/properties/layout/properties/nodeMaxW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 120},message:"must be >= 120"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}else {const err47 = {instancePath:instancePath+"/layout/nodeMaxW",schemaPath:"#/properties/layout/properties/nodeMaxW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}}else {const err48 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}if(data.nodes !== undefined){let data25 = data.nodes;if(Array.isArray(data25)){if(data25.length < 1){const err49 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}const len2 = data25.length;for(let i0=0; i0<len2; i0++){let data26 = data25[i0];if(data26 && typeof data26 == "object" && !Array.isArray(data26)){if(data26.id === undefined){const err50 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}if(data26.label === undefined){const err51 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}for(const key4 in data26){if(!((((((key4 === "id") || (key4 === "label")) || (key4 === "parent")) || (key4 === "sublabel")) || (key4 === "collapsed")) || (key4 === "sources"))){const err52 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data26.id !== undefined){let data27 = data26.id;if(typeof data27 === "string"){if(!pattern16.test(data27)){const err53 = {instancePath:instancePath+"/nodes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/nodes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data26.label !== undefined){let data28 = data26.label;if(typeof data28 === "string"){if(func3(data28) < 1){const err55 = {instancePath:instancePath+"/nodes/" + i0+"/label",schemaPath:"#/properties/nodes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}else {const err56 = {instancePath:instancePath+"/nodes/" + i0+"/label",schemaPath:"#/properties/nodes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data26.parent !== undefined){let data29 = data26.parent;if(typeof data29 === "string"){if(!pattern16.test(data29)){const err57 = {instancePath:instancePath+"/nodes/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}else {const err58 = {instancePath:instancePath+"/nodes/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data26.sublabel !== undefined){if(typeof data26.sublabel !== "string"){const err59 = {instancePath:instancePath+"/nodes/" + i0+"/sublabel",schemaPath:"#/properties/nodes/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data26.collapsed !== undefined){if(typeof data26.collapsed !== "boolean"){const err60 = {instancePath:instancePath+"/nodes/" + i0+"/collapsed",schemaPath:"#/properties/nodes/items/properties/collapsed/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data26.sources !== undefined){let data32 = data26.sources;if(Array.isArray(data32)){if(data32.length > 3){const err61 = {instancePath:instancePath+"/nodes/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}if(data32.length < 1){const err62 = {instancePath:instancePath+"/nodes/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}const len3 = data32.length;for(let i1=0; i1<len3; i1++){let data33 = data32[i1];if(data33 && typeof data33 == "object" && !Array.isArray(data33)){if(data33.path === undefined){const err63 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}for(const key5 in data33){if(!((((key5 === "path") || (key5 === "line")) || (key5 === "end_line")) || (key5 === "label"))){const err64 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data33.path !== undefined){let data34 = data33.path;if(typeof data34 === "string"){if(func3(data34) > 240){const err65 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}if(func3(data34) < 1){const err66 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}else {const err67 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data33.line !== undefined){let data35 = data33.line;if(!(((typeof data35 == "number") && (!(data35 % 1) && !isNaN(data35))) && (isFinite(data35)))){const err68 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if((typeof data35 == "number") && (isFinite(data35))){if(data35 < 1 || isNaN(data35)){const err69 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}}if(data33.end_line !== undefined){let data36 = data33.end_line;if(!(((typeof data36 == "number") && (!(data36 % 1) && !isNaN(data36))) && (isFinite(data36)))){const err70 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if((typeof data36 == "number") && (isFinite(data36))){if(data36 < 1 || isNaN(data36)){const err71 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}if(data33.label !== undefined){let data37 = data33.label;if(typeof data37 === "string"){if(func3(data37) > 48){const err72 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if(func3(data37) < 1){const err73 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}else {const err74 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/nodes/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}}else {const err76 = {instancePath:instancePath+"/nodes/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}}else {const err77 = {instancePath:instancePath+"/nodes/" + i0,schemaPath:"#/properties/nodes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}else {const err78 = {instancePath:instancePath+"/nodes",schemaPath:"#/properties/nodes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data.cards !== undefined){let data38 = data.cards;if(Array.isArray(data38)){const len4 = data38.length;for(let i2=0; i2<len4; i2++){let data39 = data38[i2];if(data39 && typeof data39 == "object" && !Array.isArray(data39)){if(data39.dot === undefined){const err79 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}if(data39.title === undefined){const err80 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}if(data39.items === undefined){const err81 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}for(const key6 in data39){if(!(((key6 === "dot") || (key6 === "title")) || (key6 === "items"))){const err82 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}if(data39.dot !== undefined){let data40 = data39.dot;if(!(((((((data40 === "cyan") || (data40 === "emerald")) || (data40 === "violet")) || (data40 === "amber")) || (data40 === "rose")) || (data40 === "orange")) || (data40 === "slate"))){const err83 = {instancePath:instancePath+"/cards/" + i2+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}if(data39.title !== undefined){let data41 = data39.title;if(typeof data41 === "string"){if(func3(data41) < 1){const err84 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}else {const err85 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data39.items !== undefined){let data42 = data39.items;if(Array.isArray(data42)){const len5 = data42.length;for(let i3=0; i3<len5; i3++){if(typeof data42[i3] !== "string"){const err86 = {instancePath:instancePath+"/cards/" + i2+"/items/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath:instancePath+"/cards/" + i2+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}}else {const err88 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}}else {const err89 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}}else {const err90 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}validate42.errors = vErrors;return errors === 0;}validate42.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const classSchema = validate45;const schema249 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/class.schema.json","title":"Archify Class and Interface Diagram","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","types"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"class"},"meta":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"legend":{"type":"object","additionalProperties":false,"properties":{"mode":{"$ref":"common.schema.json#/$defs/legendMode"},"entries":{"type":"object","additionalProperties":false,"properties":{"dependency":{"$ref":"common.schema.json#/$defs/legendEntry"},"association":{"$ref":"common.schema.json#/$defs/legendEntry"},"inheritance":{"$ref":"common.schema.json#/$defs/legendEntry"},"realization":{"$ref":"common.schema.json#/$defs/legendEntry"},"composition":{"$ref":"common.schema.json#/$defs/legendEntry"},"aggregation":{"$ref":"common.schema.json#/$defs/legendEntry"}}}}},"viewBox":{"type":"array","prefixItems":[{"type":"number","minimum":320},{"type":"number","minimum":240}],"items":false,"minItems":2,"maxItems":2}}},"layout":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"enum":["grid"]},"origin":{"$ref":"common.schema.json#/$defs/point"},"gapX":{"type":"number","minimum":0},"gapY":{"type":"number","minimum":0},"typeW":{"type":"number","minimum":120},"typeMaxW":{"type":"number","minimum":160}}},"types":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","label","kind"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1},"kind":{"enum":["class","abstract","interface","enum","record"]},"sublabel":{"type":"string"},"row":{"type":"integer","minimum":0,"maximum":12},"col":{"type":"number","multipleOf":0.5,"minimum":0,"maximum":12,"description":"Grid column. A half step (e.g. 1.5) centres the type between two columns, such as a supertype over two subtypes."},"pos":{"$ref":"common.schema.json#/$defs/point"},"width":{"type":"number","minimum":120},"attributes":{"type":"array","items":{"$ref":"#/$defs/attribute"}},"methods":{"type":"array","items":{"$ref":"#/$defs/method"}},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"relationships":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["from","to","kind"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"from":{"$ref":"common.schema.json#/$defs/id"},"to":{"$ref":"common.schema.json#/$defs/id"},"kind":{"enum":["dependency","association","inheritance","realization","composition","aggregation"]},"label":{"type":"string"},"fromSide":{"$ref":"common.schema.json#/$defs/side"},"toSide":{"$ref":"common.schema.json#/$defs/side"},"route":{"enum":["auto","straight","orthogonal-h","orthogonal-v"]},"via":{"type":"array","items":{"$ref":"common.schema.json#/$defs/point"}},"labelAt":{"$ref":"common.schema.json#/$defs/point"},"labelDx":{"type":"number"},"labelDy":{"type":"number"},"labelSegment":{"type":"integer","minimum":0}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}},"$defs":{"visibility":{"enum":["public","protected","package","private"]},"attribute":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"}}},"method":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"parameters":{"type":"string"},"returns":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"},"abstract":{"type":"boolean"}}}}};function validate46(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate46.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate46.errors = vErrors;return errors === 0;}validate46.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema268 = {"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"}}};const schema269 = {"enum":["public","protected","package","private"]};function validate48(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate48.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.name === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((key0 === "name") || (key0 === "type")) || (key0 === "visibility")) || (key0 === "static"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.name !== undefined){let data0 = data.name;if(typeof data0 === "string"){if(func3(data0) < 1){const err2 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}else {const err3 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.type !== undefined){let data1 = data.type;if(typeof data1 === "string"){if(func3(data1) < 1){const err4 = {instancePath:instancePath+"/type",schemaPath:"#/properties/type/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}else {const err5 = {instancePath:instancePath+"/type",schemaPath:"#/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.visibility !== undefined){let data2 = data.visibility;if(!((((data2 === "public") || (data2 === "protected")) || (data2 === "package")) || (data2 === "private"))){const err6 = {instancePath:instancePath+"/visibility",schemaPath:"#/$defs/visibility/enum",keyword:"enum",params:{allowedValues: schema269.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.static !== undefined){if(typeof data.static !== "boolean"){const err7 = {instancePath:instancePath+"/static",schemaPath:"#/properties/static/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}validate48.errors = vErrors;return errors === 0;}validate48.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema270 = {"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1},"parameters":{"type":"string"},"returns":{"type":"string","minLength":1},"visibility":{"$ref":"#/$defs/visibility"},"static":{"type":"boolean"},"abstract":{"type":"boolean"}}};function validate50(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate50.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.name === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "name") || (key0 === "parameters")) || (key0 === "returns")) || (key0 === "visibility")) || (key0 === "static")) || (key0 === "abstract"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.name !== undefined){let data0 = data.name;if(typeof data0 === "string"){if(func3(data0) < 1){const err2 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}else {const err3 = {instancePath:instancePath+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.parameters !== undefined){if(typeof data.parameters !== "string"){const err4 = {instancePath:instancePath+"/parameters",schemaPath:"#/properties/parameters/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.returns !== undefined){let data2 = data.returns;if(typeof data2 === "string"){if(func3(data2) < 1){const err5 = {instancePath:instancePath+"/returns",schemaPath:"#/properties/returns/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/returns",schemaPath:"#/properties/returns/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.visibility !== undefined){let data3 = data.visibility;if(!((((data3 === "public") || (data3 === "protected")) || (data3 === "package")) || (data3 === "private"))){const err7 = {instancePath:instancePath+"/visibility",schemaPath:"#/$defs/visibility/enum",keyword:"enum",params:{allowedValues: schema269.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.static !== undefined){if(typeof data.static !== "boolean"){const err8 = {instancePath:instancePath+"/static",schemaPath:"#/properties/static/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.abstract !== undefined){if(typeof data.abstract !== "boolean"){const err9 = {instancePath:instancePath+"/abstract",schemaPath:"#/properties/abstract/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}}else {const err10 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}validate50.errors = vErrors;return errors === 0;}validate50.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate45(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/class.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate45.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.types === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "types"},message:"must have required property '"+"types"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "types")) || (key0 === "relationships")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("class" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "class"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}for(const key1 in data2){if(!(func1.call(schema249.properties.meta.properties, key1))){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err9 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}else {const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err11 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!pattern4.test(data4)){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}else {const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err14 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err15 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err16 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err17 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err18 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err19 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(data10.revision === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err22 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}else {const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err24 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err25 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err26 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}else {const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data2.views !== undefined){if(!(validate46(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);errors = vErrors.length;}}if(data2.legend !== undefined){let data16 = data2.legend;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){for(const key3 in data16){if(!((key3 === "mode") || (key3 === "entries"))){const err29 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data16.mode !== undefined){let data17 = data16.mode;if(!(((data17 === "auto") || (data17 === "all")) || (data17 === "hidden"))){const err30 = {instancePath:instancePath+"/meta/legend/mode",schemaPath:"common.schema.json#/$defs/legendMode/enum",keyword:"enum",params:{allowedValues: schema40.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data16.entries !== undefined){let data18 = data16.entries;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key4 in data18){if(!((((((key4 === "dependency") || (key4 === "association")) || (key4 === "inheritance")) || (key4 === "realization")) || (key4 === "composition")) || (key4 === "aggregation"))){const err31 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}if(data18.dependency !== undefined){let data19 = data18.dependency;if(data19 && typeof data19 == "object" && !Array.isArray(data19)){if(Object.keys(data19).length < 1){const err32 = {instancePath:instancePath+"/meta/legend/entries/dependency",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}for(const key5 in data19){if(!((key5 === "label") || (key5 === "visible"))){const err33 = {instancePath:instancePath+"/meta/legend/entries/dependency",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data19.label !== undefined){let data20 = data19.label;if(typeof data20 === "string"){if(func3(data20) > 80){const err34 = {instancePath:instancePath+"/meta/legend/entries/dependency/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}if(func3(data20) < 1){const err35 = {instancePath:instancePath+"/meta/legend/entries/dependency/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/meta/legend/entries/dependency/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data19.visible !== undefined){if(typeof data19.visible !== "boolean"){const err37 = {instancePath:instancePath+"/meta/legend/entries/dependency/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}else {const err38 = {instancePath:instancePath+"/meta/legend/entries/dependency",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data18.association !== undefined){let data22 = data18.association;if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(Object.keys(data22).length < 1){const err39 = {instancePath:instancePath+"/meta/legend/entries/association",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}for(const key6 in data22){if(!((key6 === "label") || (key6 === "visible"))){const err40 = {instancePath:instancePath+"/meta/legend/entries/association",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data22.label !== undefined){let data23 = data22.label;if(typeof data23 === "string"){if(func3(data23) > 80){const err41 = {instancePath:instancePath+"/meta/legend/entries/association/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}if(func3(data23) < 1){const err42 = {instancePath:instancePath+"/meta/legend/entries/association/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/meta/legend/entries/association/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data22.visible !== undefined){if(typeof data22.visible !== "boolean"){const err44 = {instancePath:instancePath+"/meta/legend/entries/association/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}}else {const err45 = {instancePath:instancePath+"/meta/legend/entries/association",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data18.inheritance !== undefined){let data25 = data18.inheritance;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(Object.keys(data25).length < 1){const err46 = {instancePath:instancePath+"/meta/legend/entries/inheritance",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key7 in data25){if(!((key7 === "label") || (key7 === "visible"))){const err47 = {instancePath:instancePath+"/meta/legend/entries/inheritance",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data25.label !== undefined){let data26 = data25.label;if(typeof data26 === "string"){if(func3(data26) > 80){const err48 = {instancePath:instancePath+"/meta/legend/entries/inheritance/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}if(func3(data26) < 1){const err49 = {instancePath:instancePath+"/meta/legend/entries/inheritance/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}else {const err50 = {instancePath:instancePath+"/meta/legend/entries/inheritance/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}if(data25.visible !== undefined){if(typeof data25.visible !== "boolean"){const err51 = {instancePath:instancePath+"/meta/legend/entries/inheritance/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}}else {const err52 = {instancePath:instancePath+"/meta/legend/entries/inheritance",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data18.realization !== undefined){let data28 = data18.realization;if(data28 && typeof data28 == "object" && !Array.isArray(data28)){if(Object.keys(data28).length < 1){const err53 = {instancePath:instancePath+"/meta/legend/entries/realization",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}for(const key8 in data28){if(!((key8 === "label") || (key8 === "visible"))){const err54 = {instancePath:instancePath+"/meta/legend/entries/realization",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data28.label !== undefined){let data29 = data28.label;if(typeof data29 === "string"){if(func3(data29) > 80){const err55 = {instancePath:instancePath+"/meta/legend/entries/realization/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}if(func3(data29) < 1){const err56 = {instancePath:instancePath+"/meta/legend/entries/realization/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}else {const err57 = {instancePath:instancePath+"/meta/legend/entries/realization/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data28.visible !== undefined){if(typeof data28.visible !== "boolean"){const err58 = {instancePath:instancePath+"/meta/legend/entries/realization/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}}else {const err59 = {instancePath:instancePath+"/meta/legend/entries/realization",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data18.composition !== undefined){let data31 = data18.composition;if(data31 && typeof data31 == "object" && !Array.isArray(data31)){if(Object.keys(data31).length < 1){const err60 = {instancePath:instancePath+"/meta/legend/entries/composition",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}for(const key9 in data31){if(!((key9 === "label") || (key9 === "visible"))){const err61 = {instancePath:instancePath+"/meta/legend/entries/composition",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data31.label !== undefined){let data32 = data31.label;if(typeof data32 === "string"){if(func3(data32) > 80){const err62 = {instancePath:instancePath+"/meta/legend/entries/composition/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}if(func3(data32) < 1){const err63 = {instancePath:instancePath+"/meta/legend/entries/composition/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}else {const err64 = {instancePath:instancePath+"/meta/legend/entries/composition/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data31.visible !== undefined){if(typeof data31.visible !== "boolean"){const err65 = {instancePath:instancePath+"/meta/legend/entries/composition/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}}else {const err66 = {instancePath:instancePath+"/meta/legend/entries/composition",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data18.aggregation !== undefined){let data34 = data18.aggregation;if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(Object.keys(data34).length < 1){const err67 = {instancePath:instancePath+"/meta/legend/entries/aggregation",schemaPath:"common.schema.json#/$defs/legendEntry/minProperties",keyword:"minProperties",params:{limit: 1},message:"must NOT have fewer than 1 properties"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}for(const key10 in data34){if(!((key10 === "label") || (key10 === "visible"))){const err68 = {instancePath:instancePath+"/meta/legend/entries/aggregation",schemaPath:"common.schema.json#/$defs/legendEntry/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key10},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}if(data34.label !== undefined){let data35 = data34.label;if(typeof data35 === "string"){if(func3(data35) > 80){const err69 = {instancePath:instancePath+"/meta/legend/entries/aggregation/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/maxLength",keyword:"maxLength",params:{limit: 80},message:"must NOT have more than 80 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(func3(data35) < 1){const err70 = {instancePath:instancePath+"/meta/legend/entries/aggregation/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/meta/legend/entries/aggregation/label",schemaPath:"common.schema.json#/$defs/legendEntry/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}if(data34.visible !== undefined){if(typeof data34.visible !== "boolean"){const err72 = {instancePath:instancePath+"/meta/legend/entries/aggregation/visible",schemaPath:"common.schema.json#/$defs/legendEntry/properties/visible/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}else {const err73 = {instancePath:instancePath+"/meta/legend/entries/aggregation",schemaPath:"common.schema.json#/$defs/legendEntry/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath:instancePath+"/meta/legend/entries",schemaPath:"#/properties/meta/properties/legend/properties/entries/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/meta/legend",schemaPath:"#/properties/meta/properties/legend/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data2.viewBox !== undefined){let data37 = data2.viewBox;if(Array.isArray(data37)){if(data37.length > 2){const err76 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data37.length < 2){const err77 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}const len0 = data37.length;if(len0 > 0){let data38 = data37[0];if((typeof data38 == "number") && (isFinite(data38))){if(data38 < 320 || isNaN(data38)){const err78 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/minimum",keyword:"minimum",params:{comparison: ">=", limit: 320},message:"must be >= 320"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}else {const err79 = {instancePath:instancePath+"/meta/viewBox/0",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(len0 > 1){let data39 = data37[1];if((typeof data39 == "number") && (isFinite(data39))){if(data39 < 240 || isNaN(data39)){const err80 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/minimum",keyword:"minimum",params:{comparison: ">=", limit: 240},message:"must be >= 240"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}else {const err81 = {instancePath:instancePath+"/meta/viewBox/1",schemaPath:"#/properties/meta/properties/viewBox/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}const len1 = data37.length;if(!(len1 <= 2)){const err82 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}else {const err83 = {instancePath:instancePath+"/meta/viewBox",schemaPath:"#/properties/meta/properties/viewBox/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data.layout !== undefined){let data40 = data.layout;if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.mode === undefined){const err85 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/required",keyword:"required",params:{missingProperty: "mode"},message:"must have required property '"+"mode"+"'"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}for(const key11 in data40){if(!((((((key11 === "mode") || (key11 === "origin")) || (key11 === "gapX")) || (key11 === "gapY")) || (key11 === "typeW")) || (key11 === "typeMaxW"))){const err86 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key11},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}if(data40.mode !== undefined){if(!(data40.mode === "grid")){const err87 = {instancePath:instancePath+"/layout/mode",schemaPath:"#/properties/layout/properties/mode/enum",keyword:"enum",params:{allowedValues: schema249.properties.layout.properties.mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data40.origin !== undefined){let data42 = data40.origin;if(Array.isArray(data42)){if(data42.length > 2){const err88 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data42.length < 2){const err89 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}const len2 = data42.length;if(len2 > 0){let data43 = data42[0];if(!((typeof data43 == "number") && (isFinite(data43)))){const err90 = {instancePath:instancePath+"/layout/origin/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(len2 > 1){let data44 = data42[1];if(!((typeof data44 == "number") && (isFinite(data44)))){const err91 = {instancePath:instancePath+"/layout/origin/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}const len3 = data42.length;if(!(len3 <= 2)){const err92 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}else {const err93 = {instancePath:instancePath+"/layout/origin",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}if(data40.gapX !== undefined){let data45 = data40.gapX;if((typeof data45 == "number") && (isFinite(data45))){if(data45 < 0 || isNaN(data45)){const err94 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}}else {const err95 = {instancePath:instancePath+"/layout/gapX",schemaPath:"#/properties/layout/properties/gapX/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}}if(data40.gapY !== undefined){let data46 = data40.gapY;if((typeof data46 == "number") && (isFinite(data46))){if(data46 < 0 || isNaN(data46)){const err96 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}else {const err97 = {instancePath:instancePath+"/layout/gapY",schemaPath:"#/properties/layout/properties/gapY/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data40.typeW !== undefined){let data47 = data40.typeW;if((typeof data47 == "number") && (isFinite(data47))){if(data47 < 120 || isNaN(data47)){const err98 = {instancePath:instancePath+"/layout/typeW",schemaPath:"#/properties/layout/properties/typeW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 120},message:"must be >= 120"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}else {const err99 = {instancePath:instancePath+"/layout/typeW",schemaPath:"#/properties/layout/properties/typeW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}if(data40.typeMaxW !== undefined){let data48 = data40.typeMaxW;if((typeof data48 == "number") && (isFinite(data48))){if(data48 < 160 || isNaN(data48)){const err100 = {instancePath:instancePath+"/layout/typeMaxW",schemaPath:"#/properties/layout/properties/typeMaxW/minimum",keyword:"minimum",params:{comparison: ">=", limit: 160},message:"must be >= 160"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}else {const err101 = {instancePath:instancePath+"/layout/typeMaxW",schemaPath:"#/properties/layout/properties/typeMaxW/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}}else {const err102 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data.types !== undefined){let data49 = data.types;if(Array.isArray(data49)){if(data49.length < 1){const err103 = {instancePath:instancePath+"/types",schemaPath:"#/properties/types/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}const len4 = data49.length;for(let i0=0; i0<len4; i0++){let data50 = data49[i0];if(data50 && typeof data50 == "object" && !Array.isArray(data50)){if(data50.id === undefined){const err104 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}if(data50.label === undefined){const err105 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(data50.kind === undefined){const err106 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}for(const key12 in data50){if(!(func1.call(schema249.properties.types.items.properties, key12))){const err107 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key12},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}}if(data50.id !== undefined){let data51 = data50.id;if(typeof data51 === "string"){if(!pattern16.test(data51)){const err108 = {instancePath:instancePath+"/types/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}else {const err109 = {instancePath:instancePath+"/types/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data50.label !== undefined){let data52 = data50.label;if(typeof data52 === "string"){if(func3(data52) < 1){const err110 = {instancePath:instancePath+"/types/" + i0+"/label",schemaPath:"#/properties/types/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}else {const err111 = {instancePath:instancePath+"/types/" + i0+"/label",schemaPath:"#/properties/types/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data50.kind !== undefined){let data53 = data50.kind;if(!(((((data53 === "class") || (data53 === "abstract")) || (data53 === "interface")) || (data53 === "enum")) || (data53 === "record"))){const err112 = {instancePath:instancePath+"/types/" + i0+"/kind",schemaPath:"#/properties/types/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema249.properties.types.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}if(data50.sublabel !== undefined){if(typeof data50.sublabel !== "string"){const err113 = {instancePath:instancePath+"/types/" + i0+"/sublabel",schemaPath:"#/properties/types/items/properties/sublabel/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}if(data50.row !== undefined){let data55 = data50.row;if(!(((typeof data55 == "number") && (!(data55 % 1) && !isNaN(data55))) && (isFinite(data55)))){const err114 = {instancePath:instancePath+"/types/" + i0+"/row",schemaPath:"#/properties/types/items/properties/row/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if((typeof data55 == "number") && (isFinite(data55))){if(data55 > 12 || isNaN(data55)){const err115 = {instancePath:instancePath+"/types/" + i0+"/row",schemaPath:"#/properties/types/items/properties/row/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data55 < 0 || isNaN(data55)){const err116 = {instancePath:instancePath+"/types/" + i0+"/row",schemaPath:"#/properties/types/items/properties/row/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}}if(data50.col !== undefined){let data56 = data50.col;if((typeof data56 == "number") && (isFinite(data56))){if(data56 > 12 || isNaN(data56)){const err117 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}if(data56 < 0 || isNaN(data56)){const err118 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}let res0;if((0.5 === 0 || (res0 = data56/0.5, res0 !== parseInt(res0)))){const err119 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/multipleOf",keyword:"multipleOf",params:{multipleOf: 0.5},message:"must be multiple of 0.5"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}else {const err120 = {instancePath:instancePath+"/types/" + i0+"/col",schemaPath:"#/properties/types/items/properties/col/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(data50.pos !== undefined){let data57 = data50.pos;if(Array.isArray(data57)){if(data57.length > 2){const err121 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}if(data57.length < 2){const err122 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}const len5 = data57.length;if(len5 > 0){let data58 = data57[0];if(!((typeof data58 == "number") && (isFinite(data58)))){const err123 = {instancePath:instancePath+"/types/" + i0+"/pos/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}if(len5 > 1){let data59 = data57[1];if(!((typeof data59 == "number") && (isFinite(data59)))){const err124 = {instancePath:instancePath+"/types/" + i0+"/pos/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}}const len6 = data57.length;if(!(len6 <= 2)){const err125 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}}else {const err126 = {instancePath:instancePath+"/types/" + i0+"/pos",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data50.width !== undefined){let data60 = data50.width;if((typeof data60 == "number") && (isFinite(data60))){if(data60 < 120 || isNaN(data60)){const err127 = {instancePath:instancePath+"/types/" + i0+"/width",schemaPath:"#/properties/types/items/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 120},message:"must be >= 120"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}else {const err128 = {instancePath:instancePath+"/types/" + i0+"/width",schemaPath:"#/properties/types/items/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data50.attributes !== undefined){let data61 = data50.attributes;if(Array.isArray(data61)){const len7 = data61.length;for(let i1=0; i1<len7; i1++){if(!(validate48(data61[i1], {instancePath:instancePath+"/types/" + i0+"/attributes/" + i1,parentData:data61,parentDataProperty:i1,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate48.errors : vErrors.concat(validate48.errors);errors = vErrors.length;}}}else {const err129 = {instancePath:instancePath+"/types/" + i0+"/attributes",schemaPath:"#/properties/types/items/properties/attributes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}if(data50.methods !== undefined){let data63 = data50.methods;if(Array.isArray(data63)){const len8 = data63.length;for(let i2=0; i2<len8; i2++){if(!(validate50(data63[i2], {instancePath:instancePath+"/types/" + i0+"/methods/" + i2,parentData:data63,parentDataProperty:i2,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate50.errors : vErrors.concat(validate50.errors);errors = vErrors.length;}}}else {const err130 = {instancePath:instancePath+"/types/" + i0+"/methods",schemaPath:"#/properties/types/items/properties/methods/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data50.sources !== undefined){let data65 = data50.sources;if(Array.isArray(data65)){if(data65.length > 3){const err131 = {instancePath:instancePath+"/types/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}if(data65.length < 1){const err132 = {instancePath:instancePath+"/types/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}const len9 = data65.length;for(let i3=0; i3<len9; i3++){let data66 = data65[i3];if(data66 && typeof data66 == "object" && !Array.isArray(data66)){if(data66.path === undefined){const err133 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}for(const key13 in data66){if(!((((key13 === "path") || (key13 === "line")) || (key13 === "end_line")) || (key13 === "label"))){const err134 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key13},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}}if(data66.path !== undefined){let data67 = data66.path;if(typeof data67 === "string"){if(func3(data67) > 240){const err135 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(func3(data67) < 1){const err136 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}else {const err137 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}if(data66.line !== undefined){let data68 = data66.line;if(!(((typeof data68 == "number") && (!(data68 % 1) && !isNaN(data68))) && (isFinite(data68)))){const err138 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}if((typeof data68 == "number") && (isFinite(data68))){if(data68 < 1 || isNaN(data68)){const err139 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}}if(data66.end_line !== undefined){let data69 = data66.end_line;if(!(((typeof data69 == "number") && (!(data69 % 1) && !isNaN(data69))) && (isFinite(data69)))){const err140 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}if((typeof data69 == "number") && (isFinite(data69))){if(data69 < 1 || isNaN(data69)){const err141 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}if(data66.label !== undefined){let data70 = data66.label;if(typeof data70 === "string"){if(func3(data70) > 48){const err142 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if(func3(data70) < 1){const err143 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}}else {const err144 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}}}else {const err145 = {instancePath:instancePath+"/types/" + i0+"/sources/" + i3,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}}else {const err146 = {instancePath:instancePath+"/types/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath:instancePath+"/types/" + i0,schemaPath:"#/properties/types/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}}}else {const err148 = {instancePath:instancePath+"/types",schemaPath:"#/properties/types/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}}if(data.relationships !== undefined){let data71 = data.relationships;if(Array.isArray(data71)){const len10 = data71.length;for(let i4=0; i4<len10; i4++){let data72 = data71[i4];if(data72 && typeof data72 == "object" && !Array.isArray(data72)){if(data72.from === undefined){const err149 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "from"},message:"must have required property '"+"from"+"'"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}if(data72.to === undefined){const err150 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "to"},message:"must have required property '"+"to"+"'"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(data72.kind === undefined){const err151 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/required",keyword:"required",params:{missingProperty: "kind"},message:"must have required property '"+"kind"+"'"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}for(const key14 in data72){if(!(func1.call(schema249.properties.relationships.items.properties, key14))){const err152 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key14},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(data72.id !== undefined){let data73 = data72.id;if(typeof data73 === "string"){if(!pattern16.test(data73)){const err153 = {instancePath:instancePath+"/relationships/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}}else {const err154 = {instancePath:instancePath+"/relationships/" + i4+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}if(data72.from !== undefined){let data74 = data72.from;if(typeof data74 === "string"){if(!pattern16.test(data74)){const err155 = {instancePath:instancePath+"/relationships/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}}else {const err156 = {instancePath:instancePath+"/relationships/" + i4+"/from",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err156];}else {vErrors.push(err156);}errors++;}}if(data72.to !== undefined){let data75 = data72.to;if(typeof data75 === "string"){if(!pattern16.test(data75)){const err157 = {instancePath:instancePath+"/relationships/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err157];}else {vErrors.push(err157);}errors++;}}else {const err158 = {instancePath:instancePath+"/relationships/" + i4+"/to",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err158];}else {vErrors.push(err158);}errors++;}}if(data72.kind !== undefined){let data76 = data72.kind;if(!((((((data76 === "dependency") || (data76 === "association")) || (data76 === "inheritance")) || (data76 === "realization")) || (data76 === "composition")) || (data76 === "aggregation"))){const err159 = {instancePath:instancePath+"/relationships/" + i4+"/kind",schemaPath:"#/properties/relationships/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema249.properties.relationships.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err159];}else {vErrors.push(err159);}errors++;}}if(data72.label !== undefined){if(typeof data72.label !== "string"){const err160 = {instancePath:instancePath+"/relationships/" + i4+"/label",schemaPath:"#/properties/relationships/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err160];}else {vErrors.push(err160);}errors++;}}if(data72.fromSide !== undefined){let data78 = data72.fromSide;if(!((((data78 === "left") || (data78 === "right")) || (data78 === "top")) || (data78 === "bottom"))){const err161 = {instancePath:instancePath+"/relationships/" + i4+"/fromSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err161];}else {vErrors.push(err161);}errors++;}}if(data72.toSide !== undefined){let data79 = data72.toSide;if(!((((data79 === "left") || (data79 === "right")) || (data79 === "top")) || (data79 === "bottom"))){const err162 = {instancePath:instancePath+"/relationships/" + i4+"/toSide",schemaPath:"common.schema.json#/$defs/side/enum",keyword:"enum",params:{allowedValues: schema127.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err162];}else {vErrors.push(err162);}errors++;}}if(data72.route !== undefined){let data80 = data72.route;if(!((((data80 === "auto") || (data80 === "straight")) || (data80 === "orthogonal-h")) || (data80 === "orthogonal-v"))){const err163 = {instancePath:instancePath+"/relationships/" + i4+"/route",schemaPath:"#/properties/relationships/items/properties/route/enum",keyword:"enum",params:{allowedValues: schema249.properties.relationships.items.properties.route.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err163];}else {vErrors.push(err163);}errors++;}}if(data72.via !== undefined){let data81 = data72.via;if(Array.isArray(data81)){const len11 = data81.length;for(let i5=0; i5<len11; i5++){let data82 = data81[i5];if(Array.isArray(data82)){if(data82.length > 2){const err164 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err164];}else {vErrors.push(err164);}errors++;}if(data82.length < 2){const err165 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err165];}else {vErrors.push(err165);}errors++;}const len12 = data82.length;if(len12 > 0){let data83 = data82[0];if(!((typeof data83 == "number") && (isFinite(data83)))){const err166 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5+"/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err166];}else {vErrors.push(err166);}errors++;}}if(len12 > 1){let data84 = data82[1];if(!((typeof data84 == "number") && (isFinite(data84)))){const err167 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5+"/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err167];}else {vErrors.push(err167);}errors++;}}const len13 = data82.length;if(!(len13 <= 2)){const err168 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err168];}else {vErrors.push(err168);}errors++;}}else {const err169 = {instancePath:instancePath+"/relationships/" + i4+"/via/" + i5,schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err169];}else {vErrors.push(err169);}errors++;}}}else {const err170 = {instancePath:instancePath+"/relationships/" + i4+"/via",schemaPath:"#/properties/relationships/items/properties/via/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err170];}else {vErrors.push(err170);}errors++;}}if(data72.labelAt !== undefined){let data85 = data72.labelAt;if(Array.isArray(data85)){if(data85.length > 2){const err171 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/maxItems",keyword:"maxItems",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err171];}else {vErrors.push(err171);}errors++;}if(data85.length < 2){const err172 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/minItems",keyword:"minItems",params:{limit: 2},message:"must NOT have fewer than 2 items"};if(vErrors === null){vErrors = [err172];}else {vErrors.push(err172);}errors++;}const len14 = data85.length;if(len14 > 0){let data86 = data85[0];if(!((typeof data86 == "number") && (isFinite(data86)))){const err173 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt/0",schemaPath:"common.schema.json#/$defs/point/prefixItems/0/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err173];}else {vErrors.push(err173);}errors++;}}if(len14 > 1){let data87 = data85[1];if(!((typeof data87 == "number") && (isFinite(data87)))){const err174 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt/1",schemaPath:"common.schema.json#/$defs/point/prefixItems/1/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err174];}else {vErrors.push(err174);}errors++;}}const len15 = data85.length;if(!(len15 <= 2)){const err175 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/items",keyword:"items",params:{limit: 2},message:"must NOT have more than 2 items"};if(vErrors === null){vErrors = [err175];}else {vErrors.push(err175);}errors++;}}else {const err176 = {instancePath:instancePath+"/relationships/" + i4+"/labelAt",schemaPath:"common.schema.json#/$defs/point/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err176];}else {vErrors.push(err176);}errors++;}}if(data72.labelDx !== undefined){let data88 = data72.labelDx;if(!((typeof data88 == "number") && (isFinite(data88)))){const err177 = {instancePath:instancePath+"/relationships/" + i4+"/labelDx",schemaPath:"#/properties/relationships/items/properties/labelDx/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err177];}else {vErrors.push(err177);}errors++;}}if(data72.labelDy !== undefined){let data89 = data72.labelDy;if(!((typeof data89 == "number") && (isFinite(data89)))){const err178 = {instancePath:instancePath+"/relationships/" + i4+"/labelDy",schemaPath:"#/properties/relationships/items/properties/labelDy/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err178];}else {vErrors.push(err178);}errors++;}}if(data72.labelSegment !== undefined){let data90 = data72.labelSegment;if(!(((typeof data90 == "number") && (!(data90 % 1) && !isNaN(data90))) && (isFinite(data90)))){const err179 = {instancePath:instancePath+"/relationships/" + i4+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err179];}else {vErrors.push(err179);}errors++;}if((typeof data90 == "number") && (isFinite(data90))){if(data90 < 0 || isNaN(data90)){const err180 = {instancePath:instancePath+"/relationships/" + i4+"/labelSegment",schemaPath:"#/properties/relationships/items/properties/labelSegment/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err180];}else {vErrors.push(err180);}errors++;}}}}else {const err181 = {instancePath:instancePath+"/relationships/" + i4,schemaPath:"#/properties/relationships/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err181];}else {vErrors.push(err181);}errors++;}}}else {const err182 = {instancePath:instancePath+"/relationships",schemaPath:"#/properties/relationships/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err182];}else {vErrors.push(err182);}errors++;}}if(data.cards !== undefined){let data91 = data.cards;if(Array.isArray(data91)){const len16 = data91.length;for(let i6=0; i6<len16; i6++){let data92 = data91[i6];if(data92 && typeof data92 == "object" && !Array.isArray(data92)){if(data92.dot === undefined){const err183 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err183];}else {vErrors.push(err183);}errors++;}if(data92.title === undefined){const err184 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err184];}else {vErrors.push(err184);}errors++;}if(data92.items === undefined){const err185 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err185];}else {vErrors.push(err185);}errors++;}for(const key15 in data92){if(!(((key15 === "dot") || (key15 === "title")) || (key15 === "items"))){const err186 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key15},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err186];}else {vErrors.push(err186);}errors++;}}if(data92.dot !== undefined){let data93 = data92.dot;if(!(((((((data93 === "cyan") || (data93 === "emerald")) || (data93 === "violet")) || (data93 === "amber")) || (data93 === "rose")) || (data93 === "orange")) || (data93 === "slate"))){const err187 = {instancePath:instancePath+"/cards/" + i6+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err187];}else {vErrors.push(err187);}errors++;}}if(data92.title !== undefined){let data94 = data92.title;if(typeof data94 === "string"){if(func3(data94) < 1){const err188 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err188];}else {vErrors.push(err188);}errors++;}}else {const err189 = {instancePath:instancePath+"/cards/" + i6+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err189];}else {vErrors.push(err189);}errors++;}}if(data92.items !== undefined){let data95 = data92.items;if(Array.isArray(data95)){const len17 = data95.length;for(let i7=0; i7<len17; i7++){if(typeof data95[i7] !== "string"){const err190 = {instancePath:instancePath+"/cards/" + i6+"/items/" + i7,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err190];}else {vErrors.push(err190);}errors++;}}}else {const err191 = {instancePath:instancePath+"/cards/" + i6+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err191];}else {vErrors.push(err191);}errors++;}}}else {const err192 = {instancePath:instancePath+"/cards/" + i6,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err192];}else {vErrors.push(err192);}errors++;}}}else {const err193 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err193];}else {vErrors.push(err193);}errors++;}}}else {const err194 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err194];}else {vErrors.push(err194);}errors++;}validate45.errors = vErrors;return errors === 0;}validate45.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const timelineSchema = validate52;const schema281 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/timeline.schema.json","title":"Archify Event Timeline","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","events"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"timeline"},"meta":{"type":"object","additionalProperties":false,"required":["title","evidence"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"evidence":{"enum":["observed","illustrative"],"description":"Whether the events are recorded observations or illustrative input; drawn on the canvas."},"timezone":{"type":"string","minLength":1,"description":"IANA time zone used for axis and event labels; defaults to UTC."}}},"layout":{"type":"object","additionalProperties":false,"properties":{"width":{"type":"number","minimum":480,"description":"Drawing width of the time axis in px."},"breaks":{"enum":["auto","none"],"description":"auto compresses long quiet periods into disclosed axis breaks."}}},"lanes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","label"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"label":{"type":"string","minLength":1}}}},"events":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","at","title"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$","description":"ISO 8601 timestamp with an explicit Z or ±HH:MM offset."},"title":{"type":"string","minLength":1},"detail":{"type":"string"},"lane":{"$ref":"common.schema.json#/$defs/id"},"kind":{"enum":["default","change","alert","action","recovery"]},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};const pattern157 = new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$", "u");function validate53(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate53.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate53.errors = vErrors;return errors === 0;}validate53.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate52(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/timeline.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate52.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.events === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "events"},message:"must have required property '"+"events"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!(((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "lanes")) || (key0 === "events")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("timeline" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "timeline"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data2.evidence === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "evidence"},message:"must have required property '"+"evidence"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key1 in data2){if(!(func1.call(schema281.properties.meta.properties, key1))){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}else {const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!pattern4.test(data4)){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}else {const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err15 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err16 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err17 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err18 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err19 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(data10.revision === undefined){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err22 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}else {const err24 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err25 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err26 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}else {const err28 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data2.views !== undefined){if(!(validate53(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate53.errors : vErrors.concat(validate53.errors);errors = vErrors.length;}}if(data2.evidence !== undefined){let data16 = data2.evidence;if(!((data16 === "observed") || (data16 === "illustrative"))){const err30 = {instancePath:instancePath+"/meta/evidence",schemaPath:"#/properties/meta/properties/evidence/enum",keyword:"enum",params:{allowedValues: schema281.properties.meta.properties.evidence.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data2.timezone !== undefined){let data17 = data2.timezone;if(typeof data17 === "string"){if(func3(data17) < 1){const err31 = {instancePath:instancePath+"/meta/timezone",schemaPath:"#/properties/meta/properties/timezone/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}else {const err32 = {instancePath:instancePath+"/meta/timezone",schemaPath:"#/properties/meta/properties/timezone/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}}else {const err33 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data.layout !== undefined){let data18 = data.layout;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key3 in data18){if(!((key3 === "width") || (key3 === "breaks"))){const err34 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data18.width !== undefined){let data19 = data18.width;if((typeof data19 == "number") && (isFinite(data19))){if(data19 < 480 || isNaN(data19)){const err35 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 480},message:"must be >= 480"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}else {const err36 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data18.breaks !== undefined){let data20 = data18.breaks;if(!((data20 === "auto") || (data20 === "none"))){const err37 = {instancePath:instancePath+"/layout/breaks",schemaPath:"#/properties/layout/properties/breaks/enum",keyword:"enum",params:{allowedValues: schema281.properties.layout.properties.breaks.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}}else {const err38 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}if(data.lanes !== undefined){let data21 = data.lanes;if(Array.isArray(data21)){const len0 = data21.length;for(let i0=0; i0<len0; i0++){let data22 = data21[i0];if(data22 && typeof data22 == "object" && !Array.isArray(data22)){if(data22.id === undefined){const err39 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(data22.label === undefined){const err40 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}for(const key4 in data22){if(!((key4 === "id") || (key4 === "label"))){const err41 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data22.id !== undefined){let data23 = data22.id;if(typeof data23 === "string"){if(!pattern16.test(data23)){const err42 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/lanes/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data22.label !== undefined){let data24 = data22.label;if(typeof data24 === "string"){if(func3(data24) < 1){const err44 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}else {const err45 = {instancePath:instancePath+"/lanes/" + i0+"/label",schemaPath:"#/properties/lanes/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}}else {const err46 = {instancePath:instancePath+"/lanes/" + i0,schemaPath:"#/properties/lanes/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}}else {const err47 = {instancePath:instancePath+"/lanes",schemaPath:"#/properties/lanes/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data.events !== undefined){let data25 = data.events;if(Array.isArray(data25)){if(data25.length < 1){const err48 = {instancePath:instancePath+"/events",schemaPath:"#/properties/events/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}const len1 = data25.length;for(let i1=0; i1<len1; i1++){let data26 = data25[i1];if(data26 && typeof data26 == "object" && !Array.isArray(data26)){if(data26.id === undefined){const err49 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}if(data26.at === undefined){const err50 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/required",keyword:"required",params:{missingProperty: "at"},message:"must have required property '"+"at"+"'"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}if(data26.title === undefined){const err51 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}for(const key5 in data26){if(!(((((((key5 === "id") || (key5 === "at")) || (key5 === "title")) || (key5 === "detail")) || (key5 === "lane")) || (key5 === "kind")) || (key5 === "sources"))){const err52 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data26.id !== undefined){let data27 = data26.id;if(typeof data27 === "string"){if(!pattern16.test(data27)){const err53 = {instancePath:instancePath+"/events/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}else {const err54 = {instancePath:instancePath+"/events/" + i1+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data26.at !== undefined){let data28 = data26.at;if(typeof data28 === "string"){if(!pattern157.test(data28)){const err55 = {instancePath:instancePath+"/events/" + i1+"/at",schemaPath:"#/properties/events/items/properties/at/pattern",keyword:"pattern",params:{pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$"},message:"must match pattern \""+"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,3})?)?(Z|[+-]\\d{2}:\\d{2})$"+"\""};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}else {const err56 = {instancePath:instancePath+"/events/" + i1+"/at",schemaPath:"#/properties/events/items/properties/at/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data26.title !== undefined){let data29 = data26.title;if(typeof data29 === "string"){if(func3(data29) < 1){const err57 = {instancePath:instancePath+"/events/" + i1+"/title",schemaPath:"#/properties/events/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}else {const err58 = {instancePath:instancePath+"/events/" + i1+"/title",schemaPath:"#/properties/events/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}}if(data26.detail !== undefined){if(typeof data26.detail !== "string"){const err59 = {instancePath:instancePath+"/events/" + i1+"/detail",schemaPath:"#/properties/events/items/properties/detail/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data26.lane !== undefined){let data31 = data26.lane;if(typeof data31 === "string"){if(!pattern16.test(data31)){const err60 = {instancePath:instancePath+"/events/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}else {const err61 = {instancePath:instancePath+"/events/" + i1+"/lane",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data26.kind !== undefined){let data32 = data26.kind;if(!(((((data32 === "default") || (data32 === "change")) || (data32 === "alert")) || (data32 === "action")) || (data32 === "recovery"))){const err62 = {instancePath:instancePath+"/events/" + i1+"/kind",schemaPath:"#/properties/events/items/properties/kind/enum",keyword:"enum",params:{allowedValues: schema281.properties.events.items.properties.kind.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}if(data26.sources !== undefined){let data33 = data26.sources;if(Array.isArray(data33)){if(data33.length > 3){const err63 = {instancePath:instancePath+"/events/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}if(data33.length < 1){const err64 = {instancePath:instancePath+"/events/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}const len2 = data33.length;for(let i2=0; i2<len2; i2++){let data34 = data33[i2];if(data34 && typeof data34 == "object" && !Array.isArray(data34)){if(data34.path === undefined){const err65 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}for(const key6 in data34){if(!((((key6 === "path") || (key6 === "line")) || (key6 === "end_line")) || (key6 === "label"))){const err66 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}if(data34.path !== undefined){let data35 = data34.path;if(typeof data35 === "string"){if(func3(data35) > 240){const err67 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(func3(data35) < 1){const err68 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}else {const err69 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data34.line !== undefined){let data36 = data34.line;if(!(((typeof data36 == "number") && (!(data36 % 1) && !isNaN(data36))) && (isFinite(data36)))){const err70 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if((typeof data36 == "number") && (isFinite(data36))){if(data36 < 1 || isNaN(data36)){const err71 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}if(data34.end_line !== undefined){let data37 = data34.end_line;if(!(((typeof data37 == "number") && (!(data37 % 1) && !isNaN(data37))) && (isFinite(data37)))){const err72 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if((typeof data37 == "number") && (isFinite(data37))){if(data37 < 1 || isNaN(data37)){const err73 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}if(data34.label !== undefined){let data38 = data34.label;if(typeof data38 === "string"){if(func3(data38) > 48){const err74 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(func3(data38) < 1){const err75 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}else {const err76 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}}else {const err77 = {instancePath:instancePath+"/events/" + i1+"/sources/" + i2,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}}else {const err78 = {instancePath:instancePath+"/events/" + i1+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath:instancePath+"/events/" + i1,schemaPath:"#/properties/events/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}}else {const err80 = {instancePath:instancePath+"/events",schemaPath:"#/properties/events/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}if(data.cards !== undefined){let data39 = data.cards;if(Array.isArray(data39)){const len3 = data39.length;for(let i3=0; i3<len3; i3++){let data40 = data39[i3];if(data40 && typeof data40 == "object" && !Array.isArray(data40)){if(data40.dot === undefined){const err81 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(data40.title === undefined){const err82 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(data40.items === undefined){const err83 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}for(const key7 in data40){if(!(((key7 === "dot") || (key7 === "title")) || (key7 === "items"))){const err84 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data40.dot !== undefined){let data41 = data40.dot;if(!(((((((data41 === "cyan") || (data41 === "emerald")) || (data41 === "violet")) || (data41 === "amber")) || (data41 === "rose")) || (data41 === "orange")) || (data41 === "slate"))){const err85 = {instancePath:instancePath+"/cards/" + i3+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data40.title !== undefined){let data42 = data40.title;if(typeof data42 === "string"){if(func3(data42) < 1){const err86 = {instancePath:instancePath+"/cards/" + i3+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}else {const err87 = {instancePath:instancePath+"/cards/" + i3+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}}if(data40.items !== undefined){let data43 = data40.items;if(Array.isArray(data43)){const len4 = data43.length;for(let i4=0; i4<len4; i4++){if(typeof data43[i4] !== "string"){const err88 = {instancePath:instancePath+"/cards/" + i3+"/items/" + i4,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}}}else {const err89 = {instancePath:instancePath+"/cards/" + i3+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}}else {const err90 = {instancePath:instancePath+"/cards/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}}else {const err91 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}}else {const err92 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}validate52.errors = vErrors;return errors === 0;}validate52.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const waterfallSchema = validate55;const schema295 = {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://github.com/tt-a1i/archify/schemas/waterfall.schema.json","title":"Archify Execution Waterfall","type":"object","additionalProperties":false,"required":["schema_version","diagram_type","meta","spans"],"properties":{"schema_version":{"const":1},"diagram_type":{"const":"waterfall"},"meta":{"type":"object","additionalProperties":false,"required":["title","evidence"],"properties":{"title":{"type":"string","minLength":1},"locale":{"$ref":"common.schema.json#/$defs/locale"},"subtitle":{"type":"string"},"output":{"type":"string"},"animation":{"$ref":"common.schema.json#/$defs/animation"},"visual_preset":{"$ref":"common.schema.json#/$defs/visualPreset"},"quality_profile":{"$ref":"common.schema.json#/$defs/qualityProfile"},"repository":{"$ref":"common.schema.json#/$defs/repository"},"views":{"$ref":"common.schema.json#/$defs/guidedViews"},"evidence":{"enum":["measured","illustrative"],"description":"Whether span timing is recorded measurement or illustrative input; drawn on the canvas."},"unit":{"enum":["us","ms","s"],"description":"Unit of every start, end, and duration; defaults to ms."}}},"layout":{"type":"object","additionalProperties":false,"properties":{"width":{"type":"number","minimum":360,"description":"Width of the time axis in px."}}},"spans":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["id","name","start"],"properties":{"id":{"$ref":"common.schema.json#/$defs/id"},"name":{"type":"string","minLength":1},"start":{"type":"number","minimum":0,"description":"Offset from the trace origin, in meta.unit."},"end":{"type":"number","minimum":0},"duration":{"type":"number","minimum":0},"parent":{"$ref":"common.schema.json#/$defs/id"},"status":{"enum":["ok","error","cancelled","incomplete"]},"service":{"type":"string","minLength":1},"detail":{"type":"string"},"sources":{"$ref":"common.schema.json#/$defs/sourceReferences"}}}},"cards":{"$ref":"common.schema.json#/$defs/cards"}}};function validate56(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate56.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){if(data.length > 5){const err0 = {instancePath,schemaPath:"#/maxItems",keyword:"maxItems",params:{limit: 5},message:"must NOT have more than 5 items"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.id === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.label === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.focus === undefined){const err3 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/required",keyword:"required",params:{missingProperty: "focus"},message:"must have required property '"+"focus"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data0){if(!((((key0 === "id") || (key0 === "label")) || (key0 === "focus")) || (key0 === "note"))){const err4 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.id !== undefined){let data1 = data0.id;if(typeof data1 === "string"){if(!pattern16.test(data1)){const err5 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}else {const err6 = {instancePath:instancePath+"/" + i0+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data0.label !== undefined){let data2 = data0.label;if(typeof data2 === "string"){if(func3(data2) > 48){const err7 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(func3(data2) < 1){const err8 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}else {const err9 = {instancePath:instancePath+"/" + i0+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.focus !== undefined){let data3 = data0.focus;if(Array.isArray(data3)){if(data3.length < 1){const err10 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}const len1 = data3.length;for(let i1=0; i1<len1; i1++){let data4 = data3[i1];if(typeof data4 === "string"){if(!pattern16.test(data4)){const err11 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}else {const err12 = {instancePath:instancePath+"/" + i0+"/focus/" + i1,schemaPath:"#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/" + i0+"/focus",schemaPath:"#/items/properties/focus/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data0.note !== undefined){let data5 = data0.note;if(typeof data5 === "string"){if(func3(data5) > 140){const err14 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/maxLength",keyword:"maxLength",params:{limit: 140},message:"must NOT have more than 140 characters"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}else {const err15 = {instancePath:instancePath+"/" + i0+"/note",schemaPath:"#/items/properties/note/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/" + i0,schemaPath:"#/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate56.errors = vErrors;return errors === 0;}validate56.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate55(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://github.com/tt-a1i/archify/schemas/waterfall.schema.json" */;let vErrors = null;let errors = 0;const evaluated0 = validate55.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.schema_version === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "schema_version"},message:"must have required property '"+"schema_version"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.diagram_type === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "diagram_type"},message:"must have required property '"+"diagram_type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.meta === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "meta"},message:"must have required property '"+"meta"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.spans === undefined){const err3 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "spans"},message:"must have required property '"+"spans"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}for(const key0 in data){if(!((((((key0 === "schema_version") || (key0 === "diagram_type")) || (key0 === "meta")) || (key0 === "layout")) || (key0 === "spans")) || (key0 === "cards"))){const err4 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.schema_version !== undefined){if(1 !== data.schema_version){const err5 = {instancePath:instancePath+"/schema_version",schemaPath:"#/properties/schema_version/const",keyword:"const",params:{allowedValue: 1},message:"must be equal to constant"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.diagram_type !== undefined){if("waterfall" !== data.diagram_type){const err6 = {instancePath:instancePath+"/diagram_type",schemaPath:"#/properties/diagram_type/const",keyword:"const",params:{allowedValue: "waterfall"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.meta !== undefined){let data2 = data.meta;if(data2 && typeof data2 == "object" && !Array.isArray(data2)){if(data2.title === undefined){const err7 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data2.evidence === undefined){const err8 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/required",keyword:"required",params:{missingProperty: "evidence"},message:"must have required property '"+"evidence"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key1 in data2){if(!(func1.call(schema295.properties.meta.properties, key1))){const err9 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data2.title !== undefined){let data3 = data2.title;if(typeof data3 === "string"){if(func3(data3) < 1){const err10 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}else {const err11 = {instancePath:instancePath+"/meta/title",schemaPath:"#/properties/meta/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data2.locale !== undefined){let data4 = data2.locale;if(typeof data4 === "string"){if(func3(data4) > 35){const err12 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/maxLength",keyword:"maxLength",params:{limit: 35},message:"must NOT have more than 35 characters"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!pattern4.test(data4)){const err13 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/pattern",keyword:"pattern",params:{pattern: "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"},message:"must match pattern \""+"^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"+"\""};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}else {const err14 = {instancePath:instancePath+"/meta/locale",schemaPath:"common.schema.json#/$defs/locale/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data2.subtitle !== undefined){if(typeof data2.subtitle !== "string"){const err15 = {instancePath:instancePath+"/meta/subtitle",schemaPath:"#/properties/meta/properties/subtitle/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data2.output !== undefined){if(typeof data2.output !== "string"){const err16 = {instancePath:instancePath+"/meta/output",schemaPath:"#/properties/meta/properties/output/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data2.animation !== undefined){let data7 = data2.animation;if(!((data7 === "trace") || (data7 === "none"))){const err17 = {instancePath:instancePath+"/meta/animation",schemaPath:"common.schema.json#/$defs/animation/enum",keyword:"enum",params:{allowedValues: schema77.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data2.visual_preset !== undefined){let data8 = data2.visual_preset;if(!((((data8 === "classic") || (data8 === "signal-flow")) || (data8 === "blueprint")) || (data8 === "editorial"))){const err18 = {instancePath:instancePath+"/meta/visual_preset",schemaPath:"common.schema.json#/$defs/visualPreset/enum",keyword:"enum",params:{allowedValues: schema78.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data2.quality_profile !== undefined){let data9 = data2.quality_profile;if(!((data9 === "standard") || (data9 === "showcase"))){const err19 = {instancePath:instancePath+"/meta/quality_profile",schemaPath:"common.schema.json#/$defs/qualityProfile/enum",keyword:"enum",params:{allowedValues: schema79.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data2.repository !== undefined){let data10 = data2.repository;if(data10 && typeof data10 == "object" && !Array.isArray(data10)){if(data10.url === undefined){const err20 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}if(data10.revision === undefined){const err21 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/required",keyword:"required",params:{missingProperty: "revision"},message:"must have required property '"+"revision"+"'"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}for(const key2 in data10){if(!((((key2 === "url") || (key2 === "provider")) || (key2 === "link_mode")) || (key2 === "revision"))){const err22 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data10.url !== undefined){let data11 = data10.url;if(typeof data11 === "string"){if(func3(data11) < 1){const err23 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}else {const err24 = {instancePath:instancePath+"/meta/repository/url",schemaPath:"common.schema.json#/$defs/repository/properties/url/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data10.provider !== undefined){let data12 = data10.provider;if(!((data12 === "github") || (data12 === "gitee"))){const err25 = {instancePath:instancePath+"/meta/repository/provider",schemaPath:"common.schema.json#/$defs/repository/properties/provider/enum",keyword:"enum",params:{allowedValues: schema36.properties.provider.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data10.link_mode !== undefined){let data13 = data10.link_mode;if(!((data13 === "web") || (data13 === "local-only"))){const err26 = {instancePath:instancePath+"/meta/repository/link_mode",schemaPath:"common.schema.json#/$defs/repository/properties/link_mode/enum",keyword:"enum",params:{allowedValues: schema36.properties.link_mode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data10.revision !== undefined){let data14 = data10.revision;if(typeof data14 === "string"){if(!pattern15.test(data14)){const err27 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/pattern",keyword:"pattern",params:{pattern: "^[a-fA-F0-9]{40}$"},message:"must match pattern \""+"^[a-fA-F0-9]{40}$"+"\""};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}else {const err28 = {instancePath:instancePath+"/meta/repository/revision",schemaPath:"common.schema.json#/$defs/repository/properties/revision/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/meta/repository",schemaPath:"common.schema.json#/$defs/repository/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data2.views !== undefined){if(!(validate56(data2.views, {instancePath:instancePath+"/meta/views",parentData:data2,parentDataProperty:"views",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate56.errors : vErrors.concat(validate56.errors);errors = vErrors.length;}}if(data2.evidence !== undefined){let data16 = data2.evidence;if(!((data16 === "measured") || (data16 === "illustrative"))){const err30 = {instancePath:instancePath+"/meta/evidence",schemaPath:"#/properties/meta/properties/evidence/enum",keyword:"enum",params:{allowedValues: schema295.properties.meta.properties.evidence.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data2.unit !== undefined){let data17 = data2.unit;if(!(((data17 === "us") || (data17 === "ms")) || (data17 === "s"))){const err31 = {instancePath:instancePath+"/meta/unit",schemaPath:"#/properties/meta/properties/unit/enum",keyword:"enum",params:{allowedValues: schema295.properties.meta.properties.unit.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}}else {const err32 = {instancePath:instancePath+"/meta",schemaPath:"#/properties/meta/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}if(data.layout !== undefined){let data18 = data.layout;if(data18 && typeof data18 == "object" && !Array.isArray(data18)){for(const key3 in data18){if(!(key3 === "width")){const err33 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data18.width !== undefined){let data19 = data18.width;if((typeof data19 == "number") && (isFinite(data19))){if(data19 < 360 || isNaN(data19)){const err34 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/minimum",keyword:"minimum",params:{comparison: ">=", limit: 360},message:"must be >= 360"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}else {const err35 = {instancePath:instancePath+"/layout/width",schemaPath:"#/properties/layout/properties/width/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/layout",schemaPath:"#/properties/layout/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}if(data.spans !== undefined){let data20 = data.spans;if(Array.isArray(data20)){if(data20.length < 1){const err37 = {instancePath:instancePath+"/spans",schemaPath:"#/properties/spans/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}const len0 = data20.length;for(let i0=0; i0<len0; i0++){let data21 = data20[i0];if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.id === undefined){const err38 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/required",keyword:"required",params:{missingProperty: "id"},message:"must have required property '"+"id"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(data21.name === undefined){const err39 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(data21.start === undefined){const err40 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/required",keyword:"required",params:{missingProperty: "start"},message:"must have required property '"+"start"+"'"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}for(const key4 in data21){if(!(func1.call(schema295.properties.spans.items.properties, key4))){const err41 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data21.id !== undefined){let data22 = data21.id;if(typeof data22 === "string"){if(!pattern16.test(data22)){const err42 = {instancePath:instancePath+"/spans/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}else {const err43 = {instancePath:instancePath+"/spans/" + i0+"/id",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data21.name !== undefined){let data23 = data21.name;if(typeof data23 === "string"){if(func3(data23) < 1){const err44 = {instancePath:instancePath+"/spans/" + i0+"/name",schemaPath:"#/properties/spans/items/properties/name/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}else {const err45 = {instancePath:instancePath+"/spans/" + i0+"/name",schemaPath:"#/properties/spans/items/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data21.start !== undefined){let data24 = data21.start;if((typeof data24 == "number") && (isFinite(data24))){if(data24 < 0 || isNaN(data24)){const err46 = {instancePath:instancePath+"/spans/" + i0+"/start",schemaPath:"#/properties/spans/items/properties/start/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}else {const err47 = {instancePath:instancePath+"/spans/" + i0+"/start",schemaPath:"#/properties/spans/items/properties/start/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data21.end !== undefined){let data25 = data21.end;if((typeof data25 == "number") && (isFinite(data25))){if(data25 < 0 || isNaN(data25)){const err48 = {instancePath:instancePath+"/spans/" + i0+"/end",schemaPath:"#/properties/spans/items/properties/end/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}else {const err49 = {instancePath:instancePath+"/spans/" + i0+"/end",schemaPath:"#/properties/spans/items/properties/end/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}}if(data21.duration !== undefined){let data26 = data21.duration;if((typeof data26 == "number") && (isFinite(data26))){if(data26 < 0 || isNaN(data26)){const err50 = {instancePath:instancePath+"/spans/" + i0+"/duration",schemaPath:"#/properties/spans/items/properties/duration/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}else {const err51 = {instancePath:instancePath+"/spans/" + i0+"/duration",schemaPath:"#/properties/spans/items/properties/duration/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}}if(data21.parent !== undefined){let data27 = data21.parent;if(typeof data27 === "string"){if(!pattern16.test(data27)){const err52 = {instancePath:instancePath+"/spans/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/pattern",keyword:"pattern",params:{pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$"},message:"must match pattern \""+"^[a-zA-Z][a-zA-Z0-9_-]*$"+"\""};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}else {const err53 = {instancePath:instancePath+"/spans/" + i0+"/parent",schemaPath:"common.schema.json#/$defs/id/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}if(data21.status !== undefined){let data28 = data21.status;if(!((((data28 === "ok") || (data28 === "error")) || (data28 === "cancelled")) || (data28 === "incomplete"))){const err54 = {instancePath:instancePath+"/spans/" + i0+"/status",schemaPath:"#/properties/spans/items/properties/status/enum",keyword:"enum",params:{allowedValues: schema295.properties.spans.items.properties.status.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data21.service !== undefined){let data29 = data21.service;if(typeof data29 === "string"){if(func3(data29) < 1){const err55 = {instancePath:instancePath+"/spans/" + i0+"/service",schemaPath:"#/properties/spans/items/properties/service/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}else {const err56 = {instancePath:instancePath+"/spans/" + i0+"/service",schemaPath:"#/properties/spans/items/properties/service/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data21.detail !== undefined){if(typeof data21.detail !== "string"){const err57 = {instancePath:instancePath+"/spans/" + i0+"/detail",schemaPath:"#/properties/spans/items/properties/detail/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}if(data21.sources !== undefined){let data31 = data21.sources;if(Array.isArray(data31)){if(data31.length > 3){const err58 = {instancePath:instancePath+"/spans/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/maxItems",keyword:"maxItems",params:{limit: 3},message:"must NOT have more than 3 items"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}if(data31.length < 1){const err59 = {instancePath:instancePath+"/spans/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/minItems",keyword:"minItems",params:{limit: 1},message:"must NOT have fewer than 1 items"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}const len1 = data31.length;for(let i1=0; i1<len1; i1++){let data32 = data31[i1];if(data32 && typeof data32 == "object" && !Array.isArray(data32)){if(data32.path === undefined){const err60 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/required",keyword:"required",params:{missingProperty: "path"},message:"must have required property '"+"path"+"'"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}for(const key5 in data32){if(!((((key5 === "path") || (key5 === "line")) || (key5 === "end_line")) || (key5 === "label"))){const err61 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data32.path !== undefined){let data33 = data32.path;if(typeof data33 === "string"){if(func3(data33) > 240){const err62 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/maxLength",keyword:"maxLength",params:{limit: 240},message:"must NOT have more than 240 characters"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}if(func3(data33) < 1){const err63 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}else {const err64 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/path",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/path/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}}if(data32.line !== undefined){let data34 = data32.line;if(!(((typeof data34 == "number") && (!(data34 % 1) && !isNaN(data34))) && (isFinite(data34)))){const err65 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}if((typeof data34 == "number") && (isFinite(data34))){if(data34 < 1 || isNaN(data34)){const err66 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}}}if(data32.end_line !== undefined){let data35 = data32.end_line;if(!(((typeof data35 == "number") && (!(data35 % 1) && !isNaN(data35))) && (isFinite(data35)))){const err67 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if((typeof data35 == "number") && (isFinite(data35))){if(data35 < 1 || isNaN(data35)){const err68 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/end_line",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/end_line/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}}if(data32.label !== undefined){let data36 = data32.label;if(typeof data36 === "string"){if(func3(data36) > 48){const err69 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/maxLength",keyword:"maxLength",params:{limit: 48},message:"must NOT have more than 48 characters"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(func3(data36) < 1){const err70 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}else {const err71 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1+"/label",schemaPath:"common.schema.json#/$defs/sourceReferences/items/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath:instancePath+"/spans/" + i0+"/sources/" + i1,schemaPath:"common.schema.json#/$defs/sourceReferences/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}}else {const err73 = {instancePath:instancePath+"/spans/" + i0+"/sources",schemaPath:"common.schema.json#/$defs/sourceReferences/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath:instancePath+"/spans/" + i0,schemaPath:"#/properties/spans/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}}}else {const err75 = {instancePath:instancePath+"/spans",schemaPath:"#/properties/spans/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data.cards !== undefined){let data37 = data.cards;if(Array.isArray(data37)){const len2 = data37.length;for(let i2=0; i2<len2; i2++){let data38 = data37[i2];if(data38 && typeof data38 == "object" && !Array.isArray(data38)){if(data38.dot === undefined){const err76 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "dot"},message:"must have required property '"+"dot"+"'"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data38.title === undefined){const err77 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}if(data38.items === undefined){const err78 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/required",keyword:"required",params:{missingProperty: "items"},message:"must have required property '"+"items"+"'"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}for(const key6 in data38){if(!(((key6 === "dot") || (key6 === "title")) || (key6 === "items"))){const err79 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data38.dot !== undefined){let data39 = data38.dot;if(!(((((((data39 === "cyan") || (data39 === "emerald")) || (data39 === "violet")) || (data39 === "amber")) || (data39 === "rose")) || (data39 === "orange")) || (data39 === "slate"))){const err80 = {instancePath:instancePath+"/cards/" + i2+"/dot",schemaPath:"common.schema.json#/$defs/cards/items/properties/dot/enum",keyword:"enum",params:{allowedValues: schema72.items.properties.dot.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}if(data38.title !== undefined){let data40 = data38.title;if(typeof data40 === "string"){if(func3(data40) < 1){const err81 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/minLength",keyword:"minLength",params:{limit: 1},message:"must NOT have fewer than 1 characters"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}}else {const err82 = {instancePath:instancePath+"/cards/" + i2+"/title",schemaPath:"common.schema.json#/$defs/cards/items/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}if(data38.items !== undefined){let data41 = data38.items;if(Array.isArray(data41)){const len3 = data41.length;for(let i3=0; i3<len3; i3++){if(typeof data41[i3] !== "string"){const err83 = {instancePath:instancePath+"/cards/" + i2+"/items/" + i3,schemaPath:"common.schema.json#/$defs/cards/items/properties/items/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath:instancePath+"/cards/" + i2+"/items",schemaPath:"common.schema.json#/$defs/cards/items/properties/items/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}}else {const err85 = {instancePath:instancePath+"/cards/" + i2,schemaPath:"common.schema.json#/$defs/cards/items/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}}else {const err86 = {instancePath:instancePath+"/cards",schemaPath:"common.schema.json#/$defs/cards/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}validate55.errors = vErrors;return errors === 0;}validate55.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};export function workflow(data, context = undefined) {if (!workflowSchema(data, context)) {workflow.errors = workflowSchema.errors;diff --git a/archify/renderers/timeline/README.md b/archify/renderers/timeline/README.mdindex 4917bd97..251dd864 100644--- a/archify/renderers/timeline/README.md+++ b/archify/renderers/timeline/README.md@@ -50,9 +50,13 @@ exact. `layout.breaks: "none"` draws one proportional axis. `layout.width`## CardsEach event is a dot on its lane line plus a card with its exact time and title.-Cards are centred on their instant and packed into rows within the lane, so-simultaneous and close events stack instead of overprinting; stems are drawn-behind every card. Titles wrap between words.+Cards are centred on their instant and sit on either side of the lane line,+packed into rows outward from it: each takes whichever side lets it sit closest+to the line without touching an earlier card (ties go below), so simultaneous+and close events stack instead of overprinting and a burst spreads both ways.+Stems are drawn behind every card. A card is a quiet surface with a tone accent+for its kind. Titles wrap between words. On a multi-day axis a tick names its+date only when the date changes.## Tested sizediff --git a/archify/renderers/timeline/render-timeline.mjs b/archify/renderers/timeline/render-timeline.mjsindex 33f91745..78491b00 100644--- a/archify/renderers/timeline/render-timeline.mjs+++ b/archify/renderers/timeline/render-timeline.mjs@@ -33,25 +33,29 @@ const DAY = 24 * HOUR;const layout = {margin: 28,- top: 46,- axisH: 58,- // The lane column fits its longest label (12px bold), so a lane name never+ top: 52,+ axisH: 60,+ // The lane column fits its longest label (13px bold), so a lane name never// runs into the axis.laneLabelW: asArray(tl.lanes).length- ? Math.ceil(Math.max(80, ...tl.lanes.map((lane) => textUnits(lane.label) * 12 * nodeTextFit.widthFactor * 1.06 + 20)))+ ? Math.ceil(Math.max(88, ...tl.lanes.map((lane) => textUnits(lane.label) * 13 * nodeTextFit.widthFactor * 1.06 + 24))): 0,axisWidth: tl.layout?.width ?? 960,- edgePad: 64,- breakW: 56,+ edgePad: 72,+ breakW: 60,laneGap: 10,- lanePadTop: 22,- rowGap: 10,- cardMaxW: 190,- cardPadX: 9,- titleFont: 11.5,- titleLine: 14,- timeFont: 10,- minTickPx: 76,+ lanePad: 14,+ // Room between the lane's time line and the nearest card on either side,+ // which the stem crosses.+ stemGap: 16,+ rowGap: 8,+ cardMaxW: 200,+ cardPadX: 10,+ cardAccent: 12,+ titleFont: 12.5,+ titleLine: 15,+ timeFont: 10.5,+ minTickPx: 84,};// ---- Input checks --------------------------------------------------------------@@ -145,6 +149,21 @@ function durationLabel(ms) {return parts.join(' ') || '0 s';}+// The visible break label is approximate (it carries ≈), so it rounds to the+// two most significant adjacent units: "15 h", never "15 h 3 s".+function approximateDuration(ms) {+ const units = [['d', DAY], ['h', HOUR], ['min', MINUTE], ['s', 1000]];+ const index = units.findIndex(([, size]) => ms >= size);+ if (index === -1) return '0 s';+ const [major, majorSize] = units[index];+ if (index === units.length - 1) return `${Math.round(ms / majorSize)} ${major}`;+ const [minor, minorSize] = units[index + 1];+ let whole = Math.floor(ms / majorSize);+ let rest = Math.round((ms - whole * majorSize) / minorSize);+ if (rest * minorSize >= majorSize) { whole += 1; rest = 0; }+ return rest ? `${whole} ${major} ${rest} ${minor}` : `${whole} ${major}`;+}+// ---- Axis segments and disclosed breaks ----------------------------------------// A quiet period much longer than the timeline's ordinary rhythm would squeeze// every other event into a sliver. With `layout.breaks: "auto"` (the default)@@ -179,8 +198,8 @@ const axisX0 = layout.margin + layout.laneLabelW;// one constant, so distances there are exact.const SEGMENT_FLOOR = 28;for (const gap of breaks) {- gap.label = `≈ ${durationLabel(gap.length)}`;- gap.width = Math.max(layout.breakW, Math.ceil(textUnits(gap.label) * 9.5 * ADVANCE + 16));+ gap.label = `≈ ${approximateDuration(gap.length)}`;+ gap.width = Math.max(layout.breakW, Math.ceil(textUnits(gap.label) * 10.5 * ADVANCE + 18));}const drawable = layout.axisWidth - layout.edgePad * 2- breaks.reduce((sum, gap) => sum + gap.width, 0) - SEGMENT_FLOOR * segments.length;@@ -255,41 +274,60 @@ function wrapTitle(text, maxWidth) {const cards = events.map((event) => {const time = clockLabel(event.t);+ const padLeft = layout.cardAccent + 2;const natural = Math.max(textUnits(event.title) * layout.titleFont * ADVANCE * 1.05, textUnits(time) * layout.timeFont * ADVANCE);- const width = Math.ceil(Math.min(layout.cardMaxW, natural + layout.cardPadX * 2));- const lines = wrapTitle(event.title, width - layout.cardPadX * 2);- const height = 8 + 12 + lines.length * layout.titleLine + 6;+ const width = Math.ceil(Math.min(layout.cardMaxW, natural + padLeft + layout.cardPadX));+ const lines = wrapTitle(event.title, width - padLeft - layout.cardPadX);+ const height = 9 + 12 + lines.length * layout.titleLine + 7;const x = xOf(event.t);// The card is centred on its instant but never leaves the axis area.const left = Math.min(Math.max(x - width / 2, axisX0 + 4), axisX1 - width - 4);- return { ...event, time, width, height, lines, x, left };+ return { ...event, time, width, height, lines, x, left, padLeft };});-// Within a lane, cards pack into rows: a card takes the first row where it-// does not touch the previous card, so simultaneous and close events stack-// instead of overprinting. The dot stays on the lane's time line.+// Within a lane, cards sit on either side of the lane's time line and pack+// into rows outward from it: a card takes whichever side lets it sit closest+// to the line without touching an earlier card, so simultaneous and close+// events stack instead of overprinting, and a burst spreads both ways rather+// than growing one tall column. Ties go below the line. The dot always stays+// on the line, at the event's exact instant.const laneLayout = [];{let y = layout.top + layout.axisH;for (const lane of lanes) {const members = cards.filter((card) => laneOf(card) === lane.id);- const rowEnds = [];- const rowHeights = [];+ const sides = { above: { ends: [], heights: [] }, below: { ends: [], heights: [] } };+ const fit = (side, card) => {+ const index = sides[side].ends.findIndex((end) => card.left >= end + 10);+ return index === -1 ? sides[side].ends.length : index;+ };for (const card of members) {- let row = rowEnds.findIndex((end) => card.left >= end + 8);- if (row === -1) row = rowEnds.length;- rowEnds[row] = card.left + card.width;- rowHeights[row] = Math.max(rowHeights[row] || 0, card.height);- card.row = row;+ const above = fit('above', card);+ const below = fit('below', card);+ card.side = above < below ? 'above' : 'below';+ card.row = card.side === 'above' ? above : below;+ const side = sides[card.side];+ side.ends[card.row] = card.left + card.width;+ side.heights[card.row] = Math.max(side.heights[card.row] || 0, card.height);}- const lineY = y + layout.lanePadTop;- const rowTop = [];- rowHeights.reduce((top, height, row) => { rowTop[row] = top; return top + height + layout.rowGap; }, lineY + 14);+ const extent = (side) => side.heights.reduce((sum, height) => sum + height + layout.rowGap, 0) - (side.heights.length ? layout.rowGap : 0);+ const aboveExtent = extent(sides.above);+ const lineY = y + layout.lanePad + (aboveExtent ? aboveExtent + layout.stemGap : 10);+ const offsets = (side) => {+ const out = [];+ side.heights.reduce((offset, height, row) => { out[row] = offset; return offset + height + layout.rowGap; }, layout.stemGap);+ return out;+ };+ const aboveOffset = offsets(sides.above);+ const belowOffset = offsets(sides.below);for (const card of members) {card.lineY = lineY;- card.top = rowTop[card.row];+ // Above the line a row is bottom-aligned to its edge nearest the line,+ // below it top-aligned, so every stem in a row has the same length.+ card.top = card.side === 'above' ? lineY - aboveOffset[card.row] - card.height : lineY + belowOffset[card.row];}- const height = Math.max(64, (rowTop.length ? rowTop.at(-1) + rowHeights.at(-1) : lineY + 20) - y + 12);+ const bottom = sides.below.heights.length ? lineY + belowOffset.at(-1) + sides.below.heights.at(-1) : lineY + 10;+ const height = Math.max(56, bottom - y + layout.lanePad);laneLayout.push({ ...lane, y, height, lineY });y += height + layout.laneGap;}@@ -305,12 +343,12 @@ const legendEntries = resolveLegend(undefined,const contentBottom = laneLayout.at(-1).y + laneLayout.at(-1).height;const width = Math.ceil(axisX1 + layout.margin);-const footprint = legendFootprint(legendEntries, { width: width - layout.margin * 2 });+const footprint = legendFootprint(legendEntries, { width: width - layout.margin * 2, fontSize: 11 });const height = Math.ceil(contentBottom + layout.margin + (legendEntries.length ? 34 + footprint.extraHeight : 0));const viewBox = [width, height];function legendLayout() {- return { x: layout.margin, baselineY: height - 16, width: width - layout.margin * 2, fontSize: 10, minTitleY: contentBottom + 8, diagramType: 'timeline' };+ return { x: layout.margin, baselineY: height - 16, width: width - layout.margin * 2, fontSize: 11, minTitleY: contentBottom + 8, diagramType: 'timeline' };}// ---- Rendering ------------------------------------------------------------------@@ -318,30 +356,39 @@ function renderAxis() {const top = layout.top;const bottom = contentBottom;const lineY = top + layout.axisH - 10;- // Tick labels never overprint each other or a break's duration label.+ // Tick labels never overprint each other or a break's duration label. On a+ // multi-day axis a tick names its date only when the date changes from the+ // previous label, so the axis reads "09-29 15:00 · 18:00 · 21:00".const taken = [];- const shown = ticks.filter((tick) => {- const half = textUnits(clockLabel(tick.t, { seconds: tickSeconds })) * 10 * ADVANCE / 2 + 4;+ let lastDate = null;+ const shown = ticks.flatMap((tick) => {+ const w = wall(tick.t);+ const date = `${w.mo}-${w.d}`;+ const label = clockLabel(tick.t, { seconds: tickSeconds, date: multiDay && date !== lastDate });+ const half = textUnits(label) * 10.5 * ADVANCE / 2 + 5;const box = [tick.x - half, tick.x + half];- if (taken.some(([a, b]) => box[0] < b && a < box[1])) return false;+ if (taken.some(([a, b]) => box[0] < b && a < box[1])) return [];taken.push(box);- return true;+ lastDate = date;+ return [{ ...tick, label }];});const grid = shown.map((tick) => ` <line x1="${tick.x}" y1="${lineY}" x2="${tick.x}" y2="${bottom}" class="tl-grid" stroke-width="1"/>- <text x="${tick.x}" y="${lineY - 8}" class="t-muted tl-tick" font-size="10" text-anchor="middle">${esc(clockLabel(tick.t, { seconds: tickSeconds }))}</text>`).join('\n');+ <line x1="${tick.x}" y1="${lineY - 4}" x2="${tick.x}" y2="${lineY}" class="tl-axis" stroke-width="1"/>+ <text x="${tick.x}" y="${lineY - 10}" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">${esc(tick.label)}</text>`).join('\n');const segmentLines = segments.map((segment, index) => {const from = index ? breaks[index - 1].x1 : axisX0 + 8;const to = index < breaks.length ? breaks[index].x0 : axisX1 - 8;- return ` <line x1="${from}" y1="${lineY}" x2="${to}" y2="${lineY}" class="tl-axis" stroke-width="1.5"/>`;+ return ` <line x1="${from}" y1="${lineY}" x2="${to}" y2="${lineY}" class="tl-axis" stroke-width="1"/>`;}).join('\n');const breakMarks = breaks.map((gap) => {const mid = (gap.x0 + gap.x1) / 2;- const zig = (x) => `M ${x - 3} ${lineY - 7} L ${x + 3} ${lineY - 2} L ${x - 3} ${lineY + 2} L ${x + 3} ${lineY + 7}`;+ const zig = (x) => `M ${x - 2.5} ${lineY - 6} L ${x + 2.5} ${lineY + 6}`;const omitted = i18nText(locale, 'timeline.break', { duration: durationLabel(gap.length) });return ` <g data-timeline-break="" data-break-ms="${gap.length}" aria-label="${esc(omitted)}" role="img"><rect x="${gap.x0 + 6}" y="${lineY}" width="${gap.width - 12}" height="${bottom - lineY}" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="${zig(gap.x0 + 8)} ${zig(gap.x1 - 8)}" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="${mid}" y="${lineY - 24}" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">${esc(gap.label)}</text>+ <path d="${zig(gap.x0 + 6)} ${zig(gap.x0 + 10)} ${zig(gap.x1 - 10)} ${zig(gap.x1 - 6)}" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="${mid - gap.width / 2 + 4}" y="${lineY - 41}" width="${gap.width - 8}" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="${mid}" y="${lineY - 29}" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">${esc(gap.label)}</text></g>`;}).join('\n');return `${grid}\n${segmentLines}\n${breakMarks}`;@@ -349,24 +396,25 @@ function renderAxis() {function renderHeader() {const evidence = i18nText(locale, `timeline.evidence.${tl.meta.evidence}`);- const evidenceW = Math.ceil(textUnits(evidence) * 10 * ADVANCE + 22);+ const evidenceW = Math.ceil(textUnits(evidence) * 10.5 * ADVANCE + 24);const date = multiDay ? '' : ` · ${wall(first).y}-${wall(first).mo}-${wall(first).d}`;const zone = `${timezone === 'UTC' ? 'UTC' : `${timezone} (${offsetLabel(first)})`}${date}`;const disclosure = breaks.length ? ` · ${i18nText(locale, 'timeline.compressed', { count: breaks.length })}` : '';const caption = `${i18nText(locale, 'timeline.axis')}: ${zone}${disclosure}`;const tone = tl.meta.evidence === 'observed' ? 'backend' : 'messagebus';return ` <g data-timeline-evidence="${esc(tl.meta.evidence)}">- <rect x="${layout.margin}" y="12" width="${evidenceW}" height="20" rx="10" class="c-${tone}" stroke-width="1.2"/>- <text x="${layout.margin + evidenceW / 2}" y="26" class="t-${tone}" font-size="10" font-weight="700" text-anchor="middle">${esc(evidence)}</text>+ <rect x="${layout.margin}" y="14" width="${evidenceW}" height="22" rx="11" class="c-${tone}" stroke-width="1"/>+ <circle cx="${layout.margin + 11}" cy="25" r="3" class="t-${tone}"/>+ <text x="${layout.margin + evidenceW / 2 + 5}" y="29" class="t-${tone}" font-size="10.5" font-weight="700" text-anchor="middle">${esc(evidence)}</text></g>- <text data-timeline-axis-caption="" x="${layout.margin + evidenceW + 12}" y="26" class="t-muted" font-size="10.5">${esc(caption)}</text>`;+ <text data-timeline-axis-caption="" x="${layout.margin + evidenceW + 14}" y="29.5" class="t-muted" font-size="11.5">${esc(caption)}</text>`;}function renderLanes() {return laneLayout.map((lane, index) => ` <g data-timeline-lane="${esc(lane.id)}">- <rect x="${axisX0}" y="${lane.y}" width="${layout.axisWidth}" height="${lane.height}" rx="8" class="tl-lane${index % 2 ? ' tl-lane-alt' : ''}"/>- <line x1="${axisX0 + 8}" y1="${lane.lineY}" x2="${axisX1 - 8}" y2="${lane.lineY}" class="tl-lane-line" stroke-width="1"/>- ${lane.label ? `<text x="${layout.margin}" y="${lane.lineY + 4}" class="t-primary" font-size="12" font-weight="700">${esc(lane.label)}</text>` : ''}+ <rect x="${layout.margin - 8}" y="${lane.y}" width="${axisX1 - layout.margin + 8}" height="${lane.height}" rx="10" class="tl-lane${index % 2 ? ' tl-lane-alt' : ''}"/>+ <line x1="${axisX0 + 8}" y1="${lane.lineY}" x2="${axisX1 - 8}" y2="${lane.lineY}" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ ${lane.label ? `<text x="${layout.margin}" y="${lane.lineY + 4.5}" class="t-primary" font-size="13" font-weight="700">${esc(lane.label)}</text>` : ''}</g>`).join('\n');}@@ -376,24 +424,30 @@ function renderEvent(card, order) {// The Node index groups by the context before " › ", so the lane leads.const context = [lane?.label, `${clockLabel(card.t, { seconds: true, date: true })} ${offsetLabel(card.t)}`].filter(Boolean).join(' \u203a ');const passport = { kind: tone, sublabel: card.detail, context };- let y = card.top + 8 + 10;- const time = `<text x="${card.left + layout.cardPadX}" y="${y}" class="t-muted tl-time" font-size="${layout.timeFont}" font-weight="600">${esc(card.time)}</text>`;+ const textX = card.left + card.padLeft;+ let y = card.top + 9 + 10;+ const time = `<text x="${textX}" y="${y}" class="t-muted tl-time" font-size="${layout.timeFont}" font-weight="600">${esc(card.time)}</text>`;+ y += 2;const title = card.lines.map((line) => {y += layout.titleLine;- return `<tspan x="${card.left + layout.cardPadX}" y="${y}">${esc(line)}</tspan>`;+ return `<tspan x="${textX}" y="${y}">${esc(line)}</tspan>`;}).join('');+ // A tone accent down the card's leading edge carries the event kind, so the+ // card body stays a quiet surface for the text.+ const accent = `<line x1="${card.left + 6}" y1="${card.top + 7}" x2="${card.left + 6}" y2="${card.top + card.height - 7}" class="tl-accent tl-accent-${tone}" stroke-width="3" stroke-linecap="round"/>`;return ` <g ${focusNodeAttrs(card.id, card.title, passport, locale)} data-timeline-at="${esc(card.at)}" data-timeline-ms="${card.t}" data-timeline-x="${card.x}">${focusNodeTitle(card.title, passport)}- <rect x="${card.left}" y="${card.top}" width="${card.width}" height="${card.height}" rx="6" class="c-mask"/>- <rect x="${card.left}" y="${card.top}" width="${card.width}" height="${card.height}" rx="6" class="c-${tone}"${animateAttr(tl.meta, 'node', order)} stroke-width="1.3"/>+ <rect x="${card.left}" y="${card.top}" width="${card.width}" height="${card.height}" rx="7" class="c-mask"/>+ <rect x="${card.left}" y="${card.top}" width="${card.width}" height="${card.height}" rx="7" class="c-${tone} tl-card"${animateAttr(tl.meta, 'node', order)} stroke-width="1"/>+ ${accent}${time}<text data-node-label="" class="t-primary" font-size="${layout.titleFont}" font-weight="650">${title}</text>- <circle cx="${card.x}" cy="${card.lineY}" r="5.5" class="c-${tone} tl-dot" stroke-width="2"/>+ <circle cx="${card.x}" cy="${card.lineY}" r="5" class="t-${tone} tl-dot" stroke-width="2.5"/></g>`;}function legendSwatch(entry) {- return `<circle cx="${entry.x + 6}" cy="${entry.baseline - 4}" r="5" class="c-${KIND_TONE[entry.kind]}" stroke-width="2"/>`;+ return `<circle cx="${entry.x + 6}" cy="${entry.baseline - 4}" r="4.5" class="t-${KIND_TONE[entry.kind]} tl-dot" stroke-width="2"/>`;}function renderSvg() {@@ -402,15 +456,19 @@ ${svgAccessibleText(tl.meta, 'timeline')}${renderDefinitions(breaks.length ? `<pattern id="tl-break-hatch" width="6" height="6" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="6" class="tl-hatch" stroke-width="1"/></pattern>` : '')}<style>- svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }- svg[data-timeline-ui] .tl-axis { stroke: var(--text-muted); }- svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .55; }- svg[data-timeline-ui] .tl-lane-alt { opacity: .3; }+ svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-timeline-ui] .tl-axis { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .75; }+ svg[data-timeline-ui] .tl-lane-alt { opacity: 0; }svg[data-timeline-ui] .tl-lane-line { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-stem { stroke: var(--text-muted); opacity: .7; }- svg[data-timeline-ui] .tl-break-band { opacity: .9; }+ svg[data-timeline-ui] .tl-stem { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-card { fill-opacity: .55; stroke-opacity: .5; }+ svg[data-timeline-ui] .tl-dot { stroke: var(--mask); }+ svg[data-timeline-ui] .tl-break-band { opacity: .55; }+ svg[data-timeline-ui] .tl-break-chip { fill: var(--mask); stroke: var(--lane-stroke); stroke-width: 1; }svg[data-timeline-ui] .tl-hatch { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-muted); }+ svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-dim); }+${Object.values(KIND_TONE).map((tone) => ` svg[data-timeline-ui] .tl-accent-${tone} { stroke: var(--${tone}-stroke); }`).join('\n')}svg[data-timeline-ui] .tl-tick, svg[data-timeline-ui] .tl-time { font-variant-numeric: tabular-nums; }</style>@@ -427,7 +485,7 @@ ${renderAxis()}<!-- Stems sit behind every card, so a stacked card is never crossed byanother event's connector -->-${cards.map((card) => ` <line data-detail="context" data-timeline-stem="${esc(card.id)}" x1="${card.x}" y1="${card.lineY}" x2="${card.x}" y2="${card.top}" class="tl-stem" stroke-width="1"/>`).join('\n')}+${cards.map((card) => ` <line data-detail="context" data-timeline-stem="${esc(card.id)}" x1="${card.x}" y1="${card.lineY}" x2="${card.x}" y2="${card.side === 'above' ? card.top + card.height : card.top}" class="tl-stem" stroke-width="1"/>`).join('\n')}<!-- Events in time order -->${cards.map(renderEvent).join('\n')}diff --git a/archify/renderers/tree/README.md b/archify/renderers/tree/README.mdindex 06640190..050b5bc8 100644--- a/archify/renderers/tree/README.md+++ b/archify/renderers/tree/README.md@@ -45,14 +45,21 @@ inferred.Each generation shares one band: a row for `layout.direction: "down"` (thedefault) and a column for `"right"`. Along the other axis every subtree owns a-contiguous span, so unequal branch widths and depths never overlap. Going down,-a parent is centred over its first and last child; going right, it lines up with-its first child and nodes are left-aligned in their column, so the root stays at-the top-left of a tall canvas, the way a file explorer reads.+contiguous span, so unequal branch widths and depths never overlap. A parent is+centred over its first and last child (exactly over a middle child that sits+within a few pixels of that midpoint, so the stem never jogs); going right,+nodes are left-aligned in their column.++Going down, a run of three or more consecutive leaf siblings is stacked as an+indented list under its parent, sharing one width and reached along a spine,+instead of fanning out across the row. This keeps a real hierarchy such as a+repository readable at one screen's scale; shorter runs and every branch keep+the row layout. Leaves are quiet cards; the root and branches carry the tone.Nodes size to their label between `layout.nodeW` (140) and `layout.nodeMaxW`(220 down, 200 right). Labels and sublabels wrap between words (CJK at any-character); a single word may widen a node to 1.5 × `nodeMaxW` before it is+character), at the narrowest width that keeps the same number of lines, so a+long label becomes a balanced box; a single word may widen a node to 1.5 × `nodeMaxW` before it issplit, so nothing is truncated. `gapX`/`gapY` set the sibling and generationgaps.@@ -84,6 +91,6 @@ the clone and leaves the live view unchanged.## Tested size-`examples/archify-repository.tree.json` (30 nodes, depth 4, unbalanced) renders-in about 0.2s and passes the showcase gates at a 7.6px projected text minimum;+`examples/archify-repository.tree.json` (31 nodes, depth 4, unbalanced, four+stacked lists) renders in about 0.2s and passes the showcase gates;a toggle updates the DOM in under a few milliseconds.diff --git a/archify/renderers/tree/render-tree.mjs b/archify/renderers/tree/render-tree.mjsindex 28c6db37..81b2e9ec 100644--- a/archify/renderers/tree/render-tree.mjs+++ b/archify/renderers/tree/render-tree.mjs@@ -27,6 +27,7 @@ const { diagram: tree, template, outPath, sourceEvidence } = loadDiagram({});const locale = tree.meta.locale;const direction = tree.layout?.direction === 'right' ? 'right' : 'down';+const down = direction === 'down';const layout = {margin: 32,@@ -34,16 +35,16 @@ const layout = {// Sibling gap and generation gap. A downward tree needs room under each// parent for its toggle and the elbow; a rightward one needs room beside it.gapX: tree.layout?.gapX ?? (direction === 'down' ? 28 : 48),- gapY: tree.layout?.gapY ?? (direction === 'down' ? 64 : 18),+ gapY: tree.layout?.gapY ?? (direction === 'down' ? 56 : 18),nodeW: tree.layout?.nodeW ?? 140,nodeMaxW: tree.layout?.nodeMaxW ?? (direction === 'down' ? 220 : 200),padX: 14,- padY: 11,- labelFont: 12.5,- labelLine: 16,- sublabelFont: 10.5,- sublabelLine: 13,- rootLabelFont: 14,+ padY: 12,+ labelFont: 13,+ labelLine: 17,+ sublabelFont: 11,+ sublabelLine: 14,+ rootLabelFont: 14.5,toggleR: 9,};@@ -150,45 +151,94 @@ const depthOf = new Map();for (const child of childrenOf.get(id)) assignDepth(child, depth + 1);}(authoredRoot.id, 0));+// Compact leaf runs (going down only): three or more consecutive leaf+// children of one parent are stacked as an indented list under it instead of+// being spread across the row. A wide fan of leaves is what makes a real+// hierarchy (a repository, a capability map) far wider than any screen; a list+// keeps it readable at the same scale. Shorter runs and every branch keep the+// classic row layout.+const STACK_MIN = 3;+const STACK_INDENT = 26;+const STACK_GAP = 10;+const stackOf = new Map();+const groupsOf = new Map();+for (const [id, children] of childrenOf) {+ const groups = [];+ let run = [];+ const flush = () => {+ if (down && run.length >= STACK_MIN) groups.push({ stack: run });+ else for (const child of run) groups.push({ single: child });+ run = [];+ };+ for (const child of children) {+ if (childrenOf.get(child).length) {+ flush();+ groups.push({ single: child });+ } else run.push(child);+ }+ flush();+ groupsOf.set(id, groups);+ for (const group of groups) if (group.stack) for (const child of group.stack) stackOf.set(child, group);+}++// Width: a label wraps only when it must, and then at the narrowest width+// that keeps the same number of lines, so a long name becomes a balanced+// two-line box instead of one wide box beside narrow siblings.const measured = new Map(asArray(tree.nodes).map((node) => {const isRoot = node.id === authoredRoot.id;const labelFont = isRoot ? layout.rootLabelFont : layout.labelFont;- const natural = Math.max(- textUnits(node.label) * labelFont * ADVANCE * 1.06,- node.sublabel ? textUnits(node.sublabel) * layout.sublabelFont * ADVANCE : 0,- );+ const labelAdvance = labelFont * ADVANCE * 1.06;// Text wraps between words, never inside one: the longest single word may// widen a node past nodeMaxW (up to half again), and only a word longer// than that is split.- const longestWord = Math.max(...String(node.label).split(/\s+/).map((word) => textUnits(word) * labelFont * ADVANCE * 1.06));- const width = Math.ceil(Math.min(layout.nodeMaxW * 1.5, Math.max(- layout.nodeW,- Math.min(layout.nodeMaxW, natural + layout.padX * 2),- longestWord + layout.padX * 2 + 2,- )));- const textWidth = width - layout.padX * 2;- const labelLines = wrapText(node.label, labelFont * 1.06, textWidth);- const sublabelLines = node.sublabel ? wrapText(node.sublabel, layout.sublabelFont, textWidth) : [];- const height = Math.ceil(layout.padY * 2 + labelLines.length * layout.labelLine- + (sublabelLines.length ? 4 + sublabelLines.length * layout.sublabelLine : 0));- return [node.id, { ...node, isRoot, labelFont, labelLines, sublabelLines, width, height, contentHeight: height - layout.padY * 2, depth: depthOf.get(node.id) }];+ const longestWord = Math.max(...String(node.label).split(/\s+/).map((word) => textUnits(word) * labelAdvance));+ const floor = Math.max(layout.nodeW, Math.ceil(longestWord + layout.padX * 2 + 2));+ const cap = Math.ceil(Math.min(layout.nodeMaxW * 1.5, Math.max(floor, layout.nodeMaxW)));+ const linesAt = (width) => ({+ label: wrapText(node.label, labelFont * 1.06, width - layout.padX * 2),+ sublabel: node.sublabel ? wrapText(node.sublabel, layout.sublabelFont, width - layout.padX * 2) : [],+ });+ const natural = Math.ceil(Math.max(textUnits(node.label) * labelAdvance, node.sublabel ? textUnits(node.sublabel) * layout.sublabelFont * ADVANCE : 0) + layout.padX * 2 + 2);+ // A stacked list shares one width anyway, so its entries are not balanced.+ const stacked = stackOf.has(node.id);+ let width = Math.min(cap, Math.max(floor, natural));+ const target = linesAt(width);+ for (let candidate = floor; !stacked && candidate < width; candidate += 4) {+ const lines = linesAt(candidate);+ if (lines.label.length <= target.label.length && lines.sublabel.length <= target.sublabel.length) {+ width = candidate;+ break;+ }+ }+ const { label: labelLines, sublabel: sublabelLines } = linesAt(width);+ const contentHeight = labelLines.length * layout.labelLine + (sublabelLines.length ? 4 + sublabelLines.length * layout.sublabelLine : 0);+ return [node.id, { ...node, isRoot, labelFont, labelLines, sublabelLines, width, height: Math.ceil(layout.padY * 2 + contentHeight), contentHeight, depth: depthOf.get(node.id), stacked }];}));+// A stacked run reads as one list: one width, one row height.+for (const group of new Set(stackOf.values())) {+ const members = group.stack.map((id) => measured.get(id));+ group.width = Math.max(...members.map((node) => node.width));+ group.rowH = Math.max(...members.map((node) => node.height));+ for (const node of members) measured.set(node.id, { ...node, width: group.width, height: group.rowH });+}+// ---- Layout --------------------------------------------------------------------// Every generation shares one band (a row going down, a column going right),// sized by its largest node, so siblings and cousins line up. Along the other// axis each subtree owns a contiguous span: leaves are laid out in order and a-// parent is centred over its children. Positions never depend on collapse-// state, so expanding or collapsing a branch leaves every visible node where-// the reader last saw it.-const down = direction === 'down';+// parent is centred over its children. A stacked run hangs from its parent's+// band and owns its own span, so it never meets a cousin. Positions never+// depend on collapse state, so expanding or collapsing a branch leaves every+// visible node where the reader last saw it.const breadthSize = (node) => (down ? node.width : node.height);const depthSize = (node) => (down ? node.height : node.width);const breadthGap = down ? layout.gapX : layout.gapY;const depthGap = down ? layout.gapY : layout.gapX;-const bandSize = [];-for (const node of measured.values()) bandSize[node.depth] = Math.max(bandSize[node.depth] || 0, depthSize(node));+const maxDepth = Math.max(...[...measured.values()].map((node) => node.depth));+const bandSize = Array.from({ length: maxDepth + 1 }, () => 0);+for (const node of measured.values()) if (!node.stacked) bandSize[node.depth] = Math.max(bandSize[node.depth], depthSize(node));const bandStart = [];bandSize.reduce((offset, size, depth) => {bandStart[depth] = offset;@@ -199,40 +249,54 @@ bandSize.reduce((offset, size, depth) => {// same height going down, the same width going right), so a generation reads// as one even row or column instead of a ragged one.for (const [id, node] of measured) {+ if (node.stacked) continue;measured.set(id, down ? { ...node, height: bandSize[node.depth] } : { ...node, width: bandSize[node.depth] });}+const groupSpan = (group) => (group.stack ? STACK_INDENT + group.width : span.get(group.single));+const groupsSpan = (groups) => groups.reduce((sum, group, index) => sum + groupSpan(group) + (index ? breadthGap : 0), 0);const span = new Map();(function measureSpan(id) {- const children = childrenOf.get(id);- children.forEach(measureSpan);- const childSpan = children.reduce((sum, child, index) => sum + span.get(child) + (index ? breadthGap : 0), 0);- span.set(id, Math.max(breadthSize(measured.get(id)), childSpan));+ for (const child of childrenOf.get(id)) measureSpan(child);+ span.set(id, Math.max(breadthSize(measured.get(id)), groupsSpan(groupsOf.get(id))));}(authoredRoot.id));const placed = new Map();+// Where a group meets its parent's crossbar: a single child at its centre, a+// stacked run at its spine.+const attachOf = (group) => (group.stack ? group.spine : centerOf(group.single));(function place(id, start) {const node = measured.get(id);- const children = childrenOf.get(id);- const childSpan = children.reduce((sum, child, index) => sum + span.get(child) + (index ? breadthGap : 0), 0);- let cursor = start + (span.get(id) - childSpan) / 2;- for (const child of children) {- place(child, cursor);- cursor += span.get(child) + breadthGap;+ const groups = groupsOf.get(id);+ // A parent whose only children are one stacked run sits at the run's left+ // edge, with the spine dropping straight out of it.+ const onlyStack = groups.length === 1 && groups[0].stack;+ let cursor = onlyStack ? start : start + (span.get(id) - groupsSpan(groups)) / 2;+ for (const group of groups) {+ if (group.stack) {+ group.spine = cursor + 12;+ let y = bandStart[node.depth + 1];+ for (const child of group.stack) {+ const leaf = measured.get(child);+ placed.set(child, { ...leaf, x: Math.round(cursor + STACK_INDENT), y: Math.round(y) });+ y += leaf.height + STACK_GAP;+ }+ } else place(group.single, cursor);+ cursor += groupSpan(group) + breadthGap;}- // Going down, a parent is centred over its first and last child. Going- // right, it lines up with its first child, like a file explorer: the root- // stays at the top-left of a tall canvas instead of in its middle, where a- // reader who starts at the top would never see it.- const center = !children.length ? start + span.get(id) / 2- : down ? (centerOf(children[0]) + centerOf(children.at(-1))) / 2- : centerOf(children[0]);- const breadth = center - breadthSize(node) / 2;+ let center = groups.length ? (attachOf(groups[0]) + attachOf(groups.at(-1))) / 2 : start + span.get(id) / 2;+ // A middle child a few px off the midpoint would put a small jog in the+ // stem; the parent sits exactly over it instead.+ const half = breadthSize(node) / 2;+ const middle = groups.slice(1, -1).map(attachOf)+ .find((attach) => Math.abs(attach - center) < 24 && attach - half >= start && attach + half <= start + span.get(id));+ if (middle !== undefined) center = middle;+ const breadth = onlyStack ? start : center - breadthSize(node) / 2;// A row going down centres each node in its band; a column going right// left-aligns them so every link into the column has the same stub.const depth = bandStart[node.depth] + (down ? (bandSize[node.depth] - depthSize(node)) / 2 : 0);const [x, y] = down ? [breadth, depth] : [depth, breadth];- placed.set(id, { ...node, x: Math.round(x), y: Math.round(y) });+ placed.set(id, { ...node, x: Math.round(x), y: Math.round(y), toggleAt: onlyStack ? Math.round(groups[0].spine) : null });}(authoredRoot.id, down ? layout.margin : layout.top));function centerOf(id) {@@ -240,7 +304,7 @@ function centerOf(id) {return down ? node.x + node.width / 2 : node.y + node.height / 2;}-const all = [...placed.values()];+const all = asArray(tree.nodes).map((node) => placed.get(node.id));const viewBox = Array.isArray(tree.meta?.viewBox) ? tree.meta.viewBox : [Math.max(320, Math.ceil(Math.max(...all.map((node) => node.x + node.width)) + layout.margin + (down ? 0 : layout.toggleR + 4))),Math.max(240, Math.ceil(Math.max(...all.map((node) => node.y + node.height)) + layout.margin + (down ? layout.toggleR + 4 : 0))),@@ -249,15 +313,26 @@ const viewBox = Array.isArray(tree.meta?.viewBox) ? tree.meta.viewBox : [// ---- Edges ---------------------------------------------------------------------// One elbow per parent-child link: out of the parent's toggle side, across at// the midpoint of the generation gap, and into the child. Siblings share the-// stem and the crossbar, which is how a containment tree is read.+// stem and the crossbar, which is how a containment tree is read. A stacked+// child is reached along its run's spine and enters from the left.+function edgeStart(parent) {+ if (!down) return [parent.x + parent.width, parent.y + parent.height / 2];+ return [parent.toggleAt ?? parent.x + parent.width / 2, parent.y + parent.height];+}function edgePoints(parent, child) {+ const start = edgeStart(parent);+ if (down && child.stacked) {+ const spine = stackOf.get(child.id).spine;+ const end = [child.x, child.y + child.height / 2];+ if (parent.toggleAt !== null) return [start, [spine, end[1]], end];+ const midY = bandStart[child.depth] - depthGap / 2;+ return [start, [start[0], midY], [spine, midY], [spine, end[1]], end];+ }if (down) {- const start = [parent.x + parent.width / 2, parent.y + parent.height];const end = [child.x + child.width / 2, child.y];const midY = bandStart[child.depth] - depthGap / 2;return Math.abs(start[0] - end[0]) < 0.5 ? [start, end] : [start, [start[0], midY], [end[0], midY], end];}- const start = [parent.x + parent.width, parent.y + parent.height / 2];const end = [child.x, child.y + child.height / 2];const midX = bandStart[child.depth] - depthGap / 2;return Math.abs(start[1] - end[1]) < 0.5 ? [start, end] : [start, [midX, start[1]], [midX, end[1]], end];@@ -298,7 +373,7 @@ function buildLayoutReport() {diagram_type: 'tree',direction,viewBox,- nodes: all.map((node) => ({ id: node.id, parent: node.parent ?? null, depth: node.depth, x: node.x, y: node.y, width: node.width, height: node.height, lines: node.labelLines.length })),+ nodes: all.map((node) => ({ id: node.id, parent: node.parent ?? null, depth: node.depth, x: node.x, y: node.y, width: node.width, height: node.height, lines: node.labelLines.length, stacked: node.stacked })),edges: edges.map((edge) => ({ from: edge.from, to: edge.to, points: edge.points })),};}@@ -310,32 +385,36 @@ function treeAttrs(id) {}function renderNode(node) {- const tone = node.isRoot ? 'frontend' : childrenOf.get(node.id).length ? 'backend' : 'external';+ const leaf = !childrenOf.get(node.id).length;+ const tone = node.isRoot ? 'frontend' : leaf ? 'external' : 'backend';const context = i18nText(locale, node.isRoot ? 'node.context.tree.root' : childrenOf.get(node.id).length ? 'node.context.tree.branch' : 'node.context.tree.leaf');const passport = { kind: tone, sublabel: node.sublabel, context };- const cx = node.x + node.width / 2;+ // A stacked list reads left-aligned, like a directory listing; a node in a+ // row is centred under its link.+ const cx = node.stacked ? node.x + layout.padX : node.x + node.width / 2;+ const anchor = node.stacked ? 'start' : 'middle';let y = node.y + (node.height - node.contentHeight) / 2;const label = node.labelLines.map((line) => {y += layout.labelLine;- return `<tspan x="${cx}" y="${y - 4}">${esc(line)}</tspan>`;+ return `<tspan x="${cx}" y="${y - 4.5}">${esc(line)}</tspan>`;}).join('');y += node.sublabelLines.length ? 4 : 0;const sublabel = node.sublabelLines.map((line) => {y += layout.sublabelLine;- return `<tspan x="${cx}" y="${y - 3}">${esc(line)}</tspan>`;+ return `<tspan x="${cx}" y="${y - 3.5}">${esc(line)}</tspan>`;}).join('');// A collapsed branch shows a stacked card behind it, so the hidden subtree// stays visible as "there is more here" even before the badge is read.const stack = childrenOf.get(node.id).length- ? `<rect data-tree-stack="" x="${node.x + 5}" y="${node.y + 5}" width="${node.width}" height="${node.height}" rx="7" class="c-${tone}" stroke-width="1.2"/>`+ ? `<rect data-tree-stack="" x="${node.x + 5}" y="${node.y + 5}" width="${node.width}" height="${node.height}" rx="8" class="c-${tone}" stroke-width="1.2"/>`: '';return ` <g ${focusNodeAttrs(node.id, node.label, passport, locale)} data-tree-depth="${node.depth}"${treeAttrs(node.id)}>${focusNodeTitle(node.label, passport)}${stack}- <rect x="${node.x}" y="${node.y}" width="${node.width}" height="${node.height}" rx="7" class="c-mask"/>- <rect x="${node.x}" y="${node.y}" width="${node.width}" height="${node.height}" rx="7" class="c-${tone}"${animateAttr(tree.meta, 'node', node.depth)} stroke-width="${node.isRoot ? 2 : 1.5}"/>- <text data-node-label="" x="${cx}" class="t-primary" font-size="${node.labelFont}" font-weight="${node.isRoot ? 750 : 650}" text-anchor="middle">${label}</text>- ${sublabel ? `<text data-detail="context" x="${cx}" class="t-muted" font-size="${layout.sublabelFont}" text-anchor="middle">${sublabel}</text>` : ''}+ <rect x="${node.x}" y="${node.y}" width="${node.width}" height="${node.height}" rx="8" class="c-mask"/>+ <rect x="${node.x}" y="${node.y}" width="${node.width}" height="${node.height}" rx="8" class="c-${tone}${leaf ? ' tree-leaf' : ''}"${animateAttr(tree.meta, 'node', node.depth)} stroke-width="${node.isRoot ? 1.8 : 1.3}"/>+ <text data-node-label="" x="${cx}" class="t-primary" font-size="${node.labelFont}" font-weight="${node.isRoot ? 750 : leaf ? 600 : 700}" text-anchor="${anchor}">${label}</text>+ ${sublabel ? `<text data-detail="context" x="${cx}" class="t-muted" font-size="${layout.sublabelFont}" text-anchor="${anchor}">${sublabel}</text>` : ''}</g>`;}@@ -344,7 +423,7 @@ function renderNode(node) {function renderToggle(node) {const children = childrenOf.get(node.id);if (!children.length) return '';- const [cx, cy] = down ? [node.x + node.width / 2, node.y + node.height] : [node.x + node.width, node.y + node.height / 2];+ const [cx, cy] = edgeStart(node);const hidden = descendantCount(node.id);const collapse = i18nText(locale, 'tree.toggle.collapse', { label: node.label, count: hidden });const expand = i18nText(locale, 'tree.toggle.expand', { label: node.label, count: hidden });@@ -359,7 +438,7 @@ function renderToggle(node) {}function renderEdge(edge) {- return ` <path ${focusEdgeAttrs(edge.from, edge.to, undefined, edge.index)}${treeAttrs(edge.to)} data-composition-points="${routePointsValue(edge.points)}" d="${roundedPath(edge.points, 6)}" class="a-default tree-edge"${animateAttr(tree.meta, 'edge', placed.get(edge.to).depth)} stroke-width="1.5"/>`;+ return ` <path ${focusEdgeAttrs(edge.from, edge.to, undefined, edge.index)}${treeAttrs(edge.to)} data-composition-points="${routePointsValue(edge.points)}" d="${roundedPath(edge.points, 8)}" class="a-default tree-edge"${animateAttr(tree.meta, 'edge', placed.get(edge.to).depth)} stroke-width="1.5"/>`;}function renderSvg() {@@ -369,7 +448,8 @@ function renderSvg() {${svgAccessibleText(tree.meta, 'tree')}${renderDefinitions()}<style>- svg[data-tree-ui] .tree-edge { stroke-linejoin: round; }+ svg[data-tree-ui] .tree-edge { stroke-linejoin: round; stroke-linecap: round; }+ svg[data-tree-ui] .tree-leaf { fill: var(--mask); stroke: var(--lane-stroke); }svg[data-tree-ui] [data-tree-stack] { display: none; fill: var(--mask); }svg[data-tree-ui] [data-tree-collapsed] [data-tree-stack] { display: inline; }svg[data-tree-ui] [data-tree-hidden] { display: none; }diff --git a/archify/renderers/waterfall/README.md b/archify/renderers/waterfall/README.mdindex 3ed81650..49cdee67 100644--- a/archify/renderers/waterfall/README.md+++ b/archify/renderers/waterfall/README.md@@ -48,8 +48,15 @@ and time reads from the bar. One linear scale maps the trace from its earlieststart to its latest end onto `layout.width` (default 760 px); ticks use 1/2/2.5/5steps. Overlapping bars on different rows are concurrent work.-Each bar carries its exact duration: inside the bar when it fits, otherwise-beside it on whichever side has room, so short operations stay labelled. The+A span with children is drawn as a tinted, outlined bracket over its time; a+span that does the work itself is a solid bar, so the paint separates inclusive+summaries from leaf work. Colour states the `service`: each service gets its own+palette family in order of first appearance (a span without one inherits its+parent's; unowned spans are neutral), with a dot in the name column and a legend+entry when more than one service appears. Red is reserved for `status: "error"`.++Each bar carries its exact duration just after its end; the canvas reserves+room past the axis for the widest label, so short operations stay labelled. Theheader states the wall-clock total and range. The Semantic Passport shows theexact start–end, duration, and share as "N% of T wall-clock"; parent durationsare inclusive and are never added to their children. No critical path ordiff --git a/archify/renderers/waterfall/render-waterfall.mjs b/archify/renderers/waterfall/render-waterfall.mjsindex 5b3bcec7..c26f898f 100644--- a/archify/renderers/waterfall/render-waterfall.mjs+++ b/archify/renderers/waterfall/render-waterfall.mjs@@ -34,16 +34,16 @@ const ADVANCE = nodeTextFit.widthFactor;const layout = {margin: 28,- top: 46,- axisH: 34,- rowH: 28,+ top: 52,+ axisH: 36,+ rowH: 25,barH: 14,- indent: 16,- nameFont: 11.5,- durationFont: 10,+ indent: 18,+ nameFont: 12.5,+ durationFont: 11,axisWidth: wf.layout?.width ?? 760,- columnGap: 20,- minTickPx: 72,+ columnGap: 28,+ minTickPx: 80,};// ---- Timing checks -------------------------------------------------------------@@ -136,8 +136,23 @@ function percent(value) {return `${share >= 10 ? Math.round(share) : Math.round(share * 10) / 10}%`;}+// ---- Tones ---------------------------------------------------------------------+// Colour states who did the work: each service gets its own palette family in+// order of first appearance, and a span without one inherits its parent's.+// A span no service owns stays neutral. Red is never a service colour: it is+// reserved for status "error", so a failure is never mistaken for a team.+const SERVICE_TONES = ['frontend', 'backend', 'database', 'cloud', 'messagebus'];+const services = [...new Set(rows.map((row) => row.service).filter(Boolean))];+const serviceOf = new Map();+for (const row of rows) serviceOf.set(row.id, row.service ?? (row.parent !== undefined ? serviceOf.get(row.parent) : undefined));+const serviceTone = (service) => (service === undefined ? 'external' : SERVICE_TONES[services.indexOf(service) % SERVICE_TONES.length]);+const STATUS_TONE = { error: 'security', cancelled: 'external' };+const toneOf = (row) => STATUS_TONE[row.status] ?? serviceTone(serviceOf.get(row.id));+// ---- Geometry -------------------------------------------------------------------const nameWidth = (row) => row.depth * layout.indent + 14 + textUnits(row.name) * layout.nameFont * ADVANCE * 1.04;+// Name column: tree indent, then a service dot, then the name.+const NAME_DOT = 14;+const nameWidth = (row) => row.depth * layout.indent + NAME_DOT + textUnits(row.name) * layout.nameFont * ADVANCE * 1.04;const labelW = Math.ceil(Math.max(140, ...rows.map(nameWidth)));const axisX0 = layout.margin + labelW + layout.columnGap;const axisX1 = axisX0 + layout.axisWidth;@@ -158,105 +173,129 @@ const tickStep = (() => {const ticks = [];for (let t = Math.ceil(t0 / tickStep) * tickStep; t <= t1 + 1e-9; t += tickStep) ticks.push({ t, x: xOf(t) });+const LABEL_GAP = 7;+const parentIds = new Set(rows.map((row) => row.parent).filter((id) => id !== undefined));const placed = rows.map((row, index) => {const y = rowsTop + index * layout.rowH;const x0 = xOf(row.start);const x1 = xOf(row.end);- const width = Math.max(1.5, x1 - x0);+ const width = Math.max(2, x1 - x0);const label = row.open ? i18nText(locale, 'waterfall.incomplete', { duration: formatDuration(row.duration) }) : formatDuration(row.duration);- const labelWidth = textUnits(label) * layout.durationFont * ADVANCE + 6;- // A duration that fits stays inside its bar; otherwise it sits beside the- // bar on whichever side has room, so a short operation is never unlabeled.- const placement = labelWidth + 10 <= width ? 'inside' : x1 + 6 + labelWidth <= axisX1 + 60 ? 'after' : 'before';- return { ...row, y, x0, x1, width, label, labelWidth, placement };+ const labelWidth = textUnits(label) * layout.durationFont * ADVANCE + 4;+ // Every duration reads at the same place, just after its bar; the canvas+ // reserves room past the axis for the widest one, so a short operation and+ // a bar that ends at the wall-clock edge are labelled the same way.+ return { ...row, y, x0, x1, width, label, labelWidth, placement: 'after', tone: toneOf(row), parentBar: parentIds.has(row.id) };});// ---- Legend & canvas ------------------------------------------------------------const STATUS_TONE = { ok: 'backend', error: 'security', cancelled: 'external', incomplete: 'messagebus' };+// The legend names the services (when more than one does work) and any status+// that changes a bar's paint; a single-service trace with only ok spans needs+// no key.const presentStatuses = new Set(placed.map((row) => row.status));-const legendEntries = presentStatuses.size > 1 || !presentStatuses.has('ok')- ? resolveLegend(undefined, Object.keys(STATUS_TONE).map((kind) => ({ kind, label: i18nText(locale, `legend.waterfall.${kind}`), interactive: false })), presentStatuses)- : [];+const legendEntries = [+ ...(services.length > 1 ? services.map((service) => ({ kind: `service:${service}`, label: service, tone: serviceTone(service), interactive: false })) : []),+ ...resolveLegend(undefined, ['error', 'cancelled', 'incomplete'].map((kind) => ({ kind, label: i18nText(locale, `legend.waterfall.${kind}`), tone: STATUS_TONE[kind] ?? 'external', interactive: false })), presentStatuses),+];const contentBottom = rowsTop + placed.length * layout.rowH + 8;-const width = Math.ceil(axisX1 + 60 + layout.margin);-const footprint = legendFootprint(legendEntries, { width: width - layout.margin * 2 });+const labelRoom = Math.ceil(Math.max(...placed.map((row) => row.x1 + LABEL_GAP + row.labelWidth)) - axisX1);+const width = Math.ceil(axisX1 + Math.max(24, labelRoom) + layout.margin);+const footprint = legendFootprint(legendEntries, { width: width - layout.margin * 2, fontSize: 11 });const height = Math.ceil(contentBottom + layout.margin + (legendEntries.length ? 34 + footprint.extraHeight : 0));const viewBox = [width, height];// ---- Rendering -----------------------------------------------------------------function renderHeader() {const evidence = i18nText(locale, `waterfall.evidence.${wf.meta.evidence}`);- const evidenceW = Math.ceil(textUnits(evidence) * 10 * ADVANCE + 22);+ const evidenceW = Math.ceil(textUnits(evidence) * 10.5 * ADVANCE + 24);const tone = wf.meta.evidence === 'measured' ? 'backend' : 'messagebus';- const total = `${i18nText(locale, 'waterfall.wall', { duration: formatDuration(wall) })} (${number(t0)} → ${number(t1)} ${unitLabel})`;+ const wallText = i18nText(locale, 'waterfall.wall', { duration: formatDuration(wall) });+ const range = `${number(t0)} → ${number(t1)} ${unitLabel}`;+ const wallX = layout.margin + evidenceW + 14;return ` <g data-waterfall-evidence="${esc(wf.meta.evidence)}">- <rect x="${layout.margin}" y="12" width="${evidenceW}" height="20" rx="10" class="c-${tone}" stroke-width="1.2"/>- <text x="${layout.margin + evidenceW / 2}" y="26" class="t-${tone}" font-size="10" font-weight="700" text-anchor="middle">${esc(evidence)}</text>+ <rect x="${layout.margin}" y="14" width="${evidenceW}" height="22" rx="11" class="c-${tone}" stroke-width="1"/>+ <circle cx="${layout.margin + 11}" cy="25" r="3" class="t-${tone}"/>+ <text x="${layout.margin + evidenceW / 2 + 5}" y="29" class="t-${tone}" font-size="10.5" font-weight="700" text-anchor="middle">${esc(evidence)}</text></g>- <text data-waterfall-total="${wall}" x="${layout.margin + evidenceW + 12}" y="26" class="t-primary" font-size="11" font-weight="650">${esc(total)}</text>`;+ <text data-waterfall-total="${wall}" x="${wallX}" y="29.5" class="t-primary wf-num" font-size="13" font-weight="700">${esc(wallText)}<tspan class="t-muted" font-weight="500" dx="10">${esc(range)}</tspan></text>`;}function renderAxis() {- const lineY = rowsTop - 8;+ const lineY = rowsTop - 6;return [- ` <text x="${layout.margin}" y="${lineY - 8}" class="t-muted" font-size="10" font-weight="650">${esc(i18nText(locale, 'waterfall.operation'))}</text>`,- ` <line x1="${axisX0}" y1="${lineY}" x2="${axisX1}" y2="${lineY}" class="wf-axis" stroke-width="1.2"/>`,- ...ticks.map((tick) => ` <line x1="${tick.x}" y1="${lineY}" x2="${tick.x}" y2="${contentBottom}" class="wf-grid" stroke-width="1"/>- <text x="${tick.x}" y="${lineY - 8}" class="t-muted wf-num" font-size="10" text-anchor="middle">${esc(number(tick.t))} ${esc(unitLabel)}</text>`),+ ` <text x="${layout.margin}" y="${lineY - 10}" class="t-muted wf-caps" font-size="10" font-weight="700">${esc(i18nText(locale, 'waterfall.operation'))}</text>`,+ ` <line x1="${axisX0}" y1="${lineY}" x2="${axisX1}" y2="${lineY}" class="wf-axis" stroke-width="1"/>`,+ ...ticks.map((tick, index) => ` <line x1="${tick.x}" y1="${lineY}" x2="${tick.x}" y2="${contentBottom}" class="wf-grid${index ? '' : ' wf-grid-origin'}" stroke-width="1"/>+ <line x1="${tick.x}" y1="${lineY - 4}" x2="${tick.x}" y2="${lineY}" class="wf-axis" stroke-width="1"/>+ <text x="${tick.x}" y="${lineY - 10}" class="t-muted wf-num" font-size="10.5" text-anchor="middle">${esc(number(tick.t))} ${esc(unitLabel)}</text>`),].join('\n');}// Tree guides in the name column state the parent/child structure; the bars// themselves only ever state time.+const dotX = (row) => layout.margin + row.depth * layout.indent + 4;+function renderGuides() {const rowIndex = new Map(placed.map((row, index) => [row.id, index]));return placed.filter((row) => row.parent !== undefined).map((row) => {- const parentY = placed[rowIndex.get(row.parent)].y + layout.rowH / 2 + 7;+ const parent = placed[rowIndex.get(row.parent)];+ const parentY = parent.y + layout.rowH / 2 + 6;const y = row.y + layout.rowH / 2;- const x = layout.margin + (row.depth - 1) * layout.indent + 5;- return ` <path ${focusEdgeAttrs(row.parent, row.id, undefined, row.index)} d="M ${x} ${parentY} V ${y} H ${x + layout.indent - 6}" class="wf-guide" stroke-width="1" fill="none"/>`;+ const x = dotX(parent);+ return ` <path ${focusEdgeAttrs(row.parent, row.id, undefined, row.index)} d="M ${x} ${parentY} V ${y - 4} Q ${x} ${y} ${x + 4} ${y} H ${dotX(row) - 7}" class="wf-guide" stroke-width="1" fill="none"/>`;}).join('\n');}+// A span with children is drawn as a tinted, outlined bracket over its time;+// a span that does the work itself is a solid bar. Parent and child are never+// added together, and the paint says which bars are inclusive summaries.function renderRow(row, order) {- const tone = STATUS_TONE[row.status];const parent = row.parent !== undefined ? placed.find((candidate) => candidate.id === row.parent) : null;const timing = `${number(row.start)}–${row.open ? '…' : number(row.end)} ${unitLabel} · ${row.label} · ${i18nText(locale, 'waterfall.share', { percent: percent(row.duration), total: formatDuration(wall) })}`;- const passport = { kind: tone, sublabel: [timing, row.detail].filter(Boolean).join(' — '), context: [row.service, parent?.name].filter(Boolean).join(' \u203a ') || undefined };- const nameX = layout.margin + row.depth * layout.indent + (row.depth ? 12 : 0);+ const service = serviceOf.get(row.id);+ const passport = { kind: row.tone, sublabel: [timing, row.detail].filter(Boolean).join(' — '), context: [service, parent?.name].filter(Boolean).join(' \u203a ') || undefined };const midY = row.y + layout.rowH / 2;const barY = midY - layout.barH / 2;- const labelX = row.placement === 'inside' ? row.x0 + row.width / 2 : row.placement === 'after' ? row.x1 + 6 : row.x0 - 6;- const anchor = row.placement === 'inside' ? 'middle' : row.placement === 'after' ? 'start' : 'end';- const openTail = row.open ? `<path d="M ${row.x1 - 10} ${barY} L ${row.x1} ${midY} L ${row.x1 - 10} ${barY + layout.barH}" class="wf-open-edge" stroke-width="1.6" fill="none"/>` : '';- return ` <g ${focusNodeAttrs(row.id, row.name, passport, locale)} data-waterfall-start="${row.start}" data-waterfall-end="${row.open ? '' : row.end}" data-waterfall-duration="${row.duration}" data-waterfall-depth="${row.depth}" data-waterfall-status="${row.status}">+ const nameX = dotX(row) + 10;+ const paint = row.open ? 'wf-open' : row.parentBar ? 'wf-span' : 'wf-solid';+ const openTail = row.open ? `<path d="M ${row.x1 - 8} ${barY + 2} L ${row.x1 - 2} ${midY} L ${row.x1 - 8} ${barY + layout.barH - 2}" class="wf-open-edge t-${row.tone}" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/>` : '';+ return ` <g ${focusNodeAttrs(row.id, row.name, passport, locale)} data-waterfall-start="${row.start}" data-waterfall-end="${row.open ? '' : row.end}" data-waterfall-duration="${row.duration}" data-waterfall-depth="${row.depth}" data-waterfall-status="${row.status}"${service ? ` data-waterfall-service="${esc(service)}"` : ''}>${focusNodeTitle(row.name, passport)}- <rect x="${layout.margin - 6}" y="${row.y + 1}" width="${axisX1 + 60 - layout.margin + 6}" height="${layout.rowH - 2}" rx="5" class="wf-row${order % 2 ? ' wf-row-alt' : ''}"/>- <text data-node-label="" x="${nameX}" y="${midY + 4}" class="t-primary" font-size="${layout.nameFont}" font-weight="${row.depth ? 550 : 700}">${esc(row.name)}</text>- <rect x="${row.x0}" y="${barY}" width="${row.width}" height="${layout.barH}" rx="3" class="c-${tone}${row.open ? ' wf-open' : ''}${row.parent === undefined ? ' wf-root' : ''}"${animateAttr(wf.meta, 'node', order)} stroke-width="1.3"/>+ <rect x="${layout.margin - 8}" y="${row.y + 1}" width="${width - layout.margin * 2 + 16}" height="${layout.rowH - 2}" rx="6" class="c-mask wf-row${order % 2 ? ' wf-row-alt' : ''}"/>+ <rect x="${row.x0}" y="${barY}" width="${row.width}" height="${layout.barH}" rx="${Math.min(4, row.width / 2)}" class="c-${row.tone} ${paint}"${animateAttr(wf.meta, 'node', order)} stroke-width="1.2"/>${openTail}- <text x="${labelX}" y="${midY + 3.5}" class="t-primary wf-num" font-size="${layout.durationFont}" font-weight="650" text-anchor="${anchor}">${esc(row.label)}</text>+ <circle cx="${dotX(row)}" cy="${midY}" r="${row.depth ? 3.5 : 4.5}" class="t-${row.tone} wf-dot"/>+ <text data-node-label="" x="${nameX}" y="${midY + 4.3}" class="t-primary" font-size="${layout.nameFont}" font-weight="${row.depth ? (row.parentBar ? 650 : 500) : 750}">${esc(row.name)}</text>+ <text x="${row.x1 + LABEL_GAP}" y="${midY + 3.8}" class="${row.parentBar ? 't-primary' : 't-muted'} wf-num" font-size="${layout.durationFont}" font-weight="${row.parentBar ? 700 : 600}">${esc(row.label)}</text></g>`;}function legendSwatch(entry) {- return `<rect x="${entry.x}" y="${entry.baseline - 10}" width="14" height="10" rx="2" class="c-${STATUS_TONE[entry.kind]}${entry.kind === 'incomplete' ? ' wf-open' : ''}" stroke-width="1.2"/>`;+ const paint = entry.kind === 'incomplete' ? 'wf-open' : 'wf-solid';+ return `<rect x="${entry.x}" y="${entry.baseline - 10}" width="14" height="10" rx="2.5" class="c-${entry.tone} ${paint}" stroke-width="1.2"/>`;}+const SOLID_TONES = ['frontend', 'backend', 'database', 'cloud', 'messagebus', 'security', 'external'];+function renderSvg() {return ` <svg viewBox="0 0 ${viewBox[0]} ${viewBox[1]}" ${svgRootAttrs(wf.meta)} data-waterfall-ui="" data-waterfall-unit="${esc(unit)}" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">${svgAccessibleText(wf.meta, 'waterfall')}${renderDefinitions()}<style>- svg[data-waterfall-ui] .wf-axis { stroke: var(--text-muted); }- svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }+ svg[data-waterfall-ui] .wf-axis { stroke: var(--text-dim); }+ svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-waterfall-ui] .wf-grid-origin { stroke-dasharray: none; opacity: .9; }svg[data-waterfall-ui] .wf-row { fill: transparent; }- svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); opacity: .45; }+ svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); fill-opacity: 1; opacity: .7; }svg[data-waterfall-ui] .wf-guide { stroke: var(--lane-stroke); }- svg[data-waterfall-ui] .wf-root { fill-opacity: .35; }- svg[data-waterfall-ui] .wf-open { stroke-dasharray: 2 3; fill-opacity: .55; }- svg[data-waterfall-ui] .wf-open-edge { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-span { fill-opacity: .9; }+ svg[data-waterfall-ui] .wf-open { stroke-dasharray: 3 2.5; fill-opacity: .6; }+ svg[data-waterfall-ui] .wf-open-edge { fill: none !important; }svg[data-waterfall-ui] .wf-num { font-variant-numeric: tabular-nums; }+ svg[data-waterfall-ui] .wf-caps { letter-spacing: .06em; }+ svg[data-waterfall-ui] .wf-solid { stroke: none; }+${SOLID_TONES.map((tone) => ` svg[data-waterfall-ui] .wf-solid.c-${tone} { fill: var(--${tone}-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-${tone} { stroke: var(--${tone}-stroke); }`).join('\n')}</style><!-- Background Grid -->@@ -274,7 +313,7 @@ ${renderGuides()}${placed.map(renderRow).join('\n')}<!-- Legend -->-${legendEntries.length ? renderResolvedLegend({ entries: legendEntries, locale, layout: { x: layout.margin, baselineY: height - 16, width: width - layout.margin * 2, fontSize: 10, minTitleY: contentBottom + 8, diagramType: 'waterfall' }, renderSwatch: legendSwatch }) : ''}+${legendEntries.length ? renderResolvedLegend({ entries: legendEntries, locale, layout: { x: layout.margin, baselineY: height - 16, width: width - layout.margin * 2, fontSize: 11, minTitleY: contentBottom + 8, diagramType: 'waterfall' }, renderSwatch: legendSwatch }) : ''}</svg>`;}diff --git a/archify/schemas/class.schema.json b/archify/schemas/class.schema.jsonindex b36625e6..ebadbe15 100644--- a/archify/schemas/class.schema.json+++ b/archify/schemas/class.schema.json@@ -173,9 +173,11 @@"maximum": 12},"col": {- "type": "integer",+ "type": "number",+ "multipleOf": 0.5,"minimum": 0,- "maximum": 12+ "maximum": 12,+ "description": "Grid column. A half step (e.g. 1.5) centres the type between two columns, such as a supertype over two subtypes."},"pos": {"$ref": "common.schema.json#/$defs/point"diff --git a/archify/test/class-rendering.test.mjs b/archify/test/class-rendering.test.mjsindex 72540ad5..8c687726 100644--- a/archify/test/class-rendering.test.mjs+++ b/archify/test/class-rendering.test.mjs@@ -95,6 +95,9 @@ test('class: implementations of one supertype share a hierarchy bus and a singleassert.equal(path['marker-start'], 'url(#cl-triangle-start)');}assert.match(svg, /<marker id="cl-triangle-start"[^>]*orient="auto-start-reverse"/);+ // `col: 1.5` centres the supertype over its two subtypes, so the bus is symmetric.+ const centre = (box) => box.x + box.width / 2;+ assert.ok(Math.abs(centre(gateway) - (centre(boxes.get('card_gateway')) + centre(boxes.get('wallet_gateway'))) / 2) < 0.5);});test('class: long members wrap inside the box instead of being truncated', () => {@@ -103,14 +106,16 @@ test('class: long members wrap inside the box instead of being truncated', () =>const boxes = typeBoxes(svg);const processor = boxes.get('payment_processor');const block = svg.slice(svg.indexOf('data-node-id="payment_processor"'), svg.indexOf('data-node-id="order"'));- const lines = [...block.matchAll(/<text data-detail="context" data-class-member="methods"[^>]* x="([\d.]+)"[^>]*>([^<]+)<\/text>/g)];+ // Annotations are tspans inside the line; the line's text is what is read.+ const lines = [...block.matchAll(/<text data-detail="context" data-class-member="methods"[^>]* x="([\d.]+)"[^>]*>(.*?)<\/text>/g)]+ .map((line) => Object.assign([...line], { 2: line[2].replace(/<[^>]+>/g, '') }));assert.ok(lines.some((line) => /data-class-continuation/.test(line[0])), 'expected a wrapped continuation line');const joined = lines.map((line) => line[2]).join('').replace(/>/g, '>').replace(/</g, '<');for (const method of large.types.find((type) => type.id === 'payment_processor').methods) {assert.ok(joined.replace(/\s+/g, '').includes(`${method.name}(${method.parameters}):${method.returns}`.replace(/\s+/g, '')), method.name);}for (const line of lines) {- const right = Number(line[1]) + textUnits(line[2]) * 10.5 * 0.6;+ const right = Number(line[1]) + textUnits(line[2]) * 11 * 0.6;assert.ok(right <= processor.x + processor.width - 11, `"${line[2]}" overruns its box`);}});diff --git a/archify/test/tree-rendering.test.mjs b/archify/test/tree-rendering.test.mjsindex 872a36e7..58a72b93 100644--- a/archify/test/tree-rendering.test.mjs+++ b/archify/test/tree-rendering.test.mjs@@ -54,9 +54,10 @@ for (const [name, diagram] of [['small', small], ['large', large]]) {assert.ok(down ? node.y >= parent.y + parent.height : node.x >= parent.x + parent.width, `${node.id} is not beyond ${parent.id}`);}// One generation shares one band edge: a row centre going down, a column- // start going right.+ // start going right. A stacked leaf list hangs below its parent instead.const bands = new Map();for (const node of report.nodes) {+ if (node.stacked) continue;const key = down ? Math.round(node.y + node.height / 2) : node.x;(bands.get(node.depth) || bands.set(node.depth, new Set()).get(node.depth)).add(key);}@@ -66,8 +67,11 @@ for (const [name, diagram] of [['small', small], ['large', large]]) {const [start, end] = [edge.points[0], edge.points.at(-1)];const parent = byId.get(edge.from);const child = byId.get(edge.to);- assert.deepEqual(start, down ? [parent.x + parent.width / 2, parent.y + parent.height] : [parent.x + parent.width, parent.y + parent.height / 2]);- assert.deepEqual(end, down ? [child.x + child.width / 2, child.y] : [child.x, child.y + child.height / 2]);+ if (down) {+ assert.equal(start[1], parent.y + parent.height);+ assert.ok(start[0] > parent.x && start[0] < parent.x + parent.width, `${edge.from} link leaves its own bottom edge`);+ } else assert.deepEqual(start, [parent.x + parent.width, parent.y + parent.height / 2]);+ assert.deepEqual(end, down && !child.stacked ? [child.x + child.width / 2, child.y] : [child.x, child.y + child.height / 2]);}});}@@ -83,6 +87,20 @@ test('tree: an unbalanced tree places a parent over its own children only', () =}});+test('tree: three or more sibling leaves going down become one stacked list', () => {+ const report = layoutOf(large);+ const children = (id) => report.nodes.filter((node) => node.parent === id);+ const scripts = children('scripts');+ assert.ok(scripts.length >= 3 && scripts.every((node) => node.stacked));+ // One column, one width, in authored order.+ assert.equal(new Set(scripts.map((node) => node.x)).size, 1);+ assert.equal(new Set(scripts.map((node) => node.width)).size, 1);+ for (let index = 1; index < scripts.length; index += 1) assert.ok(scripts[index].y >= scripts[index - 1].y + scripts[index - 1].height);+ // Two leaves and every branch stay in the row layout.+ assert.ok(layoutOf(small).nodes.every((node) => !node.stacked));+ assert.ok(!report.nodes.find((node) => node.id === 'r_shared').stacked);+});+test('tree: every descendant and link carries its ancestors, and toggles count what they hide', () => {const result = run(small);const html = fs.readFileSync(result.output, 'utf8');diff --git a/examples/class-payment-processors-rendered.html b/examples/class-payment-processors-rendered.htmlindex 4a8e9b20..819a5eb5 100644--- a/examples/class-payment-processors-rendered.html+++ b/examples/class-payment-processors-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1640 741" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1640 778" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment processor hierarchy</title><desc id="archify-diagram-description">Illustrative module: one processor contract, a retrying base class, and five provider implementations.</desc><!-- Definitions -->@@ -5059,299 +5059,300 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Relationships (before types for correct z-order) -->- <path data-edge-from="checkout_orchestrator" data-edge-to="processor_registry" data-edge-label="selects via" data-edge-key="0" data-edge-id="orchestrator_registry" data-class-relationship="association" data-composition-points="332,124;460,124" d="M 332 124 L 460 124" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="processor_registry" data-edge-to="payment_processor" data-edge-label="holds" data-edge-key="1" data-edge-id="registry_processors" data-class-relationship="aggregation" data-composition-points="760,124;888,124" d="M 760 124 L 888 124" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>- <path data-edge-from="checkout_orchestrator" data-edge-to="order" data-edge-label="updates" data-edge-key="2" data-edge-id="orchestrator_order" data-class-relationship="dependency" data-composition-points="182,208;182,292" d="M 182 208 L 182 292" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="order" data-edge-to="line_item" data-edge-label="owns lines" data-edge-key="3" data-edge-id="order_lines" data-class-relationship="composition" data-composition-points="182,479;182,567.5" d="M 182 479 L 182 567.5" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>- <path data-edge-from="order" data-edge-to="payment_status" data-edge-key="4" data-edge-id="order_status" data-class-relationship="association" data-composition-points="332,385.5;519,385.5" d="M 332 385.5 L 519 385.5" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="retrying_processor" data-edge-to="payment_processor" data-edge-key="5" data-edge-id="retrying_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1038,296.5;1038,208" d="M 1038 208 L 1038 296.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="bank_transfer" data-edge-to="payment_processor" data-edge-key="6" data-edge-id="bank_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1466,325.5;1466,252;1038,252;1038,208" d="M 1038 208 L 1038 244 Q 1038 252 1046 252 L 1458 252 Q 1466 252 1466 260 L 1466 325.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="stripe_card" data-edge-to="retrying_processor" data-edge-key="7" data-edge-id="stripe_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="610,582;610,519;1038,519;1038,474.5" d="M 1038 474.5 L 1038 511 Q 1038 519 1030 519 L 618 519 Q 610 519 610 527 L 610 582" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="adyen_card" data-edge-to="retrying_processor" data-edge-key="8" data-edge-id="adyen_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1038,582;1038,474.5" d="M 1038 474.5 L 1038 582" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="paypal_wallet" data-edge-to="retrying_processor" data-edge-key="9" data-edge-id="paypal_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1466,563;1466,519;1038,519;1038,474.5" d="M 1038 474.5 L 1038 511 Q 1038 519 1046 519 L 1458 519 Q 1466 519 1466 527 L 1466 563" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="checkout_orchestrator" data-edge-to="processor_registry" data-edge-label="selects via" data-edge-key="0" data-edge-id="orchestrator_registry" data-class-relationship="association" data-composition-points="332,137;460,137" d="M 332 137 L 460 137" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="processor_registry" data-edge-to="payment_processor" data-edge-label="holds" data-edge-key="1" data-edge-id="registry_processors" data-class-relationship="aggregation" data-composition-points="760,137;1102,137" d="M 760 137 L 1102 137" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>+ <path data-edge-from="checkout_orchestrator" data-edge-to="order" data-edge-label="updates" data-edge-key="2" data-edge-id="orchestrator_order" data-class-relationship="dependency" data-composition-points="182,224;182,318" d="M 182 224 L 182 318" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="order" data-edge-to="line_item" data-edge-label="owns lines" data-edge-key="3" data-edge-id="order_lines" data-class-relationship="composition" data-composition-points="182,512;182,601" d="M 182 512 L 182 601" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>+ <path data-edge-from="order" data-edge-to="payment_status" data-edge-key="4" data-edge-id="order_status" data-class-relationship="association" data-composition-points="332,415;517,415" d="M 332 415 L 517 415" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="retrying_processor" data-edge-to="payment_processor" data-edge-key="5" data-edge-id="retrying_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1038,323;1038,279;1252,279;1252,234" d="M 1252 234 L 1252 271 Q 1252 279 1244 279 L 1046 279 Q 1038 279 1038 287 L 1038 323" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="bank_transfer" data-edge-to="payment_processor" data-edge-key="6" data-edge-id="bank_implements" data-class-relationship="realization" data-class-bus="payment_processor" data-composition-points="1466,353;1466,279;1252,279;1252,234" d="M 1252 234 L 1252 271 Q 1252 279 1260 279 L 1458 279 Q 1466 279 1466 287 L 1466 353" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="stripe_card" data-edge-to="retrying_processor" data-edge-key="7" data-edge-id="stripe_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="610,616;610,552;1038,552;1038,507" d="M 1038 507 L 1038 544 Q 1038 552 1030 552 L 618 552 Q 610 552 610 560 L 610 616" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="adyen_card" data-edge-to="retrying_processor" data-edge-key="8" data-edge-id="adyen_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1038,616;1038,507" d="M 1038 507 L 1038 616" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="paypal_wallet" data-edge-to="retrying_processor" data-edge-key="9" data-edge-id="paypal_extends" data-class-relationship="inheritance" data-class-bus="retrying_processor" data-composition-points="1466,596;1466,552;1038,552;1038,507" d="M 1038 507 L 1038 544 Q 1038 552 1046 552 L 1458 552 Q 1466 552 1466 560 L 1466 596" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/><!-- Types --><g id="node-checkout_orchestrator" data-node-id="checkout_orchestrator" data-node-label="CheckoutOrchestrator" tabindex="0" role="button" aria-label="Focus CheckoutOrchestrator, Runs one checkout from order to receipt, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Runs one checkout from order to receipt" data-node-context="Class" data-class-kind="class"><title>CheckoutOrchestrator · Runs one checkout from order to receipt · Class</title>- <rect x="32" y="40" width="300" height="168" rx="6" class="c-mask"/>- <rect x="32" y="40" width="300" height="168" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 38 40 H 326 Q 332 40 332 46 V 74 H 32 V 46 Q 32 40 38 40 Z"/>+ <rect x="32" y="50" width="300" height="174" rx="6" class="c-mask"/>+ <rect x="32" y="50" width="300" height="174" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 38 50 H 326 Q 332 50 332 56 V 84 H 32 V 56 Q 32 50 38 50 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="52" cy="57" r="8" class="c-backend" stroke-width="1.25"/>- <text x="52" y="60.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="52" cy="67" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="52" y="70.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="182" y="62" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">CheckoutOrchestrator</text>+ <text data-node-label="" x="182" y="72" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">CheckoutOrchestrator</text><g data-detail="context" data-class-compartment="attributes">- <line x1="32" y1="74" x2="332" y2="74" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="44" y="93" class="t-primary cl-member" font-size="10.5">- registry: ProcessorRegistry</text>- <text data-detail="context" data-class-member="attributes" x="44" y="112" class="t-primary cl-member" font-size="10.5">- clock: Clock</text>+ <line x1="32" y1="84" x2="332" y2="84" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="44" y="104" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> registry<tspan class="t-muted">: ProcessorRegistry</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="44" y="124" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> clock<tspan class="t-muted">: Clock</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="32" y1="122" x2="332" y2="122" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="44" y="141" class="t-primary cl-member" font-size="10.5">+ checkout(order: Order,</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="160" class="t-primary cl-member" font-size="10.5">key: IdempotencyKey): CheckoutResult</text>- <text data-detail="context" data-class-member="methods" x="44" y="179" class="t-primary cl-member" font-size="10.5">+ cancelPendingAuthorization(</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="198" class="t-primary cl-member" font-size="10.5">orderId: OrderId): void</text>+ <line x1="32" y1="134" x2="332" y2="134" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="44" y="154" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> checkout(order<tspan class="t-muted">: Order</tspan>,</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="174" class="t-primary cl-member" font-size="11">key<tspan class="t-muted">: IdempotencyKey</tspan>)<tspan class="t-muted">: CheckoutResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="44" y="194" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> cancelPendingAuthorization(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="214" class="t-primary cl-member" font-size="11">orderId<tspan class="t-muted">: OrderId</tspan>)<tspan class="t-muted">: void</tspan></text></g></g><g id="node-processor_registry" data-node-id="processor_registry" data-node-label="ProcessorRegistry" tabindex="0" role="button" aria-label="Focus ProcessorRegistry, Selects a processor for a payment method, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Selects a processor for a payment method" data-node-context="Class" data-class-kind="class"><title>ProcessorRegistry · Selects a processor for a payment method · Class</title>- <rect x="460" y="59" width="300" height="130" rx="6" class="c-mask"/>- <rect x="460" y="59" width="300" height="130" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 466 59 H 754 Q 760 59 760 65 V 93 H 460 V 65 Q 460 59 466 59 Z"/>+ <rect x="460" y="70" width="300" height="134" rx="6" class="c-mask"/>+ <rect x="460" y="70" width="300" height="134" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 466 70 H 754 Q 760 70 760 76 V 104 H 460 V 76 Q 460 70 466 70 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="480" cy="76" r="8" class="c-backend" stroke-width="1.25"/>- <text x="480" y="79.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="480" cy="87" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="480" y="90.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="610" y="81" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">ProcessorRegistry</text>+ <text data-node-label="" x="610" y="92" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">ProcessorRegistry</text><g data-detail="context" data-class-compartment="attributes">- <line x1="460" y1="93" x2="760" y2="93" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="472" y="112" class="t-primary cl-member" font-size="10.5">- processors: Map<MethodType,</text>- <text data-detail="context" data-class-member="attributes" data-class-continuation="" x="484.6" y="131" class="t-primary cl-member" font-size="10.5">PaymentProcessor></text>+ <line x1="460" y1="104" x2="760" y2="104" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="472" y="124" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> processors<tspan class="t-muted">: Map<MethodType</tspan>,</text>+ <text data-detail="context" data-class-member="attributes" data-class-continuation="" x="485.2" y="144" class="t-primary cl-member" font-size="11">PaymentProcessor></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="460" y1="141" x2="760" y2="141" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="472" y="160" class="t-primary cl-member" font-size="10.5">+ processorFor(method: PaymentMethod</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="484.6" y="179" class="t-primary cl-member" font-size="10.5">): PaymentProcessor</text>+ <line x1="460" y1="154" x2="760" y2="154" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="472" y="174" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> processorFor(method<tspan class="t-muted">: PaymentMethod</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="485.2" y="194" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: PaymentProcessor</tspan></text></g></g><g id="node-payment_processor" data-node-id="payment_processor" data-node-label="PaymentProcessor" tabindex="0" role="button" aria-label="Focus PaymentProcessor, Authorize, capture, and refund contract, Interface" aria-pressed="false" data-node-kind="interface" data-node-sublabel="Authorize, capture, and refund contract" data-node-context="Interface" data-class-kind="interface"><title>PaymentProcessor · Authorize, capture, and refund contract · Interface</title>- <rect x="888" y="40" width="300" height="168" rx="6" class="c-mask"/>- <rect x="888" y="40" width="300" height="168" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>- <path class="cl-header c-frontend" stroke="none" d="M 894 40 H 1182 Q 1188 40 1188 46 V 84 H 888 V 46 Q 888 40 894 40 Z"/>+ <rect x="1102" y="40" width="300" height="194" rx="6" class="c-mask"/>+ <rect x="1102" y="40" width="300" height="194" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-frontend" stroke="none" d="M 1108 40 H 1396 Q 1402 40 1402 46 V 84 H 1102 V 46 Q 1102 40 1108 40 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="908" cy="62" r="8" class="c-frontend" stroke-width="1.25"/>- <text x="908" y="65.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text>+ <circle cx="1122" cy="62" r="8" class="c-frontend" stroke-width="1.25"/>+ <text x="1122" y="65.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text></g>- <text x="1038" y="56" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>- <text data-node-label="" x="1038" y="74" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PaymentProcessor</text>+ <text x="1252" y="56" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>+ <text data-node-label="" x="1252" y="74" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PaymentProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="888" y1="84" x2="1188" y2="84" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="900" y="103" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ authorize(request: AuthorizationRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="122" class="t-primary cl-member" font-size="10.5" style="font-style: italic">): AuthorizationResult</text>- <text data-detail="context" data-class-member="methods" x="900" y="141" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ capture(authorization: AuthorizationId,</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="160" class="t-primary cl-member" font-size="10.5" style="font-style: italic">amount: Money): CaptureResult</text>- <text data-detail="context" data-class-member="methods" x="900" y="179" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ refund(capture: CaptureId, amount: Money</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="198" class="t-primary cl-member" font-size="10.5" style="font-style: italic">): RefundResult</text>+ <line x1="1102" y1="84" x2="1402" y2="84" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="1114" y="104" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> authorize(request<tspan class="t-muted">: AuthorizationRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="124" class="t-primary cl-member" font-size="11" style="font-style: italic">)<tspan class="t-muted">: AuthorizationResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1114" y="144" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> capture(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="164" class="t-primary cl-member" font-size="11" style="font-style: italic">authorization<tspan class="t-muted">: AuthorizationId</tspan>,</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="184" class="t-primary cl-member" font-size="11" style="font-style: italic">amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: CaptureResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1114" y="204" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> refund(capture<tspan class="t-muted">: CaptureId</tspan>,</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1127.2" y="224" class="t-primary cl-member" font-size="11" style="font-style: italic">amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: RefundResult</tspan></text></g></g><g id="node-order" data-node-id="order" data-node-label="Order" tabindex="0" role="button" aria-label="Focus Order, Aggregate root for one purchase, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Aggregate root for one purchase" data-node-context="Class" data-class-kind="class"><title>Order · Aggregate root for one purchase · Class</title>- <rect x="32" y="292" width="300" height="187" rx="6" class="c-mask"/>- <rect x="32" y="292" width="300" height="187" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 38 292 H 326 Q 332 292 332 298 V 326 H 32 V 298 Q 32 292 38 292 Z"/>+ <rect x="32" y="318" width="300" height="194" rx="6" class="c-mask"/>+ <rect x="32" y="318" width="300" height="194" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 38 318 H 326 Q 332 318 332 324 V 352 H 32 V 324 Q 32 318 38 318 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="52" cy="309" r="8" class="c-backend" stroke-width="1.25"/>- <text x="52" y="312.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="52" cy="335" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="52" y="338.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="182" y="314" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">Order</text>+ <text data-node-label="" x="182" y="340" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">Order</text><g data-detail="context" data-class-compartment="attributes">- <line x1="32" y1="326" x2="332" y2="326" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="44" y="345" class="t-primary cl-member" font-size="10.5">+ id: OrderId</text>- <text data-detail="context" data-class-member="attributes" x="44" y="364" class="t-primary cl-member" font-size="10.5">+ total: Money</text>- <text data-detail="context" data-class-member="attributes" x="44" y="383" class="t-primary cl-member" font-size="10.5">+ status: PaymentStatus</text>+ <line x1="32" y1="352" x2="332" y2="352" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="44" y="372" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> id<tspan class="t-muted">: OrderId</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="44" y="392" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> total<tspan class="t-muted">: Money</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="44" y="412" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> status<tspan class="t-muted">: PaymentStatus</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="32" y1="393" x2="332" y2="393" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="44" y="412" class="t-primary cl-member" font-size="10.5">+ addLine(sku: Sku, quantity: int</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="431" class="t-primary cl-member" font-size="10.5">): LineItem</text>- <text data-detail="context" data-class-member="methods" x="44" y="450" class="t-primary cl-member" font-size="10.5">+ markAuthorized(</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="56.6" y="469" class="t-primary cl-member" font-size="10.5">authorization: AuthorizationId): void</text>+ <line x1="32" y1="422" x2="332" y2="422" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="44" y="442" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> addLine(sku<tspan class="t-muted">: Sku</tspan>, quantity<tspan class="t-muted">: int</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="462" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: LineItem</tspan></text>+ <text data-detail="context" data-class-member="methods" x="44" y="482" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> markAuthorized(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="57.2" y="502" class="t-primary cl-member" font-size="11">authorization<tspan class="t-muted">: AuthorizationId</tspan>)<tspan class="t-muted">: void</tspan></text></g></g><g id="node-payment_status" data-node-id="payment_status" data-node-label="PaymentStatus" tabindex="0" role="button" aria-label="Focus PaymentStatus, Lifecycle of the order's payment, Enumeration" aria-pressed="false" data-node-kind="enum" data-node-sublabel="Lifecycle of the order's payment" data-node-context="Enumeration" data-class-kind="enum"><title>PaymentStatus · Lifecycle of the order's payment · Enumeration</title>- <rect x="519" y="311" width="182" height="149" rx="6" class="c-mask"/>- <rect x="519" y="311" width="182" height="149" rx="6" class="c-messagebus cl-type" stroke-width="1.5"/>- <path class="cl-header c-messagebus" stroke="none" d="M 525 311 H 695 Q 701 311 701 317 V 355 H 519 V 317 Q 519 311 525 311 Z"/>+ <rect x="517" y="338" width="186" height="154" rx="6" class="c-mask"/>+ <rect x="517" y="338" width="186" height="154" rx="6" class="c-messagebus cl-type" stroke-width="1.5"/>+ <path class="cl-header c-messagebus" stroke="none" d="M 523 338 H 697 Q 703 338 703 344 V 382 H 517 V 344 Q 517 338 523 338 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="539" cy="333" r="8" class="c-messagebus" stroke-width="1.25"/>- <text x="539" y="336.5" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">E</text>+ <circle cx="537" cy="360" r="8" class="c-messagebus" stroke-width="1.25"/>+ <text x="537" y="363.5" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">E</text></g>- <text x="610" y="327" class="t-muted" font-size="9.5" text-anchor="middle">«enumeration»</text>- <text data-node-label="" x="610" y="345" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PaymentStatus</text>+ <text x="610" y="354" class="t-muted" font-size="9.5" text-anchor="middle">«enumeration»</text>+ <text data-node-label="" x="610" y="372" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PaymentStatus</text><g data-detail="context" data-class-compartment="attributes">- <line x1="519" y1="355" x2="701" y2="355" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="531" y="374" class="t-primary cl-member" font-size="10.5">PENDING</text>- <text data-detail="context" data-class-member="attributes" x="531" y="393" class="t-primary cl-member" font-size="10.5">AUTHORIZED</text>- <text data-detail="context" data-class-member="attributes" x="531" y="412" class="t-primary cl-member" font-size="10.5">CAPTURED</text>- <text data-detail="context" data-class-member="attributes" x="531" y="431" class="t-primary cl-member" font-size="10.5">REFUNDED</text>- <text data-detail="context" data-class-member="attributes" x="531" y="450" class="t-primary cl-member" font-size="10.5">FAILED</text>+ <line x1="517" y1="382" x2="703" y2="382" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="529" y="402" class="t-primary cl-member" font-size="11">PENDING</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="422" class="t-primary cl-member" font-size="11">AUTHORIZED</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="442" class="t-primary cl-member" font-size="11">CAPTURED</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="462" class="t-primary cl-member" font-size="11">REFUNDED</text>+ <text data-detail="context" data-class-member="attributes" x="529" y="482" class="t-primary cl-member" font-size="11">FAILED</text></g></g><g id="node-retrying_processor" data-node-id="retrying_processor" data-node-label="RetryingProcessorBase" tabindex="0" role="button" aria-label="Focus RetryingProcessorBase, Shared retry, timeout, and idempotency handling, Abstract class" aria-pressed="false" data-node-kind="abstract" data-node-sublabel="Shared retry, timeout, and idempotency handling" data-node-context="Abstract class" data-class-kind="abstract"><title>RetryingProcessorBase · Shared retry, timeout, and idempotency handling · Abstract class</title>- <rect x="888" y="296.5" width="300" height="178" rx="6" class="c-mask"/>- <rect x="888" y="296.5" width="300" height="178" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 894 296.5 H 1182 Q 1188 296.5 1188 302.5 V 340.5 H 888 V 302.5 Q 888 296.5 894 296.5 Z"/>+ <rect x="888" y="323" width="300" height="184" rx="6" class="c-mask"/>+ <rect x="888" y="323" width="300" height="184" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 894 323 H 1182 Q 1188 323 1188 329 V 367 H 888 V 329 Q 888 323 894 323 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="908" cy="318.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="908" y="322" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">A</text>+ <circle cx="908" cy="345" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="908" y="348.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">A</text></g>- <text x="1038" y="312.5" class="t-muted" font-size="9.5" text-anchor="middle">«abstract»</text>- <text data-node-label="" x="1038" y="330.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle" font-style="italic">RetryingProcessorBase</text>+ <text x="1038" y="339" class="t-muted" font-size="9.5" text-anchor="middle">«abstract»</text>+ <text data-node-label="" x="1038" y="357" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle" font-style="italic">RetryingProcessorBase</text><g data-detail="context" data-class-compartment="attributes">- <line x1="888" y1="340.5" x2="1188" y2="340.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="900" y="359.5" class="t-primary cl-member" font-size="10.5" style="text-decoration: underline">+ DEFAULT_TIMEOUT: Duration</text>- <text data-detail="context" data-class-member="attributes" x="900" y="378.5" class="t-primary cl-member" font-size="10.5"># retryPolicy: RetryPolicy</text>+ <line x1="888" y1="367" x2="1188" y2="367" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="900" y="387" class="t-primary cl-member" font-size="11" style="text-decoration: underline"><tspan class="t-muted">+</tspan> DEFAULT_TIMEOUT<tspan class="t-muted">: Duration</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="900" y="407" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> retryPolicy<tspan class="t-muted">: RetryPolicy</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="888" y1="388.5" x2="1188" y2="388.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="900" y="407.5" class="t-primary cl-member" font-size="10.5">+ authorize(request: AuthorizationRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="426.5" class="t-primary cl-member" font-size="10.5">): AuthorizationResult</text>- <text data-detail="context" data-class-member="methods" x="900" y="445.5" class="t-primary cl-member" font-size="10.5" style="font-style: italic"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="464.5" class="t-primary cl-member" font-size="10.5" style="font-style: italic">): ProviderResponse</text>+ <line x1="888" y1="417" x2="1188" y2="417" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="900" y="437" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> authorize(request<tspan class="t-muted">: AuthorizationRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="913.2" y="457" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: AuthorizationResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="900" y="477" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="913.2" y="497" class="t-primary cl-member" font-size="11" style="font-style: italic">)<tspan class="t-muted">: ProviderResponse</tspan></text></g></g><g id="node-bank_transfer" data-node-id="bank_transfer" data-node-label="BankTransferProcessor" tabindex="0" role="button" aria-label="Focus BankTransferProcessor, Asynchronous transfer without provider retries, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Asynchronous transfer without provider retries" data-node-context="Class" data-class-kind="class"><title>BankTransferProcessor · Asynchronous transfer without provider retries · Class</title>- <rect x="1316" y="325.5" width="300" height="120" rx="6" class="c-mask"/>- <rect x="1316" y="325.5" width="300" height="120" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 1322 325.5 H 1610 Q 1616 325.5 1616 331.5 V 359.5 H 1316 V 331.5 Q 1316 325.5 1322 325.5 Z"/>+ <rect x="1316" y="353" width="300" height="124" rx="6" class="c-mask"/>+ <rect x="1316" y="353" width="300" height="124" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 1322 353 H 1610 Q 1616 353 1616 359 V 387 H 1316 V 359 Q 1316 353 1322 353 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="1336" cy="342.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="1336" y="346" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="1336" cy="370" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="1336" y="373.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="1466" y="347.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">BankTransferProcessor</text>+ <text data-node-label="" x="1466" y="375" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">BankTransferProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="1316" y1="359.5" x2="1616" y2="359.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="1328" y="378.5" class="t-primary cl-member" font-size="10.5">+ authorize(request: AuthorizationRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="397.5" class="t-primary cl-member" font-size="10.5">): AuthorizationResult</text>- <text data-detail="context" data-class-member="methods" x="1328" y="416.5" class="t-primary cl-member" font-size="10.5">- awaitSettlement(transfer: TransferId</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="435.5" class="t-primary cl-member" font-size="10.5">): SettlementResult</text>+ <line x1="1316" y1="387" x2="1616" y2="387" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="1328" y="407" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> authorize(request<tspan class="t-muted">: AuthorizationRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="427" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: AuthorizationResult</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1328" y="447" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> awaitSettlement(transfer<tspan class="t-muted">: TransferId</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="467" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: SettlementResult</tspan></text></g></g><g id="node-line_item" data-node-id="line_item" data-node-label="LineItem" tabindex="0" role="button" aria-label="Focus LineItem, Immutable priced order line, Record" aria-pressed="false" data-node-kind="record" data-node-sublabel="Immutable priced order line" data-node-context="Record" data-class-kind="record"><title>LineItem · Immutable priced order line · Record</title>- <rect x="92" y="567.5" width="180" height="111" rx="6" class="c-mask"/>- <rect x="92" y="567.5" width="180" height="111" rx="6" class="c-database cl-type" stroke-width="1.5"/>- <path class="cl-header c-database" stroke="none" d="M 98 567.5 H 266 Q 272 567.5 272 573.5 V 611.5 H 92 V 573.5 Q 92 567.5 98 567.5 Z"/>+ <rect x="92" y="601" width="180" height="114" rx="6" class="c-mask"/>+ <rect x="92" y="601" width="180" height="114" rx="6" class="c-database cl-type" stroke-width="1.5"/>+ <path class="cl-header c-database" stroke="none" d="M 98 601 H 266 Q 272 601 272 607 V 645 H 92 V 607 Q 92 601 98 601 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="112" cy="589.5" r="8" class="c-database" stroke-width="1.25"/>- <text x="112" y="593" class="t-database" font-size="10" font-weight="700" text-anchor="middle">R</text>+ <circle cx="112" cy="623" r="8" class="c-database" stroke-width="1.25"/>+ <text x="112" y="626.5" class="t-database" font-size="10" font-weight="700" text-anchor="middle">R</text></g>- <text x="182" y="583.5" class="t-muted" font-size="9.5" text-anchor="middle">«record»</text>- <text data-node-label="" x="182" y="601.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">LineItem</text>+ <text x="182" y="617" class="t-muted" font-size="9.5" text-anchor="middle">«record»</text>+ <text data-node-label="" x="182" y="635" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">LineItem</text><g data-detail="context" data-class-compartment="attributes">- <line x1="92" y1="611.5" x2="272" y2="611.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="104" y="630.5" class="t-primary cl-member" font-size="10.5">+ sku: Sku</text>- <text data-detail="context" data-class-member="attributes" x="104" y="649.5" class="t-primary cl-member" font-size="10.5">+ quantity: int</text>- <text data-detail="context" data-class-member="attributes" x="104" y="668.5" class="t-primary cl-member" font-size="10.5">+ unitPrice: Money</text>+ <line x1="92" y1="645" x2="272" y2="645" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="104" y="665" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> sku<tspan class="t-muted">: Sku</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="104" y="685" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> quantity<tspan class="t-muted">: int</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="104" y="705" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> unitPrice<tspan class="t-muted">: Money</tspan></text></g></g><g id="node-stripe_card" data-node-id="stripe_card" data-node-label="StripeCardProcessor" tabindex="0" role="button" aria-label="Focus StripeCardProcessor, Card payments through Stripe, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Card payments through Stripe" data-node-context="Class" data-class-kind="class"><title>StripeCardProcessor · Card payments through Stripe · Class</title>- <rect x="460" y="582" width="300" height="82" rx="6" class="c-mask"/>- <rect x="460" y="582" width="300" height="82" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 466 582 H 754 Q 760 582 760 588 V 616 H 460 V 588 Q 460 582 466 582 Z"/>+ <rect x="460" y="616" width="300" height="84" rx="6" class="c-mask"/>+ <rect x="460" y="616" width="300" height="84" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 466 616 H 754 Q 760 616 760 622 V 650 H 460 V 622 Q 460 616 466 616 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="480" cy="599" r="8" class="c-backend" stroke-width="1.25"/>- <text x="480" y="602.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="480" cy="633" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="480" y="636.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="610" y="604" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">StripeCardProcessor</text>+ <text data-node-label="" x="610" y="638" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">StripeCardProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="460" y1="616" x2="760" y2="616" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="472" y="635" class="t-primary cl-member" font-size="10.5"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="484.6" y="654" class="t-primary cl-member" font-size="10.5">): ProviderResponse</text>+ <line x1="460" y1="650" x2="760" y2="650" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="472" y="670" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="485.2" y="690" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: ProviderResponse</tspan></text></g></g><g id="node-adyen_card" data-node-id="adyen_card" data-node-label="AdyenCardProcessor" tabindex="0" role="button" aria-label="Focus AdyenCardProcessor, Card payments through Adyen, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Card payments through Adyen" data-node-context="Class" data-class-kind="class"><title>AdyenCardProcessor · Card payments through Adyen · Class</title>- <rect x="888" y="582" width="300" height="82" rx="6" class="c-mask"/>- <rect x="888" y="582" width="300" height="82" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 894 582 H 1182 Q 1188 582 1188 588 V 616 H 888 V 588 Q 888 582 894 582 Z"/>+ <rect x="888" y="616" width="300" height="84" rx="6" class="c-mask"/>+ <rect x="888" y="616" width="300" height="84" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 894 616 H 1182 Q 1188 616 1188 622 V 650 H 888 V 622 Q 888 616 894 616 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="908" cy="599" r="8" class="c-backend" stroke-width="1.25"/>- <text x="908" y="602.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="908" cy="633" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="908" y="636.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="1038" y="604" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">AdyenCardProcessor</text>+ <text data-node-label="" x="1038" y="638" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">AdyenCardProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="888" y1="616" x2="1188" y2="616" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="900" y="635" class="t-primary cl-member" font-size="10.5"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="912.6" y="654" class="t-primary cl-member" font-size="10.5">): ProviderResponse</text>+ <line x1="888" y1="650" x2="1188" y2="650" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="900" y="670" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="913.2" y="690" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: ProviderResponse</tspan></text></g></g><g id="node-paypal_wallet" data-node-id="paypal_wallet" data-node-label="PayPalWalletProcessor" tabindex="0" role="button" aria-label="Focus PayPalWalletProcessor, Wallet payments through PayPal, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Wallet payments through PayPal" data-node-context="Class" data-class-kind="class"><title>PayPalWalletProcessor · Wallet payments through PayPal · Class</title>- <rect x="1316" y="563" width="300" height="120" rx="6" class="c-mask"/>- <rect x="1316" y="563" width="300" height="120" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 1322 563 H 1610 Q 1616 563 1616 569 V 597 H 1316 V 569 Q 1316 563 1322 563 Z"/>+ <rect x="1316" y="596" width="300" height="124" rx="6" class="c-mask"/>+ <rect x="1316" y="596" width="300" height="124" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 1322 596 H 1610 Q 1616 596 1616 602 V 630 H 1316 V 602 Q 1316 596 1322 596 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="1336" cy="580" r="8" class="c-backend" stroke-width="1.25"/>- <text x="1336" y="583.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="1336" cy="613" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="1336" y="616.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="1466" y="585" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PayPalWalletProcessor</text>+ <text data-node-label="" x="1466" y="618" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PayPalWalletProcessor</text><g data-detail="context" data-class-compartment="methods">- <line x1="1316" y1="597" x2="1616" y2="597" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="1328" y="616" class="t-primary cl-member" font-size="10.5"># sendToProvider(request: ProviderRequest</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="635" class="t-primary cl-member" font-size="10.5">): ProviderResponse</text>- <text data-detail="context" data-class-member="methods" x="1328" y="654" class="t-primary cl-member" font-size="10.5">- exchangeBillingAgreementToken(</text>- <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1340.6" y="673" class="t-primary cl-member" font-size="10.5">token: String): AgreementId</text>+ <line x1="1316" y1="630" x2="1616" y2="630" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="1328" y="650" class="t-primary cl-member" font-size="11"><tspan class="t-muted">#</tspan> sendToProvider(request<tspan class="t-muted">: ProviderRequest</tspan></text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="670" class="t-primary cl-member" font-size="11">)<tspan class="t-muted">: ProviderResponse</tspan></text>+ <text data-detail="context" data-class-member="methods" x="1328" y="690" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> exchangeBillingAgreementToken(</text>+ <text data-detail="context" data-class-member="methods" data-class-continuation="" x="1341.2" y="710" class="t-primary cl-member" font-size="11">token<tspan class="t-muted">: String</tspan>)<tspan class="t-muted">: AgreementId</tspan></text></g></g><!-- Relationship labels --><g data-detail="context" data-edge-from="checkout_orchestrator" data-edge-to="processor_registry" data-edge-label="selects via" data-edge-key="0" data-edge-id="orchestrator_registry" data-class-relationship="association">- <rect x="358.605" y="108" width="74.79" height="14" rx="3" class="c-mask"/>- <text x="396" y="118" class="t-muted" font-size="9.5" text-anchor="middle">selects via</text>+ <rect x="358.605" y="121" width="74.79" height="14" rx="3" class="c-mask"/>+ <text x="396" y="131" class="t-muted" font-size="9.5" text-anchor="middle">selects via</text></g><g data-detail="context" data-edge-from="processor_registry" data-edge-to="payment_processor" data-edge-label="holds" data-edge-key="1" data-edge-id="registry_processors" data-class-relationship="aggregation">- <rect x="804.275" y="108" width="39.45" height="14" rx="3" class="c-mask"/>- <text x="824" y="118" class="t-muted" font-size="9.5" text-anchor="middle">holds</text>+ <rect x="911.275" y="121" width="39.45" height="14" rx="3" class="c-mask"/>+ <text x="931" y="131" class="t-muted" font-size="9.5" text-anchor="middle">holds</text></g><g data-detail="context" data-edge-from="checkout_orchestrator" data-edge-to="order" data-edge-label="updates" data-edge-key="2" data-edge-id="orchestrator_order" data-class-relationship="dependency">- <rect x="188" y="244" width="51.23" height="14" rx="3" class="c-mask"/>- <text x="213.615" y="254" class="t-muted" font-size="9.5" text-anchor="middle">updates</text>+ <rect x="188" y="265" width="51.23" height="14" rx="3" class="c-mask"/>+ <text x="213.615" y="275" class="t-muted" font-size="9.5" text-anchor="middle">updates</text></g><g data-detail="context" data-edge-from="order" data-edge-to="line_item" data-edge-label="owns lines" data-edge-key="3" data-edge-id="order_lines" data-class-relationship="composition">- <rect x="188" y="517.25" width="68.9" height="14" rx="3" class="c-mask"/>- <text x="222.45" y="527.25" class="t-muted" font-size="9.5" text-anchor="middle">owns lines</text>+ <rect x="188" y="550.5" width="68.9" height="14" rx="3" class="c-mask"/>+ <text x="222.45" y="560.5" class="t-muted" font-size="9.5" text-anchor="middle">owns lines</text></g><!-- Legend --><g data-legend="">- <text x="24" y="705" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="725" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="710" width="116" height="22" rx="11"/><path d="M 26 721 L 56 721" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <text x="66" y="725" class="t-muted" font-size="12" font-weight="500">Depends on</text>+ <text x="24" y="742" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="762" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="747" width="116" height="22" rx="11"/><path d="M 26 758 L 56 758" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <text x="66" y="762" class="t-muted" font-size="12" font-weight="500">Depends on</text></g>- <g data-legend-semantic-kind="association" data-legend-x="150" data-legend-baseline="725" data-legend-width="111">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Association" x="144" y="710" width="123" height="22" rx="11"/><path d="M 152 721 L 182 721" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>- <text x="192" y="725" class="t-muted" font-size="12" font-weight="500">Association</text>+ <g data-legend-semantic-kind="association" data-legend-x="150" data-legend-baseline="762" data-legend-width="111">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Association" x="144" y="747" width="123" height="22" rx="11"/><path d="M 152 758 L 182 758" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <text x="192" y="762" class="t-muted" font-size="12" font-weight="500">Association</text></g>- <g data-legend-semantic-kind="inheritance" data-legend-x="283" data-legend-baseline="725" data-legend-width="92">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Inherits" x="277" y="710" width="104" height="22" rx="11"/><path d="M 285 721 L 315 721" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-triangle)"/>- <text x="325" y="725" class="t-muted" font-size="12" font-weight="500">Inherits</text>+ <g data-legend-semantic-kind="inheritance" data-legend-x="283" data-legend-baseline="762" data-legend-width="92">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Inherits" x="277" y="747" width="104" height="22" rx="11"/><path d="M 285 758 L 315 758" class="a-default cl-relationship" stroke-width="1.5" marker-end="url(#cl-triangle)"/>+ <text x="325" y="762" class="t-muted" font-size="12" font-weight="500">Inherits</text></g>- <g data-legend-semantic-kind="realization" data-legend-x="397" data-legend-baseline="725" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="391" y="710" width="116" height="22" rx="11"/><path d="M 399 721 L 429 721" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>- <text x="439" y="725" class="t-muted" font-size="12" font-weight="500">Implements</text>+ <g data-legend-semantic-kind="realization" data-legend-x="397" data-legend-baseline="762" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="391" y="747" width="116" height="22" rx="11"/><path d="M 399 758 L 429 758" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>+ <text x="439" y="762" class="t-muted" font-size="12" font-weight="500">Implements</text></g>- <g data-legend-semantic-kind="composition" data-legend-x="523" data-legend-baseline="725" data-legend-width="111">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Composition" x="517" y="710" width="123" height="22" rx="11"/><path d="M 525 721 L 555 721" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>- <text x="565" y="725" class="t-muted" font-size="12" font-weight="500">Composition</text>+ <g data-legend-semantic-kind="composition" data-legend-x="523" data-legend-baseline="762" data-legend-width="111">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Composition" x="517" y="747" width="123" height="22" rx="11"/><path d="M 525 758 L 555 758" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-filled)"/>+ <text x="565" y="762" class="t-muted" font-size="12" font-weight="500">Composition</text></g>- <g data-legend-semantic-kind="aggregation" data-legend-x="656" data-legend-baseline="725" data-legend-width="111">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Aggregation" x="650" y="710" width="123" height="22" rx="11"/><path d="M 658 721 L 688 721" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>- <text x="698" y="725" class="t-muted" font-size="12" font-weight="500">Aggregation</text>+ <g data-legend-semantic-kind="aggregation" data-legend-x="656" data-legend-baseline="762" data-legend-width="111">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Aggregation" x="650" y="747" width="123" height="22" rx="11"/><path d="M 658 758 L 688 758" class="a-default cl-relationship" stroke-width="1.5" marker-start="url(#cl-diamond-hollow)"/>+ <text x="698" y="762" class="t-muted" font-size="12" font-weight="500">Aggregation</text></g></g></svg>diff --git a/examples/class-payments-rendered.html b/examples/class-payments-rendered.htmlindex 8f9681f0..d102dab5 100644--- a/examples/class-payments-rendered.html+++ b/examples/class-payments-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 946 423" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 972 430" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-class-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment module types</title><desc id="archify-diagram-description">OrderService depends on the PaymentGateway contract; card and wallet gateways implement it.</desc><!-- Definitions -->@@ -5053,128 +5053,128 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Relationships (before types for correct z-order) -->- <path data-edge-from="order_service" data-edge-to="payment_gateway" data-edge-label="pays through" data-edge-key="0" data-edge-id="uses_gateway" data-class-relationship="dependency" data-composition-points="264,95.5;392,95.5" d="M 264 95.5 L 392 95.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="order_service" data-edge-to="order" data-edge-label="creates" data-edge-key="1" data-edge-id="creates_order" data-class-relationship="dependency" data-composition-points="148,151;148,235" d="M 148 151 L 148 235" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <path data-edge-from="card_gateway" data-edge-to="payment_gateway" data-edge-key="2" data-edge-id="card_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="492.5,268.5;492.5,132" d="M 492.5 132 L 492.5 268.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>- <path data-edge-from="wallet_gateway" data-edge-to="payment_gateway" data-edge-key="3" data-edge-id="wallet_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="821.5,268.5;821.5,200;492.5,200;492.5,132" d="M 492.5 132 L 492.5 192 Q 492.5 200 500.5 200 L 813.5 200 Q 821.5 200 821.5 208 L 821.5 268.5" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="order_service" data-edge-to="payment_gateway" data-edge-label="pays through" data-edge-key="0" data-edge-id="uses_gateway" data-class-relationship="dependency" data-composition-points="274,97;570.5,97" d="M 274 97 L 570.5 97" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="order_service" data-edge-to="order" data-edge-label="creates" data-edge-key="1" data-edge-id="creates_order" data-class-relationship="dependency" data-composition-points="153,154;153,238" d="M 153 154 L 153 238" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <path data-edge-from="card_gateway" data-edge-to="payment_gateway" data-edge-key="2" data-edge-id="card_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="506.5,273;506.5,204;675,204;675,134" d="M 675 134 L 675 196 Q 675 204 667 204 L 514.5 204 Q 506.5 204 506.5 212 L 506.5 273" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/>+ <path data-edge-from="wallet_gateway" data-edge-to="payment_gateway" data-edge-key="3" data-edge-id="wallet_implements" data-class-relationship="realization" data-class-bus="payment_gateway" data-composition-points="843.5,273;843.5,204;675,204;675,134" d="M 675 134 L 675 196 Q 675 204 683 204 L 835.5 204 Q 843.5 204 843.5 212 L 843.5 273" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-start="url(#cl-triangle-start)"/><!-- Types --><g id="node-order_service" data-node-id="order_service" data-node-label="OrderService" tabindex="0" role="button" aria-label="Focus OrderService, Creates orders and starts payment, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Creates orders and starts payment" data-node-context="Class" data-class-kind="class"><title>OrderService · Creates orders and starts payment · Class</title>- <rect x="32" y="40" width="232" height="111" rx="6" class="c-mask"/>- <rect x="32" y="40" width="232" height="111" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 38 40 H 258 Q 264 40 264 46 V 74 H 32 V 46 Q 32 40 38 40 Z"/>+ <rect x="32" y="40" width="242" height="114" rx="6" class="c-mask"/>+ <rect x="32" y="40" width="242" height="114" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 38 40 H 268 Q 274 40 274 46 V 74 H 32 V 46 Q 32 40 38 40 Z"/><g aria-hidden="true" class="cl-badge"><circle cx="52" cy="57" r="8" class="c-backend" stroke-width="1.25"/><text x="52" y="60.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="148" y="62" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">OrderService</text>+ <text data-node-label="" x="153" y="62" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">OrderService</text><g data-detail="context" data-class-compartment="attributes">- <line x1="32" y1="74" x2="264" y2="74" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="44" y="93" class="t-primary cl-member" font-size="10.5">- gateway: PaymentGateway</text>+ <line x1="32" y1="74" x2="274" y2="74" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="44" y="94" class="t-primary cl-member" font-size="11"><tspan class="t-muted">-</tspan> gateway<tspan class="t-muted">: PaymentGateway</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="32" y1="103" x2="264" y2="103" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="44" y="122" class="t-primary cl-member" font-size="10.5">+ createOrder(cart: Cart): Order</text>- <text data-detail="context" data-class-member="methods" x="44" y="141" class="t-primary cl-member" font-size="10.5">+ checkout(order: Order): Receipt</text>+ <line x1="32" y1="104" x2="274" y2="104" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="44" y="124" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> createOrder(cart<tspan class="t-muted">: Cart</tspan>)<tspan class="t-muted">: Order</tspan></text>+ <text data-detail="context" data-class-member="methods" x="44" y="144" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> checkout(order<tspan class="t-muted">: Order</tspan>)<tspan class="t-muted">: Receipt</tspan></text></g></g><g id="node-payment_gateway" data-node-id="payment_gateway" data-node-label="PaymentGateway" tabindex="0" role="button" aria-label="Focus PaymentGateway, Payment contract every channel fulfils, Interface" aria-pressed="false" data-node-kind="interface" data-node-sublabel="Payment contract every channel fulfils" data-node-context="Interface" data-class-kind="interface"><title>PaymentGateway · Payment contract every channel fulfils · Interface</title>- <rect x="392" y="59" width="201" height="73" rx="6" class="c-mask"/>- <rect x="392" y="59" width="201" height="73" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>- <path class="cl-header c-frontend" stroke="none" d="M 398 59 H 587 Q 593 59 593 65 V 103 H 392 V 65 Q 392 59 398 59 Z"/>+ <rect x="570.5" y="60" width="209" height="74" rx="6" class="c-mask"/>+ <rect x="570.5" y="60" width="209" height="74" rx="6" class="c-frontend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-frontend" stroke="none" d="M 576.5 60 H 773.5 Q 779.5 60 779.5 66 V 104 H 570.5 V 66 Q 570.5 60 576.5 60 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="412" cy="81" r="8" class="c-frontend" stroke-width="1.25"/>- <text x="412" y="84.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text>+ <circle cx="590.5" cy="82" r="8" class="c-frontend" stroke-width="1.25"/>+ <text x="590.5" y="85.5" class="t-frontend" font-size="10" font-weight="700" text-anchor="middle">I</text></g>- <text x="492.5" y="75" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>- <text data-node-label="" x="492.5" y="93" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">PaymentGateway</text>+ <text x="675" y="76" class="t-muted" font-size="9.5" text-anchor="middle">«interface»</text>+ <text data-node-label="" x="675" y="94" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">PaymentGateway</text><g data-detail="context" data-class-compartment="methods">- <line x1="392" y1="103" x2="593" y2="103" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="404" y="122" class="t-primary cl-member" font-size="10.5" style="font-style: italic">+ pay(amount: Money): Result</text>+ <line x1="570.5" y1="104" x2="779.5" y2="104" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="582.5" y="124" class="t-primary cl-member" font-size="11" style="font-style: italic"><tspan class="t-muted">+</tspan> pay(amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: Result</tspan></text></g></g><g id="node-order" data-node-id="order" data-node-label="Order" tabindex="0" role="button" aria-label="Focus Order, Order identity, amount, and status, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Order identity, amount, and status" data-node-context="Class" data-class-kind="class"><title>Order · Order identity, amount, and status · Class</title>- <rect x="58" y="235" width="180" height="130" rx="6" class="c-mask"/>- <rect x="58" y="235" width="180" height="130" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 64 235 H 232 Q 238 235 238 241 V 269 H 58 V 241 Q 58 235 64 235 Z"/>+ <rect x="63" y="238" width="180" height="134" rx="6" class="c-mask"/>+ <rect x="63" y="238" width="180" height="134" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 69 238 H 237 Q 243 238 243 244 V 272 H 63 V 244 Q 63 238 69 238 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="78" cy="252" r="8" class="c-backend" stroke-width="1.25"/>- <text x="78" y="255.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="83" cy="255" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="83" y="258.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="148" y="257" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">Order</text>+ <text data-node-label="" x="153" y="260" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">Order</text><g data-detail="context" data-class-compartment="attributes">- <line x1="58" y1="269" x2="238" y2="269" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="attributes" x="70" y="288" class="t-primary cl-member" font-size="10.5">+ id: OrderId</text>- <text data-detail="context" data-class-member="attributes" x="70" y="307" class="t-primary cl-member" font-size="10.5">+ amount: Money</text>- <text data-detail="context" data-class-member="attributes" x="70" y="326" class="t-primary cl-member" font-size="10.5">+ status: OrderStatus</text>+ <line x1="63" y1="272" x2="243" y2="272" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="attributes" x="75" y="292" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> id<tspan class="t-muted">: OrderId</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="75" y="312" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> amount<tspan class="t-muted">: Money</tspan></text>+ <text data-detail="context" data-class-member="attributes" x="75" y="332" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> status<tspan class="t-muted">: OrderStatus</tspan></text></g><g data-detail="context" data-class-compartment="methods">- <line x1="58" y1="336" x2="238" y2="336" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="70" y="355" class="t-primary cl-member" font-size="10.5">+ markPaid(): void</text>+ <line x1="63" y1="342" x2="243" y2="342" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="75" y="362" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> markPaid()<tspan class="t-muted">: void</tspan></text></g></g><g id="node-card_gateway" data-node-id="card_gateway" data-node-label="CardGateway" tabindex="0" role="button" aria-label="Focus CardGateway, Charges a bank card, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Charges a bank card" data-node-context="Class" data-class-kind="class"><title>CardGateway · Charges a bank card · Class</title>- <rect x="392" y="268.5" width="201" height="63" rx="6" class="c-mask"/>- <rect x="392" y="268.5" width="201" height="63" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 398 268.5 H 587 Q 593 268.5 593 274.5 V 302.5 H 392 V 274.5 Q 392 268.5 398 268.5 Z"/>+ <rect x="402" y="273" width="209" height="64" rx="6" class="c-mask"/>+ <rect x="402" y="273" width="209" height="64" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 408 273 H 605 Q 611 273 611 279 V 307 H 402 V 279 Q 402 273 408 273 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="412" cy="285.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="412" y="289" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="422" cy="290" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="422" y="293.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="492.5" y="290.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">CardGateway</text>+ <text data-node-label="" x="506.5" y="295" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">CardGateway</text><g data-detail="context" data-class-compartment="methods">- <line x1="392" y1="302.5" x2="593" y2="302.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="404" y="321.5" class="t-primary cl-member" font-size="10.5">+ pay(amount: Money): Result</text>+ <line x1="402" y1="307" x2="611" y2="307" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="414" y="327" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> pay(amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: Result</tspan></text></g></g><g id="node-wallet_gateway" data-node-id="wallet_gateway" data-node-label="WalletGateway" tabindex="0" role="button" aria-label="Focus WalletGateway, Debits a stored wallet balance, Class" aria-pressed="false" data-node-kind="class" data-node-sublabel="Debits a stored wallet balance" data-node-context="Class" data-class-kind="class"><title>WalletGateway · Debits a stored wallet balance · Class</title>- <rect x="721" y="268.5" width="201" height="63" rx="6" class="c-mask"/>- <rect x="721" y="268.5" width="201" height="63" rx="6" class="c-backend cl-type" stroke-width="1.5"/>- <path class="cl-header c-backend" stroke="none" d="M 727 268.5 H 916 Q 922 268.5 922 274.5 V 302.5 H 721 V 274.5 Q 721 268.5 727 268.5 Z"/>+ <rect x="739" y="273" width="209" height="64" rx="6" class="c-mask"/>+ <rect x="739" y="273" width="209" height="64" rx="6" class="c-backend cl-type" stroke-width="1.5"/>+ <path class="cl-header c-backend" stroke="none" d="M 745 273 H 942 Q 948 273 948 279 V 307 H 739 V 279 Q 739 273 745 273 Z"/><g aria-hidden="true" class="cl-badge">- <circle cx="741" cy="285.5" r="8" class="c-backend" stroke-width="1.25"/>- <text x="741" y="289" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text>+ <circle cx="759" cy="290" r="8" class="c-backend" stroke-width="1.25"/>+ <text x="759" y="293.5" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">C</text></g>- <text data-node-label="" x="821.5" y="290.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">WalletGateway</text>+ <text data-node-label="" x="843.5" y="295" class="t-primary" font-size="13.5" font-weight="700" text-anchor="middle">WalletGateway</text><g data-detail="context" data-class-compartment="methods">- <line x1="721" y1="302.5" x2="922" y2="302.5" class="cl-rule" stroke-width="1"/>- <text data-detail="context" data-class-member="methods" x="733" y="321.5" class="t-primary cl-member" font-size="10.5">+ pay(amount: Money): Result</text>+ <line x1="739" y1="307" x2="948" y2="307" class="cl-rule" stroke-width="1"/>+ <text data-detail="context" data-class-member="methods" x="751" y="327" class="t-primary cl-member" font-size="11"><tspan class="t-muted">+</tspan> pay(amount<tspan class="t-muted">: Money</tspan>)<tspan class="t-muted">: Result</tspan></text></g></g><!-- Relationship labels --><g data-detail="context" data-edge-from="order_service" data-edge-to="payment_gateway" data-edge-label="pays through" data-edge-key="0" data-edge-id="uses_gateway" data-class-relationship="dependency">- <rect x="287.66" y="79.5" width="80.67999999999999" height="14" rx="3" class="c-mask"/>- <text x="328" y="89.5" class="t-muted" font-size="9.5" text-anchor="middle">pays through</text>+ <rect x="381.91" y="81" width="80.67999999999999" height="14" rx="3" class="c-mask"/>+ <text x="422.25" y="91" class="t-muted" font-size="9.5" text-anchor="middle">pays through</text></g><g data-detail="context" data-edge-from="order_service" data-edge-to="order" data-edge-label="creates" data-edge-key="1" data-edge-id="creates_order" data-class-relationship="dependency">- <rect x="154" y="187" width="51.23" height="14" rx="3" class="c-mask"/>- <text x="179.615" y="197" class="t-muted" font-size="9.5" text-anchor="middle">creates</text>+ <rect x="159" y="190" width="51.23" height="14" rx="3" class="c-mask"/>+ <text x="184.615" y="200" class="t-muted" font-size="9.5" text-anchor="middle">creates</text></g><!-- Legend --><g data-legend="">- <text x="24" y="387" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="407" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="392" width="116" height="22" rx="11"/><path d="M 26 403 L 56 403" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>- <text x="66" y="407" class="t-muted" font-size="12" font-weight="500">Depends on</text>+ <text x="24" y="394" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="dependency" data-legend-x="24" data-legend-baseline="414" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Depends on" x="18" y="399" width="116" height="22" rx="11"/><path d="M 26 410 L 56 410" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-open)"/>+ <text x="66" y="414" class="t-muted" font-size="12" font-weight="500">Depends on</text></g>- <g data-legend-semantic-kind="realization" data-legend-x="150" data-legend-baseline="407" data-legend-width="104">- <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="144" y="392" width="116" height="22" rx="11"/><path d="M 152 403 L 182 403" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>- <text x="192" y="407" class="t-muted" font-size="12" font-weight="500">Implements</text>+ <g data-legend-semantic-kind="realization" data-legend-x="150" data-legend-baseline="414" data-legend-width="104">+ <rect class="cl-legend-hit" tabindex="0" role="img" aria-label="Implements" x="144" y="399" width="116" height="22" rx="11"/><path d="M 152 410 L 182 410" class="a-default cl-relationship cl-dashed" stroke-width="1.5" marker-end="url(#cl-triangle)"/>+ <text x="192" y="414" class="t-muted" font-size="12" font-weight="500">Implements</text></g></g></svg>diff --git a/examples/timeline-archify-dev-activity-rendered.html b/examples/timeline-archify-dev-activity-rendered.htmlindex cbbede59..22bb5f1c 100644--- a/examples/timeline-archify-dev-activity-rendered.html+++ b/examples/timeline-archify-dev-activity-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1128 1040" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1580 924" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Archify dev branch activity, 28 Sep – 4 Oct 2026</title><desc id="archify-diagram-description">Observed from this repository's git history: tag creation dates and merge commit times on origin/dev.</desc><!-- Definitions -->@@ -5018,15 +5018,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<pattern id="tl-break-hatch" width="6" height="6" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><line x1="0" y1="0" x2="0" y2="6" class="tl-hatch" stroke-width="1"/></pattern></defs><style>- svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }- svg[data-timeline-ui] .tl-axis { stroke: var(--text-muted); }- svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .55; }- svg[data-timeline-ui] .tl-lane-alt { opacity: .3; }+ svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-timeline-ui] .tl-axis { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .75; }+ svg[data-timeline-ui] .tl-lane-alt { opacity: 0; }svg[data-timeline-ui] .tl-lane-line { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-stem { stroke: var(--text-muted); opacity: .7; }- svg[data-timeline-ui] .tl-break-band { opacity: .9; }+ svg[data-timeline-ui] .tl-stem { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-card { fill-opacity: .55; stroke-opacity: .5; }+ svg[data-timeline-ui] .tl-dot { stroke: var(--mask); }+ svg[data-timeline-ui] .tl-break-band { opacity: .55; }+ svg[data-timeline-ui] .tl-break-chip { fill: var(--mask); stroke: var(--lane-stroke); stroke-width: 1; }svg[data-timeline-ui] .tl-hatch { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-muted); }+ svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-accent-external { stroke: var(--external-stroke); }+ svg[data-timeline-ui] .tl-accent-frontend { stroke: var(--frontend-stroke); }+ svg[data-timeline-ui] .tl-accent-security { stroke: var(--security-stroke); }+ svg[data-timeline-ui] .tl-accent-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-timeline-ui] .tl-accent-backend { stroke: var(--backend-stroke); }svg[data-timeline-ui] .tl-tick, svg[data-timeline-ui] .tl-time { font-variant-numeric: tabular-nums; }</style>@@ -5034,276 +5042,320 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><g data-timeline-evidence="observed">- <rect x="28" y="12" width="112" height="20" rx="10" class="c-backend" stroke-width="1.2"/>- <text x="84" y="26" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">Observed events</text>+ <rect x="28" y="14" width="119" height="22" rx="11" class="c-backend" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-backend"/>+ <text x="92.5" y="29" class="t-backend" font-size="10.5" font-weight="700" text-anchor="middle">Observed events</text></g>- <text data-timeline-axis-caption="" x="152" y="26" class="t-muted" font-size="10.5">Time: Asia/Shanghai (UTC+08:00) · 5 quiet period(s) compressed (≈)</text>+ <text data-timeline-axis-caption="" x="161" y="29.5" class="t-muted" font-size="11.5">Time: Asia/Shanghai (UTC+08:00) · 5 quiet period(s) compressed (≈)</text><!-- Lanes --><g data-timeline-lane="release">- <rect x="140" y="104" width="960" height="138" rx="8" class="tl-lane"/>- <line x1="148" y1="126" x2="1092" y2="126" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="130" class="t-primary" font-size="12" font-weight="700">Releases</text>+ <rect x="20" y="112" width="1532" height="97" rx="10" class="tl-lane"/>+ <line x1="160" y1="136" x2="1544" y2="136" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="140.5" class="t-primary" font-size="13" font-weight="700">Releases</text></g><g data-timeline-lane="merge">- <rect x="140" y="252" width="960" height="564" rx="8" class="tl-lane tl-lane-alt"/>- <line x1="148" y1="274" x2="1092" y2="274" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="278" class="t-primary" font-size="12" font-weight="700">PR merges</text>+ <rect x="20" y="219" width="1532" height="521" rx="10" class="tl-lane tl-lane-alt"/>+ <line x1="160" y1="439" x2="1544" y2="439" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="443.5" class="t-primary" font-size="13" font-weight="700">PR merges</text></g><g data-timeline-lane="sync">- <rect x="140" y="826" width="960" height="152" rx="8" class="tl-lane"/>- <line x1="148" y1="848" x2="1092" y2="848" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="852" class="t-primary" font-size="12" font-weight="700">Branch syncs</text>+ <rect x="20" y="750" width="1532" height="112" rx="10" class="tl-lane"/>+ <line x1="160" y1="774" x2="1544" y2="774" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="778.5" class="t-primary" font-size="13" font-weight="700">Branch syncs</text></g><!-- Time axis (proportional within each segment; breaks are disclosed) -->- <line x1="218" y1="94" x2="218" y2="978" class="tl-grid" stroke-width="1"/>- <text x="218" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">09-28 19:13</text>- <line x1="484.26" y1="94" x2="484.26" y2="978" class="tl-grid" stroke-width="1"/>- <text x="484.26" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">09-30 00:00</text>- <line x1="611.7384632221506" y1="94" x2="611.7384632221506" y2="978" class="tl-grid" stroke-width="1"/>- <text x="611.7384632221506" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">09-30 14:36</text>- <line x1="769.1717961501514" y1="94" x2="769.1717961501514" y2="978" class="tl-grid" stroke-width="1"/>- <text x="769.1717961501514" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10-01 18:58</text>- <line x1="865.1717961501514" y1="94" x2="865.1717961501514" y2="978" class="tl-grid" stroke-width="1"/>- <text x="865.1717961501514" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10-02 20:49</text>- <line x1="1006.35" y1="94" x2="1006.35" y2="978" class="tl-grid" stroke-width="1"/>- <text x="1006.35" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10-04 12:00</text>- <line x1="148" y1="94" x2="280.61478409961455" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="353.61478409961455" y1="94" x2="506.73846322215064" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="597.7384632221506" y1="94" x2="670.1717961501514" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="755.1717961501514" y1="94" x2="783.1717961501514" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="851.1717961501514" y1="94" x2="894.7847684132447" y2="94" class="tl-axis" stroke-width="1.5"/>- <line x1="967.7847684132447" y1="94" x2="1092" y2="94" class="tl-axis" stroke-width="1.5"/>+ <line x1="292.28" y1="102" x2="292.28" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="292.28" y1="98" x2="292.28" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="292.28" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">09-28 21:00</text>+ <line x1="471.79" y1="102" x2="471.79" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="471.79" y1="98" x2="471.79" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="471.79" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">09-29 15:00</text>+ <line x1="563.32" y1="102" x2="563.32" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="563.32" y1="98" x2="563.32" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="563.32" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">18:00</text>+ <line x1="654.86" y1="102" x2="654.86" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="654.86" y1="98" x2="654.86" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="654.86" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">21:00</text>+ <line x1="746.39" y1="102" x2="746.39" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="746.39" y1="98" x2="746.39" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="746.39" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">09-30 00:00</text>+ <line x1="907.66" y1="102" x2="907.66" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="907.66" y1="98" x2="907.66" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="907.66" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">15:00</text>+ <line x1="999.2" y1="102" x2="999.2" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="999.2" y1="98" x2="999.2" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="999.2" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">18:00</text>+ <line x1="1111.9844595498375" y1="102" x2="1111.9844595498375" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="1111.9844595498375" y1="98" x2="1111.9844595498375" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1111.9844595498375" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10-01 18:58</text>+ <line x1="1220.1" y1="102" x2="1220.1" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="1220.1" y1="98" x2="1220.1" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1220.1" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10-02 21:00</text>+ <line x1="1426.18" y1="102" x2="1426.18" y2="862" class="tl-grid" stroke-width="1"/>+ <line x1="1426.18" y1="98" x2="1426.18" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1426.18" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10-04 12:00</text>+ <line x1="160" y1="102" x2="375.66607488113624" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="435.66607488113624" y1="102" x2="781.9551418461276" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="881.9551418461276" y1="102" x2="1022.9844595498377" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="1097.9844595498375" y1="102" x2="1125.9844595498375" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="1200.9844595498375" y1="102" x2="1268.7006700147135" y2="102" class="tl-axis" stroke-width="1"/>+ <line x1="1349.7006700147135" y1="102" x2="1544" y2="102" class="tl-axis" stroke-width="1"/><g data-timeline-break="" data-break-ms="54003000" aria-label="Axis break: 15 h 3 s without events omitted" role="img">- <rect x="286.61478409961455" y="94" width="61" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 285.61478409961455 87 L 291.61478409961455 92 L 285.61478409961455 96 L 291.61478409961455 101 M 342.61478409961455 87 L 348.61478409961455 92 L 342.61478409961455 96 L 348.61478409961455 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="317.11478409961455" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 15 h 3 s</text>+ <rect x="381.66607488113624" y="102" width="48" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 379.16607488113624 96 L 384.16607488113624 108 M 383.16607488113624 96 L 388.16607488113624 108 M 423.16607488113624 96 L 428.16607488113624 108 M 427.16607488113624 96 L 432.16607488113624 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="379.66607488113624" y="61" width="52" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="405.66607488113624" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 15 h</text></g><g data-timeline-break="" data-break-ms="50075000" aria-label="Axis break: 13 h 54 min without events omitted" role="img">- <rect x="512.7384632221506" y="94" width="79" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 511.7384632221506 87 L 517.7384632221506 92 L 511.7384632221506 96 L 517.7384632221506 101 M 586.7384632221506 87 L 592.7384632221506 92 L 586.7384632221506 96 L 592.7384632221506 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="552.2384632221506" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 13 h 54 min</text>+ <rect x="787.9551418461276" y="102" width="88" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 785.4551418461276 96 L 790.4551418461276 108 M 789.4551418461276 96 L 794.4551418461276 108 M 869.4551418461276 96 L 874.4551418461276 108 M 873.4551418461276 96 L 878.4551418461276 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="785.9551418461276" y="61" width="92" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="831.9551418461276" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 13 h 55 min</text></g><g data-timeline-break="" data-break-ms="88776000" aria-label="Axis break: 1 d 39 min without events omitted" role="img">- <rect x="676.1717961501514" y="94" width="73" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 675.1717961501514 87 L 681.1717961501514 92 L 675.1717961501514 96 L 681.1717961501514 101 M 744.1717961501514 87 L 750.1717961501514 92 L 744.1717961501514 96 L 750.1717961501514 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="712.6717961501514" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 1 d 39 min</text>+ <rect x="1028.9844595498375" y="102" width="63" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 1026.4844595498375 96 L 1031.4844595498375 108 M 1030.4844595498375 96 L 1035.4844595498375 108 M 1085.4844595498375 96 L 1090.4844595498375 108 M 1089.4844595498375 96 L 1094.4844595498375 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="1026.9844595498375" y="61" width="67" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="1060.4844595498375" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 1 d 1 h</text></g><g data-timeline-break="" data-break-ms="93066000" aria-label="Axis break: 1 d 1 h without events omitted" role="img">- <rect x="789.1717961501514" y="94" width="56" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 788.1717961501514 87 L 794.1717961501514 92 L 788.1717961501514 96 L 794.1717961501514 101 M 840.1717961501514 87 L 846.1717961501514 92 L 840.1717961501514 96 L 846.1717961501514 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="817.1717961501514" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 1 d 1 h</text>+ <rect x="1131.9844595498375" y="102" width="63" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 1129.4844595498375 96 L 1134.4844595498375 108 M 1133.4844595498375 96 L 1138.4844595498375 108 M 1188.4844595498375 96 L 1193.4844595498375 108 M 1192.4844595498375 96 L 1197.4844595498375 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="1129.9844595498375" y="61" width="67" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="1163.4844595498375" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 1 d 2 h</text></g><g data-timeline-break="" data-break-ms="128945000" aria-label="Axis break: 1 d 11 h without events omitted" role="img">- <rect x="900.7847684132447" y="94" width="61" height="884" fill="url(#tl-break-hatch)" class="tl-break-band"/>- <path d="M 899.7847684132447 87 L 905.7847684132447 92 L 899.7847684132447 96 L 905.7847684132447 101 M 956.7847684132447 87 L 962.7847684132447 92 L 956.7847684132447 96 L 962.7847684132447 101" class="tl-break-zig" stroke-width="1.4" fill="none"/>- <text x="931.2847684132447" y="70" class="t-primary" font-size="9.5" font-weight="700" text-anchor="middle">≈ 1 d 11 h</text>+ <rect x="1274.7006700147135" y="102" width="69" height="760" fill="url(#tl-break-hatch)" class="tl-break-band"/>+ <path d="M 1272.2006700147135 96 L 1277.2006700147135 108 M 1276.2006700147135 96 L 1281.2006700147135 108 M 1337.2006700147135 96 L 1342.2006700147135 108 M 1341.2006700147135 96 L 1346.2006700147135 108" class="tl-break-zig" stroke-width="1.3" stroke-linecap="round" fill="none"/>+ <rect x="1272.7006700147135" y="61" width="73" height="17" rx="8.5" class="tl-break-chip"/>+ <text x="1309.2006700147135" y="73" class="t-muted" font-size="10" font-weight="700" text-anchor="middle">≈ 1 d 12 h</text></g><!-- Stems sit behind every card, so a stacked card is never crossed byanother event's connector -->- <line data-detail="context" data-timeline-stem="v3_0_0" x1="218" y1="126" x2="218" y2="140" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="v3_0_1" x1="266.61" y1="126" x2="266.61" y2="190" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr627" x1="367.61" y1="274" x2="367.61" y2="288" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr628" x1="367.83" y1="274" x2="367.83" y2="352" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr629" x1="370.11" y1="274" x2="370.11" y2="416" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr635" x1="487.39" y1="274" x2="487.39" y2="480" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr636" x1="488.99" y1="274" x2="488.99" y2="544" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr634" x1="489.05" y1="274" x2="489.05" y2="622" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr637" x1="492.74" y1="274" x2="492.74" y2="686" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="sync_main" x1="611.74" y1="848" x2="611.74" y2="862" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr615" x1="656.17" y1="274" x2="656.17" y2="288" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="sync_upstream" x1="769.17" y1="848" x2="769.17" y2="912" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr655" x1="865.17" y1="274" x2="865.17" y2="288" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr587" x1="869.95" y1="274" x2="869.95" y2="352" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr399" x1="874.53" y1="274" x2="874.53" y2="416" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr632" x1="880.78" y1="274" x2="880.78" y2="480" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr672" x1="981.78" y1="274" x2="981.78" y2="544" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr677" x1="985.34" y1="274" x2="985.34" y2="622" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr674" x1="985.76" y1="274" x2="985.76" y2="686" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="pr668" x1="1022" y1="274" x2="1022" y2="750" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="v3_0_0" x1="238" y1="136" x2="238" y2="152" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="v3_0_1" x1="361.67" y1="136" x2="361.67" y2="152" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr627" x1="449.67" y1="439" x2="449.67" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr628" x1="450.22" y1="439" x2="450.22" y2="423" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr629" x1="456.01" y1="439" x2="456.01" y2="521" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr635" x1="754.36" y1="439" x2="754.36" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr636" x1="758.41" y1="439" x2="758.41" y2="423" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr634" x1="758.57" y1="439" x2="758.57" y2="521" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr637" x1="767.96" y1="439" x2="767.96" y2="357" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="sync_main" x1="895.96" y1="774" x2="895.96" y2="790" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr615" x1="1008.98" y1="439" x2="1008.98" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="sync_upstream" x1="1111.98" y1="774" x2="1111.98" y2="790" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr655" x1="1214.98" y1="439" x2="1214.98" y2="423" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr587" x1="1227.14" y1="439" x2="1227.14" y2="455" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr399" x1="1238.79" y1="439" x2="1238.79" y2="521" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr632" x1="1254.7" y1="439" x2="1254.7" y2="357" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr672" x1="1363.7" y1="439" x2="1363.7" y2="587" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr677" x1="1372.74" y1="439" x2="1372.74" y2="291" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr674" x1="1373.81" y1="439" x2="1373.81" y2="668" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="pr668" x1="1466" y1="439" x2="1466" y2="455" class="tl-stem" stroke-width="1"/><!-- Events in time order -->- <g id="node-v3_0_0" data-node-id="v3_0_0" data-node-label="Tag v3.0.0" tabindex="0" role="button" aria-label="Focus Tag v3.0.0, git tag v3.0.0, Releases › 09-28 19:13:16 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.0" data-node-context="Releases › 09-28 19:13:16 UTC+08:00" data-timeline-at="2026-09-28T19:13:16+08:00" data-timeline-ms="1790593996000" data-timeline-x="218">+ <g id="node-v3_0_0" data-node-id="v3_0_0" data-node-label="Tag v3.0.0" tabindex="0" role="button" aria-label="Focus Tag v3.0.0, git tag v3.0.0, Releases › 09-28 19:13:16 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.0" data-node-context="Releases › 09-28 19:13:16 UTC+08:00" data-timeline-at="2026-09-28T19:13:16+08:00" data-timeline-ms="1790593996000" data-timeline-x="238"><title>Tag v3.0.0 · git tag v3.0.0 · Releases › 09-28 19:13:16 UTC+08:00</title>- <rect x="167" y="140" width="102" height="40" rx="6" class="c-mask"/>- <rect x="167" y="140" width="102" height="40" rx="6" class="c-frontend" stroke-width="1.3"/>- <text x="176" y="158" class="t-muted tl-time" font-size="10" font-weight="600">09-28 19:13:16</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="176" y="172">Tag v3.0.0</tspan></text>- <circle cx="218" cy="126" r="5.5" class="c-frontend tl-dot" stroke-width="2"/>+ <rect x="181.5" y="152" width="113" height="43" rx="7" class="c-mask"/>+ <rect x="181.5" y="152" width="113" height="43" rx="7" class="c-frontend tl-card" stroke-width="1"/>+ <line x1="187.5" y1="159" x2="187.5" y2="188" class="tl-accent tl-accent-frontend" stroke-width="3" stroke-linecap="round"/>+ <text x="195.5" y="171" class="t-muted tl-time" font-size="10.5" font-weight="600">09-28 19:13:16</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="195.5" y="188">Tag v3.0.0</tspan></text>+ <circle cx="238" cy="136" r="5" class="t-frontend tl-dot" stroke-width="2.5"/></g>- <g id="node-v3_0_1" data-node-id="v3_0_1" data-node-label="Tag v3.0.1" tabindex="0" role="button" aria-label="Focus Tag v3.0.1, git tag v3.0.1, Releases › 09-28 23:16:27 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.1" data-node-context="Releases › 09-28 23:16:27 UTC+08:00" data-timeline-at="2026-09-28T23:16:27+08:00" data-timeline-ms="1790608587000" data-timeline-x="266.61">+ <g id="node-v3_0_1" data-node-id="v3_0_1" data-node-label="Tag v3.0.1" tabindex="0" role="button" aria-label="Focus Tag v3.0.1, git tag v3.0.1, Releases › 09-28 23:16:27 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="git tag v3.0.1" data-node-context="Releases › 09-28 23:16:27 UTC+08:00" data-timeline-at="2026-09-28T23:16:27+08:00" data-timeline-ms="1790608587000" data-timeline-x="361.67"><title>Tag v3.0.1 · git tag v3.0.1 · Releases › 09-28 23:16:27 UTC+08:00</title>- <rect x="215.61" y="190" width="102" height="40" rx="6" class="c-mask"/>- <rect x="215.61" y="190" width="102" height="40" rx="6" class="c-frontend" stroke-width="1.3"/>- <text x="224.61" y="208" class="t-muted tl-time" font-size="10" font-weight="600">09-28 23:16:27</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="224.61" y="222">Tag v3.0.1</tspan></text>- <circle cx="266.61" cy="126" r="5.5" class="c-frontend tl-dot" stroke-width="2"/>+ <rect x="305.17" y="152" width="113" height="43" rx="7" class="c-mask"/>+ <rect x="305.17" y="152" width="113" height="43" rx="7" class="c-frontend tl-card" stroke-width="1"/>+ <line x1="311.17" y1="159" x2="311.17" y2="188" class="tl-accent tl-accent-frontend" stroke-width="3" stroke-linecap="round"/>+ <text x="319.17" y="171" class="t-muted tl-time" font-size="10.5" font-weight="600">09-28 23:16:27</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="319.17" y="188">Tag v3.0.1</tspan></text>+ <circle cx="361.67" cy="136" r="5" class="t-frontend tl-dot" stroke-width="2.5"/></g>- <g id="node-pr627" data-node-id="pr627" data-node-label="Merge #627 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #627 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:16:30 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:16:30 UTC+08:00" data-timeline-at="2026-09-29T14:16:30+08:00" data-timeline-ms="1790662590000" data-timeline-x="367.61">+ <g id="node-pr627" data-node-id="pr627" data-node-label="Merge #627 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #627 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:16:30 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:16:30 UTC+08:00" data-timeline-at="2026-09-29T14:16:30+08:00" data-timeline-ms="1790662590000" data-timeline-x="449.67"><title>Merge #627 restore Kimi poster · Merge commit on dev · PR merges › 09-29 14:16:30 UTC+08:00</title>- <rect x="272.61" y="288" width="190" height="54" rx="6" class="c-mask"/>- <rect x="272.61" y="288" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="281.61" y="306" class="t-muted tl-time" font-size="10" font-weight="600">09-29 14:16:30</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="281.61" y="320">Merge #627 restore Kimi</tspan><tspan x="281.61" y="334">poster</tspan></text>- <circle cx="367.61" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="349.67" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="349.67" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="355.67" y1="462" x2="355.67" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="363.67" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">09-29 14:16:30</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="363.67" y="491">Merge #627 restore</tspan><tspan x="363.67" y="506">Kimi poster</tspan></text>+ <circle cx="449.67" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr628" data-node-id="pr628" data-node-label="Merge #628 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #628 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:17:35 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:17:35 UTC+08:00" data-timeline-at="2026-09-29T14:17:35+08:00" data-timeline-ms="1790662655000" data-timeline-x="367.83">+ <g id="node-pr628" data-node-id="pr628" data-node-label="Merge #628 restore Kimi poster" tabindex="0" role="button" aria-label="Focus Merge #628 restore Kimi poster, Merge commit on dev, PR merges › 09-29 14:17:35 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:17:35 UTC+08:00" data-timeline-at="2026-09-29T14:17:35+08:00" data-timeline-ms="1790662655000" data-timeline-x="450.22"><title>Merge #628 restore Kimi poster · Merge commit on dev · PR merges › 09-29 14:17:35 UTC+08:00</title>- <rect x="272.83" y="352" width="190" height="54" rx="6" class="c-mask"/>- <rect x="272.83" y="352" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="281.83" y="370" class="t-muted tl-time" font-size="10" font-weight="600">09-29 14:17:35</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="281.83" y="384">Merge #628 restore Kimi</tspan><tspan x="281.83" y="398">poster</tspan></text>- <circle cx="367.83" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="350.22" y="365" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="350.22" y="365" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="356.22" y1="372" x2="356.22" y2="416" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="364.22" y="384" class="t-muted tl-time" font-size="10.5" font-weight="600">09-29 14:17:35</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="364.22" y="401">Merge #628 restore</tspan><tspan x="364.22" y="416">Kimi poster</tspan></text>+ <circle cx="450.22" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr629" data-node-id="pr629" data-node-label="Merge #629 README sponsor name" tabindex="0" role="button" aria-label="Focus Merge #629 README sponsor name, Merge commit on dev, PR merges › 09-29 14:28:59 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:28:59 UTC+08:00" data-timeline-at="2026-09-29T14:28:59+08:00" data-timeline-ms="1790663339000" data-timeline-x="370.11">+ <g id="node-pr629" data-node-id="pr629" data-node-label="Merge #629 README sponsor name" tabindex="0" role="button" aria-label="Focus Merge #629 README sponsor name, Merge commit on dev, PR merges › 09-29 14:28:59 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-29 14:28:59 UTC+08:00" data-timeline-at="2026-09-29T14:28:59+08:00" data-timeline-ms="1790663339000" data-timeline-x="456.01"><title>Merge #629 README sponsor name · Merge commit on dev · PR merges › 09-29 14:28:59 UTC+08:00</title>- <rect x="275.11" y="416" width="190" height="54" rx="6" class="c-mask"/>- <rect x="275.11" y="416" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="284.11" y="434" class="t-muted tl-time" font-size="10" font-weight="600">09-29 14:28:59</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="284.11" y="448">Merge #629 README</tspan><tspan x="284.11" y="462">sponsor name</tspan></text>- <circle cx="370.11" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="356.01" y="521" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="356.01" y="521" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="362.01" y1="528" x2="362.01" y2="572" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="370.01" y="540" class="t-muted tl-time" font-size="10.5" font-weight="600">09-29 14:28:59</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="370.01" y="557">Merge #629 README</tspan><tspan x="370.01" y="572">sponsor name</tspan></text>+ <circle cx="456.01" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr635" data-node-id="pr635" data-node-label="Merge #635 README launch v4" tabindex="0" role="button" aria-label="Focus Merge #635 README launch v4, Merge commit on dev, PR merges › 09-30 00:15:40 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:15:40 UTC+08:00" data-timeline-at="2026-09-30T00:15:40+08:00" data-timeline-ms="1790698540000" data-timeline-x="487.39">+ <g id="node-pr635" data-node-id="pr635" data-node-label="Merge #635 README launch v4" tabindex="0" role="button" aria-label="Focus Merge #635 README launch v4, Merge commit on dev, PR merges › 09-30 00:15:40 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:15:40 UTC+08:00" data-timeline-at="2026-09-30T00:15:40+08:00" data-timeline-ms="1790698540000" data-timeline-x="754.36"><title>Merge #635 README launch v4 · Merge commit on dev · PR merges › 09-30 00:15:40 UTC+08:00</title>- <rect x="392.39" y="480" width="190" height="54" rx="6" class="c-mask"/>- <rect x="392.39" y="480" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="401.39" y="498" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:15:40</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="401.39" y="512">Merge #635 README</tspan><tspan x="401.39" y="526">launch v4</tspan></text>- <circle cx="487.39" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="654.36" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="654.36" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="660.36" y1="462" x2="660.36" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="668.36" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:15:40</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="668.36" y="491">Merge #635 README</tspan><tspan x="668.36" y="506">launch v4</tspan></text>+ <circle cx="754.36" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr636" data-node-id="pr636" data-node-label="Merge #636 README support section" tabindex="0" role="button" aria-label="Focus Merge #636 README support section, Merge commit on dev, PR merges › 09-30 00:23:38 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:38 UTC+08:00" data-timeline-at="2026-09-30T00:23:38+08:00" data-timeline-ms="1790699018000" data-timeline-x="488.99">+ <g id="node-pr636" data-node-id="pr636" data-node-label="Merge #636 README support section" tabindex="0" role="button" aria-label="Focus Merge #636 README support section, Merge commit on dev, PR merges › 09-30 00:23:38 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:38 UTC+08:00" data-timeline-at="2026-09-30T00:23:38+08:00" data-timeline-ms="1790699018000" data-timeline-x="758.41"><title>Merge #636 README support section · Merge commit on dev · PR merges › 09-30 00:23:38 UTC+08:00</title>- <rect x="393.99" y="544" width="190" height="54" rx="6" class="c-mask"/>- <rect x="393.99" y="544" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="402.99" y="562" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:23:38</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="402.99" y="576">Merge #636 README</tspan><tspan x="402.99" y="590">support section</tspan></text>- <circle cx="488.99" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="658.41" y="365" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="658.41" y="365" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="664.41" y1="372" x2="664.41" y2="416" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="672.41" y="384" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:23:38</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="672.41" y="401">Merge #636 README</tspan><tspan x="672.41" y="416">support section</tspan></text>+ <circle cx="758.41" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr634" data-node-id="pr634" data-node-label="Merge #634 repair-rounds bench" tabindex="0" role="button" aria-label="Focus Merge #634 repair-rounds bench, Merge commit on dev, PR merges › 09-30 00:23:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:57 UTC+08:00" data-timeline-at="2026-09-30T00:23:57+08:00" data-timeline-ms="1790699037000" data-timeline-x="489.05">+ <g id="node-pr634" data-node-id="pr634" data-node-label="Merge #634 repair-rounds bench" tabindex="0" role="button" aria-label="Focus Merge #634 repair-rounds bench, Merge commit on dev, PR merges › 09-30 00:23:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:23:57 UTC+08:00" data-timeline-at="2026-09-30T00:23:57+08:00" data-timeline-ms="1790699037000" data-timeline-x="758.57"><title>Merge #634 repair-rounds bench · Merge commit on dev · PR merges › 09-30 00:23:57 UTC+08:00</title>- <rect x="394.05" y="622" width="190" height="54" rx="6" class="c-mask"/>- <rect x="394.05" y="622" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="403.05" y="640" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:23:57</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="403.05" y="654">Merge #634</tspan><tspan x="403.05" y="668">repair-rounds bench</tspan></text>- <circle cx="489.05" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="658.57" y="521" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="658.57" y="521" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="664.57" y1="528" x2="664.57" y2="572" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="672.57" y="540" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:23:57</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="672.57" y="557">Merge #634</tspan><tspan x="672.57" y="572">repair-rounds bench</tspan></text>+ <circle cx="758.57" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr637" data-node-id="pr637" data-node-label="Merge #637 README Alipay support" tabindex="0" role="button" aria-label="Focus Merge #637 README Alipay support, Merge commit on dev, PR merges › 09-30 00:42:24 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:42:24 UTC+08:00" data-timeline-at="2026-09-30T00:42:24+08:00" data-timeline-ms="1790700144000" data-timeline-x="492.74">+ <g id="node-pr637" data-node-id="pr637" data-node-label="Merge #637 README Alipay support" tabindex="0" role="button" aria-label="Focus Merge #637 README Alipay support, Merge commit on dev, PR merges › 09-30 00:42:24 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 00:42:24 UTC+08:00" data-timeline-at="2026-09-30T00:42:24+08:00" data-timeline-ms="1790700144000" data-timeline-x="767.96"><title>Merge #637 README Alipay support · Merge commit on dev · PR merges › 09-30 00:42:24 UTC+08:00</title>- <rect x="397.74" y="686" width="190" height="54" rx="6" class="c-mask"/>- <rect x="397.74" y="686" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="406.74" y="704" class="t-muted tl-time" font-size="10" font-weight="600">09-30 00:42:24</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="406.74" y="718">Merge #637 README</tspan><tspan x="406.74" y="732">Alipay support</tspan></text>- <circle cx="492.74" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="667.96" y="299" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="667.96" y="299" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="673.96" y1="306" x2="673.96" y2="350" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="681.96" y="318" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 00:42:24</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="681.96" y="335">Merge #637 README</tspan><tspan x="681.96" y="350">Alipay support</tspan></text>+ <circle cx="767.96" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-sync_main" data-node-id="sync_main" data-node-label="Merge main into dev" tabindex="0" role="button" aria-label="Focus Merge main into dev, Merge commit on dev, Branch syncs › 09-30 14:36:59 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 09-30 14:36:59 UTC+08:00" data-timeline-at="2026-09-30T14:36:59+08:00" data-timeline-ms="1790750219000" data-timeline-x="611.74">+ <g id="node-sync_main" data-node-id="sync_main" data-node-label="Merge main into dev" tabindex="0" role="button" aria-label="Focus Merge main into dev, Merge commit on dev, Branch syncs › 09-30 14:36:59 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 09-30 14:36:59 UTC+08:00" data-timeline-at="2026-09-30T14:36:59+08:00" data-timeline-ms="1790750219000" data-timeline-x="895.96"><title>Merge main into dev · Merge commit on dev · Branch syncs › 09-30 14:36:59 UTC+08:00</title>- <rect x="533.74" y="862" width="156" height="40" rx="6" class="c-mask"/>- <rect x="533.74" y="862" width="156" height="40" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="542.74" y="880" class="t-muted tl-time" font-size="10" font-weight="600">09-30 14:36:59</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="542.74" y="894">Merge main into dev</tspan></text>- <circle cx="611.74" cy="848" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="808.96" y="790" width="174" height="43" rx="7" class="c-mask"/>+ <rect x="808.96" y="790" width="174" height="43" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="814.96" y1="797" x2="814.96" y2="826" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="822.96" y="809" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 14:36:59</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="822.96" y="826">Merge main into dev</tspan></text>+ <circle cx="895.96" cy="774" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g>- <g id="node-pr615" data-node-id="pr615" data-node-label="Merge #615 stable manifest v3.0.1" tabindex="0" role="button" aria-label="Focus Merge #615 stable manifest v3.0.1, Merge commit on dev, PR merges › 09-30 18:19:15 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 18:19:15 UTC+08:00" data-timeline-at="2026-09-30T18:19:15+08:00" data-timeline-ms="1790763555000" data-timeline-x="656.17">+ <g id="node-pr615" data-node-id="pr615" data-node-label="Merge #615 stable manifest v3.0.1" tabindex="0" role="button" aria-label="Focus Merge #615 stable manifest v3.0.1, Merge commit on dev, PR merges › 09-30 18:19:15 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 09-30 18:19:15 UTC+08:00" data-timeline-at="2026-09-30T18:19:15+08:00" data-timeline-ms="1790763555000" data-timeline-x="1008.98"><title>Merge #615 stable manifest v3.0.1 · Merge commit on dev · PR merges › 09-30 18:19:15 UTC+08:00</title>- <rect x="561.17" y="288" width="190" height="54" rx="6" class="c-mask"/>- <rect x="561.17" y="288" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="570.17" y="306" class="t-muted tl-time" font-size="10" font-weight="600">09-30 18:19:15</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="570.17" y="320">Merge #615 stable</tspan><tspan x="570.17" y="334">manifest v3.0.1</tspan></text>- <circle cx="656.17" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="908.98" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="908.98" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="914.98" y1="462" x2="914.98" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="922.98" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">09-30 18:19:15</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="922.98" y="491">Merge #615 stable</tspan><tspan x="922.98" y="506">manifest v3.0.1</tspan></text>+ <circle cx="1008.98" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-sync_upstream" data-node-id="sync_upstream" data-node-label="Merge upstream dev and regenerate artifacts" tabindex="0" role="button" aria-label="Focus Merge upstream dev and regenerate artifacts, Merge commit on dev, Branch syncs › 10-01 18:58:51 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 10-01 18:58:51 UTC+08:00" data-timeline-at="2026-10-01T16:28:51+05:30" data-timeline-ms="1790852331000" data-timeline-x="769.17">+ <g id="node-sync_upstream" data-node-id="sync_upstream" data-node-label="Merge upstream dev and regenerate artifacts" tabindex="0" role="button" aria-label="Focus Merge upstream dev and regenerate artifacts, Merge commit on dev, Branch syncs › 10-01 18:58:51 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Merge commit on dev" data-node-context="Branch syncs › 10-01 18:58:51 UTC+08:00" data-timeline-at="2026-10-01T16:28:51+05:30" data-timeline-ms="1790852331000" data-timeline-x="1111.98"><title>Merge upstream dev and regenerate artifacts · Merge commit on dev · Branch syncs › 10-01 18:58:51 UTC+08:00</title>- <rect x="674.17" y="912" width="190" height="54" rx="6" class="c-mask"/>- <rect x="674.17" y="912" width="190" height="54" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="683.17" y="930" class="t-muted tl-time" font-size="10" font-weight="600">10-01 18:58:51</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="683.17" y="944">Merge upstream dev and</tspan><tspan x="683.17" y="958">regenerate artifacts</tspan></text>- <circle cx="769.17" cy="848" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="1011.98" y="790" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1011.98" y="790" width="200" height="58" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="1017.98" y1="797" x2="1017.98" y2="841" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="1025.98" y="809" class="t-muted tl-time" font-size="10.5" font-weight="600">10-01 18:58:51</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1025.98" y="826">Merge upstream dev and</tspan><tspan x="1025.98" y="841">regenerate artifacts</tspan></text>+ <circle cx="1111.98" cy="774" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g>- <g id="node-pr655" data-node-id="pr655" data-node-label="Merge #655 locale catalogs" tabindex="0" role="button" aria-label="Focus Merge #655 locale catalogs, Merge commit on dev, PR merges › 10-02 20:49:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 20:49:57 UTC+08:00" data-timeline-at="2026-10-02T20:49:57+08:00" data-timeline-ms="1790945397000" data-timeline-x="865.17">+ <g id="node-pr655" data-node-id="pr655" data-node-label="Merge #655 locale catalogs" tabindex="0" role="button" aria-label="Focus Merge #655 locale catalogs, Merge commit on dev, PR merges › 10-02 20:49:57 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 20:49:57 UTC+08:00" data-timeline-at="2026-10-02T20:49:57+08:00" data-timeline-ms="1790945397000" data-timeline-x="1214.98"><title>Merge #655 locale catalogs · Merge commit on dev · PR merges › 10-02 20:49:57 UTC+08:00</title>- <rect x="770.17" y="288" width="190" height="54" rx="6" class="c-mask"/>- <rect x="770.17" y="288" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="779.17" y="306" class="t-muted tl-time" font-size="10" font-weight="600">10-02 20:49:57</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="779.17" y="320">Merge #655 locale</tspan><tspan x="779.17" y="334">catalogs</tspan></text>- <circle cx="865.17" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1114.98" y="365" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1114.98" y="365" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1120.98" y1="372" x2="1120.98" y2="416" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1128.98" y="384" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 20:49:57</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1128.98" y="401">Merge #655 locale</tspan><tspan x="1128.98" y="416">catalogs</tspan></text>+ <circle cx="1214.98" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr587" data-node-id="pr587" data-node-label="Merge #587 brand ICO bounds" tabindex="0" role="button" aria-label="Focus Merge #587 brand ICO bounds, Merge commit on dev, PR merges › 10-02 21:13:51 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:13:51 UTC+08:00" data-timeline-at="2026-10-02T21:13:51+08:00" data-timeline-ms="1790946831000" data-timeline-x="869.95">+ <g id="node-pr587" data-node-id="pr587" data-node-label="Merge #587 brand ICO bounds" tabindex="0" role="button" aria-label="Focus Merge #587 brand ICO bounds, Merge commit on dev, PR merges › 10-02 21:13:51 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:13:51 UTC+08:00" data-timeline-at="2026-10-02T21:13:51+08:00" data-timeline-ms="1790946831000" data-timeline-x="1227.14"><title>Merge #587 brand ICO bounds · Merge commit on dev · PR merges › 10-02 21:13:51 UTC+08:00</title>- <rect x="774.95" y="352" width="190" height="54" rx="6" class="c-mask"/>- <rect x="774.95" y="352" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="783.95" y="370" class="t-muted tl-time" font-size="10" font-weight="600">10-02 21:13:51</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="783.95" y="384">Merge #587 brand ICO</tspan><tspan x="783.95" y="398">bounds</tspan></text>- <circle cx="869.95" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1127.14" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1127.14" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1133.14" y1="462" x2="1133.14" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1141.14" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 21:13:51</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1141.14" y="491">Merge #587 brand ICO</tspan><tspan x="1141.14" y="506">bounds</tspan></text>+ <circle cx="1227.14" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr399" data-node-id="pr399" data-node-label="Merge #399 ERD diagrams" tabindex="0" role="button" aria-label="Focus Merge #399 ERD diagrams, Merge commit on dev, PR merges › 10-02 21:36:46 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:36:46 UTC+08:00" data-timeline-at="2026-10-02T21:36:46+08:00" data-timeline-ms="1790948206000" data-timeline-x="874.53">+ <g id="node-pr399" data-node-id="pr399" data-node-label="Merge #399 ERD diagrams" tabindex="0" role="button" aria-label="Focus Merge #399 ERD diagrams, Merge commit on dev, PR merges › 10-02 21:36:46 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 21:36:46 UTC+08:00" data-timeline-at="2026-10-02T21:36:46+08:00" data-timeline-ms="1790948206000" data-timeline-x="1238.79"><title>Merge #399 ERD diagrams · Merge commit on dev · PR merges › 10-02 21:36:46 UTC+08:00</title>- <rect x="782.03" y="416" width="185" height="40" rx="6" class="c-mask"/>- <rect x="782.03" y="416" width="185" height="40" rx="6" class="c-backend" stroke-width="1.3"/>- <text x="791.03" y="434" class="t-muted tl-time" font-size="10" font-weight="600">10-02 21:36:46</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="791.03" y="448">Merge #399 ERD diagrams</tspan></text>- <circle cx="874.53" cy="274" r="5.5" class="c-backend tl-dot" stroke-width="2"/>+ <rect x="1138.79" y="521" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1138.79" y="521" width="200" height="58" rx="7" class="c-backend tl-card" stroke-width="1"/>+ <line x1="1144.79" y1="528" x2="1144.79" y2="572" class="tl-accent tl-accent-backend" stroke-width="3" stroke-linecap="round"/>+ <text x="1152.79" y="540" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 21:36:46</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1152.79" y="557">Merge #399 ERD</tspan><tspan x="1152.79" y="572">diagrams</tspan></text>+ <circle cx="1238.79" cy="439" r="5" class="t-backend tl-dot" stroke-width="2.5"/></g>- <g id="node-pr632" data-node-id="pr632" data-node-label="Merge #632 card note overflow" tabindex="0" role="button" aria-label="Focus Merge #632 card note overflow, Merge commit on dev, PR merges › 10-02 22:08:03 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 22:08:03 UTC+08:00" data-timeline-at="2026-10-02T22:08:03+08:00" data-timeline-ms="1790950083000" data-timeline-x="880.78">+ <g id="node-pr632" data-node-id="pr632" data-node-label="Merge #632 card note overflow" tabindex="0" role="button" aria-label="Focus Merge #632 card note overflow, Merge commit on dev, PR merges › 10-02 22:08:03 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-02 22:08:03 UTC+08:00" data-timeline-at="2026-10-02T22:08:03+08:00" data-timeline-ms="1790950083000" data-timeline-x="1254.7"><title>Merge #632 card note overflow · Merge commit on dev · PR merges › 10-02 22:08:03 UTC+08:00</title>- <rect x="785.78" y="480" width="190" height="54" rx="6" class="c-mask"/>- <rect x="785.78" y="480" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="794.78" y="498" class="t-muted tl-time" font-size="10" font-weight="600">10-02 22:08:03</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="794.78" y="512">Merge #632 card note</tspan><tspan x="794.78" y="526">overflow</tspan></text>- <circle cx="880.78" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1154.7" y="299" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1154.7" y="299" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1160.7" y1="306" x2="1160.7" y2="350" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1168.7" y="318" class="t-muted tl-time" font-size="10.5" font-weight="600">10-02 22:08:03</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1168.7" y="335">Merge #632 card note</tspan><tspan x="1168.7" y="350">overflow</tspan></text>+ <circle cx="1254.7" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr672" data-node-id="pr672" data-node-label="Merge #672 repair-rounds blind spots" tabindex="0" role="button" aria-label="Focus Merge #672 repair-rounds blind spots, Merge commit on dev, PR merges › 10-04 09:57:08 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 09:57:08 UTC+08:00" data-timeline-at="2026-10-04T09:57:08+08:00" data-timeline-ms="1791079028000" data-timeline-x="981.78">+ <g id="node-pr672" data-node-id="pr672" data-node-label="Merge #672 repair-rounds blind spots" tabindex="0" role="button" aria-label="Focus Merge #672 repair-rounds blind spots, Merge commit on dev, PR merges › 10-04 09:57:08 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 09:57:08 UTC+08:00" data-timeline-at="2026-10-04T09:57:08+08:00" data-timeline-ms="1791079028000" data-timeline-x="1363.7"><title>Merge #672 repair-rounds blind spots · Merge commit on dev · PR merges › 10-04 09:57:08 UTC+08:00</title>- <rect x="886.78" y="544" width="190" height="68" rx="6" class="c-mask"/>- <rect x="886.78" y="544" width="190" height="68" rx="6" class="c-external" stroke-width="1.3"/>- <text x="895.78" y="562" class="t-muted tl-time" font-size="10" font-weight="600">10-04 09:57:08</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="895.78" y="576">Merge #672</tspan><tspan x="895.78" y="590">repair-rounds blind</tspan><tspan x="895.78" y="604">spots</tspan></text>- <circle cx="981.78" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1263.7" y="587" width="200" height="73" rx="7" class="c-mask"/>+ <rect x="1263.7" y="587" width="200" height="73" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1269.7" y1="594" x2="1269.7" y2="653" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1277.7" y="606" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 09:57:08</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1277.7" y="623">Merge #672</tspan><tspan x="1277.7" y="638">repair-rounds blind</tspan><tspan x="1277.7" y="653">spots</tspan></text>+ <circle cx="1363.7" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr677" data-node-id="pr677" data-node-label="Merge #677 release subscriptions" tabindex="0" role="button" aria-label="Focus Merge #677 release subscriptions, Merge commit on dev, PR merges › 10-04 10:14:55 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:14:55 UTC+08:00" data-timeline-at="2026-10-04T10:14:55+08:00" data-timeline-ms="1791080095000" data-timeline-x="985.34">+ <g id="node-pr677" data-node-id="pr677" data-node-label="Merge #677 release subscriptions" tabindex="0" role="button" aria-label="Focus Merge #677 release subscriptions, Merge commit on dev, PR merges › 10-04 10:14:55 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:14:55 UTC+08:00" data-timeline-at="2026-10-04T10:14:55+08:00" data-timeline-ms="1791080095000" data-timeline-x="1372.74"><title>Merge #677 release subscriptions · Merge commit on dev · PR merges › 10-04 10:14:55 UTC+08:00</title>- <rect x="890.34" y="622" width="190" height="54" rx="6" class="c-mask"/>- <rect x="890.34" y="622" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="899.34" y="640" class="t-muted tl-time" font-size="10" font-weight="600">10-04 10:14:55</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="899.34" y="654">Merge #677 release</tspan><tspan x="899.34" y="668">subscriptions</tspan></text>- <circle cx="985.34" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1272.74" y="233" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1272.74" y="233" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1278.74" y1="240" x2="1278.74" y2="284" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1286.74" y="252" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 10:14:55</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1286.74" y="269">Merge #677 release</tspan><tspan x="1286.74" y="284">subscriptions</tspan></text>+ <circle cx="1372.74" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr674" data-node-id="pr674" data-node-label="Merge #674 community registry v0" tabindex="0" role="button" aria-label="Focus Merge #674 community registry v0, Merge commit on dev, PR merges › 10-04 10:17:01 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:17:01 UTC+08:00" data-timeline-at="2026-10-04T10:17:01+08:00" data-timeline-ms="1791080221000" data-timeline-x="985.76">+ <g id="node-pr674" data-node-id="pr674" data-node-label="Merge #674 community registry v0" tabindex="0" role="button" aria-label="Focus Merge #674 community registry v0, Merge commit on dev, PR merges › 10-04 10:17:01 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 10:17:01 UTC+08:00" data-timeline-at="2026-10-04T10:17:01+08:00" data-timeline-ms="1791080221000" data-timeline-x="1373.81"><title>Merge #674 community registry v0 · Merge commit on dev · PR merges › 10-04 10:17:01 UTC+08:00</title>- <rect x="890.76" y="686" width="190" height="54" rx="6" class="c-mask"/>- <rect x="890.76" y="686" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="899.76" y="704" class="t-muted tl-time" font-size="10" font-weight="600">10-04 10:17:01</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="899.76" y="718">Merge #674 community</tspan><tspan x="899.76" y="732">registry v0</tspan></text>- <circle cx="985.76" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1273.81" y="668" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1273.81" y="668" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1279.81" y1="675" x2="1279.81" y2="719" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1287.81" y="687" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 10:17:01</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1287.81" y="704">Merge #674 community</tspan><tspan x="1287.81" y="719">registry v0</tspan></text>+ <circle cx="1373.81" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g>- <g id="node-pr668" data-node-id="pr668" data-node-label="Merge #668 MCO artifact refresh" tabindex="0" role="button" aria-label="Focus Merge #668 MCO artifact refresh, Merge commit on dev, PR merges › 10-04 13:18:18 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 13:18:18 UTC+08:00" data-timeline-at="2026-10-04T13:18:18+08:00" data-timeline-ms="1791091098000" data-timeline-x="1022">+ <g id="node-pr668" data-node-id="pr668" data-node-label="Merge #668 MCO artifact refresh" tabindex="0" role="button" aria-label="Focus Merge #668 MCO artifact refresh, Merge commit on dev, PR merges › 10-04 13:18:18 UTC+08:00" aria-pressed="false" data-node-kind="external" data-node-sublabel="Merge commit on dev" data-node-context="PR merges › 10-04 13:18:18 UTC+08:00" data-timeline-at="2026-10-04T13:18:18+08:00" data-timeline-ms="1791091098000" data-timeline-x="1466"><title>Merge #668 MCO artifact refresh · Merge commit on dev · PR merges › 10-04 13:18:18 UTC+08:00</title>- <rect x="906" y="750" width="190" height="54" rx="6" class="c-mask"/>- <rect x="906" y="750" width="190" height="54" rx="6" class="c-external" stroke-width="1.3"/>- <text x="915" y="768" class="t-muted tl-time" font-size="10" font-weight="600">10-04 13:18:18</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="915" y="782">Merge #668 MCO artifact</tspan><tspan x="915" y="796">refresh</tspan></text>- <circle cx="1022" cy="274" r="5.5" class="c-external tl-dot" stroke-width="2"/>+ <rect x="1348" y="455" width="200" height="58" rx="7" class="c-mask"/>+ <rect x="1348" y="455" width="200" height="58" rx="7" class="c-external tl-card" stroke-width="1"/>+ <line x1="1354" y1="462" x2="1354" y2="506" class="tl-accent tl-accent-external" stroke-width="3" stroke-linecap="round"/>+ <text x="1362" y="474" class="t-muted tl-time" font-size="10.5" font-weight="600">10-04 13:18:18</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="1362" y="491">Merge #668 MCO</tspan><tspan x="1362" y="506">artifact refresh</tspan></text>+ <circle cx="1466" cy="439" r="5" class="t-external tl-dot" stroke-width="2.5"/></g><!-- Legend --><g data-legend="">- <text x="28" y="1004" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="default" data-legend-x="28" data-legend-baseline="1024" data-legend-width="53">- <circle cx="34" cy="1020" r="5" class="c-external" stroke-width="2"/>- <text x="50" y="1024" class="t-muted" font-size="12" font-weight="500">Event</text>+ <text x="28" y="888" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="default" data-legend-x="28" data-legend-baseline="908" data-legend-width="57">+ <circle cx="34" cy="904" r="4.5" class="t-external tl-dot" stroke-width="2"/>+ <text x="50" y="908" class="t-muted" font-size="13" font-weight="500">Event</text></g>- <g data-legend-semantic-kind="change" data-legend-x="103" data-legend-baseline="1024" data-legend-width="60">- <circle cx="109" cy="1020" r="5" class="c-frontend" stroke-width="2"/>- <text x="125" y="1024" class="t-muted" font-size="12" font-weight="500">Change</text>+ <g data-legend-semantic-kind="change" data-legend-x="107" data-legend-baseline="908" data-legend-width="63">+ <circle cx="113" cy="904" r="4.5" class="t-frontend tl-dot" stroke-width="2"/>+ <text x="129" y="908" class="t-muted" font-size="13" font-weight="500">Change</text></g>- <g data-legend-semantic-kind="action" data-legend-x="185" data-legend-baseline="1024" data-legend-width="72">- <circle cx="191" cy="1020" r="5" class="c-messagebus" stroke-width="2"/>- <text x="207" y="1024" class="t-muted" font-size="12" font-weight="500">Response</text>+ <g data-legend-semantic-kind="action" data-legend-x="192" data-legend-baseline="908" data-legend-width="77">+ <circle cx="198" cy="904" r="4.5" class="t-messagebus tl-dot" stroke-width="2"/>+ <text x="214" y="908" class="t-muted" font-size="13" font-weight="500">Response</text></g>- <g data-legend-semantic-kind="recovery" data-legend-x="279" data-legend-baseline="1024" data-legend-width="72">- <circle cx="285" cy="1020" r="5" class="c-backend" stroke-width="2"/>- <text x="301" y="1024" class="t-muted" font-size="12" font-weight="500">Recovery</text>+ <g data-legend-semantic-kind="recovery" data-legend-x="291" data-legend-baseline="908" data-legend-width="77">+ <circle cx="297" cy="904" r="4.5" class="t-backend tl-dot" stroke-width="2"/>+ <text x="313" y="908" class="t-muted" font-size="13" font-weight="500">Recovery</text></g></g></svg>diff --git a/examples/timeline-payment-incident-rendered.html b/examples/timeline-payment-incident-rendered.htmlindex 0c319aa1..d07134ed 100644--- a/examples/timeline-payment-incident-rendered.html+++ b/examples/timeline-payment-incident-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1113 450" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1123 485" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-timeline-ui="" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment failure incident</title><desc id="archify-diagram-description">Illustrative incident: release, monitoring, and response events on one clock.</desc><!-- Definitions -->@@ -5017,15 +5017,23 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }- svg[data-timeline-ui] .tl-axis { stroke: var(--text-muted); }- svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .55; }- svg[data-timeline-ui] .tl-lane-alt { opacity: .3; }+ svg[data-timeline-ui] .tl-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-timeline-ui] .tl-axis { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-lane { fill: var(--lane-fill); stroke: none; opacity: .75; }+ svg[data-timeline-ui] .tl-lane-alt { opacity: 0; }svg[data-timeline-ui] .tl-lane-line { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-stem { stroke: var(--text-muted); opacity: .7; }- svg[data-timeline-ui] .tl-break-band { opacity: .9; }+ svg[data-timeline-ui] .tl-stem { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-card { fill-opacity: .55; stroke-opacity: .5; }+ svg[data-timeline-ui] .tl-dot { stroke: var(--mask); }+ svg[data-timeline-ui] .tl-break-band { opacity: .55; }+ svg[data-timeline-ui] .tl-break-chip { fill: var(--mask); stroke: var(--lane-stroke); stroke-width: 1; }svg[data-timeline-ui] .tl-hatch { stroke: var(--lane-stroke); }- svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-muted); }+ svg[data-timeline-ui] .tl-break-zig { stroke: var(--text-dim); }+ svg[data-timeline-ui] .tl-accent-external { stroke: var(--external-stroke); }+ svg[data-timeline-ui] .tl-accent-frontend { stroke: var(--frontend-stroke); }+ svg[data-timeline-ui] .tl-accent-security { stroke: var(--security-stroke); }+ svg[data-timeline-ui] .tl-accent-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-timeline-ui] .tl-accent-backend { stroke: var(--backend-stroke); }svg[data-timeline-ui] .tl-tick, svg[data-timeline-ui] .tl-time { font-variant-numeric: tabular-nums; }</style>@@ -5033,122 +5041,121 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><g data-timeline-evidence="illustrative">- <rect x="28" y="12" width="124" height="20" rx="10" class="c-messagebus" stroke-width="1.2"/>- <text x="90" y="26" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">Illustrative data</text>+ <rect x="28" y="14" width="132" height="22" rx="11" class="c-messagebus" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-messagebus"/>+ <text x="99" y="29" class="t-messagebus" font-size="10.5" font-weight="700" text-anchor="middle">Illustrative data</text></g>- <text data-timeline-axis-caption="" x="164" y="26" class="t-muted" font-size="10.5">Time: Asia/Shanghai (UTC+08:00) · 2026-10-01</text>+ <text data-timeline-axis-caption="" x="174" y="29.5" class="t-muted" font-size="11.5">Time: Asia/Shanghai (UTC+08:00) · 2026-10-01</text><!-- Lanes --><g data-timeline-lane="release">- <rect x="125" y="104" width="960" height="88" rx="8" class="tl-lane"/>- <line x1="133" y1="126" x2="1077" y2="126" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="130" class="t-primary" font-size="12" font-weight="700">Release</text>+ <rect x="20" y="112" width="1075" height="97" rx="10" class="tl-lane"/>+ <line x1="143" y1="136" x2="1087" y2="136" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="140.5" class="t-primary" font-size="13" font-weight="700">Release</text></g><g data-timeline-lane="monitoring">- <rect x="125" y="202" width="960" height="88" rx="8" class="tl-lane tl-lane-alt"/>- <line x1="133" y1="224" x2="1077" y2="224" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="228" class="t-primary" font-size="12" font-weight="700">Monitoring</text>+ <rect x="20" y="219" width="1075" height="97" rx="10" class="tl-lane tl-lane-alt"/>+ <line x1="143" y1="243" x2="1087" y2="243" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="247.5" class="t-primary" font-size="13" font-weight="700">Monitoring</text></g><g data-timeline-lane="response">- <rect x="125" y="300" width="960" height="88" rx="8" class="tl-lane"/>- <line x1="133" y1="322" x2="1077" y2="322" class="tl-lane-line" stroke-width="1"/>- <text x="28" y="326" class="t-primary" font-size="12" font-weight="700">Response</text>+ <rect x="20" y="326" width="1075" height="97" rx="10" class="tl-lane"/>+ <line x1="143" y1="350" x2="1087" y2="350" class="tl-lane-line" stroke-width="1.5" stroke-linecap="round"/>+ <text x="28" y="354.5" class="t-primary" font-size="13" font-weight="700">Response</text></g><!-- Time axis (proportional within each segment; breaks are disclosed) -->- <line x1="203" y1="94" x2="203" y2="388" class="tl-grid" stroke-width="1"/>- <text x="203" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:00</text>- <line x1="283.4" y1="94" x2="283.4" y2="388" class="tl-grid" stroke-width="1"/>- <text x="283.4" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:02</text>- <line x1="363.8" y1="94" x2="363.8" y2="388" class="tl-grid" stroke-width="1"/>- <text x="363.8" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:04</text>- <line x1="444.2" y1="94" x2="444.2" y2="388" class="tl-grid" stroke-width="1"/>- <text x="444.2" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:06</text>- <line x1="524.6" y1="94" x2="524.6" y2="388" class="tl-grid" stroke-width="1"/>- <text x="524.6" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:08</text>- <line x1="605" y1="94" x2="605" y2="388" class="tl-grid" stroke-width="1"/>- <text x="605" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:10</text>- <line x1="685.4" y1="94" x2="685.4" y2="388" class="tl-grid" stroke-width="1"/>- <text x="685.4" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:12</text>- <line x1="765.8" y1="94" x2="765.8" y2="388" class="tl-grid" stroke-width="1"/>- <text x="765.8" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:14</text>- <line x1="846.2" y1="94" x2="846.2" y2="388" class="tl-grid" stroke-width="1"/>- <text x="846.2" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:16</text>- <line x1="926.6" y1="94" x2="926.6" y2="388" class="tl-grid" stroke-width="1"/>- <text x="926.6" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:18</text>- <line x1="1007" y1="94" x2="1007" y2="388" class="tl-grid" stroke-width="1"/>- <text x="1007" y="86" class="t-muted tl-tick" font-size="10" text-anchor="middle">10:20</text>- <line x1="133" y1="94" x2="1077" y2="94" class="tl-axis" stroke-width="1.5"/>+ <line x1="221" y1="102" x2="221" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="221" y1="98" x2="221" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="221" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:00</text>+ <line x1="418" y1="102" x2="418" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="418" y1="98" x2="418" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="418" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:05</text>+ <line x1="615" y1="102" x2="615" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="615" y1="98" x2="615" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="615" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:10</text>+ <line x1="812" y1="102" x2="812" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="812" y1="98" x2="812" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="812" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:15</text>+ <line x1="1009" y1="102" x2="1009" y2="423" class="tl-grid" stroke-width="1"/>+ <line x1="1009" y1="98" x2="1009" y2="102" class="tl-axis" stroke-width="1"/>+ <text x="1009" y="92" class="t-muted tl-tick" font-size="10.5" text-anchor="middle">10:20</text>+ <line x1="143" y1="102" x2="1087" y2="102" class="tl-axis" stroke-width="1"/><!-- Stems sit behind every card, so a stacked card is never crossed byanother event's connector -->- <line data-detail="context" data-timeline-stem="deploy" x1="203" y1="126" x2="203" y2="140" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="alert" x1="404" y1="224" x2="404" y2="238" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="rollback" x1="605" y1="322" x2="605" y2="336" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="recovered" x1="806" y1="224" x2="806" y2="238" class="tl-stem" stroke-width="1"/>- <line data-detail="context" data-timeline-stem="closed" x1="1007" y1="322" x2="1007" y2="336" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="deploy" x1="221" y1="136" x2="221" y2="152" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="alert" x1="418" y1="243" x2="418" y2="259" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="rollback" x1="615" y1="350" x2="615" y2="366" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="recovered" x1="812" y1="243" x2="812" y2="259" class="tl-stem" stroke-width="1"/>+ <line data-detail="context" data-timeline-stem="closed" x1="1009" y1="350" x2="1009" y2="366" class="tl-stem" stroke-width="1"/><!-- Events in time order -->- <g id="node-deploy" data-node-id="deploy" data-node-label="Deploy v2.4" tabindex="0" role="button" aria-label="Focus Deploy v2.4, New version starts serving payment requests., Release › 10-01 10:00:00 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="New version starts serving payment requests." data-node-context="Release › 10-01 10:00:00 UTC+08:00" data-timeline-at="2026-10-01T10:00:00+08:00" data-timeline-ms="1790820000000" data-timeline-x="203">+ <g id="node-deploy" data-node-id="deploy" data-node-label="Deploy v2.4" tabindex="0" role="button" aria-label="Focus Deploy v2.4, New version starts serving payment requests., Release › 10-01 10:00:00 UTC+08:00" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="New version starts serving payment requests." data-node-context="Release › 10-01 10:00:00 UTC+08:00" data-timeline-at="2026-10-01T10:00:00+08:00" data-timeline-ms="1790820000000" data-timeline-x="221"><title>Deploy v2.4 · New version starts serving payment requests. · Release › 10-01 10:00:00 UTC+08:00</title>- <rect x="154" y="140" width="98" height="40" rx="6" class="c-mask"/>- <rect x="154" y="140" width="98" height="40" rx="6" class="c-frontend" stroke-width="1.3"/>- <text x="163" y="158" class="t-muted tl-time" font-size="10" font-weight="600">10:00</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="163" y="172">Deploy v2.4</tspan></text>- <circle cx="203" cy="126" r="5.5" class="c-frontend tl-dot" stroke-width="2"/>+ <rect x="165.5" y="152" width="111" height="43" rx="7" class="c-mask"/>+ <rect x="165.5" y="152" width="111" height="43" rx="7" class="c-frontend tl-card" stroke-width="1"/>+ <line x1="171.5" y1="159" x2="171.5" y2="188" class="tl-accent tl-accent-frontend" stroke-width="3" stroke-linecap="round"/>+ <text x="179.5" y="171" class="t-muted tl-time" font-size="10.5" font-weight="600">10:00</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="179.5" y="188">Deploy v2.4</tspan></text>+ <circle cx="221" cy="136" r="5" class="t-frontend tl-dot" stroke-width="2.5"/></g>- <g id="node-alert" data-node-id="alert" data-node-label="Payment failure alert" tabindex="0" role="button" aria-label="Focus Payment failure alert, Error rate on /pay rises above the paging threshold., Monitoring › 10-01 10:05:00 UTC+08:00" aria-pressed="false" data-node-kind="security" data-node-sublabel="Error rate on /pay rises above the paging threshold." data-node-context="Monitoring › 10-01 10:05:00 UTC+08:00" data-timeline-at="2026-10-01T10:05:00+08:00" data-timeline-ms="1790820300000" data-timeline-x="404">+ <g id="node-alert" data-node-id="alert" data-node-label="Payment failure alert" tabindex="0" role="button" aria-label="Focus Payment failure alert, Error rate on /pay rises above the paging threshold., Monitoring › 10-01 10:05:00 UTC+08:00" aria-pressed="false" data-node-kind="security" data-node-sublabel="Error rate on /pay rises above the paging threshold." data-node-context="Monitoring › 10-01 10:05:00 UTC+08:00" data-timeline-at="2026-10-01T10:05:00+08:00" data-timeline-ms="1790820300000" data-timeline-x="418"><title>Payment failure alert · Error rate on /pay rises above the paging threshold. · Monitoring › 10-01 10:05:00 UTC+08:00</title>- <rect x="318.5" y="238" width="171" height="40" rx="6" class="c-mask"/>- <rect x="318.5" y="238" width="171" height="40" rx="6" class="c-security" stroke-width="1.3"/>- <text x="327.5" y="256" class="t-muted tl-time" font-size="10" font-weight="600">10:05</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="327.5" y="270">Payment failure alert</tspan></text>- <circle cx="404" cy="224" r="5.5" class="c-security tl-dot" stroke-width="2"/>+ <rect x="323" y="259" width="190" height="43" rx="7" class="c-mask"/>+ <rect x="323" y="259" width="190" height="43" rx="7" class="c-security tl-card" stroke-width="1"/>+ <line x1="329" y1="266" x2="329" y2="295" class="tl-accent tl-accent-security" stroke-width="3" stroke-linecap="round"/>+ <text x="337" y="278" class="t-muted tl-time" font-size="10.5" font-weight="600">10:05</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="337" y="295">Payment failure alert</tspan></text>+ <circle cx="418" cy="243" r="5" class="t-security tl-dot" stroke-width="2.5"/></g>- <g id="node-rollback" data-node-id="rollback" data-node-label="Start rollback" tabindex="0" role="button" aria-label="Focus Start rollback, On-call decides to return to v2.3., Response › 10-01 10:10:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="On-call decides to return to v2.3." data-node-context="Response › 10-01 10:10:00 UTC+08:00" data-timeline-at="2026-10-01T10:10:00+08:00" data-timeline-ms="1790820600000" data-timeline-x="605">+ <g id="node-rollback" data-node-id="rollback" data-node-label="Start rollback" tabindex="0" role="button" aria-label="Focus Start rollback, On-call decides to return to v2.3., Response › 10-01 10:10:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="On-call decides to return to v2.3." data-node-context="Response › 10-01 10:10:00 UTC+08:00" data-timeline-at="2026-10-01T10:10:00+08:00" data-timeline-ms="1790820600000" data-timeline-x="615"><title>Start rollback · On-call decides to return to v2.3. · Response › 10-01 10:10:00 UTC+08:00</title>- <rect x="545" y="336" width="120" height="40" rx="6" class="c-mask"/>- <rect x="545" y="336" width="120" height="40" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="554" y="354" class="t-muted tl-time" font-size="10" font-weight="600">10:10</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="554" y="368">Start rollback</tspan></text>- <circle cx="605" cy="322" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="547.5" y="366" width="135" height="43" rx="7" class="c-mask"/>+ <rect x="547.5" y="366" width="135" height="43" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="553.5" y1="373" x2="553.5" y2="402" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="561.5" y="385" class="t-muted tl-time" font-size="10.5" font-weight="600">10:10</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="561.5" y="402">Start rollback</tspan></text>+ <circle cx="615" cy="350" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g>- <g id="node-recovered" data-node-id="recovered" data-node-label="Metrics recovered" tabindex="0" role="button" aria-label="Focus Metrics recovered, Payment success rate back to baseline., Monitoring › 10-01 10:15:00 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Payment success rate back to baseline." data-node-context="Monitoring › 10-01 10:15:00 UTC+08:00" data-timeline-at="2026-10-01T10:15:00+08:00" data-timeline-ms="1790820900000" data-timeline-x="806">+ <g id="node-recovered" data-node-id="recovered" data-node-label="Metrics recovered" tabindex="0" role="button" aria-label="Focus Metrics recovered, Payment success rate back to baseline., Monitoring › 10-01 10:15:00 UTC+08:00" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Payment success rate back to baseline." data-node-context="Monitoring › 10-01 10:15:00 UTC+08:00" data-timeline-at="2026-10-01T10:15:00+08:00" data-timeline-ms="1790820900000" data-timeline-x="812"><title>Metrics recovered · Payment success rate back to baseline. · Monitoring › 10-01 10:15:00 UTC+08:00</title>- <rect x="735" y="238" width="142" height="40" rx="6" class="c-mask"/>- <rect x="735" y="238" width="142" height="40" rx="6" class="c-backend" stroke-width="1.3"/>- <text x="744" y="256" class="t-muted tl-time" font-size="10" font-weight="600">10:15</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="744" y="270">Metrics recovered</tspan></text>- <circle cx="806" cy="224" r="5.5" class="c-backend tl-dot" stroke-width="2"/>+ <rect x="733" y="259" width="158" height="43" rx="7" class="c-mask"/>+ <rect x="733" y="259" width="158" height="43" rx="7" class="c-backend tl-card" stroke-width="1"/>+ <line x1="739" y1="266" x2="739" y2="295" class="tl-accent tl-accent-backend" stroke-width="3" stroke-linecap="round"/>+ <text x="747" y="278" class="t-muted tl-time" font-size="10.5" font-weight="600">10:15</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="747" y="295">Metrics recovered</tspan></text>+ <circle cx="812" cy="243" r="5" class="t-backend tl-dot" stroke-width="2.5"/></g>- <g id="node-closed" data-node-id="closed" data-node-label="Incident closed" tabindex="0" role="button" aria-label="Focus Incident closed, Stability confirmed; response ends., Response › 10-01 10:20:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Stability confirmed; response ends." data-node-context="Response › 10-01 10:20:00 UTC+08:00" data-timeline-at="2026-10-01T10:20:00+08:00" data-timeline-ms="1790821200000" data-timeline-x="1007">+ <g id="node-closed" data-node-id="closed" data-node-label="Incident closed" tabindex="0" role="button" aria-label="Focus Incident closed, Stability confirmed; response ends., Response › 10-01 10:20:00 UTC+08:00" aria-pressed="false" data-node-kind="messagebus" data-node-sublabel="Stability confirmed; response ends." data-node-context="Response › 10-01 10:20:00 UTC+08:00" data-timeline-at="2026-10-01T10:20:00+08:00" data-timeline-ms="1790821200000" data-timeline-x="1009"><title>Incident closed · Stability confirmed; response ends. · Response › 10-01 10:20:00 UTC+08:00</title>- <rect x="943.5" y="336" width="127" height="40" rx="6" class="c-mask"/>- <rect x="943.5" y="336" width="127" height="40" rx="6" class="c-messagebus" stroke-width="1.3"/>- <text x="952.5" y="354" class="t-muted tl-time" font-size="10" font-weight="600">10:20</text>- <text data-node-label="" class="t-primary" font-size="11.5" font-weight="650"><tspan x="952.5" y="368">Incident closed</tspan></text>- <circle cx="1007" cy="322" r="5.5" class="c-messagebus tl-dot" stroke-width="2"/>+ <rect x="937.5" y="366" width="143" height="43" rx="7" class="c-mask"/>+ <rect x="937.5" y="366" width="143" height="43" rx="7" class="c-messagebus tl-card" stroke-width="1"/>+ <line x1="943.5" y1="373" x2="943.5" y2="402" class="tl-accent tl-accent-messagebus" stroke-width="3" stroke-linecap="round"/>+ <text x="951.5" y="385" class="t-muted tl-time" font-size="10.5" font-weight="600">10:20</text>+ <text data-node-label="" class="t-primary" font-size="12.5" font-weight="650"><tspan x="951.5" y="402">Incident closed</tspan></text>+ <circle cx="1009" cy="350" r="5" class="t-messagebus tl-dot" stroke-width="2.5"/></g><!-- Legend --><g data-legend="">- <text x="28" y="414" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="change" data-legend-x="28" data-legend-baseline="434" data-legend-width="60">- <circle cx="34" cy="430" r="5" class="c-frontend" stroke-width="2"/>- <text x="50" y="434" class="t-muted" font-size="12" font-weight="500">Change</text>+ <text x="28" y="449" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="change" data-legend-x="28" data-legend-baseline="469" data-legend-width="63">+ <circle cx="34" cy="465" r="4.5" class="t-frontend tl-dot" stroke-width="2"/>+ <text x="50" y="469" class="t-muted" font-size="13" font-weight="500">Change</text></g>- <g data-legend-semantic-kind="alert" data-legend-x="110" data-legend-baseline="434" data-legend-width="53">- <circle cx="116" cy="430" r="5" class="c-security" stroke-width="2"/>- <text x="132" y="434" class="t-muted" font-size="12" font-weight="500">Alert</text>+ <g data-legend-semantic-kind="alert" data-legend-x="113" data-legend-baseline="469" data-legend-width="57">+ <circle cx="119" cy="465" r="4.5" class="t-security tl-dot" stroke-width="2"/>+ <text x="135" y="469" class="t-muted" font-size="13" font-weight="500">Alert</text></g>- <g data-legend-semantic-kind="action" data-legend-x="185" data-legend-baseline="434" data-legend-width="72">- <circle cx="191" cy="430" r="5" class="c-messagebus" stroke-width="2"/>- <text x="207" y="434" class="t-muted" font-size="12" font-weight="500">Response</text>+ <g data-legend-semantic-kind="action" data-legend-x="192" data-legend-baseline="469" data-legend-width="77">+ <circle cx="198" cy="465" r="4.5" class="t-messagebus tl-dot" stroke-width="2"/>+ <text x="214" y="469" class="t-muted" font-size="13" font-weight="500">Response</text></g>- <g data-legend-semantic-kind="recovery" data-legend-x="279" data-legend-baseline="434" data-legend-width="72">- <circle cx="285" cy="430" r="5" class="c-backend" stroke-width="2"/>- <text x="301" y="434" class="t-muted" font-size="12" font-weight="500">Recovery</text>+ <g data-legend-semantic-kind="recovery" data-legend-x="291" data-legend-baseline="469" data-legend-width="77">+ <circle cx="297" cy="465" r="4.5" class="t-backend tl-dot" stroke-width="2"/>+ <text x="313" y="469" class="t-muted" font-size="13" font-weight="500">Recovery</text></g></g></svg>diff --git a/examples/tree-archify-repository-rendered.html b/examples/tree-archify-repository-rendered.htmlindex 6eb6d1bc..aef1637b 100644--- a/examples/tree-archify-repository-rendered.html+++ b/examples/tree-archify-repository-rendered.html@@ -4987,7 +4987,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<div class="pulse-dot"></div><h1>Archify repository layout</h1></div>- <p class="subtitle">Observed directory and module structure of this repository (selected files). The Viewer branch starts collapsed.</p>+ <p class="subtitle">Observed directory structure of this repository (selected files). Runs of three or more files are listed; the viewer/ branch starts collapsed.</p></div>@@ -4995,9 +4995,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1290 1819" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="right" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1791 927" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="down" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Archify repository layout</title>- <desc id="archify-diagram-description">Observed directory and module structure of this repository (selected files). The Viewer branch starts collapsed.</desc>+ <desc id="archify-diagram-description">Observed directory structure of this repository (selected files). Runs of three or more files are listed; the viewer/ branch starts collapsed.</desc><!-- Definitions --><defs><marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">@@ -5017,7 +5017,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-tree-ui] .tree-edge { stroke-linejoin: round; }+ svg[data-tree-ui] .tree-edge { stroke-linejoin: round; stroke-linecap: round; }+ svg[data-tree-ui] .tree-leaf { fill: var(--mask); stroke: var(--lane-stroke); }svg[data-tree-ui] [data-tree-stack] { display: none; fill: var(--mask); }svg[data-tree-ui] [data-tree-collapsed] [data-tree-stack] { display: inline; }svg[data-tree-ui] [data-tree-hidden] { display: none; }@@ -5040,327 +5041,336 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Containment links -->- <path data-edge-from="renderers" data-edge-to="r_arch" data-edge-key="0" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;776,98" d="M 728 98 L 776 98" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_workflow" data-edge-key="1" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,184;776,184" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 178 Q 752 184 758 184 L 776 184" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_sequence" data-edge-key="2" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,255;776,255" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 249 Q 752 255 758 255 L 776 255" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_dataflow" data-edge-key="3" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,311;776,311" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 305 Q 752 311 758 311 L 776 311" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_lifecycle" data-edge-key="4" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,367;776,367" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 361 Q 752 367 758 367 L 776 367" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_erd" data-edge-key="5" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,438;776,438" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 432 Q 752 438 758 438 L 776 438" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_tree" data-edge-key="6" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,517.5;776,517.5" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 511.5 Q 752 517.5 758 517.5 L 776 517.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_cli" data-edge-key="7" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1024,597" d="M 976 597 L 1024 597" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_geometry" data-edge-key="8" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1000,597;1000,683;1024,683" d="M 976 597 L 994 597 Q 1000 597 1000 603 L 1000 677 Q 1000 683 1006 683 L 1024 683" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_i18n" data-edge-key="9" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1000,597;1000,762.5;1024,762.5" d="M 976 597 L 994 597 Q 1000 597 1000 603 L 1000 756.5 Q 1000 762.5 1006 762.5 L 1024 762.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="r_shared" data-edge-to="s_validators" data-edge-key="10" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="976,597;1000,597;1000,835.5;1024,835.5" d="M 976 597 L 994 597 Q 1000 597 1000 603 L 1000 829.5 Q 1000 835.5 1006 835.5 L 1024 835.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="renderers" data-edge-to="r_shared" data-edge-key="11" data-tree-ancestors="renderers skill repo" data-composition-points="728,98;752,98;752,597;776,597" d="M 728 98 L 746 98 Q 752 98 752 104 L 752 591 Q 752 597 758 597 L 776 597" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="renderers" data-edge-key="12" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,98;528,98" d="M 480 98.5 L 504 98.5 L 504 98 L 528 98" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="schemas" data-edge-key="13" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,908.5;528,908.5" d="M 480 98.5 L 498 98.5 Q 504 98.5 504 104.5 L 504 902.5 Q 504 908.5 510 908.5 L 528 908.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="bin" data-edge-to="b_archify" data-edge-key="14" data-tree-ancestors="bin skill repo" data-composition-points="728,988.5;752,988.5;752,988;776,988" d="M 728 988.5 L 752 988.5 L 752 988 L 776 988" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="bin" data-edge-to="b_preview" data-edge-key="15" data-tree-ancestors="bin skill repo" data-composition-points="728,988.5;752,988.5;752,1067.5;776,1067.5" d="M 728 988.5 L 746 988.5 Q 752 988.5 752 994.5 L 752 1061.5 Q 752 1067.5 758 1067.5 L 776 1067.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="bin" data-edge-key="16" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,988.5;528,988.5" d="M 480 98.5 L 498 98.5 Q 504 98.5 504 104.5 L 504 982.5 Q 504 988.5 510 988.5 L 528 988.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="skill" data-edge-to="references" data-edge-key="17" data-tree-ancestors="skill repo" data-composition-points="480,98.5;504,98.5;504,1147;528,1147" d="M 480 98.5 L 498 98.5 Q 504 98.5 504 104.5 L 504 1141 Q 504 1147 510 1147 L 528 1147" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="skill" data-edge-key="18" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,98.5;280,98.5" d="M 232 99 L 256 99 L 256 98.5 L 280 98.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_focus" data-edge-key="19" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1226.5;528,1226.5" d="M 480 1227 L 504 1227 L 504 1226.5 L 528 1226.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_export" data-edge-key="20" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1306;528,1306" d="M 480 1227 L 498 1227 Q 504 1227 504 1233 L 504 1300 Q 504 1306 510 1306 L 528 1306" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_tree" data-edge-key="21" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1392;528,1392" d="M 480 1227 L 498 1227 Q 504 1227 504 1233 L 504 1386 Q 504 1392 510 1392 L 528 1392" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="viewer" data-edge-to="v_camera" data-edge-key="22" data-tree-ancestors="viewer repo" data-composition-points="480,1227;504,1227;504,1471.5;528,1471.5" d="M 480 1227 L 498 1227 Q 504 1227 504 1233 L 504 1465.5 Q 504 1471.5 510 1471.5 L 528 1471.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="viewer" data-edge-key="23" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,1227;280,1227" d="M 232 99 L 250 99 Q 256 99 256 105 L 256 1221 Q 256 1227 262 1227 L 280 1227" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="site" data-edge-key="24" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,1544.5;280,1544.5" d="M 232 99 L 250 99 Q 256 99 256 105 L 256 1538.5 Q 256 1544.5 262 1544.5 L 280 1544.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="scripts" data-edge-to="sc_viewer" data-edge-key="25" data-tree-ancestors="scripts repo" data-composition-points="480,1624.5;504,1624.5;504,1624;528,1624" d="M 480 1624.5 L 504 1624.5 L 504 1624 L 528 1624" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="scripts" data-edge-to="sc_zip" data-edge-key="26" data-tree-ancestors="scripts repo" data-composition-points="480,1624.5;504,1624.5;504,1703.5;528,1703.5" d="M 480 1624.5 L 498 1624.5 Q 504 1624.5 504 1630.5 L 504 1697.5 Q 504 1703.5 510 1703.5 L 528 1703.5" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="scripts" data-edge-to="sc_gallery" data-edge-key="27" data-tree-ancestors="scripts repo" data-composition-points="480,1624.5;504,1624.5;504,1768;528,1768" d="M 480 1624.5 L 498 1624.5 Q 504 1624.5 504 1630.5 L 504 1762 Q 504 1768 510 1768 L 528 1768" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="repo" data-edge-to="scripts" data-edge-key="28" data-tree-ancestors="repo" data-composition-points="232,99;256,99;256,1624.5;280,1624.5" d="M 232 99 L 250 99 Q 256 99 256 105 L 256 1618.5 Q 256 1624.5 262 1624.5 L 280 1624.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="skill" data-edge-key="0" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;618.5,151;618.5,179" d="M 1131 123 L 1131 143 Q 1131 151 1123 151 L 626.5 151 Q 618.5 151 618.5 159 L 618.5 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="viewer" data-edge-key="1" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;1243.5,151;1243.5,179" d="M 1131 123 L 1131 143 Q 1131 151 1139 151 L 1235.5 151 Q 1243.5 151 1243.5 159 L 1243.5 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="site" data-edge-key="2" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;1443,151;1443,179" d="M 1131 123 L 1131 143 Q 1131 151 1139 151 L 1435 151 Q 1443 151 1443 159 L 1443 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="repo" data-edge-to="scripts" data-edge-key="3" data-tree-ancestors="repo" data-composition-points="1131,123;1131,151;1642.5,151;1642.5,179" d="M 1131 123 L 1131 143 Q 1131 151 1139 151 L 1634.5 151 Q 1642.5 151 1642.5 159 L 1642.5 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="renderers" data-edge-key="4" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;185,266;185,294" d="M 618.5 238 L 618.5 258 Q 618.5 266 610.5 266 L 193 266 Q 185 266 185 274 L 185 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="schemas" data-edge-key="5" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;618,266;618,294" d="M 618.5 238 L 618.5 266 L 618 266 L 618 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="bin" data-edge-key="6" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;796,266;796,294" d="M 618.5 238 L 618.5 258 Q 618.5 266 626.5 266 L 788 266 Q 796 266 796 274 L 796 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="skill" data-edge-to="references" data-edge-key="7" data-tree-ancestors="skill repo" data-composition-points="618.5,238;618.5,266;1040,266;1040,294" d="M 618.5 238 L 618.5 258 Q 618.5 266 626.5 266 L 1032 266 Q 1040 266 1040 274 L 1040 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_arch" data-edge-key="8" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,438.5;58,438.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 431.5 Q 44 438.5 51 438.5 L 58 438.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_workflow" data-edge-key="9" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,507.5;58,507.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 500.5 Q 44 507.5 51 507.5 L 58 507.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_sequence" data-edge-key="10" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,576.5;58,576.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 569.5 Q 44 576.5 51 576.5 L 58 576.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_dataflow" data-edge-key="11" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,645.5;58,645.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 638.5 Q 44 645.5 51 645.5 L 58 645.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_lifecycle" data-edge-key="12" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,714.5;58,714.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 707.5 Q 44 714.5 51 714.5 L 58 714.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_erd" data-edge-key="13" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,783.5;58,783.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 776.5 Q 44 783.5 51 783.5 L 58 783.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_tree" data-edge-key="14" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;44,381;44,852.5;58,852.5" d="M 185 353 L 185 373 Q 185 381 177 381 L 52 381 Q 44 381 44 389 L 44 845.5 Q 44 852.5 51 852.5 L 58 852.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="renderers" data-edge-to="r_shared" data-edge-key="15" data-tree-ancestors="renderers skill repo" data-composition-points="185,353;185,381;325,381;325,409" d="M 185 353 L 185 373 Q 185 381 193 381 L 317 381 Q 325 381 325 389 L 325 409" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_cli" data-edge-key="16" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,553.5;281,553.5" d="M 267 468 L 267 546.5 Q 267 553.5 274 553.5 L 281 553.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_geometry" data-edge-key="17" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,622.5;281,622.5" d="M 267 468 L 267 615.5 Q 267 622.5 274 622.5 L 281 622.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_i18n" data-edge-key="18" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,691.5;281,691.5" d="M 267 468 L 267 684.5 Q 267 691.5 274 691.5 L 281 691.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="r_shared" data-edge-to="s_validators" data-edge-key="19" data-tree-ancestors="r_shared renderers skill repo" data-composition-points="267,468;267,760.5;281,760.5" d="M 267 468 L 267 753.5 Q 267 760.5 274 760.5 L 281 760.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="bin" data-edge-to="b_archify" data-edge-key="20" data-tree-ancestors="bin skill repo" data-composition-points="738,353;738,438.5;752,438.5" d="M 738 353 L 738 431.5 Q 738 438.5 745 438.5 L 752 438.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="bin" data-edge-to="b_finalize" data-edge-key="21" data-tree-ancestors="bin skill repo" data-composition-points="738,353;738,507.5;752,507.5" d="M 738 353 L 738 500.5 Q 738 507.5 745 507.5 L 752 507.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="bin" data-edge-to="b_preview" data-edge-key="22" data-tree-ancestors="bin skill repo" data-composition-points="738,353;738,576.5;752,576.5" d="M 738 353 L 738 569.5 Q 738 576.5 745 576.5 L 752 576.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_focus" data-edge-key="23" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,323.5;1172,323.5" d="M 1158 238 L 1158 316.5 Q 1158 323.5 1165 323.5 L 1172 323.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_export" data-edge-key="24" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,392.5;1172,392.5" d="M 1158 238 L 1158 385.5 Q 1158 392.5 1165 392.5 L 1172 392.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_tree" data-edge-key="25" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,461.5;1172,461.5" d="M 1158 238 L 1158 454.5 Q 1158 461.5 1165 461.5 L 1172 461.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="viewer" data-edge-to="v_camera" data-edge-key="26" data-tree-ancestors="viewer repo" data-composition-points="1158,238;1158,530.5;1172,530.5" d="M 1158 238 L 1158 523.5 Q 1158 530.5 1165 530.5 L 1172 530.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="scripts" data-edge-to="sc_viewer" data-edge-key="27" data-tree-ancestors="scripts repo" data-composition-points="1557,238;1557,323.5;1571,323.5" d="M 1557 238 L 1557 316.5 Q 1557 323.5 1564 323.5 L 1571 323.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="scripts" data-edge-to="sc_zip" data-edge-key="28" data-tree-ancestors="scripts repo" data-composition-points="1557,238;1557,392.5;1571,392.5" d="M 1557 238 L 1557 385.5 Q 1557 392.5 1564 392.5 L 1571 392.5" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="scripts" data-edge-to="sc_gallery" data-edge-key="29" data-tree-ancestors="scripts repo" data-composition-points="1557,238;1557,461.5;1571,461.5" d="M 1557 238 L 1557 454.5 Q 1557 461.5 1564 461.5 L 1571 461.5" class="a-default tree-edge" stroke-width="1.5"/><!-- Nodes -->- <g id="node-r_arch" data-node-id="r_arch" data-node-label="architecture/" tabindex="0" role="button" aria-label="Focus architecture/, Components, boundaries, orthogonal router, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Components, boundaries, orthogonal router" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>architecture/ · Components, boundaries, orthogonal router · Leaf</title>+ <g id="node-repo" data-node-id="repo" data-node-label="archify repository" tabindex="0" role="button" aria-label="Focus archify repository, Skill, viewer, and site, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Skill, viewer, and site" data-node-context="Root" data-tree-depth="0">+ <title>archify repository · Skill, viewer, and site · Root</title>+ <rect data-tree-stack="" x="1038" y="69" width="196" height="59" rx="8" class="c-frontend" stroke-width="1.2"/>+ <rect x="1033" y="64" width="196" height="59" rx="8" class="c-mask"/>+ <rect x="1033" y="64" width="196" height="59" rx="8" class="c-frontend" stroke-width="1.8"/>+ <text data-node-label="" x="1131" class="t-primary" font-size="14.5" font-weight="750" text-anchor="middle"><tspan x="1131" y="88.5">archify repository</tspan></text>+ <text data-detail="context" x="1131" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1131" y="107.5">Skill, viewer, and site</tspan></text>+ </g>+ <g id="node-skill" data-node-id="skill" data-node-label="archify/" tabindex="0" role="button" aria-label="Focus archify/, Installable Skill package, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Installable Skill package" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">+ <title>archify/ · Installable Skill package · Branch</title>+ <rect data-tree-stack="" x="526" y="184" width="195" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="521" y="179" width="195" height="59" rx="8" class="c-mask"/>+ <rect x="521" y="179" width="195" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="618.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="618.5" y="203.5">archify/</tspan></text>+ <text data-detail="context" x="618.5" class="t-muted" font-size="11" text-anchor="middle"><tspan x="618.5" y="222.5">Installable Skill package</tspan></text>+ </g>+ <g id="node-viewer" data-node-id="viewer" data-node-label="viewer/" tabindex="0" role="button" aria-label="Focus viewer/, Inlined into the template, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Inlined into the template" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">+ <title>viewer/ · Inlined into the template · Branch</title>+ <rect data-tree-stack="" x="1151" y="184" width="195" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="1146" y="179" width="195" height="59" rx="8" class="c-mask"/>+ <rect x="1146" y="179" width="195" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="1243.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="1243.5" y="203.5">viewer/</tspan></text>+ <text data-detail="context" x="1243.5" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1243.5" y="222.5">Inlined into the template</tspan></text>+ </g>+ <g id="node-site" data-node-id="site" data-node-label="website/" tabindex="0" role="button" aria-label="Focus website/, Astro project site, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Astro project site" data-node-context="Leaf" data-tree-depth="1" data-tree-ancestors="repo">+ <title>website/ · Astro project site · Leaf</title>++ <rect x="1369" y="179" width="148" height="59" rx="8" class="c-mask"/>+ <rect x="1369" y="179" width="148" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1443" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="1443" y="203.5">website/</tspan></text>+ <text data-detail="context" x="1443" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1443" y="222.5">Astro project site</tspan></text>+ </g>+ <g id="node-scripts" data-node-id="scripts" data-node-label="scripts/" tabindex="0" role="button" aria-label="Focus scripts/, Build and freshness tools, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Build and freshness tools" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">+ <title>scripts/ · Build and freshness tools · Branch</title>+ <rect data-tree-stack="" x="1550" y="184" width="195" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="1545" y="179" width="195" height="59" rx="8" class="c-mask"/>+ <rect x="1545" y="179" width="195" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="1642.5" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="1642.5" y="203.5">scripts/</tspan></text>+ <text data-detail="context" x="1642.5" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1642.5" y="222.5">Build and freshness tools</tspan></text>+ </g>+ <g id="node-renderers" data-node-id="renderers" data-node-label="renderers/" tabindex="0" role="button" aria-label="Focus renderers/, One per diagram type, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="One per diagram type" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>renderers/ · One per diagram type · Branch</title>+ <rect data-tree-stack="" x="110" y="299" width="160" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="105" y="294" width="160" height="59" rx="8" class="c-mask"/>+ <rect x="105" y="294" width="160" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="185" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="185" y="318.5">renderers/</tspan></text>+ <text data-detail="context" x="185" class="t-muted" font-size="11" text-anchor="middle"><tspan x="185" y="337.5">One per diagram type</tspan></text>+ </g>+ <g id="node-schemas" data-node-id="schemas" data-node-label="schemas/" tabindex="0" role="button" aria-label="Focus schemas/, Typed JSON contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Typed JSON contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>schemas/ · Typed JSON contracts · Leaf</title>++ <rect x="538" y="294" width="160" height="59" rx="8" class="c-mask"/>+ <rect x="538" y="294" width="160" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="618" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="618" y="318.5">schemas/</tspan></text>+ <text data-detail="context" x="618" class="t-muted" font-size="11" text-anchor="middle"><tspan x="618" y="337.5">Typed JSON contracts</tspan></text>+ </g>+ <g id="node-bin" data-node-id="bin" data-node-label="bin/" tabindex="0" role="button" aria-label="Focus bin/, CLI entry points, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="CLI entry points" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>bin/ · CLI entry points · Branch</title>+ <rect data-tree-stack="" x="731" y="299" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="726" y="294" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="726" y="294" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="796" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="796" y="318.5">bin/</tspan></text>+ <text data-detail="context" x="796" class="t-muted" font-size="11" text-anchor="middle"><tspan x="796" y="337.5">CLI entry points</tspan></text>+ </g>+ <g id="node-references" data-node-id="references" data-node-label="references/" tabindex="0" role="button" aria-label="Focus references/, Authoring contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Authoring contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">+ <title>references/ · Authoring contracts · Leaf</title>- <rect x="776" y="64" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="64" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="87">architecture/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="105">Components, boundaries,</tspan><tspan x="876" y="118">orthogonal router</tspan></text>+ <rect x="962" y="294" width="156" height="59" rx="8" class="c-mask"/>+ <rect x="962" y="294" width="156" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1040" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="1040" y="318.5">references/</tspan></text>+ <text data-detail="context" x="1040" class="t-muted" font-size="11" text-anchor="middle"><tspan x="1040" y="337.5">Authoring contracts</tspan></text></g>- <g id="node-r_workflow" data-node-id="r_workflow" data-node-label="workflow/" tabindex="0" role="button" aria-label="Focus workflow/, Workflow compiler and renderer, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Workflow compiler and renderer" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>workflow/ · Workflow compiler and renderer · Leaf</title>+ <g id="node-r_arch" data-node-id="r_arch" data-node-label="architecture/" tabindex="0" role="button" aria-label="Focus architecture/, Boundaries and router, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Boundaries and router" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>architecture/ · Boundaries and router · Leaf</title>- <rect x="776" y="150" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="150" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="173">workflow/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="191">Workflow compiler and</tspan><tspan x="876" y="204">renderer</tspan></text>+ <rect x="58" y="409" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="409" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="433.5">architecture/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="452.5">Boundaries and router</tspan></text>+ </g>+ <g id="node-r_workflow" data-node-id="r_workflow" data-node-label="workflow/" tabindex="0" role="button" aria-label="Focus workflow/, Workflow compiler, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Workflow compiler" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>workflow/ · Workflow compiler · Leaf</title>++ <rect x="58" y="478" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="478" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="502.5">workflow/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="521.5">Workflow compiler</tspan></text></g><g id="node-r_sequence" data-node-id="r_sequence" data-node-label="sequence/" tabindex="0" role="button" aria-label="Focus sequence/, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo"><title>sequence/ · Leaf</title>- <rect x="776" y="236" width="200" height="38" rx="7" class="c-mask"/>- <rect x="776" y="236" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="259">sequence/</tspan></text>+ <rect x="58" y="547" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="547" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="580.5">sequence/</tspan></text></g><g id="node-r_dataflow" data-node-id="r_dataflow" data-node-label="dataflow/" tabindex="0" role="button" aria-label="Focus dataflow/, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo"><title>dataflow/ · Leaf</title>- <rect x="776" y="292" width="200" height="38" rx="7" class="c-mask"/>- <rect x="776" y="292" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="315">dataflow/</tspan></text>+ <rect x="58" y="616" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="616" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="649.5">dataflow/</tspan></text></g><g id="node-r_lifecycle" data-node-id="r_lifecycle" data-node-label="lifecycle/" tabindex="0" role="button" aria-label="Focus lifecycle/, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo"><title>lifecycle/ · Leaf</title>- <rect x="776" y="348" width="200" height="38" rx="7" class="c-mask"/>- <rect x="776" y="348" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="371">lifecycle/</tspan></text>+ <rect x="58" y="685" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="685" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="718.5">lifecycle/</tspan></text></g>- <g id="node-r_erd" data-node-id="r_erd" data-node-label="erd/" tabindex="0" role="button" aria-label="Focus erd/, Banded grid and crow's foot markers, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Banded grid and crow's foot markers" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>erd/ · Banded grid and crow's foot markers · Leaf</title>+ <g id="node-r_erd" data-node-id="r_erd" data-node-label="erd/" tabindex="0" role="button" aria-label="Focus erd/, Crow's foot markers, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Crow's foot markers" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>erd/ · Crow's foot markers · Leaf</title>- <rect x="776" y="404" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="404" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="427">erd/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="445">Banded grid and crow's foot</tspan><tspan x="876" y="458">markers</tspan></text>+ <rect x="58" y="754" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="754" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="778.5">erd/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="797.5">Crow's foot markers</tspan></text></g>- <g id="node-r_tree" data-node-id="r_tree" data-node-label="tree/" tabindex="0" role="button" aria-label="Focus tree/, This hierarchy renderer, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="This hierarchy renderer" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>tree/ · This hierarchy renderer · Leaf</title>+ <g id="node-r_tree" data-node-id="r_tree" data-node-label="tree/" tabindex="0" role="button" aria-label="Focus tree/, This renderer, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="This renderer" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>tree/ · This renderer · Leaf</title>- <rect x="776" y="490" width="200" height="55" rx="7" class="c-mask"/>- <rect x="776" y="490" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="513">tree/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="531">This hierarchy renderer</tspan></text>+ <rect x="58" y="823" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="58" y="823" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="72" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="72" y="847.5">tree/</tspan></text>+ <text data-detail="context" x="72" class="t-muted" font-size="11" text-anchor="start"><tspan x="72" y="866.5">This renderer</tspan></text></g>- <g id="node-s_cli" data-node-id="s_cli" data-node-label="cli.mjs" tabindex="0" role="button" aria-label="Focus cli.mjs, Load, validate, and write one diagram, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Load, validate, and write one diagram" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>cli.mjs · Load, validate, and write one diagram · Leaf</title>-- <rect x="1024" y="563" width="221" height="68" rx="7" class="c-mask"/>- <rect x="1024" y="563" width="221" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="586">cli.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="604">Load, validate, and write</tspan><tspan x="1134.5" y="617">one diagram</tspan></text>+ <g id="node-r_shared" data-node-id="r_shared" data-node-label="shared/" tabindex="0" role="button" aria-label="Focus shared/, Shared helpers, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Shared helpers" data-node-context="Branch" data-tree-depth="3" data-tree-ancestors="renderers skill repo">+ <title>shared/ · Shared helpers · Branch</title>+ <rect data-tree-stack="" x="260" y="414" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="255" y="409" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="255" y="409" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="325" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="325" y="433.5">shared/</tspan></text>+ <text data-detail="context" x="325" class="t-muted" font-size="11" text-anchor="middle"><tspan x="325" y="452.5">Shared helpers</tspan></text></g>- <g id="node-s_geometry" data-node-id="s_geometry" data-node-label="geometry.mjs" tabindex="0" role="button" aria-label="Focus geometry.mjs, Clean Flow and composition gates, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Clean Flow and composition gates" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>geometry.mjs · Clean Flow and composition gates · Leaf</title>+ <g id="node-s_cli" data-node-id="s_cli" data-node-label="cli.mjs" tabindex="0" role="button" aria-label="Focus cli.mjs, Load, validate, write, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Load, validate, write" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>cli.mjs · Load, validate, write · Leaf</title>- <rect x="1024" y="649" width="221" height="68" rx="7" class="c-mask"/>- <rect x="1024" y="649" width="221" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="672">geometry.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="690">Clean Flow and composition</tspan><tspan x="1134.5" y="703">gates</tspan></text>+ <rect x="281" y="524" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="524" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="548.5">cli.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="567.5">Load, validate, write</tspan></text></g>- <g id="node-s_i18n" data-node-id="s_i18n" data-node-label="i18n.mjs" tabindex="0" role="button" aria-label="Focus i18n.mjs, Bundled locale catalogs, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Bundled locale catalogs" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>i18n.mjs · Bundled locale catalogs · Leaf</title>+ <g id="node-s_geometry" data-node-id="s_geometry" data-node-label="geometry.mjs" tabindex="0" role="button" aria-label="Focus geometry.mjs, Composition gates, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Composition gates" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>geometry.mjs · Composition gates · Leaf</title>- <rect x="1024" y="735" width="221" height="55" rx="7" class="c-mask"/>- <rect x="1024" y="735" width="221" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="758">i18n.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="776">Bundled locale catalogs</tspan></text>+ <rect x="281" y="593" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="593" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="617.5">geometry.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="636.5">Composition gates</tspan></text></g>- <g id="node-s_validators" data-node-id="s_validators" data-node-label="generated-validators.mjs" tabindex="0" role="button" aria-label="Focus generated-validators.mjs, Standalone schema validators, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Standalone schema validators" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">- <title>generated-validators.mjs · Standalone schema validators · Leaf</title>+ <g id="node-s_i18n" data-node-id="s_i18n" data-node-label="i18n.mjs" tabindex="0" role="button" aria-label="Focus i18n.mjs, Locale catalogs, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Locale catalogs" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>i18n.mjs · Locale catalogs · Leaf</title>- <rect x="1024" y="808" width="221" height="55" rx="7" class="c-mask"/>- <rect x="1024" y="808" width="221" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="1134.5" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="1134.5" y="831">generated-validators.mjs</tspan></text>- <text data-detail="context" x="1134.5" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="1134.5" y="849">Standalone schema validators</tspan></text>+ <rect x="281" y="662" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="662" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="686.5">i18n.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="705.5">Locale catalogs</tspan></text></g>- <g id="node-r_shared" data-node-id="r_shared" data-node-label="shared/" tabindex="0" role="button" aria-label="Focus shared/, Helpers every renderer imports, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Helpers every renderer imports" data-node-context="Branch" data-tree-depth="3" data-tree-ancestors="renderers skill repo">- <title>shared/ · Helpers every renderer imports · Branch</title>- <rect data-tree-stack="" x="781" y="568" width="200" height="68" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="776" y="563" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="563" width="200" height="68" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="586">shared/</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="604">Helpers every renderer</tspan><tspan x="876" y="617">imports</tspan></text>- </g>- <g id="node-renderers" data-node-id="renderers" data-node-label="renderers/" tabindex="0" role="button" aria-label="Focus renderers/, One renderer per diagram type, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="One renderer per diagram type" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>renderers/ · One renderer per diagram type · Branch</title>- <rect data-tree-stack="" x="533" y="69" width="200" height="68" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="528" y="64" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="64" width="200" height="68" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="87">renderers/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="105">One renderer per diagram</tspan><tspan x="628" y="118">type</tspan></text>+ <g id="node-s_validators" data-node-id="s_validators" data-node-label="generated-validators.mjs" tabindex="0" role="button" aria-label="Focus generated-validators.mjs, Schema validators, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Schema validators" data-node-context="Leaf" data-tree-depth="4" data-tree-ancestors="r_shared renderers skill repo">+ <title>generated-validators.mjs · Schema validators · Leaf</title>++ <rect x="281" y="731" width="229" height="59" rx="8" class="c-mask"/>+ <rect x="281" y="731" width="229" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="295" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="295" y="755.5">generated-validators.mjs</tspan></text>+ <text data-detail="context" x="295" class="t-muted" font-size="11" text-anchor="start"><tspan x="295" y="774.5">Schema validators</tspan></text></g>- <g id="node-schemas" data-node-id="schemas" data-node-label="schemas/" tabindex="0" role="button" aria-label="Focus schemas/, Typed JSON contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Typed JSON contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>schemas/ · Typed JSON contracts · Leaf</title>+ <g id="node-b_archify" data-node-id="b_archify" data-node-label="archify.mjs" tabindex="0" role="button" aria-label="Focus archify.mjs, CLI: validate, finalize, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="CLI: validate, finalize" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo">+ <title>archify.mjs · CLI: validate, finalize · Leaf</title>- <rect x="528" y="881" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="881" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="904">schemas/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="922">Typed JSON contracts</tspan></text>+ <rect x="752" y="409" width="182" height="59" rx="8" class="c-mask"/>+ <rect x="752" y="409" width="182" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="766" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="766" y="433.5">archify.mjs</tspan></text>+ <text data-detail="context" x="766" class="t-muted" font-size="11" text-anchor="start"><tspan x="766" y="452.5">CLI: validate, finalize</tspan></text></g>- <g id="node-b_archify" data-node-id="b_archify" data-node-label="archify.mjs" tabindex="0" role="button" aria-label="Focus archify.mjs, validate, deliver, finalize, doctor, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="validate, deliver, finalize, doctor" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo">- <title>archify.mjs · validate, deliver, finalize, doctor · Leaf</title>+ <g id="node-b_finalize" data-node-id="b_finalize" data-node-label="finalize.mjs" tabindex="0" role="button" aria-label="Focus finalize.mjs, Render, check, deliver, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Render, check, deliver" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo">+ <title>finalize.mjs · Render, check, deliver · Leaf</title>- <rect x="776" y="954" width="200" height="68" rx="7" class="c-mask"/>- <rect x="776" y="954" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="977">archify.mjs</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="995">validate, deliver,</tspan><tspan x="876" y="1008">finalize, doctor</tspan></text>+ <rect x="752" y="478" width="182" height="59" rx="8" class="c-mask"/>+ <rect x="752" y="478" width="182" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="766" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="766" y="502.5">finalize.mjs</tspan></text>+ <text data-detail="context" x="766" class="t-muted" font-size="11" text-anchor="start"><tspan x="766" y="521.5">Render, check, deliver</tspan></text></g><g id="node-b_preview" data-node-id="b_preview" data-node-label="preview.mjs" tabindex="0" role="button" aria-label="Focus preview.mjs, Live preview server, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Live preview server" data-node-context="Leaf" data-tree-depth="3" data-tree-ancestors="bin skill repo"><title>preview.mjs · Live preview server · Leaf</title>- <rect x="776" y="1040" width="200" height="55" rx="7" class="c-mask"/>- <rect x="776" y="1040" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="876" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="876" y="1063">preview.mjs</tspan></text>- <text data-detail="context" x="876" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="876" y="1081">Live preview server</tspan></text>- </g>- <g id="node-bin" data-node-id="bin" data-node-label="bin/" tabindex="0" role="button" aria-label="Focus bin/, CLI entry points, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="CLI entry points" data-node-context="Branch" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>bin/ · CLI entry points · Branch</title>- <rect data-tree-stack="" x="533" y="966" width="200" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="528" y="961" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="961" width="200" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="984">bin/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1002">CLI entry points</tspan></text>- </g>- <g id="node-references" data-node-id="references" data-node-label="references/" tabindex="0" role="button" aria-label="Focus references/, Authoring and delivery contracts, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Authoring and delivery contracts" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="skill repo">- <title>references/ · Authoring and delivery contracts · Leaf</title>-- <rect x="528" y="1113" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1113" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1136">references/</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1154">Authoring and delivery</tspan><tspan x="628" y="1167">contracts</tspan></text>+ <rect x="752" y="547" width="182" height="59" rx="8" class="c-mask"/>+ <rect x="752" y="547" width="182" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="766" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="766" y="571.5">preview.mjs</tspan></text>+ <text data-detail="context" x="766" class="t-muted" font-size="11" text-anchor="start"><tspan x="766" y="590.5">Live preview server</tspan></text></g>- <g id="node-skill" data-node-id="skill" data-node-label="archify/" tabindex="0" role="button" aria-label="Focus archify/, Installable Skill package, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Installable Skill package" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">- <title>archify/ · Installable Skill package · Branch</title>- <rect data-tree-stack="" x="285" y="76" width="200" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="280" y="71" width="200" height="55" rx="7" class="c-mask"/>- <rect x="280" y="71" width="200" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="94">archify/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="112">Installable Skill package</tspan></text>- </g>- <g id="node-v_focus" data-node-id="v_focus" data-node-label="focus.js" tabindex="0" role="button" aria-label="Focus focus.js, Semantic passport and reach, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Semantic passport and reach" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">- <title>focus.js · Semantic passport and reach · Leaf</title>+ <g id="node-v_focus" data-node-id="v_focus" data-node-label="focus.js" tabindex="0" role="button" aria-label="Focus focus.js, Semantic passport, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Semantic passport" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">+ <title>focus.js · Semantic passport · Leaf</title>- <rect x="528" y="1199" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="1199" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1222">focus.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1240">Semantic passport and reach</tspan></text>+ <rect x="1172" y="294" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="294" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="318.5">focus.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="337.5">Semantic passport</tspan></text></g>- <g id="node-v_export" data-node-id="v_export" data-node-label="export.js" tabindex="0" role="button" aria-label="Focus export.js, SVG, PNG, JPEG, WebP, WebM export, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="SVG, PNG, JPEG, WebP, WebM export" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">- <title>export.js · SVG, PNG, JPEG, WebP, WebM export · Leaf</title>+ <g id="node-v_export" data-node-id="v_export" data-node-label="export.js" tabindex="0" role="button" aria-label="Focus export.js, SVG, PNG, WebM export, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="SVG, PNG, WebM export" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">+ <title>export.js · SVG, PNG, WebM export · Leaf</title>- <rect x="528" y="1272" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1272" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1295">export.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1313">SVG, PNG, JPEG, WebP, WebM</tspan><tspan x="628" y="1326">export</tspan></text>+ <rect x="1172" y="363" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="363" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="387.5">export.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="406.5">SVG, PNG, WebM export</tspan></text></g>- <g id="node-v_tree" data-node-id="v_tree" data-node-label="tree-branches.js" tabindex="0" role="button" aria-label="Focus tree-branches.js, Expand and collapse for trees, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Expand and collapse for trees" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">- <title>tree-branches.js · Expand and collapse for trees · Leaf</title>+ <g id="node-v_tree" data-node-id="v_tree" data-node-label="tree-branches.js" tabindex="0" role="button" aria-label="Focus tree-branches.js, Expand and collapse, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Expand and collapse" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo">+ <title>tree-branches.js · Expand and collapse · Leaf</title>- <rect x="528" y="1358" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1358" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1381">tree-branches.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1399">Expand and collapse for</tspan><tspan x="628" y="1412">trees</tspan></text>+ <rect x="1172" y="432" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="432" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="456.5">tree-branches.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="475.5">Expand and collapse</tspan></text></g><g id="node-v_camera" data-node-id="v_camera" data-node-label="viewer-camera.js" tabindex="0" role="button" aria-label="Focus viewer-camera.js, Pan, zoom, reveal, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Pan, zoom, reveal" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="viewer repo"><title>viewer-camera.js · Pan, zoom, reveal · Leaf</title>- <rect x="528" y="1444" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="1444" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1467">viewer-camera.js</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1485">Pan, zoom, reveal</tspan></text>- </g>- <g id="node-viewer" data-node-id="viewer" data-node-label="viewer/" tabindex="0" role="button" aria-label="Focus viewer/, Viewer sources inlined into the template, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Viewer sources inlined into the template" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">- <title>viewer/ · Viewer sources inlined into the template · Branch</title>- <rect data-tree-stack="" x="285" y="1198" width="200" height="68" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="280" y="1193" width="200" height="68" rx="7" class="c-mask"/>- <rect x="280" y="1193" width="200" height="68" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="1216">viewer/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="1234">Viewer sources inlined into</tspan><tspan x="380" y="1247">the template</tspan></text>- </g>- <g id="node-site" data-node-id="site" data-node-label="website/" tabindex="0" role="button" aria-label="Focus website/, Astro project site, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Astro project site" data-node-context="Leaf" data-tree-depth="1" data-tree-ancestors="repo">- <title>website/ · Astro project site · Leaf</title>-- <rect x="280" y="1517" width="200" height="55" rx="7" class="c-mask"/>- <rect x="280" y="1517" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="1540">website/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="1558">Astro project site</tspan></text>+ <rect x="1172" y="501" width="169" height="59" rx="8" class="c-mask"/>+ <rect x="1172" y="501" width="169" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1186" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1186" y="525.5">viewer-camera.js</tspan></text>+ <text data-detail="context" x="1186" class="t-muted" font-size="11" text-anchor="start"><tspan x="1186" y="544.5">Pan, zoom, reveal</tspan></text></g>- <g id="node-sc_viewer" data-node-id="sc_viewer" data-node-label="generate-viewer.mjs" tabindex="0" role="button" aria-label="Focus generate-viewer.mjs, Inlines viewer/ into the template, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Inlines viewer/ into the template" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">- <title>generate-viewer.mjs · Inlines viewer/ into the template · Leaf</title>+ <g id="node-sc_viewer" data-node-id="sc_viewer" data-node-label="generate-viewer.mjs" tabindex="0" role="button" aria-label="Focus generate-viewer.mjs, Inlines viewer/, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Inlines viewer/" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">+ <title>generate-viewer.mjs · Inlines viewer/ · Leaf</title>- <rect x="528" y="1590" width="200" height="68" rx="7" class="c-mask"/>- <rect x="528" y="1590" width="200" height="68" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1613">generate-viewer.mjs</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1631">Inlines viewer/ into the</tspan><tspan x="628" y="1644">template</tspan></text>+ <rect x="1571" y="294" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="1571" y="294" width="188" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1585" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1585" y="318.5">generate-viewer.mjs</tspan></text>+ <text data-detail="context" x="1585" class="t-muted" font-size="11" text-anchor="start"><tspan x="1585" y="337.5">Inlines viewer/</tspan></text></g>- <g id="node-sc_zip" data-node-id="sc_zip" data-node-label="build-zip.sh" tabindex="0" role="button" aria-label="Focus build-zip.sh, Deterministic Skill archive, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Deterministic Skill archive" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">- <title>build-zip.sh · Deterministic Skill archive · Leaf</title>+ <g id="node-sc_zip" data-node-id="sc_zip" data-node-label="build-zip.sh" tabindex="0" role="button" aria-label="Focus build-zip.sh, Deterministic archive, Leaf" aria-pressed="false" data-node-kind="external" data-node-sublabel="Deterministic archive" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo">+ <title>build-zip.sh · Deterministic archive · Leaf</title>- <rect x="528" y="1676" width="200" height="55" rx="7" class="c-mask"/>- <rect x="528" y="1676" width="200" height="55" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1699">build-zip.sh</tspan></text>- <text data-detail="context" x="628" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="628" y="1717">Deterministic Skill archive</tspan></text>+ <rect x="1571" y="363" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="1571" y="363" width="188" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1585" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1585" y="387.5">build-zip.sh</tspan></text>+ <text data-detail="context" x="1585" class="t-muted" font-size="11" text-anchor="start"><tspan x="1585" y="406.5">Deterministic archive</tspan></text></g><g id="node-sc_gallery" data-node-id="sc_gallery" data-node-label="build-gallery.mjs" tabindex="0" role="button" aria-label="Focus build-gallery.mjs, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="scripts repo"><title>build-gallery.mjs · Leaf</title>- <rect x="528" y="1749" width="200" height="38" rx="7" class="c-mask"/>- <rect x="528" y="1749" width="200" height="38" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="628" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="628" y="1772">build-gallery.mjs</tspan></text>+ <rect x="1571" y="432" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="1571" y="432" width="188" height="59" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="1585" class="t-primary" font-size="13" font-weight="600" text-anchor="start"><tspan x="1585" y="465.5">build-gallery.mjs</tspan></text></g>- <g id="node-scripts" data-node-id="scripts" data-node-label="scripts/" tabindex="0" role="button" aria-label="Focus scripts/, Build and freshness tooling, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Build and freshness tooling" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="repo">- <title>scripts/ · Build and freshness tooling · Branch</title>- <rect data-tree-stack="" x="285" y="1602" width="200" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="280" y="1597" width="200" height="55" rx="7" class="c-mask"/>- <rect x="280" y="1597" width="200" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="380" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="380" y="1620">scripts/</tspan></text>- <text data-detail="context" x="380" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="380" y="1638">Build and freshness tooling</tspan></text>- </g>- <g id="node-repo" data-node-id="repo" data-node-label="archify repository" tabindex="0" role="button" aria-label="Focus archify repository, Skill package, viewer, and site sources, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Skill package, viewer, and site sources" data-node-context="Root" data-tree-depth="0">- <title>archify repository · Skill package, viewer, and site sources · Root</title>- <rect data-tree-stack="" x="37" y="70" width="200" height="68" rx="7" class="c-frontend" stroke-width="1.2"/>- <rect x="32" y="65" width="200" height="68" rx="7" class="c-mask"/>- <rect x="32" y="65" width="200" height="68" rx="7" class="c-frontend" stroke-width="2"/>- <text data-node-label="" x="132" class="t-primary" font-size="14" font-weight="750" text-anchor="middle"><tspan x="132" y="88">archify repository</tspan></text>- <text data-detail="context" x="132" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="132" y="106">Skill package, viewer, and</tspan><tspan x="132" y="119">site sources</tspan></text>- </g><!-- Branch toggles -->- <g data-tree-toggle="r_shared" data-tree-count="4" data-tree-ancestors="renderers skill repo" data-tree-label-collapse="Collapse shared/ (4 below)" data-tree-label-expand="Expand shared/ (4 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse shared/ (4 below)">- <circle cx="976" cy="597" r="15" class="tree-toggle-hit"/>- <circle cx="976" cy="597" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 972 597 H 980" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 976 593 V 601" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="989" y="585" font-size="9.5" font-weight="650">4</text>- </g>- <g data-tree-toggle="renderers" data-tree-count="12" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse renderers/ (12 below)" data-tree-label-expand="Expand renderers/ (12 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse renderers/ (12 below)">- <circle cx="728" cy="98" r="15" class="tree-toggle-hit"/>- <circle cx="728" cy="98" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 724 98 H 732" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 728 94 V 102" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="741" y="86" font-size="9.5" font-weight="650">12</text>- </g>- <g data-tree-toggle="bin" data-tree-count="2" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse bin/ (2 below)" data-tree-label-expand="Expand bin/ (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse bin/ (2 below)">- <circle cx="728" cy="988.5" r="15" class="tree-toggle-hit"/>- <circle cx="728" cy="988.5" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 724 988.5 H 732" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 728 984.5 V 992.5" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="741" y="976.5" font-size="9.5" font-weight="650">2</text>+ <g data-tree-toggle="repo" data-tree-count="30" data-tree-label-collapse="Collapse archify repository (30 below)" data-tree-label-expand="Expand archify repository (30 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify repository (30 below)">+ <circle cx="1131" cy="123" r="15" class="tree-toggle-hit"/>+ <circle cx="1131" cy="123" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 1127 123 H 1135" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 1131 119 V 127" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="1145" y="126.5" font-size="9.5" font-weight="650">30</text></g>- <g data-tree-toggle="skill" data-tree-count="18" data-tree-ancestors="repo" data-tree-label-collapse="Collapse archify/ (18 below)" data-tree-label-expand="Expand archify/ (18 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify/ (18 below)">- <circle cx="480" cy="98.5" r="15" class="tree-toggle-hit"/>- <circle cx="480" cy="98.5" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 476 98.5 H 484" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 480 94.5 V 102.5" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="493" y="86.5" font-size="9.5" font-weight="650">18</text>+ <g data-tree-toggle="skill" data-tree-count="19" data-tree-ancestors="repo" data-tree-label-collapse="Collapse archify/ (19 below)" data-tree-label-expand="Expand archify/ (19 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify/ (19 below)">+ <circle cx="618.5" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="618.5" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 614.5 238 H 622.5" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 618.5 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="632.5" y="241.5" font-size="9.5" font-weight="650">19</text></g><g data-tree-toggle="viewer" data-tree-count="4" data-tree-ancestors="repo" data-tree-initially-collapsed="" data-tree-label-collapse="Collapse viewer/ (4 below)" data-tree-label-expand="Expand viewer/ (4 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse viewer/ (4 below)">- <circle cx="480" cy="1227" r="15" class="tree-toggle-hit"/>- <circle cx="480" cy="1227" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 476 1227 H 484" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 480 1223 V 1231" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="493" y="1215" font-size="9.5" font-weight="650">4</text>+ <circle cx="1158" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="1158" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 1154 238 H 1162" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 1158 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="1172" y="241.5" font-size="9.5" font-weight="650">4</text></g><g data-tree-toggle="scripts" data-tree-count="3" data-tree-ancestors="repo" data-tree-label-collapse="Collapse scripts/ (3 below)" data-tree-label-expand="Expand scripts/ (3 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse scripts/ (3 below)">- <circle cx="480" cy="1624.5" r="15" class="tree-toggle-hit"/>- <circle cx="480" cy="1624.5" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 476 1624.5 H 484" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 480 1620.5 V 1628.5" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="493" y="1612.5" font-size="9.5" font-weight="650">3</text>+ <circle cx="1557" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="1557" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 1553 238 H 1561" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 1557 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="1571" y="241.5" font-size="9.5" font-weight="650">3</text>+ </g>+ <g data-tree-toggle="renderers" data-tree-count="12" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse renderers/ (12 below)" data-tree-label-expand="Expand renderers/ (12 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse renderers/ (12 below)">+ <circle cx="185" cy="353" r="15" class="tree-toggle-hit"/>+ <circle cx="185" cy="353" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 181 353 H 189" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 185 349 V 357" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="199" y="356.5" font-size="9.5" font-weight="650">12</text>+ </g>+ <g data-tree-toggle="bin" data-tree-count="3" data-tree-ancestors="skill repo" data-tree-label-collapse="Collapse bin/ (3 below)" data-tree-label-expand="Expand bin/ (3 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse bin/ (3 below)">+ <circle cx="738" cy="353" r="15" class="tree-toggle-hit"/>+ <circle cx="738" cy="353" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 734 353 H 742" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 738 349 V 357" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="752" y="356.5" font-size="9.5" font-weight="650">3</text></g>- <g data-tree-toggle="repo" data-tree-count="29" data-tree-label-collapse="Collapse archify repository (29 below)" data-tree-label-expand="Expand archify repository (29 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse archify repository (29 below)">- <circle cx="232" cy="99" r="15" class="tree-toggle-hit"/>- <circle cx="232" cy="99" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 228 99 H 236" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 232 95 V 103" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="245" y="87" font-size="9.5" font-weight="650">29</text>+ <g data-tree-toggle="r_shared" data-tree-count="4" data-tree-ancestors="renderers skill repo" data-tree-label-collapse="Collapse shared/ (4 below)" data-tree-label-expand="Expand shared/ (4 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse shared/ (4 below)">+ <circle cx="267" cy="468" r="15" class="tree-toggle-hit"/>+ <circle cx="267" cy="468" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 263 468 H 271" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 267 464 V 472" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="281" y="471.5" font-size="9.5" font-weight="650">4</text></g><!-- Expand all (shown only while a branch is collapsed) -->diff --git a/examples/tree-payment-platform-rendered.html b/examples/tree-payment-platform-rendered.htmlindex 52976c81..8a099257 100644--- a/examples/tree-payment-platform-rendered.html+++ b/examples/tree-payment-platform-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1132 401" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="down" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1069 397" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-tree-ui="" data-tree-direction="down" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Payment platform capabilities</title><desc id="archify-diagram-description">Illustrative decomposition: each capability belongs to exactly one parent. Links show containment, not calls.</desc><!-- Definitions -->@@ -5017,7 +5017,8 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-tree-ui] .tree-edge { stroke-linejoin: round; }+ svg[data-tree-ui] .tree-edge { stroke-linejoin: round; stroke-linecap: round; }+ svg[data-tree-ui] .tree-leaf { fill: var(--mask); stroke: var(--lane-stroke); }svg[data-tree-ui] [data-tree-stack] { display: none; fill: var(--mask); }svg[data-tree-ui] [data-tree-collapsed] [data-tree-stack] { display: inline; }svg[data-tree-ui] [data-tree-hidden] { display: none; }@@ -5040,99 +5041,106 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect width="100%" height="100%" fill="url(#grid)" /><!-- Containment links -->- <path data-edge-from="orders" data-edge-to="create_order" data-edge-key="0" data-tree-ancestors="orders platform" data-composition-points="186,238;186,270;102,270;102,302" d="M 186 238 L 186 264 Q 186 270 180 270 L 108 270 Q 102 270 102 276 L 102 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="orders" data-edge-to="cancel_order" data-edge-key="1" data-tree-ancestors="orders platform" data-composition-points="186,238;186,270;270,270;270,302" d="M 186 238 L 186 264 Q 186 270 192 270 L 264 270 Q 270 270 270 276 L 270 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="platform" data-edge-to="orders" data-edge-key="2" data-tree-ancestors="platform" data-composition-points="535,119;535,151;186,151;186,183" d="M 535 119 L 535 145 Q 535 151 529 151 L 192 151 Q 186 151 186 157 L 186 183" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="payments" data-edge-to="card_payment" data-edge-key="3" data-tree-ancestors="payments platform" data-composition-points="522,238;522,270;438,270;438,302" d="M 522 238 L 522 264 Q 522 270 516 270 L 444 270 Q 438 270 438 276 L 438 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="payments" data-edge-to="wallet_payment" data-edge-key="4" data-tree-ancestors="payments platform" data-composition-points="522,238;522,270;606,270;606,302" d="M 522 238 L 522 264 Q 522 270 528 270 L 600 270 Q 606 270 606 276 L 606 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="platform" data-edge-to="payments" data-edge-key="5" data-tree-ancestors="platform" data-composition-points="535,119;535,151;522,151;522,183" d="M 535 119 L 535 145 Q 535 151 529 151 L 528 151 Q 522 151 522 157 L 522 183" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="operations" data-edge-to="refunds" data-edge-key="6" data-tree-ancestors="operations platform" data-composition-points="884,238;884,270;778,270;778,302" d="M 884 238 L 884 264 Q 884 270 878 270 L 784 270 Q 778 270 778 276 L 778 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="operations" data-edge-to="reconciliation" data-edge-key="7" data-tree-ancestors="operations platform" data-composition-points="884,238;884,270;990,270;990,302" d="M 884 238 L 884 264 Q 884 270 890 270 L 984 270 Q 990 270 990 276 L 990 302" class="a-default tree-edge" stroke-width="1.5"/>- <path data-edge-from="platform" data-edge-to="operations" data-edge-key="8" data-tree-ancestors="platform" data-composition-points="535,119;535,151;884,151;884,183" d="M 535 119 L 535 145 Q 535 151 541 151 L 878 151 Q 884 151 884 157 L 884 183" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="platform" data-edge-to="orders" data-edge-key="0" data-tree-ancestors="platform" data-composition-points="523,123;523,151;186,151;186,179" d="M 523 123 L 523 143 Q 523 151 515 151 L 194 151 Q 186 151 186 159 L 186 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="platform" data-edge-to="payments" data-edge-key="1" data-tree-ancestors="platform" data-composition-points="523,123;523,179" d="M 523 123 L 523 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="platform" data-edge-to="operations" data-edge-key="2" data-tree-ancestors="platform" data-composition-points="523,123;523,151;875,151;875,179" d="M 523 123 L 523 143 Q 523 151 531 151 L 867 151 Q 875 151 875 159 L 875 179" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="orders" data-edge-to="create_order" data-edge-key="3" data-tree-ancestors="orders platform" data-composition-points="186,238;186,266;102,266;102,294" d="M 186 238 L 186 258 Q 186 266 178 266 L 110 266 Q 102 266 102 274 L 102 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="orders" data-edge-to="cancel_order" data-edge-key="4" data-tree-ancestors="orders platform" data-composition-points="186,238;186,266;270,266;270,294" d="M 186 238 L 186 258 Q 186 266 194 266 L 262 266 Q 270 266 270 274 L 270 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="payments" data-edge-to="card_payment" data-edge-key="5" data-tree-ancestors="payments platform" data-composition-points="523,238;523,266;438,266;438,294" d="M 523 238 L 523 258 Q 523 266 515 266 L 446 266 Q 438 266 438 274 L 438 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="payments" data-edge-to="wallet_payment" data-edge-key="6" data-tree-ancestors="payments platform" data-composition-points="523,238;523,266;608,266;608,294" d="M 523 238 L 523 258 Q 523 266 531 266 L 600 266 Q 608 266 608 274 L 608 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="operations" data-edge-to="refunds" data-edge-key="7" data-tree-ancestors="operations platform" data-composition-points="875,238;875,266;785.5,266;785.5,294" d="M 875 238 L 875 258 Q 875 266 867 266 L 793.5 266 Q 785.5 266 785.5 274 L 785.5 294" class="a-default tree-edge" stroke-width="1.5"/>+ <path data-edge-from="operations" data-edge-to="reconciliation" data-edge-key="8" data-tree-ancestors="operations platform" data-composition-points="875,238;875,266;964,266;964,294" d="M 875 238 L 875 258 Q 875 266 883 266 L 956 266 Q 964 266 964 274 L 964 294" class="a-default tree-edge" stroke-width="1.5"/><!-- Nodes -->+ <g id="node-platform" data-node-id="platform" data-node-label="Payment platform" tabindex="0" role="button" aria-label="Focus Payment platform, Decomposed by capability, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Decomposed by capability" data-node-context="Root" data-tree-depth="0">+ <title>Payment platform · Decomposed by capability · Root</title>+ <rect data-tree-stack="" x="434" y="69" width="188" height="59" rx="8" class="c-frontend" stroke-width="1.2"/>+ <rect x="429" y="64" width="188" height="59" rx="8" class="c-mask"/>+ <rect x="429" y="64" width="188" height="59" rx="8" class="c-frontend" stroke-width="1.8"/>+ <text data-node-label="" x="523" class="t-primary" font-size="14.5" font-weight="750" text-anchor="middle"><tspan x="523" y="88.5">Payment platform</tspan></text>+ <text data-detail="context" x="523" class="t-muted" font-size="11" text-anchor="middle"><tspan x="523" y="107.5">Decomposed by capability</tspan></text>+ </g>+ <g id="node-orders" data-node-id="orders" data-node-label="Orders" tabindex="0" role="button" aria-label="Focus Orders, Order lifecycle, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Order lifecycle" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">+ <title>Orders · Order lifecycle · Branch</title>+ <rect data-tree-stack="" x="121" y="184" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="116" y="179" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="116" y="179" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="186" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="186" y="203.5">Orders</tspan></text>+ <text data-detail="context" x="186" class="t-muted" font-size="11" text-anchor="middle"><tspan x="186" y="222.5">Order lifecycle</tspan></text>+ </g>+ <g id="node-payments" data-node-id="payments" data-node-label="Payments" tabindex="0" role="button" aria-label="Focus Payments, Money movement, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Money movement" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">+ <title>Payments · Money movement · Branch</title>+ <rect data-tree-stack="" x="458" y="184" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="453" y="179" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="453" y="179" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="523" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="523" y="203.5">Payments</tspan></text>+ <text data-detail="context" x="523" class="t-muted" font-size="11" text-anchor="middle"><tspan x="523" y="222.5">Money movement</tspan></text>+ </g>+ <g id="node-operations" data-node-id="operations" data-node-label="Operations" tabindex="0" role="button" aria-label="Focus Operations, Back-office work, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Back-office work" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">+ <title>Operations · Back-office work · Branch</title>+ <rect data-tree-stack="" x="810" y="184" width="140" height="59" rx="8" class="c-backend" stroke-width="1.2"/>+ <rect x="805" y="179" width="140" height="59" rx="8" class="c-mask"/>+ <rect x="805" y="179" width="140" height="59" rx="8" class="c-backend" stroke-width="1.3"/>+ <text data-node-label="" x="875" class="t-primary" font-size="13" font-weight="700" text-anchor="middle"><tspan x="875" y="203.5">Operations</tspan></text>+ <text data-detail="context" x="875" class="t-muted" font-size="11" text-anchor="middle"><tspan x="875" y="222.5">Back-office work</tspan></text>+ </g><g id="node-create_order" data-node-id="create_order" data-node-label="Create order" tabindex="0" role="button" aria-label="Focus Create order, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="orders platform"><title>Create order · Leaf</title>- <rect x="32" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="32" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="102" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="102" y="333">Create order</tspan></text>+ <rect x="32" y="294" width="140" height="58" rx="8" class="c-mask"/>+ <rect x="32" y="294" width="140" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="102" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="102" y="327">Create order</tspan></text></g><g id="node-cancel_order" data-node-id="cancel_order" data-node-label="Cancel order" tabindex="0" role="button" aria-label="Focus Cancel order, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="orders platform"><title>Cancel order · Leaf</title>- <rect x="200" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="200" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="270" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="270" y="333">Cancel order</tspan></text>+ <rect x="200" y="294" width="140" height="58" rx="8" class="c-mask"/>+ <rect x="200" y="294" width="140" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="270" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="270" y="327">Cancel order</tspan></text></g>- <g id="node-orders" data-node-id="orders" data-node-label="Orders" tabindex="0" role="button" aria-label="Focus Orders, Order lifecycle, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Order lifecycle" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">- <title>Orders · Order lifecycle · Branch</title>- <rect data-tree-stack="" x="121" y="188" width="140" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="116" y="183" width="140" height="55" rx="7" class="c-mask"/>- <rect x="116" y="183" width="140" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="186" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="186" y="206">Orders</tspan></text>- <text data-detail="context" x="186" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="186" y="224">Order lifecycle</tspan></text>- </g><g id="node-card_payment" data-node-id="card_payment" data-node-label="Card payment" tabindex="0" role="button" aria-label="Focus Card payment, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="payments platform"><title>Card payment · Leaf</title>- <rect x="368" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="368" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="438" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="438" y="333">Card payment</tspan></text>+ <rect x="368" y="294" width="140" height="58" rx="8" class="c-mask"/>+ <rect x="368" y="294" width="140" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="438" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="438" y="327">Card payment</tspan></text></g><g id="node-wallet_payment" data-node-id="wallet_payment" data-node-label="Wallet payment" tabindex="0" role="button" aria-label="Focus Wallet payment, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="payments platform"><title>Wallet payment · Leaf</title>- <rect x="536" y="302" width="140" height="54" rx="7" class="c-mask"/>- <rect x="536" y="302" width="140" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="606" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="606" y="333">Wallet payment</tspan></text>+ <rect x="536" y="294" width="144" height="58" rx="8" class="c-mask"/>+ <rect x="536" y="294" width="144" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="608" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="608" y="327">Wallet payment</tspan></text></g>- <g id="node-payments" data-node-id="payments" data-node-label="Payments" tabindex="0" role="button" aria-label="Focus Payments, Money movement, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Money movement" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">- <title>Payments · Money movement · Branch</title>- <rect data-tree-stack="" x="457" y="188" width="140" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="452" y="183" width="140" height="55" rx="7" class="c-mask"/>- <rect x="452" y="183" width="140" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="522" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="522" y="206">Payments</tspan></text>- <text data-detail="context" x="522" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="522" y="224">Money movement</tspan></text>- </g><g id="node-refunds" data-node-id="refunds" data-node-label="Refund handling" tabindex="0" role="button" aria-label="Focus Refund handling, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="operations platform"><title>Refund handling · Leaf</title>- <rect x="704" y="302" width="148" height="54" rx="7" class="c-mask"/>- <rect x="704" y="302" width="148" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="778" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="778" y="333">Refund handling</tspan></text>+ <rect x="708" y="294" width="155" height="58" rx="8" class="c-mask"/>+ <rect x="708" y="294" width="155" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="785.5" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="785.5" y="327">Refund handling</tspan></text></g><g id="node-reconciliation" data-node-id="reconciliation" data-node-label="Transaction reconciliation" tabindex="0" role="button" aria-label="Focus Transaction reconciliation, Leaf" aria-pressed="false" data-node-kind="external" data-node-context="Leaf" data-tree-depth="2" data-tree-ancestors="operations platform"><title>Transaction reconciliation · Leaf</title>- <rect x="880" y="302" width="220" height="54" rx="7" class="c-mask"/>- <rect x="880" y="302" width="220" height="54" rx="7" class="c-external" stroke-width="1.5"/>- <text data-node-label="" x="990" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="990" y="325">Transaction</tspan><tspan x="990" y="341">reconciliation</tspan></text>+ <rect x="891" y="294" width="146" height="58" rx="8" class="c-mask"/>+ <rect x="891" y="294" width="146" height="58" rx="8" class="c-external tree-leaf" stroke-width="1.3"/>+ <text data-node-label="" x="964" class="t-primary" font-size="13" font-weight="600" text-anchor="middle"><tspan x="964" y="318.5">Transaction</tspan><tspan x="964" y="335.5">reconciliation</tspan></text></g>- <g id="node-operations" data-node-id="operations" data-node-label="Operations" tabindex="0" role="button" aria-label="Focus Operations, Back-office work, Branch" aria-pressed="false" data-node-kind="backend" data-node-sublabel="Back-office work" data-node-context="Branch" data-tree-depth="1" data-tree-ancestors="platform">- <title>Operations · Back-office work · Branch</title>- <rect data-tree-stack="" x="819" y="188" width="140" height="55" rx="7" class="c-backend" stroke-width="1.2"/>- <rect x="814" y="183" width="140" height="55" rx="7" class="c-mask"/>- <rect x="814" y="183" width="140" height="55" rx="7" class="c-backend" stroke-width="1.5"/>- <text data-node-label="" x="884" class="t-primary" font-size="12.5" font-weight="650" text-anchor="middle"><tspan x="884" y="206">Operations</tspan></text>- <text data-detail="context" x="884" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="884" y="224">Back-office work</tspan></text>- </g>- <g id="node-platform" data-node-id="platform" data-node-label="Payment platform" tabindex="0" role="button" aria-label="Focus Payment platform, Decomposed by capability, Root" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="Decomposed by capability" data-node-context="Root" data-tree-depth="0">- <title>Payment platform · Decomposed by capability · Root</title>- <rect data-tree-stack="" x="450" y="69" width="180" height="55" rx="7" class="c-frontend" stroke-width="1.2"/>- <rect x="445" y="64" width="180" height="55" rx="7" class="c-mask"/>- <rect x="445" y="64" width="180" height="55" rx="7" class="c-frontend" stroke-width="2"/>- <text data-node-label="" x="535" class="t-primary" font-size="14" font-weight="750" text-anchor="middle"><tspan x="535" y="87">Payment platform</tspan></text>- <text data-detail="context" x="535" class="t-muted" font-size="10.5" text-anchor="middle"><tspan x="535" y="105">Decomposed by capability</tspan></text>- </g><!-- Branch toggles -->+ <g data-tree-toggle="platform" data-tree-count="9" data-tree-label-collapse="Collapse Payment platform (9 below)" data-tree-label-expand="Expand Payment platform (9 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Payment platform (9 below)">+ <circle cx="523" cy="123" r="15" class="tree-toggle-hit"/>+ <circle cx="523" cy="123" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 519 123 H 527" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 523 119 V 127" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="537" y="126.5" font-size="9.5" font-weight="650">9</text>+ </g><g data-tree-toggle="orders" data-tree-count="2" data-tree-ancestors="platform" data-tree-label-collapse="Collapse Orders (2 below)" data-tree-label-expand="Expand Orders (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Orders (2 below)"><circle cx="186" cy="238" r="15" class="tree-toggle-hit"/><circle cx="186" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>@@ -5141,25 +5149,18 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<text class="tree-toggle-count t-muted" x="200" y="241.5" font-size="9.5" font-weight="650">2</text></g><g data-tree-toggle="payments" data-tree-count="2" data-tree-ancestors="platform" data-tree-label-collapse="Collapse Payments (2 below)" data-tree-label-expand="Expand Payments (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Payments (2 below)">- <circle cx="522" cy="238" r="15" class="tree-toggle-hit"/>- <circle cx="522" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 518 238 H 526" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 522 234 V 242" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="536" y="241.5" font-size="9.5" font-weight="650">2</text>+ <circle cx="523" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="523" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 519 238 H 527" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 523 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="537" y="241.5" font-size="9.5" font-weight="650">2</text></g><g data-tree-toggle="operations" data-tree-count="2" data-tree-ancestors="platform" data-tree-label-collapse="Collapse Operations (2 below)" data-tree-label-expand="Expand Operations (2 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Operations (2 below)">- <circle cx="884" cy="238" r="15" class="tree-toggle-hit"/>- <circle cx="884" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 880 238 H 888" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 884 234 V 242" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="898" y="241.5" font-size="9.5" font-weight="650">2</text>- </g>- <g data-tree-toggle="platform" data-tree-count="9" data-tree-label-collapse="Collapse Payment platform (9 below)" data-tree-label-expand="Expand Payment platform (9 hidden)" role="button" tabindex="0" aria-expanded="true" aria-label="Collapse Payment platform (9 below)">- <circle cx="535" cy="119" r="15" class="tree-toggle-hit"/>- <circle cx="535" cy="119" r="9" class="tree-toggle-disc" stroke-width="1.4"/>- <path class="tree-toggle-glyph" d="M 531 119 H 539" stroke-width="1.6" stroke-linecap="round"/>- <path class="tree-toggle-glyph tree-toggle-plus" d="M 535 115 V 123" stroke-width="1.6" stroke-linecap="round"/>- <text class="tree-toggle-count t-muted" x="549" y="122.5" font-size="9.5" font-weight="650">9</text>+ <circle cx="875" cy="238" r="15" class="tree-toggle-hit"/>+ <circle cx="875" cy="238" r="9" class="tree-toggle-disc" stroke-width="1.4"/>+ <path class="tree-toggle-glyph" d="M 871 238 H 879" stroke-width="1.6" stroke-linecap="round"/>+ <path class="tree-toggle-glyph tree-toggle-plus" d="M 875 234 V 242" stroke-width="1.6" stroke-linecap="round"/>+ <text class="tree-toggle-count t-muted" x="889" y="241.5" font-size="9.5" font-weight="650">2</text></g><!-- Expand all (shown only while a branch is collapsed) -->diff --git a/examples/waterfall-checkout-request-rendered.html b/examples/waterfall-checkout-request-rendered.htmlindex e2fe704d..45535a14 100644--- a/examples/waterfall-checkout-request-rendered.html+++ b/examples/waterfall-checkout-request-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1063 284" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1089 308" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Checkout request execution</title><desc id="archify-diagram-description">Illustrative timing: inventory lookup and discount calculation run concurrently; payment follows.</desc><!-- Definitions -->@@ -5017,103 +5017,152 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-waterfall-ui] .wf-axis { stroke: var(--text-muted); }- svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }+ svg[data-waterfall-ui] .wf-axis { stroke: var(--text-dim); }+ svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-waterfall-ui] .wf-grid-origin { stroke-dasharray: none; opacity: .9; }svg[data-waterfall-ui] .wf-row { fill: transparent; }- svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); opacity: .45; }+ svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); fill-opacity: 1; opacity: .7; }svg[data-waterfall-ui] .wf-guide { stroke: var(--lane-stroke); }- svg[data-waterfall-ui] .wf-root { fill-opacity: .35; }- svg[data-waterfall-ui] .wf-open { stroke-dasharray: 2 3; fill-opacity: .55; }- svg[data-waterfall-ui] .wf-open-edge { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-span { fill-opacity: .9; }+ svg[data-waterfall-ui] .wf-open { stroke-dasharray: 3 2.5; fill-opacity: .6; }+ svg[data-waterfall-ui] .wf-open-edge { fill: none !important; }svg[data-waterfall-ui] .wf-num { font-variant-numeric: tabular-nums; }+ svg[data-waterfall-ui] .wf-caps { letter-spacing: .06em; }+ svg[data-waterfall-ui] .wf-solid { stroke: none; }+ svg[data-waterfall-ui] .wf-solid.c-frontend { fill: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-frontend { stroke: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-backend { fill: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-backend { stroke: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-database { fill: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-database { stroke: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-cloud { fill: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-cloud { stroke: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-messagebus { fill: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-security { fill: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-security { stroke: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-external { fill: var(--external-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-external { stroke: var(--external-stroke); }</style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" /><g data-waterfall-evidence="illustrative">- <rect x="28" y="12" width="136" height="20" rx="10" class="c-messagebus" stroke-width="1.2"/>- <text x="96" y="26" class="t-messagebus" font-size="10" font-weight="700" text-anchor="middle">Illustrative timing</text>+ <rect x="28" y="14" width="144" height="22" rx="11" class="c-messagebus" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-messagebus"/>+ <text x="105" y="29" class="t-messagebus" font-size="10.5" font-weight="700" text-anchor="middle">Illustrative timing</text></g>- <text data-waterfall-total="1200" x="176" y="26" class="t-primary" font-size="11" font-weight="650">Wall-clock 1,200 ms (0 → 1,200 ms)</text>+ <text data-waterfall-total="1200" x="186" y="29.5" class="t-primary wf-num" font-size="13" font-weight="700">Wall-clock 1,200 ms<tspan class="t-muted" font-weight="500" dx="10">0 → 1,200 ms</tspan></text><!-- Time axis (bar position and length come only from recorded timing) -->- <text x="28" y="64" class="t-muted" font-size="10" font-weight="650">Operation</text>- <line x1="215" y1="72" x2="975" y2="72" class="wf-axis" stroke-width="1.2"/>- <line x1="215" y1="72" x2="215" y2="256" class="wf-grid" stroke-width="1"/>- <text x="215" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">0 ms</text>- <line x1="341.67" y1="72" x2="341.67" y2="256" class="wf-grid" stroke-width="1"/>- <text x="341.67" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">200 ms</text>- <line x1="468.33" y1="72" x2="468.33" y2="256" class="wf-grid" stroke-width="1"/>- <text x="468.33" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">400 ms</text>- <line x1="595" y1="72" x2="595" y2="256" class="wf-grid" stroke-width="1"/>- <text x="595" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">600 ms</text>- <line x1="721.67" y1="72" x2="721.67" y2="256" class="wf-grid" stroke-width="1"/>- <text x="721.67" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">800 ms</text>- <line x1="848.33" y1="72" x2="848.33" y2="256" class="wf-grid" stroke-width="1"/>- <text x="848.33" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,000 ms</text>- <line x1="975" y1="72" x2="975" y2="256" class="wf-grid" stroke-width="1"/>- <text x="975" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,200 ms</text>+ <text x="28" y="72" class="t-muted wf-caps" font-size="10" font-weight="700">Operation</text>+ <line x1="237" y1="82" x2="997" y2="82" class="wf-axis" stroke-width="1"/>+ <line x1="237" y1="82" x2="237" y2="246" class="wf-grid wf-grid-origin" stroke-width="1"/>+ <line x1="237" y1="78" x2="237" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="237" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">0 ms</text>+ <line x1="363.67" y1="82" x2="363.67" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="363.67" y1="78" x2="363.67" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="363.67" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">200 ms</text>+ <line x1="490.33" y1="82" x2="490.33" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="490.33" y1="78" x2="490.33" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="490.33" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">400 ms</text>+ <line x1="617" y1="82" x2="617" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="617" y1="78" x2="617" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="617" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">600 ms</text>+ <line x1="743.67" y1="82" x2="743.67" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="743.67" y1="78" x2="743.67" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="743.67" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">800 ms</text>+ <line x1="870.33" y1="82" x2="870.33" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="870.33" y1="78" x2="870.33" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="870.33" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,000 ms</text>+ <line x1="997" y1="82" x2="997" y2="246" class="wf-grid" stroke-width="1"/>+ <line x1="997" y1="78" x2="997" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="997" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,200 ms</text><!-- Parent / child guides -->- <path data-edge-from="request" data-edge-to="auth" data-edge-key="1" d="M 33 101 V 122 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="inventory" data-edge-key="2" d="M 33 101 V 150 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="discount" data-edge-key="3" d="M 33 101 V 178 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="payment" data-edge-key="4" d="M 33 101 V 206 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="request" data-edge-to="save" data-edge-key="5" d="M 33 101 V 234 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="auth" data-edge-key="1" d="M 32 106.5 V 121.5 Q 32 125.5 36 125.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="inventory" data-edge-key="2" d="M 32 106.5 V 146.5 Q 32 150.5 36 150.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="discount" data-edge-key="3" d="M 32 106.5 V 171.5 Q 32 175.5 36 175.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="payment" data-edge-key="4" d="M 32 106.5 V 196.5 Q 32 200.5 36 200.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="request" data-edge-to="save" data-edge-key="5" d="M 32 106.5 V 221.5 Q 32 225.5 36 225.5 H 43" class="wf-guide" stroke-width="1" fill="none"/><!-- Spans, depth-first by start time -->- <g id="node-request" data-node-id="request" data-node-label="POST /checkout" tabindex="0" role="button" aria-label="Focus POST /checkout, 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs." aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs." data-waterfall-start="0" data-waterfall-end="1200" data-waterfall-duration="1200" data-waterfall-depth="0" data-waterfall-status="ok">- <title>POST /checkout · 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs.</title>- <rect x="22" y="81" width="1013" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="28" y="98" class="t-primary" font-size="11.5" font-weight="700">POST /checkout</text>- <rect x="215" y="87" width="760" height="14" rx="3" class="c-backend wf-root" stroke-width="1.3"/>+ <g id="node-request" data-node-id="request" data-node-label="POST /checkout" tabindex="0" role="button" aria-label="Focus POST /checkout, 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs., checkout-api" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs." data-node-context="checkout-api" data-waterfall-start="0" data-waterfall-end="1200" data-waterfall-duration="1200" data-waterfall-depth="0" data-waterfall-status="ok" data-waterfall-service="checkout-api">+ <title>POST /checkout · 0–1,200 ms · 1,200 ms · 100% of 1,200 ms wall-clock — Parent of every step below; its duration is not added to theirs. · checkout-api</title>+ <rect x="20" y="89" width="1049" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="237" y="93.5" width="760" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="595" y="97.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">1,200 ms</text>+ <circle cx="32" cy="100.5" r="4.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="42" y="104.8" class="t-primary" font-size="12.5" font-weight="750">POST /checkout</text>+ <text x="1004" y="104.3" class="t-primary wf-num" font-size="11" font-weight="700">1,200 ms</text></g>- <g id="node-auth" data-node-id="auth" data-node-label="Authenticate caller" tabindex="0" role="button" aria-label="Focus Authenticate caller, 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="0" data-waterfall-end="100" data-waterfall-duration="100" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Authenticate caller · 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="109" width="1013" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="126" class="t-primary" font-size="11.5" font-weight="550">Authenticate caller</text>- <rect x="215" y="115" width="63.329999999999984" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-auth" data-node-id="auth" data-node-label="Authenticate caller" tabindex="0" role="button" aria-label="Focus Authenticate caller, 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock, identity › POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock" data-node-context="identity › POST /checkout" data-waterfall-start="0" data-waterfall-end="100" data-waterfall-duration="100" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="identity">+ <title>Authenticate caller · 0–100 ms · 100 ms · 8.3% of 1,200 ms wall-clock · identity › POST /checkout</title>+ <rect x="20" y="114" width="1049" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="237" y="118.5" width="63.329999999999984" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="246.665" y="125.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">100 ms</text>+ <circle cx="50" cy="125.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="60" y="129.8" class="t-primary" font-size="12.5" font-weight="500">Authenticate caller</text>+ <text x="307.33" y="129.3" class="t-muted wf-num" font-size="11" font-weight="600">100 ms</text></g>- <g id="node-inventory" data-node-id="inventory" data-node-label="Look up inventory" tabindex="0" role="button" aria-label="Focus Look up inventory, 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="100–400 ms · 300 ms · 25% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="100" data-waterfall-end="400" data-waterfall-duration="300" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Look up inventory · 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="137" width="1013" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="154" class="t-primary" font-size="11.5" font-weight="550">Look up inventory</text>- <rect x="278.33" y="143" width="190" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-inventory" data-node-id="inventory" data-node-label="Look up inventory" tabindex="0" role="button" aria-label="Focus Look up inventory, 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock, inventory › POST /checkout" aria-pressed="false" data-node-kind="database" data-node-sublabel="100–400 ms · 300 ms · 25% of 1,200 ms wall-clock" data-node-context="inventory › POST /checkout" data-waterfall-start="100" data-waterfall-end="400" data-waterfall-duration="300" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="inventory">+ <title>Look up inventory · 100–400 ms · 300 ms · 25% of 1,200 ms wall-clock · inventory › POST /checkout</title>+ <rect x="20" y="139" width="1049" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="300.33" y="143.5" width="190" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="373.33" y="153.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">300 ms</text>+ <circle cx="50" cy="150.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="154.8" class="t-primary" font-size="12.5" font-weight="500">Look up inventory</text>+ <text x="497.33" y="154.3" class="t-muted wf-num" font-size="11" font-weight="600">300 ms</text></g>- <g id="node-discount" data-node-id="discount" data-node-label="Calculate discount" tabindex="0" role="button" aria-label="Focus Calculate discount, 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="100–300 ms · 200 ms · 17% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="100" data-waterfall-end="300" data-waterfall-duration="200" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Calculate discount · 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="165" width="1013" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="182" class="t-primary" font-size="11.5" font-weight="550">Calculate discount</text>- <rect x="278.33" y="171" width="126.67000000000002" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-discount" data-node-id="discount" data-node-label="Calculate discount" tabindex="0" role="button" aria-label="Focus Calculate discount, 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock, checkout-api › POST /checkout" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="100–300 ms · 200 ms · 17% of 1,200 ms wall-clock" data-node-context="checkout-api › POST /checkout" data-waterfall-start="100" data-waterfall-end="300" data-waterfall-duration="200" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="checkout-api">+ <title>Calculate discount · 100–300 ms · 200 ms · 17% of 1,200 ms wall-clock · checkout-api › POST /checkout</title>+ <rect x="20" y="164" width="1049" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="300.33" y="168.5" width="126.67000000000002" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="341.66499999999996" y="181.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">200 ms</text>+ <circle cx="50" cy="175.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="179.8" class="t-primary" font-size="12.5" font-weight="500">Calculate discount</text>+ <text x="434" y="179.3" class="t-muted wf-num" font-size="11" font-weight="600">200 ms</text></g>- <g id="node-payment" data-node-id="payment" data-node-label="Charge payment" tabindex="0" role="button" aria-label="Focus Charge payment, 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="400" data-waterfall-end="1050" data-waterfall-duration="650" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Charge payment · 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="193" width="1013" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="210" class="t-primary" font-size="11.5" font-weight="550">Charge payment</text>- <rect x="468.33" y="199" width="411.67" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-payment" data-node-id="payment" data-node-label="Charge payment" tabindex="0" role="button" aria-label="Focus Charge payment, 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock, payments › POST /checkout" aria-pressed="false" data-node-kind="cloud" data-node-sublabel="400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock" data-node-context="payments › POST /checkout" data-waterfall-start="400" data-waterfall-end="1050" data-waterfall-duration="650" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="payments">+ <title>Charge payment · 400–1,050 ms · 650 ms · 54% of 1,200 ms wall-clock · payments › POST /checkout</title>+ <rect x="20" y="189" width="1049" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="490.33" y="193.5" width="411.67" height="14" rx="4" class="c-cloud wf-solid" stroke-width="1.2"/>- <text x="674.165" y="209.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">650 ms</text>+ <circle cx="50" cy="200.5" r="3.5" class="t-cloud wf-dot"/>+ <text data-node-label="" x="60" y="204.8" class="t-primary" font-size="12.5" font-weight="500">Charge payment</text>+ <text x="909" y="204.3" class="t-muted wf-num" font-size="11" font-weight="600">650 ms</text></g>- <g id="node-save" data-node-id="save" data-node-label="Write order" tabindex="0" role="button" aria-label="Focus Write order, 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock, POST /checkout" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock" data-node-context="POST /checkout" data-waterfall-start="1050" data-waterfall-end="1200" data-waterfall-duration="150" data-waterfall-depth="1" data-waterfall-status="ok">- <title>Write order · 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock · POST /checkout</title>- <rect x="22" y="221" width="1013" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="238" class="t-primary" font-size="11.5" font-weight="550">Write order</text>- <rect x="880" y="227" width="95" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <g id="node-save" data-node-id="save" data-node-label="Write order" tabindex="0" role="button" aria-label="Focus Write order, 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock, checkout-api › POST /checkout" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock" data-node-context="checkout-api › POST /checkout" data-waterfall-start="1050" data-waterfall-end="1200" data-waterfall-duration="150" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="checkout-api">+ <title>Write order · 1,050–1,200 ms · 150 ms · 13% of 1,200 ms wall-clock · checkout-api › POST /checkout</title>+ <rect x="20" y="214" width="1049" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="902" y="218.5" width="95" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="927.5" y="237.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">150 ms</text>+ <circle cx="50" cy="225.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="229.8" class="t-primary" font-size="12.5" font-weight="500">Write order</text>+ <text x="1004" y="229.3" class="t-muted wf-num" font-size="11" font-weight="600">150 ms</text></g><!-- Legend -->-+ <g data-legend="">+ <text x="28" y="272" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="service:checkout-api" data-legend-x="28" data-legend-baseline="292" data-legend-width="104">+ <rect x="28" y="282" width="14" height="10" rx="2.5" class="c-frontend wf-solid" stroke-width="1.2"/>+ <text x="50" y="292" class="t-muted" font-size="13" font-weight="500">checkout-api</text>+ </g>+ <g data-legend-semantic-kind="service:identity" data-legend-x="154" data-legend-baseline="292" data-legend-width="77">+ <rect x="154" y="282" width="14" height="10" rx="2.5" class="c-backend wf-solid" stroke-width="1.2"/>+ <text x="176" y="292" class="t-muted" font-size="13" font-weight="500">identity</text>+ </g>+ <g data-legend-semantic-kind="service:inventory" data-legend-x="253" data-legend-baseline="292" data-legend-width="84">+ <rect x="253" y="282" width="14" height="10" rx="2.5" class="c-database wf-solid" stroke-width="1.2"/>+ <text x="275" y="292" class="t-muted" font-size="13" font-weight="500">inventory</text>+ </g>+ <g data-legend-semantic-kind="service:payments" data-legend-x="359" data-legend-baseline="292" data-legend-width="77">+ <rect x="359" y="282" width="14" height="10" rx="2.5" class="c-cloud wf-solid" stroke-width="1.2"/>+ <text x="381" y="292" class="t-muted" font-size="13" font-weight="500">payments</text>+ </g>+ </g></svg><p class="intent-trace-status no-print" id="intent-trace-status" role="status" aria-live="polite" aria-atomic="true"></p><div class="diagram-guide no-print" id="diagram-guide" hidden role="dialog" aria-modal="false" aria-labelledby="diagram-guide-title">diff --git a/examples/waterfall-example-rebuild-rendered.html b/examples/waterfall-example-rebuild-rendered.htmlindex 612ff716..da1adbf7 100644--- a/examples/waterfall-example-rebuild-rendered.html+++ b/examples/waterfall-example-rebuild-rendered.html@@ -4995,7 +4995,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Main Diagram --><div class="diagram-container" data-detail-level="read"data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">- <svg viewBox="0 0 1169 816" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">+ <svg viewBox="0 0 1216 783" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-waterfall-ui="" data-waterfall-unit="ms" data-reader-fit="intrinsic-height" data-reader-min-text="7.5"><title id="archify-diagram-title">Rebuilding the bundled examples</title><desc id="archify-diagram-description">Measured on one local run: render and artifact check of eight examples across three concurrent workers (process start to exit, ms from batch start).</desc><!-- Definitions -->@@ -5017,274 +5017,338 @@ OTHER DEALINGS IN THE FONT SOFTWARE.</pattern></defs><style>- svg[data-waterfall-ui] .wf-axis { stroke: var(--text-muted); }- svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 3 5; opacity: .8; }+ svg[data-waterfall-ui] .wf-axis { stroke: var(--text-dim); }+ svg[data-waterfall-ui] .wf-grid { stroke: var(--lane-stroke); stroke-dasharray: 2 4; opacity: .7; }+ svg[data-waterfall-ui] .wf-grid-origin { stroke-dasharray: none; opacity: .9; }svg[data-waterfall-ui] .wf-row { fill: transparent; }- svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); opacity: .45; }+ svg[data-waterfall-ui] .wf-row-alt { fill: var(--lane-fill); fill-opacity: 1; opacity: .7; }svg[data-waterfall-ui] .wf-guide { stroke: var(--lane-stroke); }- svg[data-waterfall-ui] .wf-root { fill-opacity: .35; }- svg[data-waterfall-ui] .wf-open { stroke-dasharray: 2 3; fill-opacity: .55; }- svg[data-waterfall-ui] .wf-open-edge { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-span { fill-opacity: .9; }+ svg[data-waterfall-ui] .wf-open { stroke-dasharray: 3 2.5; fill-opacity: .6; }+ svg[data-waterfall-ui] .wf-open-edge { fill: none !important; }svg[data-waterfall-ui] .wf-num { font-variant-numeric: tabular-nums; }+ svg[data-waterfall-ui] .wf-caps { letter-spacing: .06em; }+ svg[data-waterfall-ui] .wf-solid { stroke: none; }+ svg[data-waterfall-ui] .wf-solid.c-frontend { fill: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-frontend { stroke: var(--frontend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-backend { fill: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-backend { stroke: var(--backend-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-database { fill: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-database { stroke: var(--database-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-cloud { fill: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-cloud { stroke: var(--cloud-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-messagebus { fill: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-messagebus { stroke: var(--messagebus-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-security { fill: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-security { stroke: var(--security-stroke); }+ svg[data-waterfall-ui] .wf-solid.c-external { fill: var(--external-stroke); }+ svg[data-waterfall-ui] .wf-open-edge.t-external { stroke: var(--external-stroke); }</style><!-- Background Grid --><rect width="100%" height="100%" fill="url(#grid)" /><g data-waterfall-evidence="measured">- <rect x="28" y="12" width="112" height="20" rx="10" class="c-backend" stroke-width="1.2"/>- <text x="84" y="26" class="t-backend" font-size="10" font-weight="700" text-anchor="middle">Measured timing</text>+ <rect x="28" y="14" width="119" height="22" rx="11" class="c-backend" stroke-width="1"/>+ <circle cx="39" cy="25" r="3" class="t-backend"/>+ <text x="92.5" y="29" class="t-backend" font-size="10.5" font-weight="700" text-anchor="middle">Measured timing</text></g>- <text data-waterfall-total="1286.2" x="152" y="26" class="t-primary" font-size="11" font-weight="650">Wall-clock 1,286.2 ms (0 → 1,286.2 ms)</text>+ <text data-waterfall-total="1286.2" x="161" y="29.5" class="t-primary wf-num" font-size="13" font-weight="700">Wall-clock 1,286.2 ms<tspan class="t-muted" font-weight="500" dx="10">0 → 1,286.2 ms</tspan></text><!-- Time axis (bar position and length come only from recorded timing) -->- <text x="28" y="64" class="t-muted" font-size="10" font-weight="650">Operation</text>- <line x1="321" y1="72" x2="1081" y2="72" class="wf-axis" stroke-width="1.2"/>- <line x1="321" y1="72" x2="321" y2="788" class="wf-grid" stroke-width="1"/>- <text x="321" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">0 ms</text>- <line x1="439.18" y1="72" x2="439.18" y2="788" class="wf-grid" stroke-width="1"/>- <text x="439.18" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">200 ms</text>- <line x1="557.36" y1="72" x2="557.36" y2="788" class="wf-grid" stroke-width="1"/>- <text x="557.36" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">400 ms</text>- <line x1="675.53" y1="72" x2="675.53" y2="788" class="wf-grid" stroke-width="1"/>- <text x="675.53" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">600 ms</text>- <line x1="793.71" y1="72" x2="793.71" y2="788" class="wf-grid" stroke-width="1"/>- <text x="793.71" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">800 ms</text>- <line x1="911.89" y1="72" x2="911.89" y2="788" class="wf-grid" stroke-width="1"/>- <text x="911.89" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,000 ms</text>- <line x1="1030.07" y1="72" x2="1030.07" y2="788" class="wf-grid" stroke-width="1"/>- <text x="1030.07" y="64" class="t-muted wf-num" font-size="10" text-anchor="middle">1,200 ms</text>+ <text x="28" y="72" class="t-muted wf-caps" font-size="10" font-weight="700">Operation</text>+ <line x1="351" y1="82" x2="1111" y2="82" class="wf-axis" stroke-width="1"/>+ <line x1="351" y1="82" x2="351" y2="721" class="wf-grid wf-grid-origin" stroke-width="1"/>+ <line x1="351" y1="78" x2="351" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="351" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">0 ms</text>+ <line x1="469.18" y1="82" x2="469.18" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="469.18" y1="78" x2="469.18" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="469.18" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">200 ms</text>+ <line x1="587.36" y1="82" x2="587.36" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="587.36" y1="78" x2="587.36" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="587.36" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">400 ms</text>+ <line x1="705.53" y1="82" x2="705.53" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="705.53" y1="78" x2="705.53" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="705.53" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">600 ms</text>+ <line x1="823.71" y1="82" x2="823.71" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="823.71" y1="78" x2="823.71" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="823.71" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">800 ms</text>+ <line x1="941.89" y1="82" x2="941.89" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="941.89" y1="78" x2="941.89" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="941.89" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,000 ms</text>+ <line x1="1060.07" y1="82" x2="1060.07" y2="721" class="wf-grid" stroke-width="1"/>+ <line x1="1060.07" y1="78" x2="1060.07" y2="82" class="wf-axis" stroke-width="1"/>+ <text x="1060.07" y="72" class="t-muted wf-num" font-size="10.5" text-anchor="middle">1,200 ms</text><!-- Parent / child guides -->- <path data-edge-from="batch" data-edge-to="ex0" data-edge-key="1" d="M 33 101 V 122 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex0" data-edge-to="ex0_render" data-edge-key="2" d="M 49 129 V 150 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex0" data-edge-to="ex0_check" data-edge-key="3" d="M 49 129 V 178 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex1" data-edge-key="4" d="M 33 101 V 206 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex1" data-edge-to="ex1_render" data-edge-key="5" d="M 49 213 V 234 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex1" data-edge-to="ex1_check" data-edge-key="6" d="M 49 213 V 262 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex2" data-edge-key="7" d="M 33 101 V 290 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex2" data-edge-to="ex2_render" data-edge-key="8" d="M 49 297 V 318 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex2" data-edge-to="ex2_check" data-edge-key="9" d="M 49 297 V 346 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex3" data-edge-key="10" d="M 33 101 V 374 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex3" data-edge-to="ex3_render" data-edge-key="11" d="M 49 381 V 402 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex3" data-edge-to="ex3_check" data-edge-key="12" d="M 49 381 V 430 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex4" data-edge-key="13" d="M 33 101 V 458 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex4" data-edge-to="ex4_render" data-edge-key="14" d="M 49 465 V 486 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex4" data-edge-to="ex4_check" data-edge-key="15" d="M 49 465 V 514 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex5" data-edge-key="16" d="M 33 101 V 542 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex5" data-edge-to="ex5_render" data-edge-key="17" d="M 49 549 V 570 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex5" data-edge-to="ex5_check" data-edge-key="18" d="M 49 549 V 598 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex6" data-edge-key="19" d="M 33 101 V 626 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex6" data-edge-to="ex6_render" data-edge-key="20" d="M 49 633 V 654 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex6" data-edge-to="ex6_check" data-edge-key="21" d="M 49 633 V 682 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="batch" data-edge-to="ex7" data-edge-key="22" d="M 33 101 V 710 H 43" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex7" data-edge-to="ex7_render" data-edge-key="23" d="M 49 717 V 738 H 59" class="wf-guide" stroke-width="1" fill="none"/>- <path data-edge-from="ex7" data-edge-to="ex7_check" data-edge-key="24" d="M 49 717 V 766 H 59" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex0" data-edge-key="1" d="M 32 106.5 V 121.5 Q 32 125.5 36 125.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex0" data-edge-to="ex0_render" data-edge-key="2" d="M 50 131.5 V 146.5 Q 50 150.5 54 150.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex0" data-edge-to="ex0_check" data-edge-key="3" d="M 50 131.5 V 171.5 Q 50 175.5 54 175.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex1" data-edge-key="4" d="M 32 106.5 V 196.5 Q 32 200.5 36 200.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex1" data-edge-to="ex1_render" data-edge-key="5" d="M 50 206.5 V 221.5 Q 50 225.5 54 225.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex1" data-edge-to="ex1_check" data-edge-key="6" d="M 50 206.5 V 246.5 Q 50 250.5 54 250.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex2" data-edge-key="7" d="M 32 106.5 V 271.5 Q 32 275.5 36 275.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex2" data-edge-to="ex2_render" data-edge-key="8" d="M 50 281.5 V 296.5 Q 50 300.5 54 300.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex2" data-edge-to="ex2_check" data-edge-key="9" d="M 50 281.5 V 321.5 Q 50 325.5 54 325.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex3" data-edge-key="10" d="M 32 106.5 V 346.5 Q 32 350.5 36 350.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex3" data-edge-to="ex3_render" data-edge-key="11" d="M 50 356.5 V 371.5 Q 50 375.5 54 375.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex3" data-edge-to="ex3_check" data-edge-key="12" d="M 50 356.5 V 396.5 Q 50 400.5 54 400.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex4" data-edge-key="13" d="M 32 106.5 V 421.5 Q 32 425.5 36 425.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex4" data-edge-to="ex4_render" data-edge-key="14" d="M 50 431.5 V 446.5 Q 50 450.5 54 450.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex4" data-edge-to="ex4_check" data-edge-key="15" d="M 50 431.5 V 471.5 Q 50 475.5 54 475.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex5" data-edge-key="16" d="M 32 106.5 V 496.5 Q 32 500.5 36 500.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex5" data-edge-to="ex5_render" data-edge-key="17" d="M 50 506.5 V 521.5 Q 50 525.5 54 525.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex5" data-edge-to="ex5_check" data-edge-key="18" d="M 50 506.5 V 546.5 Q 50 550.5 54 550.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex6" data-edge-key="19" d="M 32 106.5 V 571.5 Q 32 575.5 36 575.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex6" data-edge-to="ex6_render" data-edge-key="20" d="M 50 581.5 V 596.5 Q 50 600.5 54 600.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex6" data-edge-to="ex6_check" data-edge-key="21" d="M 50 581.5 V 621.5 Q 50 625.5 54 625.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="batch" data-edge-to="ex7" data-edge-key="22" d="M 32 106.5 V 646.5 Q 32 650.5 36 650.5 H 43" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex7" data-edge-to="ex7_render" data-edge-key="23" d="M 50 656.5 V 671.5 Q 50 675.5 54 675.5 H 61" class="wf-guide" stroke-width="1" fill="none"/>+ <path data-edge-from="ex7" data-edge-to="ex7_check" data-edge-key="24" d="M 50 656.5 V 696.5 Q 50 700.5 54 700.5 H 61" class="wf-guide" stroke-width="1" fill="none"/><!-- Spans, depth-first by start time -->- <g id="node-batch" data-node-id="batch" data-node-label="Rebuild bundled examples (3 workers)" tabindex="0" role="button" aria-label="Focus Rebuild bundled examples (3 workers), 0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" data-waterfall-start="0" data-waterfall-end="1286.2" data-waterfall-duration="1286.2" data-waterfall-depth="0" data-waterfall-status="ok">+ <g id="node-batch" data-node-id="batch" data-node-label="Rebuild bundled examples (3 workers)" tabindex="0" role="button" aria-label="Focus Rebuild bundled examples (3 workers), 0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" aria-pressed="false" data-node-kind="external" data-node-sublabel="0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock" data-waterfall-start="0" data-waterfall-end="1286.2" data-waterfall-duration="1286.2" data-waterfall-depth="0" data-waterfall-status="ok"><title>Rebuild bundled examples (3 workers) · 0–1,286.2 ms · 1,286.2 ms · 100% of 1,286.2 ms wall-clock</title>- <rect x="22" y="81" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="28" y="98" class="t-primary" font-size="11.5" font-weight="700">Rebuild bundled examples (3 workers)</text>- <rect x="321" y="87" width="760" height="14" rx="3" class="c-backend wf-root" stroke-width="1.3"/>+ <rect x="20" y="89" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="351" y="93.5" width="760" height="14" rx="4" class="c-external wf-span" stroke-width="1.2"/>- <text x="701" y="97.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">1,286.2 ms</text>+ <circle cx="32" cy="100.5" r="4.5" class="t-external wf-dot"/>+ <text data-node-label="" x="42" y="104.8" class="t-primary" font-size="12.5" font-weight="750">Rebuild bundled examples (3 workers)</text>+ <text x="1118" y="104.3" class="t-primary wf-num" font-size="11" font-weight="700">1,286.2 ms</text></g>- <g id="node-ex0" data-node-id="ex0" data-node-label="web-app.architecture" tabindex="0" role="button" aria-label="Focus web-app.architecture, 0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="0.2" data-waterfall-end="429.7" data-waterfall-duration="429.5" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex0" data-node-id="ex0" data-node-label="web-app.architecture" tabindex="0" role="button" aria-label="Focus web-app.architecture, 0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="0.2" data-waterfall-end="429.7" data-waterfall-duration="429.5" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>web-app.architecture · 0.2–429.7 ms · 429.5 ms · 33% of 1,286.2 ms wall-clock · worker 1 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="109" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="126" class="t-primary" font-size="11.5" font-weight="550">web-app.architecture</text>- <rect x="321.12" y="115" width="253.77999999999997" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="114" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="351.12" y="118.5" width="253.77999999999997" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="448.01" y="125.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">429.5 ms</text>+ <circle cx="50" cy="125.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="129.8" class="t-primary" font-size="12.5" font-weight="650">web-app.architecture</text>+ <text x="611.9" y="129.3" class="t-primary wf-num" font-size="11" font-weight="700">429.5 ms</text></g>- <g id="node-ex0_render" data-node-id="ex0_render" data-node-label="render-architecture.mjs" tabindex="0" role="button" aria-label="Focus render-architecture.mjs, 0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="backend" data-node-sublabel="0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="0.2" data-waterfall-end="263.3" data-waterfall-duration="263.1" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex0_render" data-node-id="ex0_render" data-node-label="render-architecture.mjs" tabindex="0" role="button" aria-label="Focus render-architecture.mjs, 0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="0.2" data-waterfall-end="263.3" data-waterfall-duration="263.1" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>render-architecture.mjs · 0.2–263.3 ms · 263.1 ms · 20% of 1,286.2 ms wall-clock · worker 1 › web-app.architecture</title>- <rect x="22" y="137" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="154" class="t-primary" font-size="11.5" font-weight="550">render-architecture.mjs</text>- <rect x="321.12" y="143" width="155.45999999999998" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="139" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="351.12" y="143.5" width="155.45999999999998" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="398.85" y="153.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">263.1 ms</text>+ <circle cx="68" cy="150.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="154.8" class="t-primary" font-size="12.5" font-weight="500">render-architecture.mjs</text>+ <text x="513.5799999999999" y="154.3" class="t-muted wf-num" font-size="11" font-weight="600">263.1 ms</text></g>- <g id="node-ex0_check" data-node-id="ex0_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="backend" data-node-sublabel="263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="263.3" data-waterfall-end="429.7" data-waterfall-duration="166.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex0_check" data-node-id="ex0_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock, worker 1 › web-app.architecture" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock" data-node-context="worker 1 › web-app.architecture" data-waterfall-start="263.3" data-waterfall-end="429.7" data-waterfall-duration="166.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>check-render-output.mjs · 263.3–429.7 ms · 166.4 ms · 13% of 1,286.2 ms wall-clock · worker 1 › web-app.architecture</title>- <rect x="22" y="165" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="182" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="476.58" y="171" width="98.32" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="164" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="506.58" y="168.5" width="98.32" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="525.74" y="181.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">166.4 ms</text>+ <circle cx="68" cy="175.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="179.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="611.9" y="179.3" class="t-muted wf-num" font-size="11" font-weight="600">166.4 ms</text></g>- <g id="node-ex1" data-node-id="ex1" data-node-label="agent-tool-call.workflow" tabindex="0" role="button" aria-label="Focus agent-tool-call.workflow, 1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="1.6" data-waterfall-end="445.2" data-waterfall-duration="443.59999999999997" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex1" data-node-id="ex1" data-node-label="agent-tool-call.workflow" tabindex="0" role="button" aria-label="Focus agent-tool-call.workflow, 1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="1.6" data-waterfall-end="445.2" data-waterfall-duration="443.59999999999997" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>agent-tool-call.workflow · 1.6–445.2 ms · 443.6 ms · 34% of 1,286.2 ms wall-clock · worker 2 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="193" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="210" class="t-primary" font-size="11.5" font-weight="550">agent-tool-call.workflow</text>- <rect x="321.95" y="199" width="262.10999999999996" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="189" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="351.95" y="193.5" width="262.10999999999996" height="14" rx="4" class="c-backend wf-span" stroke-width="1.2"/>- <text x="453.005" y="209.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">443.6 ms</text>+ <circle cx="50" cy="200.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="60" y="204.8" class="t-primary" font-size="12.5" font-weight="650">agent-tool-call.workflow</text>+ <text x="621.06" y="204.3" class="t-primary wf-num" font-size="11" font-weight="700">443.6 ms</text></g>- <g id="node-ex1_render" data-node-id="ex1_render" data-node-label="render-workflow.mjs" tabindex="0" role="button" aria-label="Focus render-workflow.mjs, 1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="1.6" data-waterfall-end="298.5" data-waterfall-duration="296.9" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex1_render" data-node-id="ex1_render" data-node-label="render-workflow.mjs" tabindex="0" role="button" aria-label="Focus render-workflow.mjs, 1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="1.6" data-waterfall-end="298.5" data-waterfall-duration="296.9" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>render-workflow.mjs · 1.6–298.5 ms · 296.9 ms · 23% of 1,286.2 ms wall-clock · worker 2 › agent-tool-call.workflow</title>- <rect x="22" y="221" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="238" class="t-primary" font-size="11.5" font-weight="550">render-workflow.mjs</text>- <rect x="321.95" y="227" width="175.43" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="214" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="351.95" y="218.5" width="175.43" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="409.66499999999996" y="237.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">296.9 ms</text>+ <circle cx="68" cy="225.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="229.8" class="t-primary" font-size="12.5" font-weight="500">render-workflow.mjs</text>+ <text x="534.38" y="229.3" class="t-muted wf-num" font-size="11" font-weight="600">296.9 ms</text></g>- <g id="node-ex1_check" data-node-id="ex1_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="298.5" data-waterfall-end="445.2" data-waterfall-duration="146.7" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex1_check" data-node-id="ex1_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock, worker 2 › agent-tool-call.workflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock" data-node-context="worker 2 › agent-tool-call.workflow" data-waterfall-start="298.5" data-waterfall-end="445.2" data-waterfall-duration="146.7" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>check-render-output.mjs · 298.5–445.2 ms · 146.7 ms · 11% of 1,286.2 ms wall-clock · worker 2 › agent-tool-call.workflow</title>- <rect x="22" y="249" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="266" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="497.38" y="255" width="86.67999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="239" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="527.38" y="243.5" width="86.67999999999995" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="540.72" y="265.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">146.7 ms</text>+ <circle cx="68" cy="250.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="254.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="621.06" y="254.3" class="t-muted wf-num" font-size="11" font-weight="600">146.7 ms</text></g>- <g id="node-ex2" data-node-id="ex2" data-node-label="cache-miss-request.sequence" tabindex="0" role="button" aria-label="Focus cache-miss-request.sequence, 2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="2.2" data-waterfall-end="398.4" data-waterfall-duration="396.2" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex2" data-node-id="ex2" data-node-label="cache-miss-request.sequence" tabindex="0" role="button" aria-label="Focus cache-miss-request.sequence, 2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="database" data-node-sublabel="2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="2.2" data-waterfall-end="398.4" data-waterfall-duration="396.2" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>cache-miss-request.sequence · 2.2–398.4 ms · 396.2 ms · 31% of 1,286.2 ms wall-clock · worker 3 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="277" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="294" class="t-primary" font-size="11.5" font-weight="550">cache-miss-request.sequence</text>- <rect x="322.3" y="283" width="234.10999999999996" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="264" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="352.3" y="268.5" width="234.10999999999996" height="14" rx="4" class="c-database wf-span" stroke-width="1.2"/>- <text x="439.355" y="293.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">396.2 ms</text>+ <circle cx="50" cy="275.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="279.8" class="t-primary" font-size="12.5" font-weight="650">cache-miss-request.sequence</text>+ <text x="593.41" y="279.3" class="t-primary wf-num" font-size="11" font-weight="700">396.2 ms</text></g>- <g id="node-ex2_render" data-node-id="ex2_render" data-node-label="render-sequence.mjs" tabindex="0" role="button" aria-label="Focus render-sequence.mjs, 2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="backend" data-node-sublabel="2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="2.2" data-waterfall-end="224.4" data-waterfall-duration="222.20000000000002" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex2_render" data-node-id="ex2_render" data-node-label="render-sequence.mjs" tabindex="0" role="button" aria-label="Focus render-sequence.mjs, 2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="database" data-node-sublabel="2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="2.2" data-waterfall-end="224.4" data-waterfall-duration="222.20000000000002" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>render-sequence.mjs · 2.2–224.4 ms · 222.2 ms · 17% of 1,286.2 ms wall-clock · worker 3 › cache-miss-request.sequence</title>- <rect x="22" y="305" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="322" class="t-primary" font-size="11.5" font-weight="550">render-sequence.mjs</text>- <rect x="322.3" y="311" width="131.3" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="289" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="352.3" y="293.5" width="131.3" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="387.95000000000005" y="321.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">222.2 ms</text>+ <circle cx="68" cy="300.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="304.8" class="t-primary" font-size="12.5" font-weight="500">render-sequence.mjs</text>+ <text x="490.6" y="304.3" class="t-muted wf-num" font-size="11" font-weight="600">222.2 ms</text></g>- <g id="node-ex2_check" data-node-id="ex2_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="backend" data-node-sublabel="224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="224.4" data-waterfall-end="398.4" data-waterfall-duration="173.99999999999997" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex2_check" data-node-id="ex2_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock, worker 3 › cache-miss-request.sequence" aria-pressed="false" data-node-kind="database" data-node-sublabel="224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock" data-node-context="worker 3 › cache-miss-request.sequence" data-waterfall-start="224.4" data-waterfall-end="398.4" data-waterfall-duration="173.99999999999997" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>check-render-output.mjs · 224.4–398.4 ms · 174 ms · 14% of 1,286.2 ms wall-clock · worker 3 › cache-miss-request.sequence</title>- <rect x="22" y="333" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="350" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="453.6" y="339" width="102.80999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="314" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="483.6" y="318.5" width="102.80999999999995" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="505.005" y="349.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">174 ms</text>+ <circle cx="68" cy="325.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="329.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="593.41" y="329.3" class="t-muted wf-num" font-size="11" font-weight="600">174 ms</text></g>- <g id="node-ex3" data-node-id="ex3" data-node-label="product-analytics.dataflow" tabindex="0" role="button" aria-label="Focus product-analytics.dataflow, 398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="398.4" data-waterfall-end="830.7" data-waterfall-duration="432.30000000000007" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex3" data-node-id="ex3" data-node-label="product-analytics.dataflow" tabindex="0" role="button" aria-label="Focus product-analytics.dataflow, 398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="database" data-node-sublabel="398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="398.4" data-waterfall-end="830.7" data-waterfall-duration="432.30000000000007" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>product-analytics.dataflow · 398.4–830.7 ms · 432.3 ms · 34% of 1,286.2 ms wall-clock · worker 3 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="361" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="378" class="t-primary" font-size="11.5" font-weight="550">product-analytics.dataflow</text>- <rect x="556.41" y="367" width="255.44000000000005" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="339" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="586.41" y="343.5" width="255.44000000000005" height="14" rx="4" class="c-database wf-span" stroke-width="1.2"/>- <text x="684.13" y="377.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">432.3 ms</text>+ <circle cx="50" cy="350.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="354.8" class="t-primary" font-size="12.5" font-weight="650">product-analytics.dataflow</text>+ <text x="848.85" y="354.3" class="t-primary wf-num" font-size="11" font-weight="700">432.3 ms</text></g>- <g id="node-ex3_render" data-node-id="ex3_render" data-node-label="render-dataflow.mjs" tabindex="0" role="button" aria-label="Focus render-dataflow.mjs, 398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="398.4" data-waterfall-end="593.4" data-waterfall-duration="195" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex3_render" data-node-id="ex3_render" data-node-label="render-dataflow.mjs" tabindex="0" role="button" aria-label="Focus render-dataflow.mjs, 398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="database" data-node-sublabel="398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="398.4" data-waterfall-end="593.4" data-waterfall-duration="195" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>render-dataflow.mjs · 398.4–593.4 ms · 195 ms · 15% of 1,286.2 ms wall-clock · worker 3 › product-analytics.dataflow</title>- <rect x="22" y="389" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="406" class="t-primary" font-size="11.5" font-weight="550">render-dataflow.mjs</text>- <rect x="556.41" y="395" width="115.22000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="364" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="586.41" y="368.5" width="115.22000000000003" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="614.02" y="405.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">195 ms</text>+ <circle cx="68" cy="375.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="379.8" class="t-primary" font-size="12.5" font-weight="500">render-dataflow.mjs</text>+ <text x="708.63" y="379.3" class="t-muted wf-num" font-size="11" font-weight="600">195 ms</text></g>- <g id="node-ex3_check" data-node-id="ex3_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="backend" data-node-sublabel="593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="593.4" data-waterfall-end="830.7" data-waterfall-duration="237.30000000000007" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex3_check" data-node-id="ex3_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock, worker 3 › product-analytics.dataflow" aria-pressed="false" data-node-kind="database" data-node-sublabel="593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock" data-node-context="worker 3 › product-analytics.dataflow" data-waterfall-start="593.4" data-waterfall-end="830.7" data-waterfall-duration="237.30000000000007" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>check-render-output.mjs · 593.4–830.7 ms · 237.3 ms · 18% of 1,286.2 ms wall-clock · worker 3 › product-analytics.dataflow</title>- <rect x="22" y="417" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="434" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="671.63" y="423" width="140.22000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="389" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="701.63" y="393.5" width="140.22000000000003" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="741.74" y="433.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">237.3 ms</text>+ <circle cx="68" cy="400.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="404.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="848.85" y="404.3" class="t-muted wf-num" font-size="11" font-weight="600">237.3 ms</text></g>- <g id="node-ex4" data-node-id="ex4" data-node-label="agent-run.lifecycle" tabindex="0" role="button" aria-label="Focus agent-run.lifecycle, 429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="429.8" data-waterfall-end="862.8" data-waterfall-duration="432.99999999999994" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex4" data-node-id="ex4" data-node-label="agent-run.lifecycle" tabindex="0" role="button" aria-label="Focus agent-run.lifecycle, 429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="429.8" data-waterfall-end="862.8" data-waterfall-duration="432.99999999999994" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>agent-run.lifecycle · 429.8–862.8 ms · 433 ms · 34% of 1,286.2 ms wall-clock · worker 1 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="445" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="462" class="t-primary" font-size="11.5" font-weight="550">agent-run.lifecycle</text>- <rect x="574.96" y="451" width="255.86" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="414" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="604.96" y="418.5" width="255.86" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="702.8900000000001" y="461.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">433 ms</text>+ <circle cx="50" cy="425.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="429.8" class="t-primary" font-size="12.5" font-weight="650">agent-run.lifecycle</text>+ <text x="867.82" y="429.3" class="t-primary wf-num" font-size="11" font-weight="700">433 ms</text></g>- <g id="node-ex4_render" data-node-id="ex4_render" data-node-label="render-lifecycle.mjs" tabindex="0" role="button" aria-label="Focus render-lifecycle.mjs, 429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="backend" data-node-sublabel="429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="429.8" data-waterfall-end="643.7" data-waterfall-duration="213.90000000000003" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex4_render" data-node-id="ex4_render" data-node-label="render-lifecycle.mjs" tabindex="0" role="button" aria-label="Focus render-lifecycle.mjs, 429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="429.8" data-waterfall-end="643.7" data-waterfall-duration="213.90000000000003" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>render-lifecycle.mjs · 429.8–643.7 ms · 213.9 ms · 17% of 1,286.2 ms wall-clock · worker 1 › agent-run.lifecycle</title>- <rect x="22" y="473" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="490" class="t-primary" font-size="11.5" font-weight="550">render-lifecycle.mjs</text>- <rect x="574.96" y="479" width="126.38999999999999" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="439" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="604.96" y="443.5" width="126.38999999999999" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="638.155" y="489.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">213.9 ms</text>+ <circle cx="68" cy="450.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="454.8" class="t-primary" font-size="12.5" font-weight="500">render-lifecycle.mjs</text>+ <text x="738.35" y="454.3" class="t-muted wf-num" font-size="11" font-weight="600">213.9 ms</text></g>- <g id="node-ex4_check" data-node-id="ex4_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="backend" data-node-sublabel="643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="643.7" data-waterfall-end="862.8" data-waterfall-duration="219.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex4_check" data-node-id="ex4_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock, worker 1 › agent-run.lifecycle" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › agent-run.lifecycle" data-waterfall-start="643.7" data-waterfall-end="862.8" data-waterfall-duration="219.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>check-render-output.mjs · 643.7–862.8 ms · 219.1 ms · 17% of 1,286.2 ms wall-clock · worker 1 › agent-run.lifecycle</title>- <rect x="22" y="501" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="518" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="701.35" y="507" width="129.47000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="464" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="731.35" y="468.5" width="129.47000000000003" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="766.085" y="517.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">219.1 ms</text>+ <circle cx="68" cy="475.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="479.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="867.82" y="479.3" class="t-muted wf-num" font-size="11" font-weight="600">219.1 ms</text></g>- <g id="node-ex5" data-node-id="ex5" data-node-label="orders.erd" tabindex="0" role="button" aria-label="Focus orders.erd, 445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="445.2" data-waterfall-end="868.3" data-waterfall-duration="423.09999999999997" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex5" data-node-id="ex5" data-node-label="orders.erd" tabindex="0" role="button" aria-label="Focus orders.erd, 445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock, worker 2 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 2 › Rebuild bundled examples (3 workers)" data-waterfall-start="445.2" data-waterfall-end="868.3" data-waterfall-duration="423.09999999999997" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>orders.erd · 445.2–868.3 ms · 423.1 ms · 33% of 1,286.2 ms wall-clock · worker 2 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="529" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="546" class="t-primary" font-size="11.5" font-weight="550">orders.erd</text>- <rect x="584.06" y="535" width="250.0100000000001" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="489" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="614.06" y="493.5" width="250.0100000000001" height="14" rx="4" class="c-backend wf-span" stroke-width="1.2"/>- <text x="709.065" y="545.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">423.1 ms</text>+ <circle cx="50" cy="500.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="60" y="504.8" class="t-primary" font-size="12.5" font-weight="650">orders.erd</text>+ <text x="871.07" y="504.3" class="t-primary wf-num" font-size="11" font-weight="700">423.1 ms</text></g>- <g id="node-ex5_render" data-node-id="ex5_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="445.2" data-waterfall-end="645.9" data-waterfall-duration="200.7" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex5_render" data-node-id="ex5_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="445.2" data-waterfall-end="645.9" data-waterfall-duration="200.7" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>render-erd.mjs · 445.2–645.9 ms · 200.7 ms · 16% of 1,286.2 ms wall-clock · worker 2 › orders.erd</title>- <rect x="22" y="557" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="574" class="t-primary" font-size="11.5" font-weight="550">render-erd.mjs</text>- <rect x="584.06" y="563" width="118.59000000000003" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="514" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="614.06" y="518.5" width="118.59000000000003" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="643.355" y="573.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">200.7 ms</text>+ <circle cx="68" cy="525.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="529.8" class="t-primary" font-size="12.5" font-weight="500">render-erd.mjs</text>+ <text x="739.65" y="529.3" class="t-muted wf-num" font-size="11" font-weight="600">200.7 ms</text></g>- <g id="node-ex5_check" data-node-id="ex5_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="645.9" data-waterfall-end="868.3" data-waterfall-duration="222.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex5_check" data-node-id="ex5_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock, worker 2 › orders.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 2 › orders.erd" data-waterfall-start="645.9" data-waterfall-end="868.3" data-waterfall-duration="222.39999999999998" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 2"><title>check-render-output.mjs · 645.9–868.3 ms · 222.4 ms · 17% of 1,286.2 ms wall-clock · worker 2 › orders.erd</title>- <rect x="22" y="585" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="602" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="702.65" y="591" width="131.42000000000007" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="539" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="732.65" y="543.5" width="131.42000000000007" height="14" rx="4" class="c-backend wf-solid" stroke-width="1.2"/>- <text x="768.36" y="601.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">222.4 ms</text>+ <circle cx="68" cy="550.5" r="3.5" class="t-backend wf-dot"/>+ <text data-node-label="" x="78" y="554.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="871.07" y="554.3" class="t-muted wf-num" font-size="11" font-weight="600">222.4 ms</text></g>- <g id="node-ex6" data-node-id="ex6" data-node-label="subscription-billing.erd" tabindex="0" role="button" aria-label="Focus subscription-billing.erd, 830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="830.7" data-waterfall-end="1231.3" data-waterfall-duration="400.5999999999999" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex6" data-node-id="ex6" data-node-label="subscription-billing.erd" tabindex="0" role="button" aria-label="Focus subscription-billing.erd, 830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock, worker 3 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="database" data-node-sublabel="830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock" data-node-context="worker 3 › Rebuild bundled examples (3 workers)" data-waterfall-start="830.7" data-waterfall-end="1231.3" data-waterfall-duration="400.5999999999999" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>subscription-billing.erd · 830.7–1,231.3 ms · 400.6 ms · 31% of 1,286.2 ms wall-clock · worker 3 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="613" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="56" y="630" class="t-primary" font-size="11.5" font-weight="550">subscription-billing.erd</text>- <rect x="811.85" y="619" width="236.70999999999992" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="564" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="841.85" y="568.5" width="236.70999999999992" height="14" rx="4" class="c-database wf-span" stroke-width="1.2"/>- <text x="930.2049999999999" y="629.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">400.6 ms</text>+ <circle cx="50" cy="575.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="60" y="579.8" class="t-primary" font-size="12.5" font-weight="650">subscription-billing.erd</text>+ <text x="1085.56" y="579.3" class="t-primary wf-num" font-size="11" font-weight="700">400.6 ms</text></g>- <g id="node-ex6_render" data-node-id="ex6_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="830.7" data-waterfall-end="1022.2" data-waterfall-duration="191.5" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex6_render" data-node-id="ex6_render" data-node-label="render-erd.mjs" tabindex="0" role="button" aria-label="Focus render-erd.mjs, 830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="database" data-node-sublabel="830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="830.7" data-waterfall-end="1022.2" data-waterfall-duration="191.5" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>render-erd.mjs · 830.7–1,022.2 ms · 191.5 ms · 15% of 1,286.2 ms wall-clock · worker 3 › subscription-billing.erd</title>- <rect x="22" y="641" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="658" class="t-primary" font-size="11.5" font-weight="550">render-erd.mjs</text>- <rect x="811.85" y="647" width="113.15999999999997" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="589" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="841.85" y="593.5" width="113.15999999999997" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="868.4300000000001" y="657.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">191.5 ms</text>+ <circle cx="68" cy="600.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="604.8" class="t-primary" font-size="12.5" font-weight="500">render-erd.mjs</text>+ <text x="962.01" y="604.3" class="t-muted wf-num" font-size="11" font-weight="600">191.5 ms</text></g>- <g id="node-ex6_check" data-node-id="ex6_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="1022.2" data-waterfall-end="1231.3" data-waterfall-duration="209.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex6_check" data-node-id="ex6_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock, worker 3 › subscription-billing.erd" aria-pressed="false" data-node-kind="database" data-node-sublabel="1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 3 › subscription-billing.erd" data-waterfall-start="1022.2" data-waterfall-end="1231.3" data-waterfall-duration="209.0999999999999" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 3"><title>check-render-output.mjs · 1,022.2–1,231.3 ms · 209.1 ms · 16% of 1,286.2 ms wall-clock · worker 3 › subscription-billing.erd</title>- <rect x="22" y="669" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="686" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="925.01" y="675" width="123.54999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="614" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="955.01" y="618.5" width="123.54999999999995" height="14" rx="4" class="c-database wf-solid" stroke-width="1.2"/>- <text x="986.785" y="685.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">209.1 ms</text>+ <circle cx="68" cy="625.5" r="3.5" class="t-database wf-dot"/>+ <text data-node-label="" x="78" y="629.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="1085.56" y="629.3" class="t-muted wf-num" font-size="11" font-weight="600">209.1 ms</text></g>- <g id="node-ex7" data-node-id="ex7" data-node-label="checkout-request.waterfall" tabindex="0" role="button" aria-label="Focus checkout-request.waterfall, 862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="backend" data-node-sublabel="862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="862.8" data-waterfall-end="1286.2" data-waterfall-duration="423.4000000000001" data-waterfall-depth="1" data-waterfall-status="ok">+ <g id="node-ex7" data-node-id="ex7" data-node-label="checkout-request.waterfall" tabindex="0" role="button" aria-label="Focus checkout-request.waterfall, 862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock, worker 1 › Rebuild bundled examples (3 workers)" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock" data-node-context="worker 1 › Rebuild bundled examples (3 workers)" data-waterfall-start="862.8" data-waterfall-end="1286.2" data-waterfall-duration="423.4000000000001" data-waterfall-depth="1" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>checkout-request.waterfall · 862.8–1,286.2 ms · 423.4 ms · 33% of 1,286.2 ms wall-clock · worker 1 › Rebuild bundled examples (3 workers)</title>- <rect x="22" y="697" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="56" y="714" class="t-primary" font-size="11.5" font-weight="550">checkout-request.waterfall</text>- <rect x="830.82" y="703" width="250.17999999999995" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="639" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="860.82" y="643.5" width="250.17999999999995" height="14" rx="4" class="c-frontend wf-span" stroke-width="1.2"/>- <text x="955.9100000000001" y="713.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">423.4 ms</text>+ <circle cx="50" cy="650.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="60" y="654.8" class="t-primary" font-size="12.5" font-weight="650">checkout-request.waterfall</text>+ <text x="1118" y="654.3" class="t-primary wf-num" font-size="11" font-weight="700">423.4 ms</text></g>- <g id="node-ex7_render" data-node-id="ex7_render" data-node-label="render-waterfall.mjs" tabindex="0" role="button" aria-label="Focus render-waterfall.mjs, 862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="backend" data-node-sublabel="862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="862.8" data-waterfall-end="1082.5" data-waterfall-duration="219.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex7_render" data-node-id="ex7_render" data-node-label="render-waterfall.mjs" tabindex="0" role="button" aria-label="Focus render-waterfall.mjs, 862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="862.8" data-waterfall-end="1082.5" data-waterfall-duration="219.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>render-waterfall.mjs · 862.8–1,082.5 ms · 219.7 ms · 17% of 1,286.2 ms wall-clock · worker 1 › checkout-request.waterfall</title>- <rect x="22" y="725" width="1119" height="26" rx="5" class="wf-row wf-row-alt"/>- <text data-node-label="" x="72" y="742" class="t-primary" font-size="11.5" font-weight="550">render-waterfall.mjs</text>- <rect x="830.82" y="731" width="129.81999999999994" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="664" width="1176" height="23" rx="6" class="c-mask wf-row wf-row-alt"/>+ <rect x="860.82" y="668.5" width="129.81999999999994" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="895.73" y="741.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">219.7 ms</text>+ <circle cx="68" cy="675.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="679.8" class="t-primary" font-size="12.5" font-weight="500">render-waterfall.mjs</text>+ <text x="997.64" y="679.3" class="t-muted wf-num" font-size="11" font-weight="600">219.7 ms</text></g>- <g id="node-ex7_check" data-node-id="ex7_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="backend" data-node-sublabel="1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="1082.5" data-waterfall-end="1286.2" data-waterfall-duration="203.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok">+ <g id="node-ex7_check" data-node-id="ex7_check" data-node-label="check-render-output.mjs" tabindex="0" role="button" aria-label="Focus check-render-output.mjs, 1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock, worker 1 › checkout-request.waterfall" aria-pressed="false" data-node-kind="frontend" data-node-sublabel="1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock" data-node-context="worker 1 › checkout-request.waterfall" data-waterfall-start="1082.5" data-waterfall-end="1286.2" data-waterfall-duration="203.70000000000005" data-waterfall-depth="2" data-waterfall-status="ok" data-waterfall-service="worker 1"><title>check-render-output.mjs · 1,082.5–1,286.2 ms · 203.7 ms · 16% of 1,286.2 ms wall-clock · worker 1 › checkout-request.waterfall</title>- <rect x="22" y="753" width="1119" height="26" rx="5" class="wf-row"/>- <text data-node-label="" x="72" y="770" class="t-primary" font-size="11.5" font-weight="550">check-render-output.mjs</text>- <rect x="960.64" y="759" width="120.36000000000001" height="14" rx="3" class="c-backend" stroke-width="1.3"/>+ <rect x="20" y="689" width="1176" height="23" rx="6" class="c-mask wf-row"/>+ <rect x="990.64" y="693.5" width="120.36000000000001" height="14" rx="4" class="c-frontend wf-solid" stroke-width="1.2"/>- <text x="1020.8199999999999" y="769.5" class="t-primary wf-num" font-size="10" font-weight="650" text-anchor="middle">203.7 ms</text>+ <circle cx="68" cy="700.5" r="3.5" class="t-frontend wf-dot"/>+ <text data-node-label="" x="78" y="704.8" class="t-primary" font-size="12.5" font-weight="500">check-render-output.mjs</text>+ <text x="1118" y="704.3" class="t-muted wf-num" font-size="11" font-weight="600">203.7 ms</text></g><!-- Legend -->-+ <g data-legend="">+ <text x="28" y="747" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="service:worker 1" data-legend-x="28" data-legend-baseline="767" data-legend-width="77">+ <rect x="28" y="757" width="14" height="10" rx="2.5" class="c-frontend wf-solid" stroke-width="1.2"/>+ <text x="50" y="767" class="t-muted" font-size="13" font-weight="500">worker 1</text>+ </g>+ <g data-legend-semantic-kind="service:worker 2" data-legend-x="127" data-legend-baseline="767" data-legend-width="77">+ <rect x="127" y="757" width="14" height="10" rx="2.5" class="c-backend wf-solid" stroke-width="1.2"/>+ <text x="149" y="767" class="t-muted" font-size="13" font-weight="500">worker 2</text>+ </g>+ <g data-legend-semantic-kind="service:worker 3" data-legend-x="226" data-legend-baseline="767" data-legend-width="77">+ <rect x="226" y="757" width="14" height="10" rx="2.5" class="c-database wf-solid" stroke-width="1.2"/>+ <text x="248" y="767" class="t-muted" font-size="13" font-weight="500">worker 3</text>+ </g>+ </g></svg><p class="intent-trace-status no-print" id="intent-trace-status" role="status" aria-live="polite" aria-atomic="true"></p><div class="diagram-guide no-print" id="diagram-guide" hidden role="dialog" aria-modal="false" aria-labelledby="diagram-guide-title">