{
  // Teil 16: Workspace — Team-Modell "Shop" (eines von mehreren Team-Modellen im Workspace)
  "specification": {
    "elements": {
      "actor":     { "notation": "Actor" },
      "service":   { "notation": "Service", "container": true },
      "database":  { "notation": "Database" }
    },
    "relationships": {
      "rest":  { "notation": "REST"  },
      "reads": { "notation": "reads", "dashed": true }
    }
  },
  "model": {
    "customer": { "kind": "actor", "title": "Customer" },
    "shop": {
      "kind": "service", "title": "Shop Service",
      "description": "Verwaltet Bestellungen und Produkte",
      "children": {
        "api":      { "kind": "service",  "title": "Shop API",    "technology": "Go"         },
        "checkout": { "kind": "service",  "title": "Checkout",    "technology": "Go"         },
        "db":       { "kind": "database", "title": "Shop DB",     "technology": "PostgreSQL" }
      }
    }
  },
  "relationships": [
    { "from": "customer",    "to": "shop",          "label": "kauft ein",   "kind": "rest"  },
    { "from": "shop.api",    "to": "shop.checkout", "label": "process",     "kind": "rest"  },
    { "from": "shop.api",    "to": "shop.db",       "label": "reads/writes","kind": "reads" },
    { "from": "shop.checkout","to": "shop.db",      "label": "persist",     "kind": "reads" }
  ],
  "views": {
    "context":    { "title": "Shop Context",    "include": ["customer", "shop"] },
    "containers": { "title": "Shop Internals",  "scope": "shop", "include": ["shop.*"] }
  }
}
