{
 "name": "ExtractContours2",
 "displayName": "ExtractContoursMod15",
 "description": "Extracts contours for an area of interest to a shapefile or geodatabase feature class.  The extracted data is then written to a zip file and then the script sends the user an email with an FTP link to the data.",
 "category": "",
 "helpUrl": "https://zenith.cnr.berkeley.edu/arcgis/rest/directories/arcgisoutput/ExtractContours2_GPServer/ExtractContours2/ExtractContours2.htm",
 "executionType": "esriExecutionTypeAsynchronous",
 "parameters": [
  {
   "name": "Area_of_Interest",
   "dataType": "GPFeatureRecordSetLayer",
   "displayName": "Area of Interest",
   "description": "<P> One or more polygons by which the contours will be clipped.</P>",
   "direction": "esriGPParameterDirectionInput",
   "filter": {
    "type": "featureClass",
    "list": [
     "esriGeometryPolygon"
    ]
   },
   "defaultValue": {
    "displayFieldName": "",
    "hasZ": true,
    "geometryType": "esriGeometryPolygon",
    "spatialReference": {
     "wkid": 103005,
     "latestWkid": 6420
    },
    "fields": [
     {
      "name": "OBJECTID",
      "type": "esriFieldTypeOID",
      "alias": "OBJECTID"
     },
     {
      "name": "Name",
      "type": "esriFieldTypeString",
      "alias": "Name",
      "length": 255
     },
     {
      "name": "Text",
      "type": "esriFieldTypeString",
      "alias": "Text",
      "length": 255
     },
     {
      "name": "IntegerValue",
      "type": "esriFieldTypeInteger",
      "alias": "IntegerValue"
     },
     {
      "name": "DoubleValue",
      "type": "esriFieldTypeDouble",
      "alias": "DoubleValue"
     },
     {
      "name": "DateTime",
      "type": "esriFieldTypeDate",
      "alias": "DateTime",
      "length": 8
     },
     {
      "name": "Shape_Length",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Length"
     },
     {
      "name": "Shape_Area",
      "type": "esriFieldTypeDouble",
      "alias": "Shape_Area"
     }
    ],
    "features": [],
    "exceededTransferLimit": false
   },
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "Feature_Format",
   "dataType": "GPString",
   "displayName": "Feature Format",
   "description": "<P> Format for the clipped oontours - choices are File Geodatabase, Shapefile, or DWG 2010.</P>",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "File Geodatabase",
   "parameterType": "esriGPParameterTypeRequired",
   "category": "",
   "choiceList": [
    "File Geodatabase",
    "Shapefile",
    "DWG 2018"
   ]
  },
  {
   "name": "Email_Address",
   "dataType": "GPString",
   "displayName": "Email Address",
   "description": "Email address that will recieve the link to the clipped contours.",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "dyloudon@gmail.com",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "Interval",
   "dataType": "GPString",
   "displayName": "Interval",
   "description": "Contour interval",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "1",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  }
 ]
}