{
  "$schema": "./structly.workspace.schema.json",
  "name": "Structly Workspace",
  "description": "Interactive architecture diagrams rendered from JSON — explore the examples, or generate your own above.",
  "diagrams": [
    {
      "id": "ride-sharing",
      "title": "Ride-Sharing Backend",
      "subtitle": "Match riders to nearby drivers, track trips live, charge at the end.",
      "badge": "Sample",
      "path": "examples/ride-sharing.structly.json",
      "tags": ["sample", "geo", "realtime", "payments"]
    },
    {
      "id": "url-shortener",
      "title": "URL Shortener",
      "subtitle": "Short links, fast redirects, and click analytics kept off the hot path.",
      "badge": "Sample",
      "path": "examples/url-shortener.structly.json",
      "tags": ["sample", "caching", "analytics"]
    },
    {
      "id": "realtime-chat",
      "title": "Realtime Chat",
      "subtitle": "WebSocket messaging across many servers, with presence and history.",
      "badge": "Sample",
      "path": "examples/realtime-chat.structly.json",
      "tags": ["sample", "websocket", "realtime", "pub-sub"]
    },
    {
      "id": "blog-cms",
      "title": "Blog / CMS Platform",
      "subtitle": "Static-fast reads, publish-triggered rebuilds, no redeploy.",
      "badge": "Sample",
      "path": "examples/blog-cms.structly.json",
      "tags": ["sample", "cms", "cdn", "static"]
    },
    {
      "id": "ci-cd-pipeline",
      "title": "CI/CD Pipeline",
      "subtitle": "Build, test, image, and a gated rollout from a git push to production.",
      "badge": "Sample",
      "path": "examples/ci-cd-pipeline.structly.json",
      "tags": ["sample", "devops", "deploy"]
    },
    {
      "id": "iot-telemetry",
      "title": "IoT Telemetry Ingestion",
      "subtitle": "Buffer bursty device data, process it as a stream, store for dashboards and alerts.",
      "badge": "Sample",
      "path": "examples/iot-telemetry.structly.json",
      "tags": ["sample", "iot", "streaming", "time-series"]
    },
    {
      "id": "log-analytics",
      "title": "Log Analytics Pipeline",
      "subtitle": "Ship logs off every host, parse and index them, search the whole fleet.",
      "badge": "Sample",
      "path": "examples/log-analytics.structly.json",
      "tags": ["sample", "observability", "search", "pipeline"]
    },
    {
      "id": "feature-flags",
      "title": "Feature Flag Service",
      "subtitle": "Local in-app evaluation with rule changes streamed out in real time.",
      "badge": "Sample",
      "path": "examples/feature-flags.structly.json",
      "tags": ["sample", "platform", "sdk", "streaming"]
    },
    {
      "id": "video-transcoding",
      "title": "Video Upload & Transcoding",
      "subtitle": "Accept big uploads, transcode in the background, serve renditions from a CDN.",
      "badge": "Sample",
      "path": "examples/video-transcoding.structly.json",
      "tags": ["sample", "media", "workers", "async"]
    },
    {
      "id": "ecommerce-search",
      "title": "Product Search",
      "subtitle": "Catalog search and typeahead kept in sync with inventory, ranked and cached.",
      "badge": "Sample",
      "path": "examples/ecommerce-search.structly.json",
      "tags": ["sample", "search", "e-commerce", "indexing"]
    },
    {
      "id": "spotify",
      "title": "Spotify Architecture",
      "subtitle": "Streaming, recommendations, and the data platform — a larger illustrative case study.",
      "badge": "Illustrative",
      "path": "examples/spotify-architecture.structly.json",
      "tags": ["case-study", "streaming", "recommendations", "data-platform"]
    },
    {
      "id": "orders",
      "title": "Order Platform",
      "subtitle": "A deeply-documented service architecture: checkout, payments, fulfillment, and notifications over Kafka.",
      "badge": "Sample",
      "path": "examples/order-platform.structly.json",
      "tags": ["sample", "services", "event-driven"]
    }
  ]
}
