{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 2, "name": "Rental Police Calls", "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": true, "isDataArchived": false, "infoInEstimates": [ "extent" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": false, "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, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasMetadata": true, "extent": { "xmin": 482954.86147482693, "ymin": 113728.75256372988, "xmax": 511524.65669733286, "ymax": 140159.23054257035, "spatialReference": { "wkid": 103711, "latestWkid": 103711, "xyTolerance": 0.00328083333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -118359200, "falseY": -99580000, "xyUnits": 3048.00609601219, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 } }, "sourceSpatialReference": { "wkid": 103711, "latestWkid": 103711, "xyTolerance": 0.00328083333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -118359200, "falseY": -99580000, "xyUnits": 3048.00609601219, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "//First find out what the Date Parts are of Dateof_Incident\nvar theMonth = 0;\nvar theDay = 0;\nvar theYear = 0;\n\nif(find(\"JANUARY\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 0;\nelse if(find(\"FEBRUARY\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 1;\nelse if(find(\"MARCH\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 2;\nelse if(find(\"APRIL\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 3;\nelse if(find(\"MAY\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 4;\nelse if(find(\"JUNE\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 5;\nelse if(find(\"JULY\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 6;\nelse if(find(\"AUGUST\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 7;\nelse if(find(\"SEPTEMBER\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 8;\nelse if(find(\"OCTOBER\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 9;\nelse if(find(\"NOVEMBER\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 10;\nelse if(find(\"DECEMBER\", UPPER($feature.Dateof_Incident)) >= 0)\n theMonth = 11;\n\ntheYear = RIGHT($feature.Dateof_Incident, 4);\nif(theYear > 2035)\n theYear = 9999;\n\nvar firstSpace = find(\" \", $feature.Dateof_Incident);\nvar comma = find(\",\", $feature.Dateof_Incident);\nvar parse = MID($feature.Dateof_Incident, firstSpace);\n\nif(COUNT(parse) == 8)\n theDay = MID(parse, 1, 1)\nelse\n theDay = MID(parse, 1, 2)\n\n//Contruct an actual date to compare\nvar incidentDate = DATE(theYear, theMonth, theDay);\n\nif(incidentDate >= (DateAdd(TODAY(), -366, 'days'))){\n if(IsEmpty($feature.Date_of_Letter))\n return \"Incidents in Past Year - Need Letter\";\n else\n return \"Incidents in Past Year\";\n}\nelse\n return \"Old Incidents\";", "valueExpressionTitle": "Calls", "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "4218b12b388cb4e58c661a6746a9c6f9", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABsAAAAaCAYAAABGiCfwAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACC0lEQVRIie3VS0hUURzH8Y+PnDSVCkSIpIVF0K7HRqgoE6uNKCUkRFbQi0gKCiIKqkUtzV2RSU8wCIMMK4Jo5cbWLVoEkRuxHFN8jc1MXGfMITLNV5t+m3u493f/X845v/85mRZQmf9h/3IZa3FvIWBZ6dTHaEXPvMIyKI+yDJVomlfYSk58whL2D8wzLLOb0ho8ZiuWondeYJmURQg14Dn6qcD9WcHiZCHn1/drqSsmrQBVZLRyqIdnvykxnMbwVLBFuJ7O8RCLM8byMKEhnE+O9+IB23IJp3qiREcYQTPqMDAZbBRn47QP0xgiu4HQKtLGDZuTz51oS/nxC04yMJDwnsbtqWY2rhZ0jPDoFBuCTdk3FsAJBeu8Kzl+zdBRhofoTFi9/9uAfMb2US7WcKmNvlvkZ6cYvuMc326QlzxRzgT7NdM0RnEFnQ9pvJbos58Kqt4kH5dxdU6iv4KSohTQO2xCLnaT1s7GrmnUmRZskKo9yVgdoLuFgjL6m8mrxgvKk0kenS1sfS/Li7GacFeiA2rfcGENRXfJiRNCKV7NClbIwa+oZjQ2FjzHgiMqxpMw9ZUcCUiFHO6aLayPiiiD8USD3kn5NBiA47yM0BROtF5GMlQzgq0bStxZQaEPk3iexuiIjB0otuDtTGFBuksQmcLXiR2JbZ1cU8E+mr5if5j9tGBzqgWF/QAu4IdHRnZhOQAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 20, "height": 19, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Incidents in Past Year - Need Letter", "label": "Incidents in Past Year - Need Letter" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 199, 184, 255 ], "toColor": [ 252, 199, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 184, 255 ], "toColor": [ 179, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 180, 179, 252, 255 ], "toColor": [ 180, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 244, 252, 255 ], "toColor": [ 189, 244, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 199, 244, 255 ], "toColor": [ 252, 199, 244, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 249, 182, 255 ], "toColor": [ 252, 249, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 218, 252, 255 ], "toColor": [ 212, 218, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 252, 215, 255 ], "toColor": [ 230, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 232, 182, 252, 255 ], "toColor": [ 232, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 232, 255 ], "toColor": [ 184, 252, 232, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 237, 202, 255 ], "toColor": [ 252, 237, 202, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 216, 255 ], "toColor": [ 252, 204, 216, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 226, 215, 255 ], "toColor": [ 252, 226, 215, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": false, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "St_Name", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "Dateof_Incident", "type": "esriFieldTypeString", "alias": "Date of Incident", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Dateof_Incident" }, { "name": "Date_of_Letter", "type": "esriFieldTypeString", "alias": "Date of Letter", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Date_of_Letter" }, { "name": "Strike_Advisory", "type": "esriFieldTypeString", "alias": "Strike_Advisory", "domain": { "type": "codedValue", "name": "rpcStrikeAdvisory", "description": "Rental Received Strike or Advisary", "codedValues": [ { "name": "Advisory", "code": "Advisory" }, { "name": "First Strike", "code": "First Strike" }, { "name": "Second Strike", "code": "Second Strike" }, { "name": "Third Strike", "code": "Third Strike" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "Strike_Advisory" }, { "name": "Summary", "type": "esriFieldTypeString", "alias": "Summary", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "Summary" }, { "name": "Case_No", "type": "esriFieldTypeString", "alias": "Case", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Case_No" }, { "name": "Case_Type", "type": "esriFieldTypeString", "alias": "Case Type", "domain": { "type": "codedValue", "name": "rpcCaseType", "description": "Incident Type", "codedValues": [ { "name": "Agent Assist", "code": "Agent Assist" }, { "name": "Animal", "code": "Animal" }, { "name": "Assault", "code": "Assault" }, { "name": "Court Orders", "code": "Court Orders" }, { "name": "Disorderly Conduct", "code": "Disorderly Conduct" }, { "name": "Disturbing The Peace", "code": "Disturbing The Peace" }, { "name": "Drugs", "code": "Drugs" }, { "name": "Fighting", "code": "Fighting" }, { "name": "Fire", "code": "Fire" }, { "name": "Harassment", "code": "Harassment" }, { "name": "Hazardouse Materials", "code": "Hazardous Materials" }, { "name": "Littering", "code": "Littering" }, { "name": "Minor Consume", "code": "Minor Consume" }, { "name": "Ordinance Violations", "code": "Ordinance Violations" }, { "name": "Other - See Comments", "code": "Other - See Comments" }, { "name": "Property Damage", "code": "Property Damage" }, { "name": "Property Maintenance", "code": "Property Mainenance" }, { "name": "Suspicious", "code": "Suspicous" }, { "name": "Theft", "code": "Theft" }, { "name": "Trespass", "code": "Trespass" }, { "name": "Weapons", "code": "Weapons" }, { "name": "Welfare Check", "code": "Welfare Check" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Case_Type" }, { "name": "Unit_No", "type": "esriFieldTypeString", "alias": "Unit No", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Unit_No" }, { "name": "St_Name", "type": "esriFieldTypeString", "alias": "St Name", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "St_Name" }, { "name": "St_No", "type": "esriFieldTypeString", "alias": "St No", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "St_No" }, { "name": "Manager_1", "type": "esriFieldTypeString", "alias": "Manager 1", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "Manager_1" }, { "name": "Mgr_Addr", "type": "esriFieldTypeString", "alias": "Manager Addr", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "Mgr_Addr" }, { "name": "Mgr_City", "type": "esriFieldTypeString", "alias": "Mgr City", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Mgr_City" }, { "name": "Mgr_State", "type": "esriFieldTypeString", "alias": "Mgr State", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Mgr_State" }, { "name": "Mgr_Zip", "type": "esriFieldTypeString", "alias": "Mgr Zip", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "Mgr_Zip" }, { "name": "Notes", "type": "esriFieldTypeString", "alias": "Notes", "domain": null, "editable": true, "nullable": true, "length": 250, "defaultValue": null, "modelName": "Notes" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R1975_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S1879_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Rental Police Calls", "description": "", "prototype": { "attributes": { "Mgr_Zip": null, "Notes": null, "Dateof_Incident": null, "Date_of_Letter": null, "Strike_Advisory": null, "Summary": null, "Case_No": null, "Case_Type": null, "Unit_No": null, "St_Name": null, "St_No": null, "Manager_1": null, "Mgr_Addr": null, "Mgr_City": null, "Mgr_State": null } }, "drawingTool": "esriFeatureEditToolPoint" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,Uploads,Editing", "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "c04290389ef5407f9b4e0b9e73e2bb2a" }