{ "name": "FindSimilarLocations", "displayName": "FindSimilarLocations", "description": "", "category": "", "helpUrl": "https://portal.mra.gov.pg/arcgis", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "inputLayer", "dataType": "GPRecordSet", "displayName": "Input Layer", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "searchLayer", "dataType": "GPRecordSet", "displayName": "Search Layer", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "analysisFields", "dataType": "GPString", "displayName": "Analysis Fields", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "mostOrLeastSimilar", "dataType": "GPString", "displayName": "Most Or Least Similar", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "MostSimilar", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "MostSimilar", "LeastSimilar", "Both" ] }, { "name": "matchMethod", "dataType": "GPString", "displayName": "Match Method", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "AttributeValues", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "AttributeValues", "AttributeProfiles" ] }, { "name": "numberOfResults", "dataType": "GPLong", "displayName": "Number Of Results", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": 10, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "appendFields", "dataType": "GPString", "displayName": "Fields To Append To Output", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputName", "dataType": "GPString", "displayName": "Output Features Name", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "output", "dataType": "GPRecordSet", "displayName": "Output Features", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": {}, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "Context", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "Environment" } ] }