{
 "name": "FarmSoilSummary",
 "displayName": "Farm Soil Summary",
 "description": "Calculate farm blocks for based on nutrient allocation zone and sub region rule areas for the Environment Canterbury Farm Portal Activity Type Analysis.",
 "category": "",
 "helpUrl": "https://gis1.ecan.govt.nz/arcgis/rest/directories/arcgisoutput/GP/MGMTools_GPServer/GP_MGMTools/FarmSoilSummary.htm",
 "executionType": "esriExecutionTypeAsynchronous",
 "parameters": [
  {
   "name": "Areas_of_Interest",
   "dataType": "GPFeatureRecordSetLayer",
   "displayName": "Areas of Interest",
   "description": "Spatial represenation of the area for which the farm blocks will be delineated (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": "Clipped_Soils",
   "dataType": "GPFeatureRecordSetLayer",
   "displayName": "Clipped Soils",
   "description": "S-map soilunitdetails supplemented with NZLRI information where S-map is not available. The DataSource field lists whether the information was sourced from S-map or the LRI. ",
   "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": "GISLayer",
      "type": "esriFieldTypeString",
      "alias": "GISLayer",
      "length": 50
     },
     {
      "name": "SoilMapUC",
      "type": "esriFieldTypeString",
      "alias": "SoilMapUC",
      "length": 50
     },
     {
      "name": "SoilPoly",
      "type": "esriFieldTypeString",
      "alias": "SoilPoly",
      "length": 50
     },
     {
      "name": "DataSource",
      "type": "esriFieldTypeString",
      "alias": "DataSource",
      "length": 5
     },
     {
      "name": "Slope",
      "type": "esriFieldTypeString",
      "alias": "Slope",
      "length": 3
     },
     {
      "name": "Topography",
      "type": "esriFieldTypeString",
      "alias": "Topography",
      "length": 20
     },
     {
      "name": "SmapSiblingRankOrder",
      "type": "esriFieldTypeInteger",
      "alias": "SmapSiblingRankOrder"
     },
     {
      "name": "SmapSiblingProportion",
      "type": "esriFieldTypeInteger",
      "alias": "SmapSiblingProportion"
     },
     {
      "name": "SmapSiblingName",
      "type": "esriFieldTypeString",
      "alias": "SmapSiblingName",
      "length": 15
     },
     {
      "name": "MGMSoilClusterNLoss",
      "type": "esriFieldTypeString",
      "alias": "MGMSoilClusterNLoss",
      "length": 10
     },
     {
      "name": "MGMSoilClusterPLoss",
      "type": "esriFieldTypeString",
      "alias": "MGMSoilClusterPLoss",
      "length": 10
     },
     {
      "name": "RelativeBypassFlow",
      "type": "esriFieldTypeString",
      "alias": "RelativeBypassFlow",
      "length": 15
     },
     {
      "name": "PAW60",
      "type": "esriFieldTypeDouble",
      "alias": "PAW60"
     },
     {
      "name": "OldLanduseTypeCode",
      "type": "esriFieldTypeString",
      "alias": "OldLanduseTypeCode",
      "length": 4
     },
     {
      "name": "OverseerParamLevel",
      "type": "esriFieldTypeInteger",
      "alias": "OverseerParamLevel"
     },
     {
      "name": "lucno7or8",
      "type": "esriFieldTypeDouble",
      "alias": "lucno7or8"
     },
     {
      "name": "PAW_1m",
      "type": "esriFieldTypeDouble",
      "alias": "PAW_1m"
     },
     {
      "name": "NZSCOrderText",
      "type": "esriFieldTypeString",
      "alias": "NZSCOrderText",
      "length": 20
     },
     {
      "name": "ShapeWKT",
      "type": "esriFieldTypeString",
      "alias": "ShapeWKT",
      "length": 150000
     },
     {
      "name": "Shape_Length",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Length"
     },
     {
      "name": "Shape_Area",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Area"
     }
    ],
    "features": [],
    "exceededTransferLimit": false
   },
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  }
 ]
}