{
  // Teil 19: Health Score — Modell mit unterschiedlichen Qualitätsniveaus
  "specification": {
    "elements": {
      "actor":     { "notation": "Actor" },
      "system":    { "notation": "Software System", "container": true },
      "service":   { "notation": "Service",          "container": true },
      "database":  { "notation": "Database" }
    },
    "relationships": {
      "uses":  { "notation": "uses"  },
      "reads": { "notation": "reads", "dashed": true }
    }
  },
  "model": {
    "customer": { "kind": "actor", "title": "Customer" },
    "shop": {
      "kind": "system", "title": "Online Shop", "description": "E-Commerce Plattform",
      "children": {
        "frontend":  { "kind": "service",  "title": "Web Frontend",   "technology": "React",      "description": "React SPA",       "status": "deployed"        },
        "api":       { "kind": "service",  "title": "REST API",        "technology": "Go",         "description": "Haupteinsprung",  "status": "deployed"        },
        "legacy":    { "kind": "service",  "title": "Legacy Adapter",  "technology": "Java"                                                                      },
        "db":        { "kind": "database", "title": "PostgreSQL",      "technology": "PostgreSQL", "description": "Primäre DB",      "status": "deployed"        }
      }
    }
  },
  "relationships": [
    { "from": "customer",     "to": "shop",          "label": "kauft ein",   "kind": "uses"  },
    { "from": "shop.frontend","to": "shop.api",      "label": "REST calls",  "kind": "uses"  },
    { "from": "shop.api",     "to": "shop.db",       "label": "reads/writes","kind": "uses"  },
    { "from": "shop.api",     "to": "shop.legacy",   "label": "adapter call","kind": "uses"  }
  ],
  "views": {
    "context":    { "title": "System Context", "include": ["customer", "shop"] },
    "containers": { "title": "Container View", "scope": "shop", "include": ["shop.*"] }
  }
}
