{
 "tables": [],
 "layers": [
  {
   "extent": {
    "ymin": 4114354.004651488,
    "xmin": -8632739.54402492,
    "ymax": 4143052.641346919,
    "xmax": -8604357.05539258,
    "spatialReference": {"wkid": 102100}
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "definitionQuery": "endtime IS NULL OR endtime >= CURRENT_TIMESTAMP",
   "type": "Feature Layer",
   "hasStaticData": false,
   "supportsAttachmentsByUploadId": true,
   "syncEnabled": false,
   "relationships": null,
   "supportsAttachmentsResizing": true,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Road Blocks",
     "description": "",
     "drawingTool": "esriFeatureEditToolPoint",
     "prototype": {
      "attributes": {
       "pocemail": null,
       "subtype": null,
       "pocname": null,
       "street": null,
       "pocphone": null,
       "description": null,
       "endtime": null,
       "closureid": null,
       "starttime": null,
       "url": null,
       "direction": null,
       "altroute": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "currentVersion": 10.91,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": false,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ]
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": false,
   "name": "Road Blocks",
   "displayField": "pocname",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 4,
     "type": "esriFieldTypeOID",
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "street",
     "length": 150,
     "alias": "Street Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "RoadClosures_8f6ef1e418494279a33658954fd66773_RoadClosure",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "ROAD_CLOSED_CONSTRUCTION",
        "name": "Construction"
       },
       {
        "code": "ROAD_CLOSED_EVENT",
        "name": "Event"
       },
       {
        "code": "ROAD_CLOSED_HAZARD",
        "name": "Hazard"
       }
      ]
     },
     "name": "subtype",
     "length": 50,
     "alias": "Reason",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "description",
     "length": 1000,
     "alias": "Description",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "RoadClosures_8f6ef1e418494279a33658954fd66773_Direction",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "East",
        "name": "East"
       },
       {
        "code": "North",
        "name": "North"
       },
       {
        "code": "South",
        "name": "South"
       },
       {
        "code": "West",
        "name": "West"
       },
       {
        "code": "Northeast",
        "name": "Northeast"
       },
       {
        "code": "Northwest",
        "name": "Northwest"
       },
       {
        "code": "Southeast",
        "name": "Southeast"
       },
       {
        "code": "Southwest",
        "name": "Southwest"
       },
       {
        "code": "North/South",
        "name": "North/South"
       },
       {
        "code": "East/West",
        "name": "East/West"
       },
       {
        "code": "Northeast/Southwest",
        "name": "Northeast/Southwest"
       },
       {
        "code": "Northwest/Southeast",
        "name": "Northwest/Southeast"
       }
      ]
     },
     "name": "direction",
     "length": 25,
     "alias": "Direction",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "starttime",
     "length": 29,
     "alias": "Start Time",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "endtime",
     "length": 29,
     "alias": "End Time",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "altroute",
     "length": 250,
     "alias": "Alternate Route",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pocname",
     "length": 100,
     "alias": "Contact Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pocemail",
     "length": 100,
     "alias": "Contact Email",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pocphone",
     "length": 15,
     "alias": "Contact Phone",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "url",
     "length": 1000,
     "alias": "URL",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "identifier",
     "length": 100,
     "alias": "Identifier",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 5,
     "description": "{\"fieldValueType\":\"\",\"value\":\"\"}",
     "type": "esriFieldTypeString",
     "domain": {
      "name": "RoadClosures_8f6ef1e418494279a33658954fd66773_RoadBlocks_activeincid_c834d3abd3da4317813936956a8f6dd0",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "activeincid",
     "alias": "Active Incident"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "closureid",
     "length": 50,
     "alias": "Road Closure ID",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 38,
     "type": "esriFieldTypeGlobalID",
     "domain": null,
     "name": "globalid",
     "alias": "GlobalID"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "isView": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "isUpdatableView": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "viewDefinitionQuery": "endtime IS NULL OR endtime >= CURRENT_TIMESTAMP",
   "standardMaxRecordCountNoGeometry": 16000,
   "isDataReplicaTracked": false,
   "indexes": [
    {
     "name": "r511_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_511",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    },
    {
     "name": "a245_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "exceedsLimitFactor": 1,
   "minScale": 2311163,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSql": true,
   "serviceItemId": "43b2f9e1d61c4ab7ad980079db806a5a",
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": false,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "uniqueIdField": {
    "isSystemMaintained": true,
    "name": "objectid"
   },
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACZElEQVRIibWVMUsbYRzGf5e8L0YTocqdlBQqYkiVwi1ZnPoJzGKhLXQRh4RWcejQtQqhHyCgaJDSUTq4pF+gLs1yQwNiSHWxYAelKQQ1xst7He4iaRO9mNBnvff+P54/z/u8gv8s0cUZmY2RiAhMB6J1hXTgeChAYb6E1TMgM8H4qGRWQGpEYAoNpAZCA9uBagNycU7DAXZellgCrroGbE2RVIqMITFHBAwG2s8YEmwHvWKTysWZqzs8XfrOri9gI87zsMa2EYLh4C3ecd0YEiJB9KNLvnx6TPrZHrkbAVtTJMMa2w8H3J+71WAAJkNwWGMzG6O4fEChDZCZYFwpMkbobsNb3UyGYO+cPGC0AUYls4bE9FuLH8SQ6OtxFl+XWWsFSC8tfWtMwskVK9ACyMZIjAjMTmm5q4QGw0H0bIyZ5QMKAiDi5fzekyTh6URfgN+7eULfLO4PYIIHcCAqNQhPJ3iQfte3C1m0+GUTBW9FdYXsJTk3SWjuzGuAA8e249rrV2f7FrYD4SDH14ChAIVqw/14tu/bX76qNkA57mUTAPMlrI+POLUd9H5XdaGg2qCYKrtNe5185bBTsUkZsj9AxQZBh6pYKJPOxZmLBNF7vQ8XCio21kKZN20AgJoieXTJ18ke+uhCwc86KI1V4KwjYPmAwocp0oc1Nu8CaQ7/UefF20P+imJb+yyUyGVjFPfOyRsSfUzeDPJWQsXGUhqr/w7vCGg6AYz1OIsnV6wMB9FDgfYns9qg2IDPr8q8p2UtvoCmvMpdy8aYiQjMmkJqEG0++s0o3qauCtpzVPA92EF/ADG40rakdbThAAAAAElFTkSuQmCC",
      "yoffset": 0,
      "width": 18,
      "xoffset": 0,
      "angle": 0,
      "type": "esriPMS",
      "contentType": "image/png",
      "url": "c3e5ca2d-58b7-4586-a7a8-b580f0c786d3",
      "height": 18
     },
     "authoringInfo": {
      "visualVariables": [
       {
        "maxSliderValue": 1,
        "type": "transparencyInfo",
        "minSliderValue": 0
       }
      ]
     },
     "type": "simple"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "geometryType": "esriGeometryPoint"
  },
  {
   "extent": {
    "ymin": 4114354.004651488,
    "xmin": -8632739.54402492,
    "ymax": 4143052.641346919,
    "xmax": -8604357.05539258,
    "spatialReference": {"wkid": 102100}
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "definitionQuery": "endtime IS NULL OR endtime >= CURRENT_TIMESTAMP",
   "type": "Feature Layer",
   "hasStaticData": false,
   "supportsAttachmentsByUploadId": true,
   "syncEnabled": false,
   "relationships": null,
   "supportsAttachmentsResizing": true,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "currentVersion": 10.91,
   "hasZ": true,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": false,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ]
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": false,
   "name": "Road Closures",
   "displayField": "pocname",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 4,
     "type": "esriFieldTypeOID",
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "street",
     "length": 150,
     "alias": "Street Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 50,
     "type": "esriFieldTypeString",
     "domain": {
      "name": "Road Closure Type",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "ROAD_CLOSED_CONSTRUCTION",
        "name": "Construction"
       },
       {
        "code": "ROAD_CLOSED_EVENT",
        "name": "Event"
       },
       {
        "code": "ROAD_CLOSED_HAZARD",
        "name": "Hazard"
       }
      ]
     },
     "name": "subtype",
     "alias": "Reason"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "description",
     "length": 1000,
     "alias": "Description",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 25,
     "description": "{\"fieldValueType\":\"\",\"value\":\"\"}",
     "type": "esriFieldTypeString",
     "domain": {
      "name": "Road Closures Direction",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "BOTH_DIRECTIONS",
        "name": "Both Directions"
       },
       {
        "code": "ONE_DIRECTION",
        "name": "One Direction"
       }
      ]
     },
     "name": "direction",
     "alias": "Direction"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "starttime",
     "length": 29,
     "alias": "Start Time",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "endtime",
     "length": 29,
     "alias": "End Time",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 1000,
     "type": "esriFieldTypeString",
     "domain": null,
     "name": "altroute",
     "alias": "Alterante Route"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pocname",
     "length": 100,
     "alias": "Contact Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pocemail",
     "length": 100,
     "alias": "Contact Email",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pocphone",
     "length": 15,
     "alias": "Contact Phone",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "url",
     "length": 1000,
     "alias": "URL",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "identifier",
     "length": 100,
     "alias": "Identifier",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 5,
     "description": "{\"fieldValueType\":\"\",\"value\":\"\"}",
     "type": "esriFieldTypeString",
     "domain": {
      "name": "Road Closures_activeincid_54dfb8de-77a2-4693-8e2e-b85aee48bd2f",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "activeincid",
     "alias": "Active Incident"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "RoadClosures_8f6ef1e418494279a33658954fd66773_RoadClosuresType",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "ROAD_CLOSED",
        "name": "Road Closed"
       }
      ]
     },
     "name": "type",
     "length": 12,
     "alias": "Type",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "reference",
     "length": 12,
     "alias": "Organization",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 38,
     "type": "esriFieldTypeGlobalID",
     "domain": null,
     "name": "globalid",
     "alias": "Road Closure ID"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "isView": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "isUpdatableView": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "viewDefinitionQuery": "endtime IS NULL OR endtime >= CURRENT_TIMESTAMP",
   "standardMaxRecordCountNoGeometry": 16000,
   "isDataReplicaTracked": false,
   "indexes": [
    {
     "name": "r512_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_512",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    },
    {
     "name": "a246_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "exceedsLimitFactor": 1,
   "minScale": 577791,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSql": true,
   "enableZDefaults": true,
   "serviceItemId": "43b2f9e1d61c4ab7ad980079db806a5a",
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [
    {
     "templates": [
      {
       "name": "Both Directions",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "identifier": null,
         "pocname": null,
         "pocphone": null,
         "description": null,
         "endtime": null,
         "starttime": null,
         "type": "ROAD_CLOSED",
         "url": null,
         "reference": null,
         "pocemail": null,
         "activeincid": null,
         "subtype": null,
         "street": null,
         "direction": "BOTH_DIRECTIONS",
         "altroute": null
        }
       }
      }
     ],
     "name": "BOTH_DIRECTIONS",
     "domains": {
      "subtype": {"type": "inherited"},
      "type": {"type": "inherited"},
      "direction": {"type": "inherited"}
     },
     "id": "BOTH_DIRECTIONS"
    },
    {
     "templates": [
      {
       "name": "One Direction",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "identifier": null,
         "pocname": null,
         "pocphone": null,
         "description": null,
         "endtime": null,
         "starttime": null,
         "type": "ROAD_CLOSED",
         "url": null,
         "reference": null,
         "pocemail": null,
         "activeincid": null,
         "subtype": null,
         "street": null,
         "direction": "ONE_DIRECTION",
         "altroute": null
        }
       }
      }
     ],
     "name": "ONE_DIRECTION",
     "domains": {
      "subtype": {"type": "inherited"},
      "type": {"type": "inherited"},
      "direction": {"type": "inherited"}
     },
     "id": "ONE_DIRECTION"
    }
   ],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": false,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "uniqueIdField": {
    "isSystemMaintained": true,
    "name": "objectid"
   },
   "tileMaxRecordCount": 2000,
   "typeIdField": "direction",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportsMultiScaleGeometry": true,
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "field1": "direction",
     "visualVariables": [
      {
       "valueExpression": "IIf($feature.endtime == null || $feature.endtime >= Now(), 1, 0)",
       "legendOptions": {
        "showLegend": false,
        "title": "Custom"
       },
       "valueExpressionTitle": "Custom",
       "stops": [
        {
         "transparency": 65,
         "value": 0
        },
        {
         "transparency": 0,
         "value": 1
        }
       ],
       "type": "transparencyInfo"
      }
     ],
     "authoringInfo": {
      "visualVariables": [
       {
        "maxSliderValue": 1,
        "type": "transparencyInfo",
        "minSliderValue": 0
       },
       {
        "maxSliderValue": 100000,
        "type": "sizeInfo",
        "minSliderValue": 0
       }
      ]
     },
     "uniqueValueInfos": [
      {
       "symbol": {
        "color": [
         191,
         31,
         0,
         255
        ],
        "marker": {
         "style": "arrow",
         "placement": "begin-end"
        },
        "width": 3,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Both Directions",
       "value": "BOTH_DIRECTIONS"
      },
      {
       "symbol": {
        "color": [
         191,
         31,
         0,
         255
        ],
        "marker": {
         "style": "arrow",
         "placement": "end"
        },
        "width": 3,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "One Direction",
       "value": "ONE_DIRECTION"
      }
     ],
     "type": "uniqueValue"
    },
    "transparency": 0
   },
   "copyrightText": "",
   "zDefault": 0,
   "geometryType": "esriGeometryPolyline"
  },
  {
   "extent": {
    "ymin": 4114354.004651488,
    "xmin": -8632739.54402492,
    "ymax": 4143052.641346919,
    "xmax": -8604357.05539258,
    "spatialReference": {"wkid": 102100}
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "definitionQuery": "endtime IS NULL OR endtime >= CURRENT_TIMESTAMP",
   "type": "Feature Layer",
   "hasStaticData": false,
   "supportsAttachmentsByUploadId": true,
   "syncEnabled": false,
   "relationships": null,
   "supportsAttachmentsResizing": true,
   "id": 2,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Road Detours",
     "description": "",
     "drawingTool": "esriFeatureEditToolLine",
     "prototype": {
      "attributes": {
       "street": null,
       "description": null,
       "endtime": null,
       "closureid": null,
       "starttime": null,
       "url": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "currentVersion": 10.91,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": false,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ]
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": false,
   "name": "Road Detours",
   "displayField": "street",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 4,
     "type": "esriFieldTypeOID",
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "street",
     "length": 150,
     "alias": "Street Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "description",
     "length": 1000,
     "alias": "Description",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "starttime",
     "length": 29,
     "alias": "Start Time",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "endtime",
     "length": 29,
     "alias": "End Time",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "url",
     "length": 1000,
     "alias": "URL",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "identifier",
     "length": 100,
     "alias": "Identifier",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 5,
     "description": "{\"fieldValueType\":\"\",\"value\":\"\"}",
     "type": "esriFieldTypeString",
     "domain": {
      "name": "Road Detours_activeincid_7752552e-17e4-451d-8dfc-a65aca290b20",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "activeincid",
     "alias": "Active Incident"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "closureid",
     "length": 50,
     "alias": "Road Closure ID",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 38,
     "type": "esriFieldTypeGlobalID",
     "domain": null,
     "name": "globalid",
     "alias": "GlobalID"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "isView": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "isUpdatableView": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "viewDefinitionQuery": "endtime IS NULL OR endtime >= CURRENT_TIMESTAMP",
   "standardMaxRecordCountNoGeometry": 16000,
   "isDataReplicaTracked": false,
   "indexes": [
    {
     "name": "r513_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_513",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    },
    {
     "name": "a247_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "exceedsLimitFactor": 1,
   "minScale": 577791,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSql": true,
   "serviceItemId": "43b2f9e1d61c4ab7ad980079db806a5a",
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": false,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "uniqueIdField": {
    "isSystemMaintained": true,
    "name": "objectid"
   },
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportsMultiScaleGeometry": true,
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "color": [
       230,
       152,
       0,
       255
      ],
      "width": 3,
      "style": "esriSLSSolid",
      "type": "esriSLS"
     },
     "authoringInfo": {
      "visualVariables": [
       {
        "maxSliderValue": 1,
        "type": "transparencyInfo",
        "minSliderValue": 0
       }
      ]
     },
     "type": "simple"
    },
    "transparency": 0
   },
   "copyrightText": "",
   "geometryType": "esriGeometryPolyline"
  }
 ]
}