{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 1, "name": "Sidewalk_Inspections_2024", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 26917, "latestWkid": 26917, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var CreatedDate = $feature.CREATED_DATE\nvar GrindingComplete = $feature.GRINDING_COMPLETE\nvar Duration = DateDiff(Now(), CreatedDate, 'days')\nvar DurationRnd = Round(Duration)\nif (GrindingComplete == \"Y\"){\n return \"Grinding Complete\";\n} else if (GrindingComplete == \"N\" && DurationRnd <= 7) {\n return \"Less than or equal to 7 days\";\n} else if (GrindingComplete == \"N\" && DurationRnd > 14) {\n return \"More than 14 days\";\n} else if (GrindingComplete == \"N\" && DurationRnd >= 8 && DurationRnd <= 14) {\n return \"8-14\";\n}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "76c8ac394158f4fdcd45d5479c23002d", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA5klEQVQ4ja3SLQ7CQBAF4Jlmq2swFThME0wLlqNg8QgOgEbgsRyhR8BCa0gw6GJqajCIJa+kCYV2ZkN4Zn+y+Wazs4b+FKMdSJJkYq295Xle/AwBYeaUmSmO46mEGQ0hohBrz/OOEmY05LrY0iMYULSZhxJmNKQaz+r9y2ovYsYFQe7DSMSMC+KCGVdEw2oI/wQtRvCwWvyqbKYFM08w1hBEyKiASqiIyl0Jzgca7ZaYnqy16yzL0tYbuWBBD9KCNCwQkC+oD/OrUkQ6oS6MXulFeqFPDF2REBF6x9BiCVGhBsONtHNPZpfRTLFHWX8AAAAASUVORK5CYII=", "contentType": "image/png", "width": 13, "height": 13, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Less than or equal to 7 days", "label": "Less than or equal to 7 days" }, { "symbol": { "type": "esriPMS", "url": "48a215f97f9cc047f09da1ab1c93876f", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA4ElEQVQ4ja3SPQ6CQBAF4Bmy1DY29DaUgC1H4RAcwRNwCI7AEbZVKG2ssaGxsbFY8zAkojCzMb5mf7L5ZrOzhv4Uox1I0zRzzl27rut/hoAwc8PMlCTJXsKMhhBRhHUQBEcJMxpSVRfabh9UFHEkYUZD8vw27tf1WcSMD4LE8V3EjA/igxlfRMNGCP8ELUbwsFqGIZymPTNnGEcIImRUQCVUROWlWLuhstxhenLOHdq2bWZv5IPZFWQGaZgVkC9oDRuGUEQWoSWMXllFVqFPDF2REBF6x9BiCVGhCcONtHNPS2/RcmYu48oAAAAASUVORK5CYII=", "contentType": "image/png", "width": 13, "height": 13, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "8-14", "label": "8 to 14 days" }, { "symbol": { "type": "esriPMS", "url": "64744da92dc208da6f277367a3d732d3", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA4ElEQVQ4ja3SPQ6CQBAF4Bmy1DQ29DSUgK1H8RAewRN4CI/AEWgVShpqbGhoaCjWPAyJKMxsjK/Zn2y+2eysoT/FaAfSNM2stY+qqtqfISDMnDMzJUmylzCjIUQUYu153k3CjIZcmoZ240jHOA4lzGjIoe+n/Wtdi5hxQZB4GETMuCAumHFFNGyC8E/QYgQPq6Xz/XnaMnOGcYIgQkYFVEJFVF5LEQR0iiJM79bac1mW+eKNXLBiA1lAGlYIyBe0hXW+LyKr0BpGr2wim9Anhq5IiAi9Y2ixhKjQjOFG2rknc0vW2S7RSu0AAAAASUVORK5CYII=", "contentType": "image/png", "width": 13, "height": 13, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "More than 14 days", "label": "More than 14 days" }, { "symbol": { "type": "esriPMS", "url": "ad1d3b283ab026a2028a4381b678c789", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA4UlEQVQ4ja3SPQrCQBAF4JmwwVIINunTWCYR7+UBLMQDeJjcQjQpbaxjIwEbIQhZeZGA0WRmEV+zPyzfLDtr6E8x2oEkSVJr7aUoivJnCAgzZ8xMcRwvJMxoCBGFWHued5AwoyHB+kxe8KDrah5KmNGQyfLW7s92JxEzLgjiR3cRMy6IC2ZcEQ1rIfwTtBjBw2ppKr+blsycYmwhiJBRAZVQEZWHUu+nVG0jTI/W2k2e51nvjVywegTpQRpWC8gXNIY1lS8ig9AQRq+MIqPQJ4auSIgIvWNosYSoUIfhRtq5J4/G0PYhcaCZAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 13, "height": 13, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Grinding Complete", "label": "Grinding Complete" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 171, 59, 255 ], "toColor": [ 179, 171, 59, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 42, 42, 161, 255 ], "toColor": [ 42, 42, 161, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 181, 53, 91, 255 ], "toColor": [ 181, 53, 91, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 40, 151, 173, 255 ], "toColor": [ 40, 151, 173, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 44, 201, 97, 255 ], "toColor": [ 44, 201, 97, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 196, 67, 190, 255 ], "toColor": [ 196, 67, 190, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 158, 85, 40, 255 ], "toColor": [ 158, 85, 40, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 53, 106, 181, 255 ], "toColor": [ 53, 106, 181, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 48, 171, 130, 255 ], "toColor": [ 48, 171, 130, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 127, 196, 41, 255 ], "toColor": [ 127, 196, 41, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 127, 48, 201, 255 ], "toColor": [ 127, 48, 201, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 123, 62, 156, 255 ], "toColor": [ 123, 62, 156, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 52, 147, 255 ], "toColor": [ 199, 52, 147, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 613479.3072, "ymin": 4588362.2487, "xmax": 1277269.0029, "ymax": 4864096.6265, "spatialReference": { "wkid": 26917, "latestWkid": 26917, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": true, "attachmentProperties": [ { "name": "id", "fieldName": "ATTACHMENTID", "isEnabled": true }, { "name": "globalid", "fieldName": "GLOBALID", "isEnabled": true }, { "name": "keywords", "fieldName": "KEYWORDS", "isEnabled": false }, { "name": "name", "fieldName": "ATT_NAME", "isEnabled": true }, { "name": "contentType", "fieldName": "CONTENT_TYPE", "isEnabled": true }, { "name": "size", "fieldName": "DATA_SIZE", "isEnabled": true }, { "name": "exifInfo", "fieldName": "EXIFINFO", "isEnabled": false } ], "attachmentFields": [ { "name": "ATTACHMENTID", "type": "esriFieldTypeOID", "alias": "ATTACHMENTID", "editable": false, "nullable": false, "length": 4, "domain": null }, { "name": "GLOBALID", "type": "esriFieldTypeGlobalID", "alias": "GLOBALID", "editable": false, "nullable": false, "length": 38, "domain": null }, { "name": "ATT_NAME", "type": "esriFieldTypeString", "alias": "ATT_NAME", "editable": true, "nullable": false, "length": 250, "domain": null }, { "name": "CONTENT_TYPE", "type": "esriFieldTypeString", "alias": "CONTENT_TYPE", "editable": true, "nullable": false, "length": 150, "domain": null }, { "name": "DATA_SIZE", "type": "esriFieldTypeInteger", "alias": "DATA_SIZE", "editable": true, "nullable": false, "length": 4, "domain": null } ], "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "DEFECT", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "GLOBALID", "type": "esriFieldTypeGlobalID", "alias": "GLOBALID", "length": 38, "domain": null }, { "name": "DEFECT", "type": "esriFieldTypeString", "alias": "DEFECT", "length": 255, "domain": { "type": "codedValue", "name": "DEFECT_VS2", "description": "Type of defect, updated 2024", "codedValues": [ { "name": "Condition Over 20mm", "code": "Condition Over 20mm" }, { "name": "Condition 15mm to 20mm", "code": "Condition 15mm to 20mm" }, { "name": "Utility Condition Over 20mm", "code": "Utility Condition Over 20mm" }, { "name": "Utility Condition 20mm and Under", "code": "Utility Condition 20mm and Under" }, { "name": "Cracked Condition Major", "code": "Cracked Condition Major" }, { "name": "Reverse Slope Condition", "code": "Reverse Slope Condition" }, { "name": "Longitudinal Slope Condition", "code": "Longitudinal Slope Condition" }, { "name": "Surface Condition", "code": "Surface Condition" }, { "name": "Encroachment", "code": "Encroachment" }, { "name": "Vertical Hazard", "code": "Vertical Hazard" }, { "name": "Sidewalk Edge Hazard", "code": "Sidewalk Edge Hazard" }, { "name": "No Condition Found", "code": "No Condition Found" }, { "name": "Cracked Condition Minor", "code": "Cracked Condition Minor" }, { "name": "Tactile Plate Defect", "code": "Tactile Plate Defect" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "BAYS", "type": "esriFieldTypeString", "alias": "BAYS", "length": 255, "domain": null }, { "name": "ADDRESS", "type": "esriFieldTypeString", "alias": "ADDRESS", "length": 255, "domain": null }, { "name": "ADDRESS2", "type": "esriFieldTypeString", "alias": "ADDRESS2", "length": 255, "domain": null }, { "name": "ADDRESS_CHANGE", "type": "esriFieldTypeString", "alias": "ADDRESS_CONFIRM", "length": 255, "domain": { "type": "codedValue", "name": "Yes/No", "description": "Yes or No Values", "codedValues": [ { "name": "Yes", "code": "Y" }, { "name": "No", "code": "N" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "NOTES", "type": "esriFieldTypeString", "alias": "NOTES", "length": 255, "domain": null }, { "name": "CREATED_USER", "type": "esriFieldTypeString", "alias": "CREATED_USER", "length": 255, "domain": null }, { "name": "CREATED_DATE", "type": "esriFieldTypeDate", "alias": "CREATED_DATE", "length": 8, "domain": null }, { "name": "LAST_EDITED_USER", "type": "esriFieldTypeString", "alias": "LAST_EDITED_USER", "length": 255, "domain": null }, { "name": "LAST_EDITED_DATE", "type": "esriFieldTypeDate", "alias": "LAST_EDITED_DATE", "length": 8, "domain": null }, { "name": "LAYOUT_DATE", "type": "esriFieldTypeDate", "alias": "LAYOUT_DATE", "length": 8, "domain": null }, { "name": "MARKED_FOR_GRINDING", "type": "esriFieldTypeString", "alias": "MARKED_FOR_GRINDING", "length": 255, "domain": { "type": "codedValue", "name": "Yes/No", "description": "Yes or No Values", "codedValues": [ { "name": "Yes", "code": "Y" }, { "name": "No", "code": "N" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "LAYOUT_COMMENTS", "type": "esriFieldTypeString", "alias": "LAYOUT_COMMENTS", "length": 255, "domain": null }, { "name": "GRINDING_DATE_CW", "type": "esriFieldTypeDate", "alias": "GRINDING_DATE_CW", "length": 8, "domain": null }, { "name": "GRINDING_COMPLETE", "type": "esriFieldTypeString", "alias": "GRINDING_COMPLETE", "length": 255, "domain": { "type": "codedValue", "name": "Yes/No", "description": "Yes or No Values", "codedValues": [ { "name": "Yes", "code": "Y" }, { "name": "No", "code": "N" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "CONTRACTOR_COMMENTS", "type": "esriFieldTypeString", "alias": "CONTRACTOR_COMMENTS", "length": 255, "domain": null }, { "name": "GRINDING_INVOICED", "type": "esriFieldTypeString", "alias": "GRINDING_INVOICED", "length": 255, "domain": { "type": "codedValue", "name": "Yes/No", "description": "Yes or No Values", "codedValues": [ { "name": "Yes", "code": "Y" }, { "name": "No", "code": "N" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDuplicate" } }, { "name": "LAYOUT", "type": "esriFieldTypeString", "alias": "Layout", "length": 255, "domain": { "type": "codedValue", "name": "Layout", "description": "Layout", "codedValues": [ { "name": "Inspected, not for repair", "code": "Inspected_not for repair" }, { "name": "Inspected, already repaired", "code": "Inspected_already repaired" }, { "name": "Marked for Repair", "code": "Marked for Repair" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LAYOUT_INSP_DATE", "type": "esriFieldTypeDate", "alias": "LAYOUT_INSP_DATE", "length": 8, "domain": null }, { "name": "DATE_REPAIRED", "type": "esriFieldTypeDate", "alias": "DATE_REPAIRED", "length": 8, "domain": null }, { "name": "REPAIR_BY", "type": "esriFieldTypeInteger", "alias": "REPAIRED_BY", "domain": null }, { "name": "ASSETID_CW", "type": "esriFieldTypeString", "alias": "ASSETID_CW", "length": 255, "domain": null }, { "name": "ASSETID_CW_SIDEWALK", "type": "esriFieldTypeString", "alias": "ASSETID_CW_SIDEWALK", "length": 255, "domain": null }, { "name": "GRINDING_ASSIGNED_TO", "type": "esriFieldTypeString", "alias": "GRINDING_ASSIGNED_TO", "length": 255, "domain": { "type": "codedValue", "name": "Grinding_Assigned_To", "description": "Grinding_Assigned_To", "codedValues": [ { "name": "Town of Ajax", "code": "Town of Ajax" }, { "name": "Contractor", "code": "Contractor" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "GRINDING_DATE_CONTRACTOR", "type": "esriFieldTypeDate", "alias": "GRINDING_DATE_CONTRACTOR", "length": 8, "domain": null }, { "name": "PROJ_FINISH_DATE_CW", "type": "esriFieldTypeDate", "alias": "PROJ_FINISH_DATE_CW", "length": 8, "domain": null }, { "name": "ASSIGNED_TO_DATE", "type": "esriFieldTypeDate", "alias": "ASSIGNED_TO_DATE", "length": 8, "domain": null }, { "name": "WO_COMPLETE_DATE", "type": "esriFieldTypeDate", "alias": "WO_COMPLETE_DATE", "length": 8, "domain": null }, { "name": "CREATED_BY", "type": "esriFieldTypeString", "alias": "CREATED_BY", "length": 255, "domain": { "type": "codedValue", "name": "Staff_Student", "description": "", "codedValues": [ { "name": "Staff", "code": "Staff" }, { "name": "Student", "code": "Student" }, { "name": "Contractor", "code": "Contractor" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "CREATED_YEAR", "type": "esriFieldTypeSmallInteger", "alias": "CREATED_YEAR", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": [ { "name": "R453776_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_453776", "fields": "GLOBALID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "A2360_IX1", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 10000, "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, "supportsQueryAttachments": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": false }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true } ], "tables": [] }