{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 0, "name": "Branch Workzones", "type": "Feature Layer", "description": "CityWorksView.dbo.vw_wzBranch_GIS", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102672, "latestWkid": 3436, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -16150900, "falseY": -46131100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var stage = $feature.WOSTAGE;\nvar status = $feature.WOSTATUS;\n\n// Stage overrides everything\nif (stage == 'PROPOSED') {\n return 'OFF WEEK';\n}\n\n// Status categories\nif (stage == 'ACTUAL' && status == 'COMPLETED') {\n return 'COMPLETED';\n}\n\nif (stage == 'ACTUAL' && status == 'INPROGRESS') {\n return 'COLLECTING';\n}\n\nif (stage == 'ACTUAL' && status == 'OPEN') {\n return 'PENDING SERVICE';\n}\n\n// Default fallback\nreturn 'OFF WEEK';\n", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 225, 225, 225, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 225, 225, 225, 255 ], "width": 0.7 } }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 164, 205, 164, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 225, 225, 225, 0 ], "width": 0.7 } }, "value": "COMPLETED", "label": "COMPLETED" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 188, 231, 245, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 225, 225, 225, 255 ], "width": 0.7 } }, "value": "COLLECTING", "label": "COLLECTING" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 255, 166, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 225, 225, 225, 0 ], "width": 0.7 } }, "value": "PENDING SERVICE", "label": "PENDING SERVICE" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 128, 128, 128, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 225, 225, 225, 0 ], "width": 0.7 } }, "value": "OFF WEEK", "label": "OFF WEEK" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 228, 179, 252, 255 ], "toColor": [ 228, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 252, 179, 255 ], "toColor": [ 202, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 190, 179, 255 ], "toColor": [ 252, 190, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 242, 252, 255 ], "toColor": [ 189, 242, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 245, 210, 255 ], "toColor": [ 252, 245, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 243, 255 ], "toColor": [ 252, 215, 243, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 194, 200, 252, 255 ], "toColor": [ 194, 200, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 197, 252, 222, 255 ], "toColor": [ 197, 252, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 224, 255 ], "toColor": [ 252, 179, 224, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 252, 179, 255 ], "toColor": [ 251, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 221, 252, 255 ], "toColor": [ 204, 221, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 220, 252, 202, 255 ], "toColor": [ 220, 252, 202, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 222, 179, 255 ], "toColor": [ 252, 222, 179, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 25, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 2407484.609206412, "ymin": 1101050.8268479854, "xmax": 2464572.361500494, "ymax": 1168500.5423419923, "spatialReference": { "wkid": 102672, "latestWkid": 3436, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -16150900, "falseY": -46131100, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "PROJECTNAME", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "WORKORDERID", "type": "esriFieldTypeString", "alias": "WORKORDERID", "length": 60, "domain": null }, { "name": "ENTITYUID", "type": "esriFieldTypeString", "alias": "ENTITYUID", "length": 50, "domain": null }, { "name": "FEATUREUID", "type": "esriFieldTypeString", "alias": "FEATUREUID", "length": 50, "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeInteger", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "PROJSTARTDATE", "type": "esriFieldTypeDate", "alias": "PROJSTARTDATE", "length": 8, "domain": null }, { "name": "PROJFINISHDATE", "type": "esriFieldTypeDate", "alias": "PROJFINISHDATE", "length": 8, "domain": null }, { "name": "ACTUALSTARTDATE", "type": "esriFieldTypeDate", "alias": "ACTUALSTARTDATE", "length": 8, "domain": null }, { "name": "ACTUALFINISHDATE", "type": "esriFieldTypeDate", "alias": "ACTUALFINISHDATE", "length": 8, "domain": null }, { "name": "WOCANCEL", "type": "esriFieldTypeString", "alias": "WOCANCEL", "length": 1, "domain": null }, { "name": "WOINITIATEDATE", "type": "esriFieldTypeDate", "alias": "WOINITIATEDATE", "length": 8, "domain": null }, { "name": "WOTEMPLATEID", "type": "esriFieldTypeString", "alias": "WOTEMPLATEID", "length": 20, "domain": null }, { "name": "WOCOST", "type": "esriFieldTypeDouble", "alias": "WOCOST", "domain": null }, { "name": "WOSTAGE", "type": "esriFieldTypeString", "alias": "WOSTAGE", "length": 20, "domain": null }, { "name": "EXPENSETYPE", "type": "esriFieldTypeString", "alias": "EXPENSETYPE", "length": 20, "domain": null }, { "name": "UNITSACCOMPLISHED", "type": "esriFieldTypeDouble", "alias": "UNITSACCOMPLISHED", "domain": null }, { "name": "UNITSACCOMPDESC", "type": "esriFieldTypeString", "alias": "UNITSACCOMPDESC", "length": 40, "domain": null }, { "name": "LINEITEMCOST", "type": "esriFieldTypeDouble", "alias": "LINEITEMCOST", "domain": null }, { "name": "CONTRACTWOID", "type": "esriFieldTypeString", "alias": "CONTRACTWOID", "length": 30, "domain": null }, { "name": "WOSTATUS", "type": "esriFieldTypeString", "alias": "WOSTATUS", "length": 50, "domain": null }, { "name": "PROJECTNAME", "type": "esriFieldTypeString", "alias": "PROJECTNAME", "length": 130, "domain": null }, { "name": "PROJECTSID", "type": "esriFieldTypeDouble", "alias": "PROJECTSID", "domain": null }, { "name": "DESCRIPTION", "type": "esriFieldTypeString", "alias": "DESCRIPTION", "length": 130, "domain": null }, { "name": "PROJECTSTARTDATE", "type": "esriFieldTypeDate", "alias": "PROJECTSTARTDATE", "length": 8, "domain": null }, { "name": "PROJECTFINISHDATE", "type": "esriFieldTypeDate", "alias": "PROJECTFINISHDATE", "length": 8, "domain": null }, { "name": "APPROVEDBY", "type": "esriFieldTypeString", "alias": "APPROVEDBY", "length": 100, "domain": null }, { "name": "ASSIGNEDTO", "type": "esriFieldTypeString", "alias": "ASSIGNEDTO", "length": 100, "domain": null }, { "name": "PCANCEL", "type": "esriFieldTypeString", "alias": "PCANCEL", "length": 1, "domain": null }, { "name": "PSTATUS", "type": "esriFieldTypeString", "alias": "PSTATUS", "length": 50, "domain": null }, { "name": "PCOMMENTS", "type": "esriFieldTypeString", "alias": "PCOMMENTS", "length": 250, "domain": null }, { "name": "QUICKVIEW", "type": "esriFieldTypeString", "alias": "QUICKVIEW", "length": 1, "domain": null }, { "name": "DOMAINID", "type": "esriFieldTypeDouble", "alias": "DOMAINID", "domain": null }, { "name": "ESTIMATEDBUDGET", "type": "esriFieldTypeDouble", "alias": "ESTIMATEDBUDGET", "domain": null }, { "name": "PARENTPROJECTSID", "type": "esriFieldTypeDouble", "alias": "PARENTPROJECTSID", "domain": null }, { "name": "DATETIMEMODIFIED", "type": "esriFieldTypeDate", "alias": "DATETIMEMODIFIED", "length": 8, "domain": null }, { "name": "NOBUDGET", "type": "esriFieldTypeSmallInteger", "alias": "NOBUDGET", "domain": null }, { "name": "INITIATEDBY", "type": "esriFieldTypeString", "alias": "INITIATEDBY", "length": 100, "domain": null }, { "name": "PINITIATEDATE", "type": "esriFieldTypeDate", "alias": "PINITIATEDATE", "length": 8, "domain": null }, { "name": "ESRI_OID", "type": "esriFieldTypeOID", "alias": "ESRI_OID", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "567c03e354474fb68a89f5566cb30855" }