{
  "tool_id": "art-166-eudr-geolocation-plot-validator",
  "note": "golden_hash empty until first `node golden-parity.test.mjs --update`.",
  "vectors": [
    {
      "name": "valid-point-small-plot",
      "policy_parameters": {
        "geo": {
          "type": "Point",
          "coordinates": [
            -47.8762,
            -15.7942
          ],
          "area_ha": 2.5,
          "declared_country": "BR"
        }
      },
      "output_payload": {
        "valid": true,
        "geo_type": "Point",
        "area_ha": 2.5,
        "size_rule_met": true,
        "coordinates_valid": true,
        "polygon_closed": null,
        "micro_operator_exemption": false,
        "issues": []
      },
      "golden_hash": "c405e9df0281717f5d1d74567ecdc552109eb26a05e29f4cbc205d1e1a7fa3e4"
    },
    {
      "name": "invalid-point-for-large-plot",
      "policy_parameters": {
        "geo": {
          "type": "Point",
          "coordinates": [
            106.8456,
            -6.2146
          ],
          "area_ha": 8,
          "declared_country": "ID"
        }
      },
      "output_payload": {
        "valid": false,
        "geo_type": "Point",
        "area_ha": 8,
        "size_rule_met": false,
        "coordinates_valid": true,
        "polygon_closed": null,
        "micro_operator_exemption": false,
        "issues": [
          "large_plot_requires_polygon"
        ]
      },
      "golden_hash": "bcbace5bb482b1cae429824e55aed823357404d88908efffb38b08aed949ec88"
    },
    {
      "name": "micro-operator-postal-exemption",
      "policy_parameters": {
        "geo": {
          "micro_operator_postal_address_provided": true,
          "area_ha": 1.5
        }
      },
      "output_payload": {
        "valid": true,
        "geo_type": null,
        "area_ha": 1.5,
        "size_rule_met": true,
        "coordinates_valid": true,
        "polygon_closed": null,
        "micro_operator_exemption": true,
        "issues": []
      },
      "golden_hash": "86d55f84023b62704af3eacedcd730ab3e8c5f262146657a058df307b1a3ae65"
    },
    {
      "name": "empty-input",
      "policy_parameters": {},
      "output_payload": {
        "valid": false,
        "geo_type": null,
        "area_ha": 0,
        "size_rule_met": true,
        "coordinates_valid": true,
        "polygon_closed": null,
        "micro_operator_exemption": false,
        "issues": [
          "invalid_geometry_type"
        ]
      },
      "golden_hash": "96f07fb3ddbb008530937f5397041a771fd49899dff01d8a399809230bb70b5a"
    }
  ]
}
