{
    "name": "Foto To-Do App",
    "short_name": "ToDo Foto",
    "description": "Aufgaben mit Fotos und Sprachnotizen verwalten - komplett offline nutzbar",
    "version": "2.0.0",
    "start_url": "./index.html",
    "scope": "./",
    "display": "standalone",
    "orientation": "portrait-primary",
    "background_color": "#f0f2f5",
    "theme_color": "#1a73e8",
    "lang": "de-DE",
    "dir": "ltr",
    "categories": ["productivity", "utilities"],
    
    "icons": [
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "any",
            "type": "image/svg+xml",
            "purpose": "any"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "72x72",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "96x96",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "128x128",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "144x144",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "152x152",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "192x192",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "384x384",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        },
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%231a73e8' width='100' height='100' rx='20'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white'>📸</text></svg>",
            "sizes": "512x512",
            "type": "image/svg+xml",
            "purpose": "any maskable"
        }
    ],
    
    "screenshots": [
        {
            "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 720'><rect fill='%23f0f2f5' width='540' height='720'/><rect x='20' y='20' width='500' height='80' rx='10' fill='%23fff'/><text x='270' y='70' font-size='32' text-anchor='middle' fill='%231a73e8'>📸 Foto To-Do</text><rect x='20' y='120' width='500' height='200' rx='10' fill='%23fff'/><text x='270' y='220' font-size='18' text-anchor='middle' fill='%23666'>Aufgaben mit Fotos verwalten</text></svg>",
            "sizes": "540x720",
            "type": "image/svg+xml",
            "form_factor": "narrow",
            "label": "Startbildschirm der App"
        }
    ],
    
    "shortcuts": [
        {
            "name": "Neue Aufgabe",
            "short_name": "Neu",
            "description": "Schnell eine neue Aufgabe erstellen",
            "url": "./index.html?action=new",
            "icons": [
                {
                    "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%2334a853' width='100' height='100' rx='20'/><text x='50' y='72' font-size='60' text-anchor='middle' fill='white'>➕</text></svg>",
                    "sizes": "96x96",
                    "type": "image/svg+xml"
                }
            ]
        },
        {
            "name": "Foto aufnehmen",
            "short_name": "Foto",
            "description": "Aufgabe mit Foto erstellen",
            "url": "./index.html?action=camera",
            "icons": [
                {
                    "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%23fbbc04' width='100' height='100' rx='20'/><text x='50' y='72' font-size='60' text-anchor='middle' fill='white'>📷</text></svg>",
                    "sizes": "96x96",
                    "type": "image/svg+xml"
                }
            ]
        },
        {
            "name": "Backup erstellen",
            "short_name": "Backup",
            "description": "Daten sichern",
            "url": "./index.html?action=backup",
            "icons": [
                {
                    "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect fill='%234285f4' width='100' height='100' rx='20'/><text x='50' y='72' font-size='60' text-anchor='middle' fill='white'>💾</text></svg>",
                    "sizes": "96x96",
                    "type": "image/svg+xml"
                }
            ]
        }
    ],
    
    "share_target": {
        "action": "./index.html",
        "method": "POST",
        "enctype": "multipart/form-data",
        "params": {
            "title": "name",
            "text": "description",
            "files": [
                {
                    "name": "image",
                    "accept": ["image/*"]
                }
            ]
        }
    },
    
    "protocol_handlers": [
        {
            "protocol": "web+todo",
            "url": "./index.html?task=%s"
        }
    ],
    
    "related_applications": [],
    "prefer_related_applications": false,
    
    "handle_links": "preferred",
    
    "launch_handler": {
        "client_mode": ["navigate-existing", "auto"]
    },
    
    "edge_side_panel": {
        "preferred_width": 400
    },
    
    "display_override": [
        "window-controls-overlay",
        "standalone",
        "browser"
    ],
    
    "file_handlers": [
        {
            "action": "./index.html",
            "accept": {
                "application/json": [".json"],
                "image/*": [".jpg", ".jpeg", ".png", ".gif", ".webp"]
            }
        }
    ],
    
    "permissions_policy": {
        "camera": ["self"],
        "microphone": ["self"],
        "geolocation": []
    }
}
