{
 "name": "FarmBlockCalculation",
 "displayName": "Farm Block Calculation",
 "description": "Calculate the soil and climate cluster values for the specified farm area for use in the Farm Portal",
 "category": "",
 "helpUrl": "https://gis2.ecan.govt.nz/arcgis/rest/directories/arcgisoutput/GP/MGMTools_GPServer/GP_MGMTools/FarmBlockCalculation.htm",
 "executionType": "esriExecutionTypeAsynchronous",
 "parameters": [
  {
   "name": "Areas_of_Interest",
   "dataType": "GPFeatureRecordSetLayer",
   "displayName": "Areas of Interest",
   "description": "Spatial representation of the area for which the cluster units will be determined (typically the farm boudnary).",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": {
    "displayFieldName": "",
    "geometryType": "esriGeometryPolygon",
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193
    },
    "fields": [
     {
      "name": "OBJECTID",
      "type": "esriFieldTypeOID",
      "alias": "OBJECTID"
     },
     {
      "name": "AOI_ID",
      "type": "esriFieldTypeString",
      "alias": "AOI_ID",
      "length": 50
     },
     {
      "name": "AOI_AREA_M2",
      "type": "esriFieldTypeDouble",
      "alias": "AOI_AREA_M2"
     },
     {
      "name": "Shape_Length",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Length"
     },
     {
      "name": "Shape_Area",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Area"
     }
    ],
    "features": [],
    "exceededTransferLimit": false
   },
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "Result_Farm_Blocks",
   "dataType": "GPFeatureRecordSetLayer",
   "displayName": "Result Farm Blocks",
   "description": "Output dataset represents the combination of the nutrient allocation zones and current sub region.variation rule areas.  Includes a class for areas outside of the Canterbury Region.",
   "direction": "esriGPParameterDirectionOutput",
   "defaultValue": {
    "displayFieldName": "",
    "geometryType": "esriGeometryPolygon",
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193
    },
    "fields": [
     {
      "name": "OBJECTID",
      "type": "esriFieldTypeOID",
      "alias": "OBJECTID"
     },
     {
      "name": "AOI_ID",
      "type": "esriFieldTypeString",
      "alias": "AOI_ID",
      "length": 50
     },
     {
      "name": "AOI_AREA_M2",
      "type": "esriFieldTypeDouble",
      "alias": "AOI_AREA_M2"
     },
     {
      "name": "ZONE_NAME",
      "type": "esriFieldTypeString",
      "alias": "ZONE_NAME",
      "length": 50
     },
     {
      "name": "ZONE_CLASS",
      "type": "esriFieldTypeString",
      "alias": "ZONE_CLASS",
      "length": 50
     },
     {
      "name": "ZONE_COLOUR",
      "type": "esriFieldTypeString",
      "alias": "ZONE_COLOUR",
      "length": 50
     },
     {
      "name": "SUB_REGION",
      "type": "esriFieldTypeString",
      "alias": "SUB_REGION",
      "length": 255
     },
     {
      "name": "SHAPEWKT",
      "type": "esriFieldTypeString",
      "alias": "SHAPEWKT",
      "length": 150000
     },
     {
      "name": "Area_m2",
      "type": "esriFieldTypeDouble",
      "alias": "Area_m2"
     },
     {
      "name": "Shape_Length",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Length"
     },
     {
      "name": "Shape_Area",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Area"
     }
    ],
    "features": [],
    "exceededTransferLimit": false
   },
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  }
 ]
}