{
    "id": "/admin",
    "name": "MWS Gestão",
    "short_name": "MWS Gestão",
    "description": "Gestão de atendimento — agenda, clientes, faturas, fluxo de caixa e relatórios num só lugar.",
    "start_url": "/admin",
    "scope": "/",
    "display": "standalone",
    "display_override": [
        "minimal-ui",
        "browser",
        "fullscreen",
        "standalone",
        "window-controls-overlay"
    ],
    "orientation": "portrait-primary",
    "background_color": "#ffffff",
    "theme_color": "#334155",
    "lang": "pt-BR",
    "dir": "ltr",
    "categories": ["business", "productivity", "finance"],
    "prefer_related_applications": false,
    "launch_handler": {
        "client_mode": "navigate-existing"
    },
    "edge_side_panel": {
        "preferred_width": 480
    },
    "widgets": [
        {
            "name": "Agenda de hoje",
            "short_name": "Agenda",
            "description": "Os próximos atendimentos do dia.",
            "tag": "agenda-hoje",
            "template": "agenda-hoje",
            "ms_ac_template": "/widgets/agenda.json",
            "data": "/widget/agenda",
            "type": "application/json",
            "auth": true,
            "update": 1800,
            "icons": [{ "src": "/pwa/icon-96.png?v=4", "sizes": "96x96", "type": "image/png" }],
            "screenshots": [
                {
                    "src": "/pwa/icon-512.png?v=4",
                    "sizes": "512x512",
                    "label": "Agenda de hoje"
                }
            ]
        }
    ],
    "protocol_handlers": [
        {
            "protocol": "web+mws",
            "url": "/protocolo?alvo=%s"
        }
    ],
    "share_target": {
        "action": "/compartilhar",
        "method": "GET",
        "params": {
            "title": "title",
            "text": "text",
            "url": "url"
        }
    },
    "file_handlers": [
        {
            "action": "/importar-arquivo",
            "name": "Contatos",
            "accept": {
                "text/vcard": [".vcf"],
                "text/x-vcard": [".vcf"],
                "text/csv": [".csv"]
            },
            "icons": [{ "src": "/pwa/icon-96.png?v=4", "sizes": "96x96", "type": "image/png" }],
            "launch_type": "single-client"
        }
    ],
    "shortcuts": [
        {
            "name": "Novo agendamento",
            "short_name": "Agendar",
            "description": "Marcar um novo atendimento",
            "url": "/ir/novo-agendamento",
            "icons": [{ "src": "/pwa/icon-96.png?v=4", "sizes": "96x96", "type": "image/png" }]
        },
        {
            "name": "Agendamentos",
            "short_name": "Agenda",
            "description": "Ver os atendimentos",
            "url": "/ir/agendamentos",
            "icons": [{ "src": "/pwa/icon-96.png?v=4", "sizes": "96x96", "type": "image/png" }]
        },
        {
            "name": "Clientes",
            "short_name": "Clientes",
            "description": "Ver a base de clientes",
            "url": "/ir/clientes",
            "icons": [{ "src": "/pwa/icon-96.png?v=4", "sizes": "96x96", "type": "image/png" }]
        },
        {
            "name": "Faturas",
            "short_name": "Faturas",
            "description": "Ver as faturas",
            "url": "/ir/faturas",
            "icons": [{ "src": "/pwa/icon-96.png?v=4", "sizes": "96x96", "type": "image/png" }]
        }
    ],
    "icons": [
        {
            "src": "/pwa/icon-192.png?v=4",
            "sizes": "192x192",
            "type": "image/png",
            "purpose": "any"
        },
        {
            "src": "/pwa/icon-512.png?v=4",
            "sizes": "512x512",
            "type": "image/png",
            "purpose": "any"
        },
        {
            "src": "/pwa/icon-maskable-512.png?v=4",
            "sizes": "512x512",
            "type": "image/png",
            "purpose": "maskable"
        }
    ]
}
