{ "extent": { "ymin": 4649021.74167815, "xmin": -1.3536450080461381E7, "ymax": 4667955.016783948, "xmax": -1.3524761533928087E7, "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": [], "supportsAttachmentsResizing": true, "id": 1, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "supportsTilesAndBasicQueriesMode ": true, "standardMaxRecordCount": 2000, "isDataVersioned": false, "templates": [], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "currentVersion": 11.3, "hasZ": true, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportsReturnEditResults": true, "supportedSqlFormatsInCalculate": [ "standard" ], "supportedApplyEditsUploadIDFormats": "JSON" }, "objectIdField": "objectid", "supportsQuantizationEditMode": true, "viewSourceHasAttachments": false, "name": "Road Closures", "displayField": "pocname", "supportsCalculate": true, "fields": [ { "nullable": false, "editable": false, "defaultValue": null, "length": 4, "type": "esriFieldTypeOID", "isViewOverride": true, "domain": null, "name": "objectid", "alias": "OBJECTID" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 150, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "street", "alias": "Street Name" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 50, "type": "esriFieldTypeString", "isViewOverride": true, "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, "length": 1000, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "description", "alias": "Description" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 25, "description": "{\"fieldValueType\":\"\",\"value\":\"\"}", "type": "esriFieldTypeString", "isViewOverride": true, "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, "precision": 1, "length": 29, "type": "esriFieldTypeDate", "isViewOverride": true, "domain": null, "name": "starttime", "alias": "Start Time" }, { "nullable": true, "editable": true, "defaultValue": null, "precision": 1, "length": 29, "type": "esriFieldTypeDate", "isViewOverride": true, "domain": null, "name": "endtime", "alias": "End Time" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 1000, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "altroute", "alias": "Alterante Route" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 100, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "pocname", "alias": "Contact Name" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 100, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "pocemail", "alias": "Contact Email" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 15, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "pocphone", "alias": "Contact Phone" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 1000, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "url", "alias": "URL" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 100, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "identifier", "alias": "Identifier" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 5, "description": "{\"fieldValueType\":\"\",\"value\":\"\"}", "type": "esriFieldTypeString", "isViewOverride": true, "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, "length": 12, "type": "esriFieldTypeString", "isViewOverride": true, "domain": { "name": "Road Closures Type", "type": "codedValue", "codedValues": [ { "code": "ROAD_CLOSED", "name": "Road Closed" } ] }, "name": "type", "alias": "Type" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 12, "type": "esriFieldTypeString", "isViewOverride": true, "domain": null, "name": "reference", "alias": "Organization" }, { "nullable": false, "editable": false, "defaultValue": null, "length": 38, "type": "esriFieldTypeGlobalID", "isViewOverride": true, "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, "supportsTruncate": false, "indexes": [ { "name": "r203_sde_rowid_uk", "isUnique": true, "description": "", "fields": "objectid", "isAscending": true }, { "name": "uuid_203", "isUnique": true, "description": "", "fields": "globalid", "isAscending": true }, { "name": "a118_ix1", "isUnique": false, "description": "", "fields": "shape", "isAscending": true } ], "supportedAppendSourceFilterFormats": "featureService", "editFieldsInfo": { "editDateField": "last_edited_date", "editorField": "last_edited_user", "creationDateField": "created_date", "creatorField": "created_user" }, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "GUIDFormat": "O", "minScale": 577791, "hasAttachments": false, "queryBinsCapabilities": { "supportedStatisticTypes": [ "count", "sum", "min", "max", "avg", "stddev", "var", "percentile_cont", "percentile_disc" ], "supportsFixedIntervalBin": true, "supportsAutoIntervalBin": true, "supportsFixedBoundariesBin": true, "supportsDateBin": true }, "advancedQueryCapabilities": { "supportsSqlExpression": true, "supportsQueryWithResultType": true, "supportsQueryRelatedPagination": true, "supportsQueryWithCacheHint": false, "supportsQueryWithDatumTransformation": true, "supportsCurrentUserQueries": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsDefaultSR": true, "supportsQueryDateBins": false, "supportsQueryWithLodSR": true, "supportsPaginationOnAggregatedQueries": true, "supportsPagination": true, "supportsMaxRecordCountFactor": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsReturningGeometryProperties": true, "supportsFullTextSearch": false, "supportsQueryWithDistance": true, "supportsLod": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryAttachments": true, "supportsReturningQueryExtent": true, "supportsQueryAttachmentsCountOnly": true, "supportsOrderByOnlyOnLayerFields": false, "supportsOutFieldSqlExpression": true, "supportsTopFeaturesQuery": true, "supportsReturningGeometryEnvelope": true, "supportsDistinct": true, "supportsReturningGeometryCentroid": false, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "serviceItemId": "d7a0b50f93334149bedfead5ee1ffd31", "supportsValidateSql": true, "enableZDefaults": false, "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, "supportsLayerOverrides ": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": true, "supportsLinearRegression": true, "supportsPercentileAnalytic": false }, "hasMetadata": true, "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl,featureService", "uniqueIdField": { "isSystemMaintained": true, "name": "OBJECTID" }, "tileMaxRecordCount": 2000, "typeIdField": "direction", "supportsASyncCalculate": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportsMultiScaleGeometry": true, "sqlParserVersion": "PG_11.2.0", "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 }, "geometryField": { "sqlType": "sqlTypeOther", "nullable": true, "editable": true, "name": "shape", "typeName": "st_geometry", "length": 2147483647, "type": "esriFieldTypeGeometry" }, "copyrightText": "Esri", "zDefault": 0, "geometryType": "esriGeometryPolyline", "supportsLayerOverrides": true }