{
 "v": 2,
 "kind": "bundle",
 "id": "example.shift-planner",
 "version": "2.0.0",
 "title": "Shift planner (reference app)",
 "publisher": { "name": "Example publisher", "keyId": "example-2026" },
 "parameters": [ { "id": "target_workspace", "type": "workspace", "label": "Workspace", "required": true } ],
 "items": [
  {
   "kind": "app",
   "schemaVersion": 2,
   "id": "shift-planner",
   "scope": "workspace",
   "workspace": "{{param.target_workspace}}",
   "spec": {
    "id": "shift-planner",
    "title": "Shift planner",
    "icon": "Clock",
    "group": "Operations",
    "order": 30,
    "url": "https://planner.intra.example/?ws={{workspace}}",
    "origin": "https://planner.intra.example",
    "sso": { "mode": "code", "scopes": ["profile", "workspace"] },
    "capabilities": ["read:me", "notify"],
    "egress": { "hosts": [] },
    "embed": { "sandbox": ["allow-scripts", "allow-forms", "allow-same-origin"] }
   }
  },
  {
   "kind": "app",
   "schemaVersion": 2,
   "id": "shift-board",
   "scope": "workspace",
   "workspace": "{{param.target_workspace}}",
   "spec": {
    "id": "shift-board",
    "title": "Shift board",
    "icon": "Table",
    "group": "Operations",
    "order": 31,
    "url": "https://planner.intra.example/static.html",
    "origin": "https://planner.intra.example",
    "sso": { "mode": "none" },
    "capabilities": ["read:dataset:shift_plan"],
    "egress": { "hosts": [] },
    "embed": { "sandbox": ["allow-scripts", "allow-same-origin"] }
   }
  }
 ]
}
