{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 14, "name": "Septic Permit Start Date", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 102748, "latestWkid": 2285, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -117104300, "falseY": -99539600, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": { "id": 0, "name": "Health Department Cases and Permits" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "if (DateDiff(Now(), Date($feature.StartCardReceivedDate), 'years') <= 1) {\n return \"Permits started in last year\" }\nelse if (DateDiff(Now(), Date($feature.StartCardReceivedDate), 'years') > 1 &&\nDateDiff(Now(), Date($feature.StartCardReceivedDate), 'years') < 5) {\n return \"Permits started in last 1-5 years\" }\nelse if (DateDiff(Now(), Date($feature.StartCardReceivedDate), 'years') >= 5) {\n return \"Permits started over 5 years ago\" }\nelse {\n return \"None of these conditions\" }", "valueExpressionTitle": "Year Symbology", "uniqueValueGroups": [ { "heading": "Year Symbology", "classes": [ { "label": "Permits started in last year", "description": "Permits started in last year", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 45, 106, 156, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "values": [ [ "Permits started in last year" ] ] }, { "label": "Permits started in last 1-5 years", "description": "Permits started in last 1-5 years", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 52, 199, 52, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "values": [ [ "Permits started in last 1-5 years" ] ] }, { "label": "Permits started over 5 years ago", "description": "Permits started over 5 years ago", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 181, 48, 38, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "values": [ [ "Permits started over 5 years ago" ] ] }, { "label": "None of these conditions", "description": "None of these conditions", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 199, 48, 189, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "values": [ [ "None of these conditions" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 45, 106, 156, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "value": "Permits started in last year", "label": "Permits started in last year" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 52, 199, 52, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "value": "Permits started in last 1-5 years", "label": "Permits started in last 1-5 years" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 181, 48, 38, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "value": "Permits started over 5 years ago", "label": "Permits started over 5 years ago" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 199, 48, 189, 255 ], "size": 6, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1.0499999999999998 } }, "value": "None of these conditions", "label": "None of these conditions" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 105, 196, 63, 255 ], "toColor": [ 105, 196, 63, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 156, 68, 173, 255 ], "toColor": [ 156, 68, 173, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 168, 71, 35, 255 ], "toColor": [ 168, 71, 35, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 47, 152, 173, 255 ], "toColor": [ 47, 152, 173, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 194, 68, 110, 255 ], "toColor": [ 194, 68, 110, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 181, 161, 63, 255 ], "toColor": [ 181, 161, 63, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 48, 84, 156, 255 ], "toColor": [ 48, 84, 156, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 35, 153, 102, 255 ], "toColor": [ 35, 153, 102, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 60, 56, 199, 255 ], "toColor": [ 60, 56, 199, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 171, 118, 65, 255 ], "toColor": [ 171, 118, 65, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 50, 201, 189, 255 ], "toColor": [ 50, 201, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 58, 67, 255 ], "toColor": [ 199, 58, 67, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 72, 146, 255 ], "toColor": [ 184, 72, 146, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 1169137.1718126386, "ymin": 334574.2735616416, "xmax": 1268883.5175951421, "ymax": 515953.97379364073, "spatialReference": { "wkid": 102748, "latestWkid": 2285, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -117104300, "falseY": -99539600, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "PermitType", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "PermitType", "type": "esriFieldTypeString", "alias": "PermitType", "length": 50, "domain": null }, { "name": "PermitNumber", "type": "esriFieldTypeString", "alias": "PermitNumber", "length": 50, "domain": null }, { "name": "ParcelNumber", "type": "esriFieldTypeString", "alias": "ParcelNumber", "length": 50, "domain": null }, { "name": "Installer", "type": "esriFieldTypeString", "alias": "Installer", "length": 128, "domain": null }, { "name": "StartCardReceivedDate", "type": "esriFieldTypeDate", "alias": "StartCardReceivedDate", "length": 8, "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R73271_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S72252_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "effectiveMinScale": 750000, "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, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": 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 }