{
 "name": "DownloadFromJson",
 "displayName": "Download fom JSON",
 "description": "Downloads a zip which includes a shape file from the input JSON string",
 "category": "",
 "helpUrl": "http://gismaps.hamiltontn.gov:6080/arcgis/rest/directories/arcgisoutput/ZIMS/DownloadFromJson_GPServer/ZIMS_DownloadFromJson/DownloadFromJson.htm",
 "executionType": "esriExecutionTypeAsynchronous",
 "parameters": [
  {
   "name": "JSONstring",
   "dataType": "GPString",
   "displayName": "JSONstring",
   "description": "The JSON string that builds the feature",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": {
    "displayFieldName": "",
    "fieldAliases": {
     "FID": "FID",
     "Id": "Id",
     "stringtest": "stringtest",
     "longtest": "longtest",
     "floattest": "floattest",
     "testdate": "testdate"
    },
    "geometryType": "esriGeometryPoint",
    "spatialReference": {
     "wkid": 102100,
     "latestWkid": 3857
    },
    "fields": [
     {
      "name": "FID",
      "type": "esriFieldTypeOID",
      "alias": "FID"
     },
     {
      "name": "Id",
      "type": "esriFieldTypeInteger",
      "alias": "Id"
     },
     {
      "name": "stringtest",
      "type": "esriFieldTypeString",
      "alias": "stringtest",
      "length": 50
     },
     {
      "name": "longtest",
      "type": "esriFieldTypeSmallInteger",
      "alias": "longtest"
     },
     {
      "name": "floattest",
      "type": "esriFieldTypeSingle",
      "alias": "floattest"
     },
     {
      "name": "testdate",
      "type": "esriFieldTypeDate",
      "alias": "testdate",
      "length": 8
     }
    ],
    "features": [
     {
      "attributes": {
       "FID": 0,
       "Id": 0,
       "stringtest": "test",
       "longtest": 2,
       "floattest": 3.4,
       "testdate": 1355961600000
      },
      "geometry": {
       "x": -9774131.468395049,
       "y": 4214239.329960394
      }
     },
     {
      "attributes": {
       "FID": 1,
       "Id": 0,
       "stringtest": "test3 and something",
       "longtest": 23,
       "floattest": 1.23,
       "testdate": 944352000000
      },
      "geometry": {
       "x": -9793608.022201914,
       "y": 4438219.698739339
      }
     }
    ]
   },
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "FeatureName",
   "dataType": "GPString",
   "displayName": "FeatureName",
   "description": "The output feature name without extension",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "Download",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "OutputPath",
   "dataType": "GPDataFile",
   "displayName": "OutputPath",
   "description": "Output file name",
   "direction": "esriGPParameterDirectionOutput",
   "defaultValue": null,
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  }
 ]
}