{
  "id": "area-by-class",
  "name": "Area by class (sample plugin)",
  "version": "1.0.0",
  "author": "WHT Technology",
  "builtin": true,
  "description": "Sample extension for developers: Adds area in m² and ha to every polygon and reports the total area per value of a field (land use, owner, zoning).",
  "entry": "/extensions/area-by-class/index.html",
  "permissions": [
    "gis.read",
    "gis.write",
    "ui.notify"
  ],
  "gis_tools": [
    {
      "id": "areaclass",
      "name": "Area by class",
      "cat": "Sample plugins",
      "desc": "Polygon layer → area_m2 / area_ha per feature and a table of total area per class, styled by class.",
      "params": [
        {
          "k": "layer",
          "label": "Polygon layer",
          "type": "layer"
        },
        {
          "k": "field",
          "label": "Class field",
          "type": "field",
          "of": "layer"
        }
      ]
    }
  ],
  "scope": "all"
}