{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 0, "name": "Stage of Completion", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPolygon", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "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, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": true, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasMetadata": 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 } }, "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 }, "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 }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "TaskID", "globalIdField": "", "displayField": "FeatureName", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "TaskID", "type": "esriFieldTypeOID", "alias": "TaskID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "TaskID" }, { "name": "Project", "type": "esriFieldTypeString", "alias": "Project", "domain": null, "editable": true, "nullable": true, "length": 250, "defaultValue": null, "modelName": "Project" }, { "name": "Problem", "type": "esriFieldTypeString", "alias": "Problem", "domain": null, "editable": true, "nullable": true, "length": 1073741822, "defaultValue": null, "modelName": "Problem" }, { "name": "ServiceOrderDescription", "type": "esriFieldTypeString", "alias": "ServiceOrderDescription", "domain": null, "editable": true, "nullable": true, "length": 1073741822, "defaultValue": null, "modelName": "ServiceOrderDescription" }, { "name": "TaskStatus", "type": "esriFieldTypeString", "alias": "TaskStatus", "domain": null, "editable": true, "nullable": false, "length": 50, "defaultValue": null, "modelName": "TaskStatus" }, { "name": "Completed", "type": "esriFieldTypeSmallInteger", "alias": "Completed", "domain": null, "editable": true, "nullable": false, "defaultValue": null, "modelName": "Completed" }, { "name": "ScheduledStartDate", "type": "esriFieldTypeDate", "alias": "ScheduledStartDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "ScheduledStartDate" }, { "name": "ScheduledEndDate", "type": "esriFieldTypeDate", "alias": "ScheduledEndDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "ScheduledEndDate" }, { "name": "ActualStartDate", "type": "esriFieldTypeDate", "alias": "ActualStartDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "ActualStartDate" }, { "name": "TaskYear", "type": "esriFieldTypeString", "alias": "TaskYear", "domain": null, "editable": true, "nullable": true, "length": 4, "defaultValue": null, "modelName": "TaskYear" }, { "name": "FiscalYear", "type": "esriFieldTypeString", "alias": "FiscalYear", "domain": null, "editable": true, "nullable": true, "length": 4, "defaultValue": null, "modelName": "FiscalYear" }, { "name": "ActualEndDate", "type": "esriFieldTypeDate", "alias": "ActualEndDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "ActualEndDate" }, { "name": "WorkCompletedDate", "type": "esriFieldTypeDate", "alias": "WorkCompletedDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "WorkCompletedDate" }, { "name": "BillToAccount", "type": "esriFieldTypeString", "alias": "BillToAccount", "domain": null, "editable": true, "nullable": true, "length": 250, "defaultValue": null, "modelName": "BillToAccount" }, { "name": "TaskTypeID", "type": "esriFieldTypeInteger", "alias": "TaskTypeID", "domain": null, "editable": true, "nullable": false, "defaultValue": null, "modelName": "TaskTypeID" }, { "name": "TaskType", "type": "esriFieldTypeString", "alias": "TaskType", "domain": null, "editable": true, "nullable": false, "length": 50, "defaultValue": null, "modelName": "TaskType" }, { "name": "TaskTotal", "type": "esriFieldTypeDouble", "alias": "TaskTotal", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "TaskTotal" }, { "name": "ServiceOrderTotal", "type": "esriFieldTypeDouble", "alias": "ServiceOrderTotal", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "ServiceOrderTotal" }, { "name": "DivisionID", "type": "esriFieldTypeInteger", "alias": "DivisionID", "domain": null, "editable": true, "nullable": false, "defaultValue": null, "modelName": "DivisionID" }, { "name": "LayerID", "type": "esriFieldTypeInteger", "alias": "LayerID", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "LayerID" }, { "name": "LayerTitle", "type": "esriFieldTypeString", "alias": "LayerTitle", "domain": null, "editable": true, "nullable": false, "length": 250, "defaultValue": null, "modelName": "LayerTitle" }, { "name": "FeatureID", "type": "esriFieldTypeString", "alias": "FeatureID", "domain": null, "editable": true, "nullable": true, "length": 250, "defaultValue": null, "modelName": "FeatureID" }, { "name": "GIS_AssetTag", "type": "esriFieldTypeString", "alias": "GIS_AssetTag", "domain": null, "editable": true, "nullable": true, "length": 500, "defaultValue": null, "modelName": "GIS_AssetTag" }, { "name": "FeatureName", "type": "esriFieldTypeString", "alias": "FeatureName", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "FeatureName" }, { "name": "FeatureDescription", "type": "esriFieldTypeString", "alias": "FeatureDescription", "domain": null, "editable": true, "nullable": true, "length": 500, "defaultValue": null, "modelName": "FeatureDescription" }, { "name": "OBJECTID", "type": "esriFieldTypeInteger", "alias": "OBJECTID", "domain": null, "editable": true, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "GDB_GEOMATTR_DATA", "type": "esriFieldTypeBlob", "alias": "GDB_GEOMATTR_DATA", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "GDB_GEOMATTR_DATA" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "FDO_TaskID", "fields": "TaskID", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Roads and lots currently under contract for repaving", "description": "", "prototype": { "attributes": { "OBJECTID": 0, "Project": null, "Problem": null, "ServiceOrderDescription": null, "TaskStatus": " ", "Completed": 0, "ScheduledStartDate": null, "ScheduledEndDate": null, "ActualStartDate": null, "TaskYear": null, "FiscalYear": null, "ActualEndDate": null, "WorkCompletedDate": null, "BillToAccount": null, "TaskTypeID": 0, "TaskType": " ", "TaskTotal": null, "ServiceOrderTotal": null, "DivisionID": 0, "LayerID": null, "LayerTitle": " ", "FeatureID": null, "GIS_AssetTag": null, "FeatureName": null, "FeatureDescription": null, "GDB_GEOMATTR_DATA": null } }, "drawingTool": "esriFeatureEditToolPolygon" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query", "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 4000, "tileMaxRecordCount": 4000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "ba3e6080945c4fb6b58c3452235b020d" }