{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 0, "name": "Stage of Completion", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 26964, "latestWkid": 26964, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5123100, "falseY": -12417300, "xyUnits": 10000, "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 SSD = $feature.ScheduledStartDate\nvar SED = $feature.ScheduledEndDate\nvar TS = $feature.TaskStatus\nvar TodaysDate = Today()\nvar PUTWSL = dateAdd(Today(), 21, 'days')\nif (TS == \"Scheduled\" && SSD >= TodaysDate && SSD <= PUTWSL) {return \"Scheduled (within 3-weeks)\"}\nelse if (TS == \"Scheduled\" && SED >= TodaysDate && SED >= PUTWSL) {return \"Scheduled (within 3-weeks)\"}\nelse {return $feature.TaskStatus}\n", "valueExpressionTitle": "Stage of Completion", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 56, 168, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 56, 168, 0, 255 ], "width": 0.7 } }, "value": "Complete", "label": "Complete" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 230, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 0.7 } }, "value": "In Progress", "label": "In Progress" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 230, 152, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 0.7 } }, "value": "Scheduled (within 3-weeks)", "label": "Scheduled (within 3-weeks)" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 170, 102, 205, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 170, 102, 205, 255 ], "width": 0.7 } }, "value": "Pending", "label": "Pending" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 219, 202, 252, 255 ], "toColor": [ 219, 202, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 252, 184, 255 ], "toColor": [ 207, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 201, 179, 255 ], "toColor": [ 252, 201, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 249, 252, 255 ], "toColor": [ 182, 249, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 247, 210, 255 ], "toColor": [ 252, 247, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 192, 217, 255 ], "toColor": [ 252, 192, 217, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 251, 255 ], "toColor": [ 252, 179, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 252, 224, 255 ], "toColor": [ 204, 252, 224, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 210, 225, 252, 255 ], "toColor": [ 210, 225, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 249, 252, 182, 255 ], "toColor": [ 249, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 184, 252, 255 ], "toColor": [ 182, 184, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 226, 212, 255 ], "toColor": [ 252, 226, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 250, 255 ], "toColor": [ 252, 210, 250, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 476976.9883000003, "ymin": 4674.438699999824, "xmax": 520084.1953999996, "ymax": 43825.457800000906, "spatialReference": { "wkid": 26964, "latestWkid": 26964, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5123100, "falseY": -12417300, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "FeatureName", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "TaskID", "type": "esriFieldTypeOID", "alias": "TaskID", "domain": null }, { "name": "Project", "type": "esriFieldTypeString", "alias": "Project", "length": 250, "domain": null }, { "name": "Problem", "type": "esriFieldTypeString", "alias": "Problem", "length": 1073741822, "domain": null }, { "name": "ServiceOrderDescription", "type": "esriFieldTypeString", "alias": "ServiceOrderDescription", "length": 1073741822, "domain": null }, { "name": "TaskStatus", "type": "esriFieldTypeString", "alias": "TaskStatus", "length": 50, "domain": null }, { "name": "Completed", "type": "esriFieldTypeSmallInteger", "alias": "Completed", "domain": null }, { "name": "ScheduledStartDate", "type": "esriFieldTypeDate", "alias": "ScheduledStartDate", "length": 8, "domain": null }, { "name": "ScheduledEndDate", "type": "esriFieldTypeDate", "alias": "ScheduledEndDate", "length": 8, "domain": null }, { "name": "ActualStartDate", "type": "esriFieldTypeDate", "alias": "ActualStartDate", "length": 8, "domain": null }, { "name": "TaskYear", "type": "esriFieldTypeString", "alias": "TaskYear", "length": 4, "domain": null }, { "name": "FiscalYear", "type": "esriFieldTypeString", "alias": "FiscalYear", "length": 4, "domain": null }, { "name": "ActualEndDate", "type": "esriFieldTypeDate", "alias": "ActualEndDate", "length": 8, "domain": null }, { "name": "WorkCompletedDate", "type": "esriFieldTypeDate", "alias": "WorkCompletedDate", "length": 8, "domain": null }, { "name": "BillToAccount", "type": "esriFieldTypeString", "alias": "BillToAccount", "length": 250, "domain": null }, { "name": "TaskTypeID", "type": "esriFieldTypeInteger", "alias": "TaskTypeID", "domain": null }, { "name": "TaskType", "type": "esriFieldTypeString", "alias": "TaskType", "length": 50, "domain": null }, { "name": "TaskTotal", "type": "esriFieldTypeDouble", "alias": "TaskTotal", "domain": null }, { "name": "ServiceOrderTotal", "type": "esriFieldTypeDouble", "alias": "ServiceOrderTotal", "domain": null }, { "name": "DivisionID", "type": "esriFieldTypeInteger", "alias": "DivisionID", "domain": null }, { "name": "LayerID", "type": "esriFieldTypeInteger", "alias": "LayerID", "domain": null }, { "name": "LayerTitle", "type": "esriFieldTypeString", "alias": "LayerTitle", "length": 250, "domain": null }, { "name": "FeatureID", "type": "esriFieldTypeString", "alias": "FeatureID", "length": 250, "domain": null }, { "name": "GIS_AssetTag", "type": "esriFieldTypeString", "alias": "GIS_AssetTag", "length": 500, "domain": null }, { "name": "FeatureName", "type": "esriFieldTypeString", "alias": "FeatureName", "length": 255, "domain": null }, { "name": "FeatureDescription", "type": "esriFieldTypeString", "alias": "FeatureDescription", "length": 500, "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeInteger", "alias": "OBJECTID", "domain": null }, { "name": "GDB_GEOMATTR_DATA", "type": "esriFieldTypeBlob", "alias": "GDB_GEOMATTR_DATA", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "FDO_TaskID", "fields": "TaskID", "isAscending": true, "isUnique": true, "description": "" } ], "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": "19bdfa3fd1c04097aff270ab95ac3b95" } ], "tables": [] }