{
 "currentVersion": 10.91,
 "cimVersion": "2.9.0",
 "id": 1,
 "name": "HSEC Pipeline Status",
 "type": "Feature Layer",
 "parentLayer": null,
 "defaultVisibility": true,
 "minScale": 0,
 "maxScale": 0,
 "canScaleSymbols": false,
 "geometryType": "esriGeometryPolyline",
 "description": "",
 "copyrightText": "",
 "editFieldsInfo": null,
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": false,
 "relationships": [],
 "isDataVersioned": false,
 "isDataArchived": false,
 "infoInEstimates": [
  "extent",
  "count"
 ],
 "isDataBranchVersioned": false,
 "isDataReplicaTracked": false,
 "isCoGoEnabled": false,
 "supportsRollbackOnFailureParameter": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportsValidateSQL": true,
 "supportsCoordinatesQuantization": true,
 "supportsQuantizationEditMode": 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,
  "supportsQueryAttachments": true,
  "supportsQueryAttachmentsWithReturnUrl": true,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": false,
  "supportsSqlExpression": true,
  "supportsQueryWithDatumTransformation": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsQueryAnalytic": true
 },
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": false
 },
 "advancedEditingCapabilities": {
  "supportedSqlFormatsInCalculate": [
   "standard"
  ],
  "supportsAsyncApplyEdits": true
 },
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeLengthFieldName": "Shape__Length",
  "units": "esriMeters"
 },
 "hasMetadata": false,
 "extent": {
  "xmin": -1.23353685942E7,
  "ymin": 3771230.410599999,
  "xmax": -8575978.6075,
  "ymax": 5106186.747000001,
  "spatialReference": {
   "wkid": 102100,
   "latestWkid": 3857,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -2.204125917708E7,
   "falseY": -30241100,
   "xyUnits": 1.4414803266157433E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "sourceSpatialReference": {
  "wkid": 102100,
  "latestWkid": 3857,
  "xyTolerance": 0.001,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -20037700,
  "falseY": -30241100,
  "xyUnits": 10000,
  "falseZ": -100000,
  "zUnits": 10000,
  "falseM": -100000,
  "mUnits": 10000
 },
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "status",
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       250,
       52,
       17,
       255
      ],
      "width": 1.7
     },
     "value": "1",
     "label": "Active"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       56,
       168,
       0,
       255
      ],
      "width": 1.7
     },
     "value": "2",
     "label": "Passive"
    }
   ],
   "fieldDelimiter": ",",
   "authoringInfo": {
    "colorRamp": {
     "type": "multipart",
     "colorRamps": [
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        119,
        138,
        58,
        255
       ],
       "toColor": [
        119,
        138,
        58,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        134,
        102,
        237,
        255
       ],
       "toColor": [
        134,
        102,
        237,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        250,
        92,
        148,
        255
       ],
       "toColor": [
        250,
        92,
        148,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        148,
        206,
        242,
        255
       ],
       "toColor": [
        148,
        206,
        242,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        90,
        250,
        119,
        255
       ],
       "toColor": [
        90,
        250,
        119,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        89,
        85,
        133,
        255
       ],
       "toColor": [
        89,
        85,
        133,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        242,
        250,
        87,
        255
       ],
       "toColor": [
        242,
        250,
        87,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        153,
        97,
        89,
        255
       ],
       "toColor": [
        153,
        97,
        89,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        139,
        224,
        182,
        255
       ],
       "toColor": [
        139,
        224,
        182,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        224,
        81,
        210,
        255
       ],
       "toColor": [
        224,
        81,
        210,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        230,
        161,
        87,
        255
       ],
       "toColor": [
        230,
        161,
        87,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        77,
        128,
        122,
        255
       ],
       "toColor": [
        77,
        128,
        122,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        230,
        151,
        219,
        255
       ],
       "toColor": [
        230,
        151,
        219,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "hasM": false,
 "hasZ": false,
 "allowGeometryUpdates": true,
 "allowTrueCurvesUpdates": false,
 "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
 "hasAttachments": true,
 "supportsAttachmentsByUploadId": true,
 "supportsApplyEditsWithGlobalIds": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "objectIdField": "objectid",
 "globalIdField": "globalid",
 "displayField": "issue_name",
 "typeIdField": "status",
 "subtypeField": "",
 "fields": [
  {
   "name": "objectid",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "OBJECTID"
  },
  {
   "name": "issue_id",
   "type": "esriFieldTypeString",
   "alias": "Issue ID",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "Issue_ID"
  },
  {
   "name": "issue_name",
   "type": "esriFieldTypeString",
   "alias": "Issue Name",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "Issue_Name"
  },
  {
   "name": "employee_reporting",
   "type": "esriFieldTypeString",
   "alias": "Employee Reporting",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 25,
   "defaultValue": null,
   "modelName": "Employee_Reporting"
  },
  {
   "name": "emp_id",
   "type": "esriFieldTypeString",
   "alias": "Employee ID",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "Emp_ID"
  },
  {
   "name": "job_title",
   "type": "esriFieldTypeString",
   "alias": "Job Title",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 20,
   "defaultValue": null,
   "modelName": "Job_Title"
  },
  {
   "name": "hazard_date",
   "type": "esriFieldTypeDate",
   "alias": "Hazard_Date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Hazard_Date"
  },
  {
   "name": "occurence_location",
   "type": "esriFieldTypeString",
   "alias": "Occurence Location",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "Occurence_Location"
  },
  {
   "name": "status",
   "type": "esriFieldTypeString",
   "alias": "Status",
   "domain": {
    "type": "codedValue",
    "name": "Status",
    "description": "Active(an issue that requires immediate attention), Passive(an issue that requires non-immediate statuse)",
    "codedValues": [
     {
      "name": "Active",
      "code": "1"
     },
     {
      "name": "Passive",
      "code": "2"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "Status"
  },
  {
   "name": "hazardous_issue",
   "type": "esriFieldTypeString",
   "alias": "Hazardous Type",
   "domain": {
    "type": "codedValue",
    "name": "Pipeline_Haz",
    "description": "Hazards associated with pipelines",
    "codedValues": [
     {
      "name": "Failure Related to Design",
      "code": "1"
     },
     {
      "name": "Mechanical Failure",
      "code": "2"
     },
     {
      "name": "Erosion",
      "code": "3"
     },
     {
      "name": "Material Defect",
      "code": "4"
     },
     {
      "name": "Incorrectly Fitted Pipeline",
      "code": "5"
     },
     {
      "name": "Left Open",
      "code": "7"
     },
     {
      "name": "Improper Maintenance",
      "code": "8"
     },
     {
      "name": "Buired Pipeline Exposed",
      "code": "9"
     },
     {
      "name": "High Pressure Pipeline",
      "code": "10"
     },
     {
      "name": "Low Pressure Pipeline",
      "code": "11"
     },
     {
      "name": "Impacted",
      "code": "12"
     },
     {
      "name": "Pipeline Rupture",
      "code": "13"
     },
     {
      "name": "Internal Pipeline Corrosion",
      "code": "14"
     },
     {
      "name": "External Pipeline Coorosion",
      "code": "15"
     },
     {
      "name": "Natural Force Damage",
      "code": "16"
     },
     {
      "name": "Other Outside Force Damage",
      "code": "17"
     },
     {
      "name": "Opened Pipeline While Containing HC",
      "code": "6"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 35,
   "defaultValue": null,
   "modelName": "Hazardous_Issue"
  },
  {
   "name": "severity",
   "type": "esriFieldTypeSmallInteger",
   "alias": "Severity",
   "domain": {
    "type": "codedValue",
    "name": "Severe",
    "description": "The number range for the severity",
    "codedValues": [
     {
      "name": "1",
      "code": 1
     },
     {
      "name": "2",
      "code": 2
     },
     {
      "name": "3",
      "code": 3
     },
     {
      "name": "4",
      "code": 4
     },
     {
      "name": "5",
      "code": 5
     },
     {
      "name": "6",
      "code": 6
     },
     {
      "name": "7",
      "code": 7
     },
     {
      "name": "8",
      "code": 8
     },
     {
      "name": "9",
      "code": 9
     },
     {
      "name": "10",
      "code": 10
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Severity"
  },
  {
   "name": "leak_durration",
   "type": "esriFieldTypeString",
   "alias": "Leak Durration",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 25,
   "defaultValue": null,
   "modelName": "Leak_Durration"
  },
  {
   "name": "leak_detection",
   "type": "esriFieldTypeString",
   "alias": "Leak Detection",
   "domain": {
    "type": "codedValue",
    "name": "Detection",
    "description": "How the pipeline issue was detected",
    "codedValues": [
     {
      "name": "Heat",
      "code": "1"
     },
     {
      "name": "Smoke",
      "code": "2"
     },
     {
      "name": "Flame",
      "code": "3"
     },
     {
      "name": "Gas/Fumes",
      "code": "4"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 25,
   "defaultValue": null,
   "modelName": "Leak_Detection"
  },
  {
   "name": "ignition_occur",
   "type": "esriFieldTypeString",
   "alias": "Did Ignition Occur",
   "domain": {
    "type": "codedValue",
    "name": "Ignition_1",
    "description": "Did ignition occur",
    "codedValues": [
     {
      "name": "Yes",
      "code": "1"
     },
     {
      "name": "No",
      "code": "2"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": false,
   "length": 5,
   "defaultValue": null,
   "modelName": "Ignition_Occur"
  },
  {
   "name": "num_injuries",
   "type": "esriFieldTypeString",
   "alias": "Number Injuries",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "Num_Injuries"
  },
  {
   "name": "injuries_comments",
   "type": "esriFieldTypeString",
   "alias": "Comments on Injuries",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 50,
   "defaultValue": null,
   "modelName": "Injuries_Comments"
  },
  {
   "name": "issue_resolution",
   "type": "esriFieldTypeString",
   "alias": "Has Issue Resolved",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 5,
   "defaultValue": null,
   "modelName": "Issue_Resolution"
  },
  {
   "name": "comments_resolution",
   "type": "esriFieldTypeString",
   "alias": "Comments  Resolution",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 100,
   "defaultValue": null,
   "modelName": "Comments_Resolution"
  },
  {
   "name": "globalid",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "length": 38,
   "defaultValue": null,
   "modelName": "GlobalID"
  },
  {
   "name": "Shape__Length",
   "type": "esriFieldTypeDouble",
   "alias": "st_length(shape)",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "st_length(shape)"
  }
 ],
 "geometryField": {
  "name": "shape",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE",
  "domain": null,
  "editable": true,
  "nullable": true,
  "defaultValue": null,
  "modelName": "SHAPE"
 },
 "indexes": [
  {
   "name": "r55_sde_rowid_uk",
   "fields": "objectid",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "uuid_55",
   "fields": "globalid",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "a17_ix1",
   "fields": "shape",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "datesInUnknownTimezone": false,
 "dateFieldsTimeReference": {
  "timeZone": "UTC",
  "respectsDaylightSaving": false
 },
 "preferredTimeReference": null,
 "types": [
  {
   "id": "1",
   "name": "Active",
   "domains": {
    "status": {"type": "inherited"},
    "hazardous_issue": {"type": "inherited"},
    "severity": {"type": "inherited"},
    "leak_detection": {"type": "inherited"},
    "ignition_occur": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Active",
     "description": "",
     "prototype": {
      "attributes": {
       "ignition_occur": "2",
       "status": "1",
       "issue_resolution": "2"
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ]
  },
  {
   "id": "2",
   "name": "Passive",
   "domains": {
    "status": {"type": "inherited"},
    "hazardous_issue": {"type": "inherited"},
    "severity": {"type": "inherited"},
    "leak_detection": {"type": "inherited"},
    "ignition_occur": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Passive",
     "description": "",
     "prototype": {
      "attributes": {
       "ignition_occur": "2",
       "status": "2",
       "issue_resolution": "2"
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ]
  }
 ],
 "templates": [],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "supportedExportFormats": "sqlite,filegdb",
 "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
 "useStandardizedQueries": true,
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "attachmentProperties": [
  {
   "name": "id",
   "fieldName": "attachmentid",
   "isEnabled": true
  },
  {
   "name": "globalId",
   "fieldName": "GLOBALID",
   "isEnabled": false
  },
  {
   "name": "name",
   "fieldName": "att_name",
   "isEnabled": true
  },
  {
   "name": "size",
   "fieldName": "data_size",
   "isEnabled": true
  },
  {
   "name": "contentType",
   "fieldName": "content_type",
   "isEnabled": true
  },
  {
   "name": "keywords",
   "fieldName": "KEYWORDS",
   "isEnabled": false
  },
  {
   "name": "exifInfo",
   "fieldName": "EXIFINFO",
   "isEnabled": false
  }
 ],
 "attachmentFields": [
  {
   "name": "attachmentid",
   "type": "esriFieldTypeOID",
   "alias": "attachmentid",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null
  },
  {
   "name": "att_name",
   "type": "esriFieldTypeString",
   "alias": "att_name",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 250,
   "defaultValue": null
  },
  {
   "name": "data_size",
   "type": "esriFieldTypeInteger",
   "alias": "data_size",
   "domain": null,
   "editable": true,
   "nullable": false,
   "defaultValue": null
  },
  {
   "name": "content_type",
   "type": "esriFieldTypeString",
   "alias": "content_type",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 150,
   "defaultValue": null
  }
 ],
 "standardMaxRecordCount": 8000,
 "tileMaxRecordCount": 4000,
 "standardMaxRecordCountNoGeometry": 32000,
 "maxRecordCountFactor": 1
}