{
  "id": "pv-block-layout",
  "name": "PV table layout (sample plugin)",
  "version": "1.0.0",
  "author": "WHT Technology",
  "builtin": true,
  "description": "Sample extension for developers: Fills site polygons with fixed-tilt PV tables (rows facing the equator) at a chosen ground cover ratio; counts tables, modules and kWp.",
  "entry": "/extensions/pv-block-layout/index.html",
  "permissions": [
    "gis.read",
    "gis.write",
    "ui.notify"
  ],
  "gis_tools": [
    {
      "id": "pvlayout",
      "name": "PV table layout",
      "cat": "Sample plugins",
      "desc": "Site polygons → PV tables (rectangles) with tilt, GCR, table size and module data; report with tables, modules and kWp.",
      "params": [
        {
          "k": "layer",
          "label": "Site polygon layer",
          "type": "layer"
        },
        {
          "k": "tilt",
          "label": "Tilt °",
          "type": "num",
          "def": 25
        },
        {
          "k": "gcr",
          "label": "Ground cover ratio",
          "type": "num",
          "def": 0.4
        },
        {
          "k": "len",
          "label": "Table length m",
          "type": "num",
          "def": 25
        },
        {
          "k": "slant",
          "label": "Table slant width m",
          "type": "num",
          "def": 4.6
        },
        {
          "k": "modules",
          "label": "Modules per table",
          "type": "num",
          "def": 56
        },
        {
          "k": "wp",
          "label": "Module Wp",
          "type": "num",
          "def": 620
        },
        {
          "k": "setback",
          "label": "Edge setback m",
          "type": "num",
          "def": 10
        }
      ]
    }
  ],
  "scope": "all"
}