{
  "schema_version": 1,
  "mode": "architecture",
  "template_type": "architecture",
  "style": 10,
  "semantic_profile": "cloud-fabric",
  "diagram_type": "deployment",
  "platform_profile": "aws",
  "deployment_mode": "ACTIVE–ACTIVE",
  "icon_manifest_version": "2026.07-neutral.1",
  "quality_profile": "showcase",
  "width": 960,
  "height": 760,
  "title": "Active–Active Checkout Deployment",
  "subtitle": "global ingress, explicit region/VPC ownership, and inter-region data flow",
  "containers": [
    {
      "id": "global-edge",
      "deployment_kind": "global",
      "x": 30,
      "y": 120,
      "width": 900,
      "height": 100,
      "label": "Global Edge"
    },
    {
      "id": "region-a",
      "deployment_kind": "region",
      "x": 30,
      "y": 260,
      "width": 420,
      "height": 350,
      "label": "us-east-1"
    },
    {
      "id": "region-b",
      "deployment_kind": "region",
      "x": 510,
      "y": 260,
      "width": 420,
      "height": 350,
      "label": "eu-west-1"
    },
    {
      "id": "vpc-a",
      "deployment_kind": "network",
      "parent": "region-a",
      "x": 55,
      "y": 310,
      "width": 370,
      "height": 260,
      "label": "VPC A"
    },
    {
      "id": "vpc-b",
      "deployment_kind": "network",
      "parent": "region-b",
      "x": 535,
      "y": 310,
      "width": 370,
      "height": 260,
      "label": "VPC B"
    }
  ],
  "nodes": [
    {
      "id": "edge-a",
      "kind": "cloud_service",
      "deployment_kind": "edge",
      "deployment_id": "global-edge",
      "icon_id": "generic:traffic",
      "provider": "AWS",
      "x": 182,
      "y": 142,
      "width": 176,
      "height": 56,
      "label": "NA Edge",
      "sublabel": "health routing"
    },
    {
      "id": "edge-b",
      "kind": "cloud_service",
      "deployment_kind": "edge",
      "deployment_id": "global-edge",
      "icon_id": "generic:traffic",
      "provider": "AWS",
      "x": 662,
      "y": 142,
      "width": 176,
      "height": 56,
      "label": "EU Edge",
      "sublabel": "health routing"
    },
    {
      "id": "app-a",
      "kind": "cloud_service",
      "deployment_kind": "compute",
      "deployment_id": "vpc-a",
      "icon_id": "generic:compute",
      "provider": "AWS",
      "x": 182,
      "y": 350,
      "width": 176,
      "height": 72,
      "label": "App A",
      "sublabel": "checkout service"
    },
    {
      "id": "db-a",
      "kind": "cloud_service",
      "deployment_kind": "database",
      "deployment_id": "vpc-a",
      "icon_id": "generic:database",
      "provider": "AWS",
      "x": 182,
      "y": 470,
      "width": 176,
      "height": 72,
      "label": "Orders A",
      "sublabel": "regional primary"
    },
    {
      "id": "app-b",
      "kind": "cloud_service",
      "deployment_kind": "compute",
      "deployment_id": "vpc-b",
      "icon_id": "generic:compute",
      "provider": "AWS",
      "x": 662,
      "y": 350,
      "width": 176,
      "height": 72,
      "label": "App B",
      "sublabel": "checkout service"
    },
    {
      "id": "db-b",
      "kind": "cloud_service",
      "deployment_kind": "database",
      "deployment_id": "vpc-b",
      "icon_id": "generic:database",
      "provider": "AWS",
      "x": 662,
      "y": 470,
      "width": 176,
      "height": 72,
      "label": "Orders B",
      "sublabel": "regional primary"
    }
  ],
  "arrows": [
    {
      "id": "route-a",
      "source": "edge-a",
      "target": "app-a",
      "source_port": "bottom",
      "target_port": "top",
      "flow": "read",
      "motion_role": "global-route",
      "motion_stage": 1,
      "motion_order": 0,
      "via": "Route 53 health policy",
      "label_dy": -34
    },
    {
      "id": "route-b",
      "source": "edge-b",
      "target": "app-b",
      "source_port": "bottom",
      "target_port": "top",
      "flow": "read",
      "motion_role": "global-route",
      "motion_stage": 1,
      "motion_order": 1,
      "via": "Route 53 health policy",
      "label_dy": -34
    },
    {
      "id": "write-a",
      "source": "app-a",
      "target": "db-a",
      "source_port": "bottom",
      "target_port": "top",
      "flow": "write",
      "motion_role": "regional-write",
      "motion_stage": 2,
      "motion_order": 0
    },
    {
      "id": "write-b",
      "source": "app-b",
      "target": "db-b",
      "source_port": "bottom",
      "target_port": "top",
      "flow": "write",
      "motion_role": "regional-write",
      "motion_stage": 2,
      "motion_order": 1
    },
    {
      "id": "replicate-orders",
      "source": "db-a",
      "target": "db-b",
      "source_port": "right",
      "target_port": "left",
      "flow": "async",
      "motion_role": "cross-region",
      "motion_stage": 3,
      "motion_order": 0,
      "via": "inter-region peering",
      "dashed": true
    }
  ],
  "legend_orientation": "horizontal",
  "legend_x": 48,
  "legend_y": 660,
  "legend_locked": true,
  "legend": [
    { "flow": "read", "label": "global routing" },
    { "flow": "write", "label": "regional write" },
    { "flow": "async", "label": "cross-region replication" }
  ],
  "footer": "Style 10 · Cloud Fabric · provider-neutral glyphs · explicit deployment ownership",
  "footer_x": 48,
  "footer_y": 735
}
