{
  // Teil 3: Das JSONC-Datenmodell — vollständiges Beispiel mit allen Feldern
  "$schema": "https://raw.githubusercontent.com/docToolchain/Bausteinsicht/main/schemas/bausteinsicht.schema.json",
  "config": {
    "author":   "Paul Fleischmann",
    "metadata": true,
    "legend":   true
  },
  "specification": {
    "elements": {
      "actor":     { "notation": "Actor" },
      "system":    { "notation": "Software System", "container": true },
      "container": { "notation": "Container",        "container": true },
      "component": { "notation": "Component",        "container": true }
    },
    "relationships": {
      "uses":  { "notation": "uses" },
      "reads": { "notation": "reads", "dashed": true }
    },
    "tags": [
      { "id": "external", "description": "Externes System", "style": { "fillColor": "#f5f5f5", "fontColor": "#666666" } },
      { "id": "legacy",   "description": "Altsystem — keine aktive Weiterentwicklung" }
    ],
    "decisions": [
      { "id": "ADR-001", "title": "PostgreSQL als primäre Datenbank", "status": "active", "date": "2025-01-15" }
    ]
  },
  "model": {
    "customer": { "kind": "actor", "title": "Customer" },
    "shop": {
      "kind": "system", "title": "Online Shop",
      "description": "Der Kern des Systems",
      "status": "deployed",
      "decisions": ["ADR-001"],
      "children": {
        "backend": {
          "kind": "container", "title": "Backend",
          "technology": "Go",
          "children": {
            "orderservice":   { "kind": "component", "title": "Order Service",   "status": "deployed" },
            "paymentservice": { "kind": "component", "title": "Payment Service", "status": "deployed" }
          }
        },
        "db": { "kind": "container", "title": "PostgreSQL", "technology": "PostgreSQL", "decisions": ["ADR-001"] }
      }
    }
  },
  "relationships": [
    { "from": "customer",              "to": "shop",               "label": "kauft ein",        "kind": "uses"  },
    { "from": "shop.backend.orderservice",   "to": "shop.backend.paymentservice", "label": "bestätigt Zahlung", "kind": "uses" },
    { "from": "shop.backend.orderservice",   "to": "shop.db",      "label": "persist orders",   "kind": "uses"  },
    { "from": "shop.backend.paymentservice", "to": "shop.db",      "label": "audit log",        "kind": "uses"  }
  ],
  "views": {
    "context":  { "title": "System Context", "include": ["customer", "shop"] },
    "backend":  { "title": "Backend Components", "scope": "shop.backend", "include": ["shop.backend.*", "shop.db"] }
  }
}
