{
 "name": "xml2shpcsv",
 "displayName": "Convert XML to shapefile or csv",
 "description": "input xml url and output a shapefile or a csv file.",
 "category": "",
 "helpUrl": "https://geopub.epa.gov/arcgis/rest/directories/arcgisoutput/EMEF/EFutil_GPServer/EMEF_EFutil/xml2shpcsv.htm",
 "executionType": "esriExecutionTypeSynchronous",
 "parameters": [
  {
   "name": "xmlurl",
   "dataType": "GPString",
   "displayName": "xmlurl",
   "description": "Base xml url.",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "https://data.epa.gov/efservice/v_enviromapper/postal_code/BEGINNING/22153/",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "main_tagname",
   "dataType": "GPString",
   "displayName": "main tagname",
   "description": "Returned XML main tag name.",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "v_enviromapper",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "latitude_tagname",
   "dataType": "GPString",
   "displayName": "latitude tagname",
   "description": "Returned XML latitude tag name.",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "LATITUDE",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "longitude_tagname",
   "dataType": "GPString",
   "displayName": "longitude tagname",
   "description": "Returned XML longitude tag name.",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "LONGITUDE",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "output_format",
   "dataType": "GPString",
   "displayName": "output format",
   "description": "select one of two output format: csv or shapefile.",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "shapefile",
   "parameterType": "esriGPParameterTypeRequired",
   "category": "",
   "choiceList": [
    "shapefile",
    "csvfile"
   ]
  },
  {
   "name": "zipoutpath",
   "dataType": "GPString",
   "displayName": "zipoutpath",
   "description": "zipoutpath",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "F:\\\\temp\\\\zipfileoutput",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "zipouturl",
   "dataType": "GPString",
   "displayName": "zipouturl",
   "description": "zipouturl",
   "direction": "esriGPParameterDirectionInput",
   "defaultValue": "https://epa-gis-01.corp.saic.com/zipfileoutput/",
   "parameterType": "esriGPParameterTypeRequired",
   "category": ""
  },
  {
   "name": "output_url",
   "dataType": "GPString",
   "displayName": "output url",
   "description": "",
   "direction": "esriGPParameterDirectionOutput",
   "defaultValue": "",
   "parameterType": "esriGPParameterTypeDerived",
   "category": ""
  }
 ]
}