{
  "name": "Digital Workplace",
  "short_name": "Workplace",
  "description": "Корпоративний портал: новини, завдання, чат, структура компанії",
  "start_url": "/portal",
  "scope": "/",
  "display": "standalone",
  "orientation": "portrait-primary",
  "background_color": "#f6f8fc",
  "theme_color": "#ffffff",
  "lang": "uk",
  "dir": "ltr",
  "categories": [
    "business",
    "productivity"
  ],
  "icons": [
    {
      "src": "/assets/img/icon-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/assets/img/icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/assets/img/icon-maskable.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Завдання",
      "url": "/tasks",
      "description": "Мої завдання"
    },
    {
      "name": "Стрічка",
      "url": "/news",
      "description": "Корпоративні новини"
    },
    {
      "name": "Чат",
      "url": "/chat",
      "description": "Повідомлення"
    },
    {
      "name": "Сканувати документ",
      "url": "/portal/scan",
      "description": "Камера → PDF на Диск"
    }
  ],
  "share_target": {
    "action": "/portal/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "files",
          "accept": [
            "image/*",
            "application/pdf",
            "text/*",
            "audio/*",
            "video/*",
            ".doc",
            ".docx",
            ".xls",
            ".xlsx",
            ".ppt",
            ".pptx",
            ".odt",
            ".ods",
            ".zip"
          ]
        }
      ]
    }
  }
}
