{
 "currentVersion": 10.81,
 "cimVersion": "2.6.0",
 "id": 7,
 "name": "Water Main",
 "type": "Feature Layer",
 "parentLayer": {
  "id": 2,
  "name": "Water System"
 },
 "defaultVisibility": true,
 "minScale": 0,
 "maxScale": 0,
 "canScaleSymbols": true,
 "referenceScale": 2000.0000000000066,
 "geometryType": "esriGeometryPolyline",
 "description": "",
 "copyrightText": "",
 "editFieldsInfo": null,
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": true,
 "relationships": [],
 "isDataVersioned": true,
 "isDataArchived": false,
 "isDataBranchVersioned": false,
 "isDataReplicaTracked": false,
 "isCoGoEnabled": false,
 "supportsRollbackOnFailureParameter": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportsValidateSQL": true,
 "supportsCoordinatesQuantization": true,
 "supportsCalculate": true,
 "supportsASyncCalculate": true,
 "supportsDatumTransformation": true,
 "advancedQueryCapabilities": {
  "supportsPagination": true,
  "supportsTrueCurve": true,
  "supportsQueryWithDistance": true,
  "supportsReturningQueryExtent": true,
  "supportsStatistics": true,
  "supportsPercentileStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": false,
  "supportsSqlExpression": true,
  "supportsQueryWithDatumTransformation": true
 },
 "advancedEditingCapabilities": {
  "supportedSqlFormatsInCalculate": [
   "standard"
  ]
 },
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeLengthFieldName": "Shape__Length",
  "units": "esriMeters"
 },
 "hasMetadata": true,
 "extent": {
  "xmin": -8980.112397270277,
  "ymin": 5794532.703001523,
  "xmax": -3925.0542972702533,
  "ymax": 5801523.408201523,
  "spatialReference": {
   "wkid": 102187,
   "latestWkid": 3776,
   "xyTolerance": 1.904702903324523E-5,
   "zTolerance": 2.0E-5,
   "mTolerance": 0.001,
   "falseX": -5622600,
   "falseY": -10001100,
   "xyUnits": 4.503104285899046E8,
   "falseZ": 0,
   "zUnits": 399999.99999999994,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "sourceSpatialReference": {
  "wkid": 102187,
  "latestWkid": 3776,
  "xyTolerance": 0.05,
  "zTolerance": 0.001,
  "mTolerance": 2.0E-5,
  "falseX": -5622599.99999727,
  "falseY": -1.0001099999998476E7,
  "xyUnits": 10000,
  "falseZ": 0,
  "zUnits": 1,
  "falseM": 0,
  "mUnits": 1
 },
 "effectiveMinScale": 10000,
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "LifecycleStatus",
   "field2": "Subtype",
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       92,
       230,
       255
      ],
      "width": 2
     },
     "value": "Operational,Distribution",
     "label": "Operational, Distribution"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       115,
       223,
       255,
       255
      ],
      "width": 2
     },
     "value": "Operational,Supply",
     "label": "Operational, Supply"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       112,
       255,
       255
      ],
      "width": 2
     },
     "value": "Abandoned,Distribution",
     "label": "Abandoned, Distribution"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       115,
       223,
       255,
       255
      ],
      "width": 2
     },
     "value": "Abandoned,Supply",
     "label": "Abandoned, Supply"
    }
   ],
   "fieldDelimiter": ",",
   "authoringInfo": {
    "colorRamp": {
     "type": "multipart",
     "colorRamps": [
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        0,
        110,
        0,
        255
       ],
       "toColor": [
        241,
        252,
        25,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        241,
        252,
        25,
        255
       ],
       "toColor": [
        250,
        46,
        0,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "hasM": false,
 "hasZ": false,
 "allowGeometryUpdates": true,
 "allowTrueCurvesUpdates": false,
 "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
 "hasAttachments": false,
 "supportsApplyEditsWithGlobalIds": false,
 "htmlPopupType": "esriServerHTMLPopupTypeNone",
 "objectIdField": "OBJECTID",
 "globalIdField": "GlobalID",
 "displayField": "Enabled",
 "typeIdField": "LifecycleStatus",
 "subtypeField": "",
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "OBJECTID"
  },
  {
   "name": "Enabled",
   "type": "esriFieldTypeSmallInteger",
   "alias": "Enabled",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": 1,
   "modelName": "Enabled"
  },
  {
   "name": "InstallDate",
   "type": "esriFieldTypeDate",
   "alias": "InstallDate",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "InstallDate"
  },
  {
   "name": "LifecycleStatus",
   "type": "esriFieldTypeString",
   "alias": "LifecycleStatus",
   "domain": {
    "type": "codedValue",
    "name": "Lifecycle",
    "description": "",
    "codedValues": [
     {
      "name": "Abandoned",
      "code": "Abandoned"
     },
     {
      "name": "Operational",
      "code": "Operational"
     },
     {
      "name": "Out of Service",
      "code": "Out of Service"
     },
     {
      "name": "Parent Out Of Service",
      "code": "Parent Out Of Service"
     },
     {
      "name": "Removed",
      "code": "Removed"
     },
     {
      "name": "Replaced",
      "code": "Replaced"
     },
     {
      "name": "Relined",
      "code": "Relined"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 20,
   "defaultValue": null,
   "modelName": "LifecycleStatus"
  },
  {
   "name": "Subtype",
   "type": "esriFieldTypeString",
   "alias": "Subtype",
   "domain": {
    "type": "codedValue",
    "name": "WaterPressurizedMainType",
    "description": "Water Pressurized Main Type",
    "codedValues": [
     {
      "name": "Distribution",
      "code": "Distribution"
     },
     {
      "name": "Supply",
      "code": "Supply"
     },
     {
      "name": "Transmission",
      "code": "Transmission"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "Subtype"
  },
  {
   "name": "Material",
   "type": "esriFieldTypeString",
   "alias": "Material",
   "domain": {
    "type": "codedValue",
    "name": "PipeMaterial",
    "description": "Pipe Material",
    "codedValues": [
     {
      "name": "AC",
      "code": "AC"
     },
     {
      "name": "BUTTFUSE POLYETHYLENE",
      "code": "BUTTFUSE POLYETHYLENE"
     },
     {
      "name": "CONC",
      "code": "CONC"
     },
     {
      "name": "HDPE",
      "code": "HDPE"
     },
     {
      "name": "HDPE DR 4",
      "code": "HDPE DR 4"
     },
     {
      "name": "PVC",
      "code": "PVC"
     },
     {
      "name": "PVC DR18",
      "code": "PVC DR18"
     },
     {
      "name": "STEEL",
      "code": "STEEL"
     },
     {
      "name": "TERRA BLUE",
      "code": "TERRA BLUE"
     },
     {
      "name": "PE",
      "code": "PE"
     },
     {
      "name": "COPPER",
      "code": "COPPER"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": "PVC",
   "modelName": "Material"
  },
  {
   "name": "Diameter",
   "type": "esriFieldTypeInteger",
   "alias": "Diameter",
   "domain": {
    "type": "codedValue",
    "name": "PipeDiameter",
    "description": "Pipe Diameter",
    "codedValues": [
     {
      "name": "100",
      "code": 100
     },
     {
      "name": "1050",
      "code": 1050
     },
     {
      "name": "1200",
      "code": 1200
     },
     {
      "name": "150",
      "code": 150
     },
     {
      "name": "20",
      "code": 20
     },
     {
      "name": "200",
      "code": 200
     },
     {
      "name": "250",
      "code": 250
     },
     {
      "name": "300",
      "code": 300
     },
     {
      "name": "32",
      "code": 32
     },
     {
      "name": "350",
      "code": 350
     },
     {
      "name": "375",
      "code": 375
     },
     {
      "name": "400",
      "code": 400
     },
     {
      "name": "450",
      "code": 450
     },
     {
      "name": "50",
      "code": 50
     },
     {
      "name": "500",
      "code": 500
     },
     {
      "name": "525",
      "code": 525
     },
     {
      "name": "600",
      "code": 600
     },
     {
      "name": "675",
      "code": 675
     },
     {
      "name": "75",
      "code": 75
     },
     {
      "name": "750",
      "code": 750
     },
     {
      "name": "825",
      "code": 825
     },
     {
      "name": "900",
      "code": 900
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Diameter"
  },
  {
   "name": "PipeLength",
   "type": "esriFieldTypeDouble",
   "alias": "PipeLength",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "PipeLength"
  },
  {
   "name": "Invert1",
   "type": "esriFieldTypeDouble",
   "alias": "Invert1",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Invert1"
  },
  {
   "name": "Invert2",
   "type": "esriFieldTypeDouble",
   "alias": "Invert2",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Invert2"
  },
  {
   "name": "ID",
   "type": "esriFieldTypeString",
   "alias": "ID",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "ID"
  },
  {
   "name": "LucityAutoID",
   "type": "esriFieldTypeInteger",
   "alias": "Link to Lucity",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "LucityAutoID"
  },
  {
   "name": "PressureZone",
   "type": "esriFieldTypeString",
   "alias": "PressureZone",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "PressureZone"
  },
  {
   "name": "PressureClass",
   "type": "esriFieldTypeString",
   "alias": "PressureClass",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "PressureClass"
  },
  {
   "name": "Owner",
   "type": "esriFieldTypeString",
   "alias": "Owner",
   "domain": {
    "type": "codedValue",
    "name": "Owner",
    "description": "Owner",
    "codedValues": [
     {
      "name": "Town",
      "code": "Town"
     },
     {
      "name": "Private",
      "code": "Private"
     },
     {
      "name": "Town Parcel",
      "code": "TownParcel"
     },
     {
      "name": "Alberta Government",
      "code": "Alberta Government"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "Owner"
  },
  {
   "name": "AsBuiltVerified",
   "type": "esriFieldTypeString",
   "alias": "AsBuiltVerified",
   "domain": {
    "type": "codedValue",
    "name": "YesOrNo",
    "description": "YesOrNo",
    "codedValues": [
     {
      "name": "Yes",
      "code": "Yes"
     },
     {
      "name": "No",
      "code": "No"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "AsBuiltVerified"
  },
  {
   "name": "AddUpdateDate",
   "type": "esriFieldTypeDate",
   "alias": "AddUpdateDate",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "AddUpdateDate"
  },
  {
   "name": "DateFlushed",
   "type": "esriFieldTypeDate",
   "alias": "DateFlushed",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "DateFlushed"
  },
  {
   "name": "Shape__Length",
   "type": "esriFieldTypeDouble",
   "alias": "SHAPE.STLength()",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "SHAPE.STLength()"
  },
  {
   "name": "GlobalID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "length": 38,
   "defaultValue": null,
   "modelName": "GlobalID"
  }
 ],
 "geometryField": {
  "name": "SHAPE",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE",
  "domain": null,
  "editable": true,
  "nullable": true,
  "defaultValue": null,
  "modelName": "SHAPE"
 },
 "indexes": [
  {
   "name": "S182_idx",
   "fields": "SHAPE",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "dateFieldsTimeReference": {
  "timeZone": "UTC",
  "respectsDaylightSaving": false
 },
 "types": [
  {
   "id": "Operational",
   "name": "Operational, Distribution",
   "domains": {
    "LifecycleStatus": {"type": "inherited"},
    "Subtype": {"type": "inherited"},
    "Material": {"type": "inherited"},
    "Diameter": {"type": "inherited"},
    "Owner": {"type": "inherited"},
    "AsBuiltVerified": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Operational, Distribution",
     "description": "",
     "prototype": {
      "attributes": {
       "AddUpdateDate": null,
       "DateFlushed": null,
       "Enabled": 1,
       "InstallDate": null,
       "LifecycleStatus": "Operational",
       "Subtype": "Distribution",
       "Material": "PVC",
       "Diameter": null,
       "PipeLength": null,
       "Invert1": null,
       "Invert2": null,
       "ID": null,
       "LucityAutoID": null,
       "PressureZone": null,
       "PressureClass": null,
       "Owner": null,
       "AsBuiltVerified": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    },
    {
     "name": "Operational, Supply",
     "description": "",
     "prototype": {
      "attributes": {
       "AddUpdateDate": null,
       "DateFlushed": null,
       "Enabled": 1,
       "InstallDate": null,
       "LifecycleStatus": "Operational",
       "Subtype": "Supply",
       "Material": "PVC",
       "Diameter": null,
       "PipeLength": null,
       "Invert1": null,
       "Invert2": null,
       "ID": null,
       "LucityAutoID": null,
       "PressureZone": null,
       "PressureClass": null,
       "Owner": null,
       "AsBuiltVerified": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ]
  },
  {
   "id": "Abandoned",
   "name": "Abandoned, Distribution",
   "domains": {
    "LifecycleStatus": {"type": "inherited"},
    "Subtype": {"type": "inherited"},
    "Material": {"type": "inherited"},
    "Diameter": {"type": "inherited"},
    "Owner": {"type": "inherited"},
    "AsBuiltVerified": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Abandoned, Distribution",
     "description": "",
     "prototype": {
      "attributes": {
       "AddUpdateDate": null,
       "DateFlushed": null,
       "Enabled": 1,
       "InstallDate": null,
       "LifecycleStatus": "Abandoned",
       "Subtype": "Distribution",
       "Material": "PVC",
       "Diameter": null,
       "PipeLength": null,
       "Invert1": null,
       "Invert2": null,
       "ID": null,
       "LucityAutoID": null,
       "PressureZone": null,
       "PressureClass": null,
       "Owner": null,
       "AsBuiltVerified": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    },
    {
     "name": "Abandoned, Supply",
     "description": "",
     "prototype": {
      "attributes": {
       "AddUpdateDate": null,
       "DateFlushed": null,
       "Enabled": 1,
       "InstallDate": null,
       "LifecycleStatus": "Abandoned",
       "Subtype": "Supply",
       "Material": "PVC",
       "Diameter": null,
       "PipeLength": null,
       "Invert1": null,
       "Invert2": null,
       "ID": null,
       "LucityAutoID": null,
       "PressureZone": null,
       "PressureClass": null,
       "Owner": null,
       "AsBuiltVerified": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ]
  }
 ],
 "templates": [],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "capabilities": "Query,Create,Update,Delete,Uploads,Editing,Sync",
 "useStandardizedQueries": true,
 "standardMaxRecordCount": 8000,
 "tileMaxRecordCount": 4000,
 "standardMaxRecordCountNoGeometry": 32000,
 "maxRecordCountFactor": 1,
 "serviceItemId": "b4585e061c784ace85184a4c774c0c94"
}