{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "sunplot",
  "version": "1.1.0",
  "description": "Sunlight and site facts for Swiss addresses and towns: terrain-based sun hours for an address, comparison of two addresses, sun hours by municipality, and a short site check with road noise, hail and natural hazard indicators. No sign-in required.",
  "author": {
    "name": "BlueLake Mathis",
    "email": "info@sunplot.ch",
    "url": "https://sunplot.ch"
  },
  "homepage": "https://sunplot.ch",
  "keywords": [
    "Switzerland",
    "sunlight",
    "sun hours",
    "shadow",
    "terrain",
    "real estate",
    "apartment",
    "house",
    "municipality",
    "road noise",
    "hail",
    "natural hazards",
    "solar"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "SunPlot",
        "shortDescription": "Sunlight for Swiss addresses",
        "longDescription": "Sunlight and site facts for Swiss addresses and towns. Preview terrain-based sun hours for an address on three reference dates, compare two addresses side by side, or look up typical sun hours for any of about 2,100 Swiss municipalities by name or postcode. A short site check adds the modelled daytime road noise level, the hail hazard value and the number of natural hazard categories mapped at the address, where the canton publishes them. Sun previews use terrain only; nearby buildings, trees and weather are not included. No sign-in required. SunPlot uses Swiss public geodata (swisstopo, FOEN, MeteoSwiss, cantonal hazard maps) and its own calculations. The tools receive the requested address or place name and the language. Address lookup uses geo.admin.ch; limited caching and fair-use rate limits apply. The plugin does not process purchases. It can link to an informational page about the separately available SunPlot report. Sources and limitations accompany results. Supports German, French, Italian and English.",
        "developerName": "BlueLake Mathis",
        "category": "Data & Analytics",
        "capabilities": [
          "Preview terrain-based sunlight for an address",
          "Compare sunlight at two addresses",
          "Look up sun hours for a Swiss municipality",
          "Check road noise, hail and natural hazard indicators",
          "Check report chapter availability"
        ],
        "websiteURL": "https://sunplot.ch",
        "supportURL": "https://sunplot.ch/ki-assistenten.html",
        "privacyPolicyURL": "https://sunplot.ch/datenschutz.html#ki-assistenten",
        "termsOfServiceURL": "https://sunplot.ch/agb.html",
        "defaultPrompt": [
          "Wie viel Wintersonne hat die Rathausgasse 1 in Aarau?",
          "How many sun hours does Davos get in December?",
          "Ist es am Bundesplatz 3 in Bern laut, und gibt es Naturgefahren?"
        ],
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/icon.png"
      },
      "publication": {
        "release_notes": "Adds three read-only tools: sun hours by municipality, comparison of two addresses, and a short site check (road noise, hail, natural hazard indicators). Listing text updated accordingly."
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Winter sunlight",
              "prompt": "Wie viel Wintersonne hat Rathausgasse 1, 5000 Aarau?",
              "tools_triggered": "sonne_vorschau",
              "expected_behavior": "Return the terrain-only 21 December preview with source and exclusions; do not infer sunshine inside a room."
            },
            {
              "description": "Sun hours for a municipality",
              "prompt": "Wie viel Wintersonne hat Davos?",
              "tools_triggered": "sonne_ort",
              "expected_behavior": "Return direct sun on 21 December, 21 June and per year as the average of inhabited locations in the municipality, with terrain, without clouds, with source and a link."
            },
            {
              "description": "Compare two addresses",
              "prompt": "Compare the sun at Rathausgasse 1, 5000 Aarau and Bundesplatz 3, 3011 Bern.",
              "tools_triggered": "sonne_vergleich",
              "expected_behavior": "Return the terrain-only values for 21 December and 21 June for both addresses side by side in English; exclude buildings, trees and weather."
            },
            {
              "description": "Short site check",
              "prompt": "Ist es am Bundesplatz 3 in Bern laut, und gibt es Naturgefahren?",
              "tools_triggered": "standort_kurzcheck",
              "expected_behavior": "Return one value each: modelled daytime road noise in dB(A), number of hazard categories with an entry in the cantonal hazard map, hail size; state that it is no official statement or expert report and name the sources."
            },
            {
              "description": "French chapter availability",
              "prompt": "Quels chapitres pour Dorfstrasse 1, 6390 Engelberg ?",
              "tools_triggered": "sunplot_bericht_link",
              "expected_behavior": "List available or partial chapters in French, with informational URL and explicit data gaps."
            }
          ],
          "negative": [
            {
              "description": "Reject malformed address input without performing address lookup.",
              "prompt": "Call sonne_vorschau with adresse=\"<script>\" and sprache=\"de\".",
              "expected_behavior": "Return a fixed unusable-input message; do not execute markup."
            },
            {
              "description": "Unsupported language: safe fallback.",
              "prompt": "Call sonne_vorschau for Rathausgasse 1, 5000 Aarau with sprache=\"xx\".",
              "expected_behavior": "Return the supported languages de, fr, it, en."
            },
            {
              "description": "Missing address: require usable input.",
              "prompt": "Call sunplot_bericht_link with an empty adresse and sprache=\"en\".",
              "expected_behavior": "Return an unusable-input message; do not invent an address or report."
            }
          ]
        },
        "commerce": true,
        "commerce_description": "No transactions or checkout in the plugin. Tools provide free terrain-based previews, municipality values, a short site check and chapter availability. An informational SunPlot page is linked; the separate full interactive report is a paid digital service on the website.",
        "demo_recording_url": "https://sunplot.ch/openai-review-77277cd8e4b11bb8c95d61ea/"
      },
      "apps": "./.app.json"
    }
  }
}
