{ "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 0, "name": "Permits", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "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": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true }, "hasMetadata": 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 } }, "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 }, "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" } } } ] }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "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, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "Name", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "domain": null, "editable": true, "nullable": true, "length": 48, "defaultValue": null, "modelName": "Name" }, { "name": "PermitNumber", "type": "esriFieldTypeString", "alias": "PermitNumber", "domain": null, "editable": true, "nullable": true, "length": 16, "defaultValue": null, "modelName": "PermitNumber" }, { "name": "AppDate", "type": "esriFieldTypeDate", "alias": "AppDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "AppDate" }, { "name": "PermitYear", "type": "esriFieldTypeString", "alias": "PermitYear", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "PermitYear" }, { "name": "IssueDate", "type": "esriFieldTypeDate", "alias": "IssueDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "IssueDate" }, { "name": "StructureDesc", "type": "esriFieldTypeString", "alias": "StructureDesc", "domain": null, "editable": true, "nullable": true, "length": 90, "defaultValue": null, "modelName": "StructureDesc" }, { "name": "CODate", "type": "esriFieldTypeDate", "alias": "CODate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "CODate" }, { "name": "MPNPermitID", "type": "esriFieldTypeDouble", "alias": "MPNPermitID", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "MPNPermitID" }, { "name": "ProjectDescription", "type": "esriFieldTypeString", "alias": "ProjectDescription", "domain": null, "editable": true, "nullable": true, "length": 1332, "defaultValue": null, "modelName": "ProjectDescription" }, { "name": "ProjectName", "type": "esriFieldTypeString", "alias": "ProjectName", "domain": null, "editable": true, "nullable": true, "length": 432, "defaultValue": null, "modelName": "ProjectName" }, { "name": "ConstructionCost", "type": "esriFieldTypeDouble", "alias": "ConstructionCost", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "ConstructionCost" }, { "name": "TotalSqFt", "type": "esriFieldTypeDouble", "alias": "TotalSqFt", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "TotalSqFt" }, { "name": "Stories", "type": "esriFieldTypeString", "alias": "Stories", "domain": null, "editable": true, "nullable": true, "length": 30, "defaultValue": null, "modelName": "Stories" }, { "name": "Foundation", "type": "esriFieldTypeString", "alias": "Foundation", "domain": null, "editable": true, "nullable": true, "length": 26, "defaultValue": null, "modelName": "Foundation" }, { "name": "Bathrooms", "type": "esriFieldTypeString", "alias": "Bathrooms", "domain": null, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "Bathrooms" }, { "name": "Bedrooms", "type": "esriFieldTypeString", "alias": "Bedrooms", "domain": null, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "Bedrooms" }, { "name": "PoolType", "type": "esriFieldTypeString", "alias": "PoolType", "domain": null, "editable": true, "nullable": true, "length": 34, "defaultValue": null, "modelName": "PoolType" }, { "name": "TypeAttachedSign", "type": "esriFieldTypeString", "alias": "TypeAttachedSign", "domain": null, "editable": true, "nullable": true, "length": 16, "defaultValue": null, "modelName": "TypeAttachedSign" }, { "name": "TypeDetachedSign", "type": "esriFieldTypeString", "alias": "TypeDetachedSign", "domain": null, "editable": true, "nullable": true, "length": 2, "defaultValue": null, "modelName": "TypeDetachedSign" }, { "name": "SFDDType", "type": "esriFieldTypeString", "alias": "SFDDType", "domain": null, "editable": true, "nullable": true, "length": 22, "defaultValue": null, "modelName": "SFDDType" }, { "name": "Requirement", "type": "esriFieldTypeString", "alias": "Requirement", "domain": null, "editable": true, "nullable": true, "length": 66, "defaultValue": null, "modelName": "Requirement" }, { "name": "BuildingPlansFirstReview", "type": "esriFieldTypeDate", "alias": "BuildingPlansFirstReview", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "BuildingPlansFirstReview" }, { "name": "FinanceFirstReview", "type": "esriFieldTypeDate", "alias": "FinanceFirstReview", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "FinanceFirstReview" }, { "name": "ZoningFirstReview", "type": "esriFieldTypeDate", "alias": "ZoningFirstReview", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "ZoningFirstReview" }, { "name": "StructureType", "type": "esriFieldTypeString", "alias": "StructureType", "domain": null, "editable": true, "nullable": true, "length": 12, "defaultValue": null, "modelName": "StructureType" }, { "name": "PermitStatus", "type": "esriFieldTypeString", "alias": "PermitStatus", "domain": null, "editable": true, "nullable": true, "length": 14, "defaultValue": null, "modelName": "PermitStatus" }, { "name": "StatusDesc", "type": "esriFieldTypeString", "alias": "StatusDesc", "domain": null, "editable": true, "nullable": true, "length": 62, "defaultValue": null, "modelName": "StatusDesc" }, { "name": "PermitNumb", "type": "esriFieldTypeString", "alias": "PermitNumb", "domain": null, "editable": true, "nullable": true, "length": 36, "defaultValue": null, "modelName": "PermitNumb" }, { "name": "AppFeePaid", "type": "esriFieldTypeDate", "alias": "AppFeePaid", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "AppFeePaid" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R296_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S265_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Permits", "description": "", "prototype": { "attributes": { "PermitNumb": null, "AppFeePaid": null, "Name": null, "PermitNumber": null, "AppDate": null, "PermitYear": null, "IssueDate": null, "StructureDesc": null, "CODate": null, "MPNPermitID": null, "ProjectDescription": null, "ProjectName": null, "ConstructionCost": null, "TotalSqFt": null, "Stories": null, "Foundation": null, "Bathrooms": null, "Bedrooms": null, "PoolType": null, "TypeAttachedSign": null, "TypeDetachedSign": null, "SFDDType": null, "Requirement": null, "BuildingPlansFirstReview": null, "FinanceFirstReview": null, "ZoningFirstReview": null, "StructureType": null, "PermitStatus": null, "StatusDesc": null } }, "drawingTool": "esriFeatureEditToolPoint" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb", "capabilities": "Query", "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "71c73f7bd9f14a918570dbcf554262e7" }