{
  "name": "WEVIA Sync Calendar Today",
  "version": "1.0",
  "description": "Sync événements Calendar iPhone du jour vers WEVIA (auto-detect deadlines + tasks)",
  "install_instructions": [
    "1. Raccourcis → + → Nouveau 'Sync Calendar WEVIA'",
    "2. Actions :",
    "   - 'Trouver événements Calendar' : aujourd'hui (commence aujourd'hui + finit ce soir)",
    "   - 'Répéter avec chacun' :",
    "     • Obtenir titre/début/fin/lieu/notes",
    "     • 'Obtenir URL' POST JSON ci-dessous",
    "3. Run manuel le matin OU Automation iOS 'Tous les jours à 8h'",
    "",
    "AUTOMATION (recommandé) :",
    "- Raccourcis → Automation → Heure → 8h00 quotidien → Exécuter 'Sync Calendar WEVIA'"
  ],
  "url": "https://weval-consulting.com/api/wevia-apple-ingest.php?action=ingest_structured",
  "method": "POST",
  "headers": {"Content-Type": "application/json"},
  "json_body_template": {
    "type": "calendar",
    "items": [
      {
        "title": "[Event title]",
        "start": "[ISO datetime start]",
        "end": "[ISO datetime end]",
        "location": "[Location]",
        "notes": "[Notes]"
      }
    ]
  },
  "automation_suggested": "Daily at 8:00 AM"
}
