{ "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 0, "name": "Permits", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 26957, "latestWkid": 26957, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5423100, "falseY": -14209500, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "classBreaks", "authoringInfo": { "type": "classedSize", "classificationMethod": "esriClassifyManual" }, "valueExpression": "var AppFeePaid = Date($feature.AppFeePaid);\nvar ZoningReview = Date($feature.ZoningFirstReview);\nvar BuildingReview = Date($feature.BuildingPlansFirstReview);\n \nvar PlanReview = null;\n \n// Use BuildingReview if available, else use ZoningReview\nif (!IsEmpty(BuildingReview)) {\n PlanReview = BuildingReview;\n} else {\n PlanReview = ZoningReview;\n}\n \n// Return a default value if either date is missing\nif (IsEmpty(AppFeePaid) || IsEmpty(PlanReview)) {\n return -1; // or return null or 9999 depending on your symbology needs\n}\n \n// Return the number of days between AppFeePaid and review\nreturn Round(DateDiff(PlanReview, AppFeePaid, 'days'), 0);", "valueExpressionTitle": "Days to Review", "classificationMethod": "esriClassifyManual", "minValue": -25, "classBreakInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 130, 130, 130, 0 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 76, 230, 0, 76 ], "width": 1 } }, "classMaxValue": 10, "label": "0-10" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 255, 0, 126 ], "size": 9.25, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 255, 255, 0, 255 ], "width": 1 } }, "classMaxValue": 20, "label": "10-20" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 170, 0, 127 ], "size": 14.5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 255, 170, 0, 255 ], "width": 1 } }, "classMaxValue": 30, "label": "20-30" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 0, 0, 126 ], "size": 25.000000000000004, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 255, 0, 0, 255 ], "width": 2 } }, "classMaxValue": 200, "label": "30+" } ], "legendOptions": {"order": "ascendingValues"} }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var AppFeePaid = Date($feature.AppFeePaid);\nvar ZoneReview = Date($feature.BuildingPlansFirstReview);\n\nif (IsEmpty(AppFeePaid) || IsEmpty(ZoneReview)) {\n return \"No Data\";\n}\n\nvar result = Round(DateDiff(ZoneReview, AppFeePaid, 'days'), 0);\nif (result > 10) {\n return result;\n}", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveCenter", "deconflictionStrategy": "dynamic", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 0, "minScale": 100000, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 255, 255, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": null, "haloSize": null, "font": { "family": "Tahoma", "size": 10, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -8433297.402581709, "ymin": 4697505.504129434, "xmax": -8385056.695547357, "ymax": 4770787.3418656755, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "timeInfo": { "startTimeField": "AppFeePaid", "endTimeField": null, "trackIdField": null, "type": "field", "timeExtent": [ 1715230800000, 1753246800000 ], "timeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": false }, "timeInterval": 7, "timeIntervalUnits": "esriTimeUnitsDays", "exportOptions": { "useTime": true, "timeDataCumulative": false, "timeOffset": null, "timeOffsetUnits": null }, "hasLiveData": false }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Name", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 48, "domain": null }, { "name": "PermitNumber", "type": "esriFieldTypeString", "alias": "PermitNumber", "length": 16, "domain": null }, { "name": "AppDate", "type": "esriFieldTypeDate", "alias": "AppDate", "length": 8, "domain": null }, { "name": "PermitYear", "type": "esriFieldTypeString", "alias": "PermitYear", "length": 8, "domain": null }, { "name": "IssueDate", "type": "esriFieldTypeDate", "alias": "IssueDate", "length": 8, "domain": null }, { "name": "StructureDesc", "type": "esriFieldTypeString", "alias": "StructureDesc", "length": 90, "domain": null }, { "name": "CODate", "type": "esriFieldTypeDate", "alias": "CODate", "length": 8, "domain": null }, { "name": "MPNPermitID", "type": "esriFieldTypeDouble", "alias": "MPNPermitID", "domain": null }, { "name": "ProjectDescription", "type": "esriFieldTypeString", "alias": "ProjectDescription", "length": 1332, "domain": null }, { "name": "ProjectName", "type": "esriFieldTypeString", "alias": "ProjectName", "length": 432, "domain": null }, { "name": "ConstructionCost", "type": "esriFieldTypeDouble", "alias": "ConstructionCost", "domain": null }, { "name": "TotalSqFt", "type": "esriFieldTypeDouble", "alias": "TotalSqFt", "domain": null }, { "name": "Stories", "type": "esriFieldTypeString", "alias": "Stories", "length": 30, "domain": null }, { "name": "Foundation", "type": "esriFieldTypeString", "alias": "Foundation", "length": 26, "domain": null }, { "name": "Bathrooms", "type": "esriFieldTypeString", "alias": "Bathrooms", "length": 10, "domain": null }, { "name": "Bedrooms", "type": "esriFieldTypeString", "alias": "Bedrooms", "length": 10, "domain": null }, { "name": "PoolType", "type": "esriFieldTypeString", "alias": "PoolType", "length": 34, "domain": null }, { "name": "TypeAttachedSign", "type": "esriFieldTypeString", "alias": "TypeAttachedSign", "length": 16, "domain": null }, { "name": "TypeDetachedSign", "type": "esriFieldTypeString", "alias": "TypeDetachedSign", "length": 2, "domain": null }, { "name": "SFDDType", "type": "esriFieldTypeString", "alias": "SFDDType", "length": 22, "domain": null }, { "name": "Requirement", "type": "esriFieldTypeString", "alias": "Requirement", "length": 66, "domain": null }, { "name": "BuildingPlansFirstReview", "type": "esriFieldTypeDate", "alias": "BuildingPlansFirstReview", "length": 8, "domain": null }, { "name": "FinanceFirstReview", "type": "esriFieldTypeDate", "alias": "FinanceFirstReview", "length": 8, "domain": null }, { "name": "ZoningFirstReview", "type": "esriFieldTypeDate", "alias": "ZoningFirstReview", "length": 8, "domain": null }, { "name": "StructureType", "type": "esriFieldTypeString", "alias": "StructureType", "length": 12, "domain": null }, { "name": "PermitStatus", "type": "esriFieldTypeString", "alias": "PermitStatus", "length": 14, "domain": null }, { "name": "StatusDesc", "type": "esriFieldTypeString", "alias": "StatusDesc", "length": 62, "domain": null }, { "name": "PermitNumb", "type": "esriFieldTypeString", "alias": "PermitNumb", "length": 36, "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "AppFeePaid", "type": "esriFieldTypeDate", "alias": "AppFeePaid", "length": 8, "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R296_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S265_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,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": "44095039194941b2a769df627dd611a9" }