{
  "currentVersion" : 12, 
  "serviceItemId" : "68787c297f664c11b0cc195d9756ecca", 
  "serviceDescription" : "sGravityMain with additional ID column \"PipeID_By_Access_Point\". Pipe ID by Access Point = MainCompType1-UNITID - MainCompType2-UNITID2", 
  "hasVersionedData" : false, 
  "supportsDisconnectedEditing" : false, 
  "hasStaticData" : false, 
  "hasSharedDomains" : false, 
  "maxRecordCount" : 2000, 
  "supportedQueryFormats" : "JSON", 
  "supportsVCSProjection" : false, 
  "supportedExportFormats" : "csv,shapefile,sqlite,geoPackage,filegdb,featureCollection,geojson,kml,excel", 
  "supportedConvertFileFormats" : "JSON,PBF", 
  "supportedConvertContentFormats" : "LayerEditCollection", 
  "supportedFullTextLocales" : [
    "neutral", 
    "ar-SA", 
    "bg-BG", 
    "bn-IN", 
    "ca-ES", 
    "cs-CZ", 
    "da-DK", 
    "de-DE", 
    "el-GR", 
    "en-GB", 
    "en-US", 
    "es-ES", 
    "fr-FR", 
    "gu-IN", 
    "he-IL", 
    "hi-IN", 
    "hr-HR", 
    "id-ID", 
    "is-IS", 
    "it-IT", 
    "ja-JP", 
    "kn-IN", 
    "ko-KR", 
    "lt-LT", 
    "lv-LV", 
    "ml-IN", 
    "mr-IN", 
    "ms-MY", 
    "nb-NO", 
    "nl-NL", 
    "pa-IN", 
    "pl-PL", 
    "pt-BR", 
    "pt-PT", 
    "ro-RO", 
    "ru-RU", 
    "sk-SK", 
    "sl-SI", 
    "sr-Cyrl-CS", 
    "sr-Latn-CS", 
    "sv-SE", 
    "ta-IN", 
    "te-IN", 
    "th-TH", 
    "tr-TR", 
    "uk-UA", 
    "ur-PK", 
    "vi-VN", 
    "zh-CN", 
    "zh-HK", 
    "zh-MO", 
    "zh-SG", 
    "zh-TW"
  ], 
  "supportsSharedTemplates" : true, 
  "hasSharedTemplates" : true, 
  "capabilities" : "Query", 
  "description" : "sGravityMain with additional ID column \"PipeID_By_Access_Point\". Pipe ID by Access Point = MainComp1-UNITID - MainComp1-UNITID2\n\nif an asset is not synced between IPS&GIS yet, then UFID of the line will be used as UNITID and type will be \"UND\":\n\ndef getAssetType(compType):\n    AssetType={ 3:\"EQ-\", 4:\"FAC-\", 5:\"GMN-\", 6:\"GMTR-\", 10:\"GSL-\", 11:\"GV-\", 12:\"HY-\", 13:\"IN-\", 14:\"LAND-\", 15:\"SLS-\", 16:\"APP-\", 18:\"PARK-\", 19:\"SBF-\", 20:\"SIGN-\", 21:\"SMN-\", 22:\"SMH-\", 23:\"SMTR-\", 24:\"SND-\", 25:\"SP-\", 26:\"SSL-\", 28:\"STCH-\", 29:\"STIN-\", 30:\"STMH-\", 31:\"STMN-\", 32:\"STND-\", 33:\"STSL-\", 34:\"FSU-\", 35:\"SV-\", 36:\"TR-\", 37:\"VEH-\", 38:\"WBF-\", 40:\"WELL-\", 41:\"WMN-\", 42:\"WMTR-\", 43:\"WND-\", 44:\"WP-\", 45:\"WSL-\", 46:\"WV-\", 48:\"STP-\", 49:\"STV-\", 53:\"EMTR-\", 55:\"POLE-\", 66:\"BR-\", 67:\"WSU-\", 68:\"SEG-\", 69:\"SMS-\", 70:\"WMS-\", 71:\"GMS-\", 72:\"STMS-\", 73:\"LGHT-\", 74:\"SGNL-\", 75:\"PMS-\", 77:\"STLS-\", 78:\"WPS-\", 79:\"IWBF-\", 80:\"IWLS-\", 81:\"IWMN-\", 82:\"IWMH-\", 83:\"IWMS-\", 84:\"IWND-\", 85:\"IWSL-\", 86:\"CPLX-\", 87:\"STBF-\", 88:\"STMT-\", 89:\"RSEG-\", 90:\"RAPP-\", 91:\"XING-\", 92:\"RSGN-\", 93:\"RSGL-\", 94:\"RSTN-\", 95:\"RYRD-\", 96:\"BLDG-\", 97:\"SW-\", 98:\"SPL-\", 99:\"WPL-\", 100:\"RW-\", 101:\"RL-\", 102:\"RES-\", 103:\"RSB-\", 104:\"RSPL-\", 105:\"REMB-\", 106:\"RINS-\", 107:\"RMS-\", 108:\"STSB-\", 109:\"AREA-\" }\n    try:\n        return AssetType[compType]\n    except:\n        return \"UND\"\n\ndef genHansenID(comp1, id1, comp2, id2, UFID):\n    try:\n        id1 = id1 == None if str(UFID) else str(id1).strip()\n        id2 = id2 == None if str(UFID) else str(id2).strip()\n        return getAssetType(comp1) + id1 + \" - \" + getAssetType(comp2) + id2\n    except:\n        return UFID\n\ngenHansenID( !MAINCOMP1!, !UNITID! , !MAINCOMP2! , !UNITID2!, !UFID!)", 
  "copyrightText" : "", 
  "spatialReference" : {
    "wkid" : 102740, 
    "latestWkid" : 2278
  }, 
  "initialExtent" : {
    "xmin" : 3116693.104546851, 
    "ymin" : 13878385.12367429, 
    "xmax" : 3117922.271213518, 
    "ymax" : 13879306.99867429, 
    "spatialReference" : {
      "wkid" : 102740, 
      "latestWkid" : 2278
    }
  }, 
  "fullExtent" : {
    "xmin" : 3014649.2037613094, 
    "ymin" : 13762945.270631611, 
    "xmax" : 3211938.4662287384, 
    "ymax" : 13964701.286186472, 
    "spatialReference" : {
      "wkid" : 102740, 
      "latestWkid" : 2278
    }
  }, 
  "allowGeometryUpdates" : true, 
  "supportsTrueCurve" : true, 
  "trueCurveSupportMode" : "OGC", 
  "supportedCurveTypes" : [
    "esriGeometryCircularArc"
  ], 
  "supportedTrueCurvePbfFeatureEncodings" : [
    "esriCompressedShapeBuffer", 
    "esriDefault"
  ], 
  "allowTrueCurvesUpdates" : true, 
  "onlyAllowTrueCurveUpdatesByTrueCurveClients" : false, 
  "units" : "esriFeet", 
  "supportsAppend" : true, 
  "supportedAppendCapabilities" : "Features", 
  "supportsSharedDomains" : true, 
  "supportsWebHooks" : true, 
  "supportsTemporalLayers" : true, 
  "layerOverridesEnabled" : true, 
  "size" : 220667904, 
  "syncEnabled" : false, 
  "supportsApplyEditsWithGlobalIds" : true, 
  "supportsReturnDeleteResults" : true, 
  "supportsLayerOverrides" : true, 
  "supportsTilesAndBasicQueriesMode" : true, 
  "supportsQueryContingentValues" : true, 
  "supportedContingentValuesFormats" : "JSON, PBF", 
  "supportsContingentValuesJson" : 2, 
  "advancedEditingCapabilities" : {
    "supportsSplit" : false, 
    "supportsReturnServiceEditsInSourceSR" : false, 
    "supportsAsyncApplyEdits" : true, 
    "supportsReturnEditResults" : true, 
    "supportsApplyEditsbyUploadID" : true, 
    "supportedApplyEditsUploadIDFormats" : "JSON,PBF"
  }, 
  "editorTrackingInfo" : {
    "enableEditorTracking" : false, 
    "enableOwnershipAccessControl" : false, 
    "allowOthersToQuery" : true, 
    "allowOthersToUpdate" : true, 
    "allowOthersToDelete" : false, 
    "allowAnonymousToQuery" : true, 
    "allowAnonymousToUpdate" : true, 
    "allowAnonymousToDelete" : true
  }, 
  "xssPreventionInfo" : {
    "xssPreventionEnabled" : true, 
    "xssPreventionRule" : "InputOnly", 
    "xssInputRule" : "rejectInvalid"
  }, 
  "layers" : [
    {
      "id" : 0, 
      "name" : "sGravityMain", 
      "parentLayerId" : -1, 
      "defaultVisibility" : true, 
      "subLayerIds" : null, 
      "minScale" : 0, 
      "maxScale" : 0, 
      "type" : "Feature Layer", 
      "geometryType" : "esriGeometryPolyline"
    }
  ], 
  "tables" : []
}