{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 46, "name": "Water Backflow Inspections", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 102743, "latestWkid": 3566, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -119796900, "falseY": -89212200, "xyUnits": 3048.0060960121928, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "if ((DateDiff(Now(), Date($feature.DateLastInspected), 'years') >= 4) && ($feature.HasBackflow=='Yes')){\n return \"Needs Inspection - >= 4 Yrs\"}\nelse if ((DateDiff(Now(), Date($feature.DateLastInspected), 'years') <= 4) && ($feature.HasBackflow=='Yes')){\n return \"Cleared - <= 4 Yrs\"}\nelse if ($feature.HasBackflow=='Requires Backflow'){\n return \"Requires Backflow\"}\nelse {\n return \"Other\"\n}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 85, 255, 0, 255 ], "size": 7, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.7 } }, "value": "Cleared - <= 4 Yrs", "label": "Cleared - <= 4 Yrs" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 170, 0, 255 ], "size": 7, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.7 } }, "value": "Needs Inspection - >= 4 Yrs", "label": "Needs Inspection - >= 4 Yrs" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 255, 0, 0, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.7 } }, "value": "Requires Backflow", "label": "Requires Backflow" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 204, 204, 204, 255 ], "size": 3, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 178, 178, 178, 255 ], "width": 0.7 } }, "value": "Other", "label": "Other" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 228, 252, 202, 255 ], "toColor": [ 228, 252, 202, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 182, 252, 255 ], "toColor": [ 251, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 224, 252, 255 ], "toColor": [ 187, 224, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 185, 182, 255 ], "toColor": [ 252, 185, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 183, 252, 255 ], "toColor": [ 182, 183, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 242, 255 ], "toColor": [ 182, 252, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 244, 215, 252, 255 ], "toColor": [ 244, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 231, 212, 255 ], "toColor": [ 252, 231, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 184, 255 ], "toColor": [ 184, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 221, 255 ], "toColor": [ 252, 182, 221, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 239, 179, 255 ], "toColor": [ 252, 239, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 220, 255 ], "toColor": [ 252, 215, 220, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 216, 255 ], "toColor": [ 179, 252, 216, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 1577286.636639893, "ymin": 7168038.869714141, "xmax": 1640703.9271278828, "ymax": 7229789.649427563, "spatialReference": { "wkid": 102743, "latestWkid": 3566, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -119796900, "falseY": -89212200, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "LabelAddress", "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": "LabelAddress", "type": "esriFieldTypeString", "alias": "Address Label", "length": 50, "domain": null }, { "name": "FullAddress", "type": "esriFieldTypeString", "alias": "Full Address", "length": 75, "domain": null }, { "name": "AddressType", "type": "esriFieldTypeString", "alias": "AddressType", "length": 50, "domain": { "type": "codedValue", "name": "AddressType", "description": "Address Type", "codedValues": [ { "name": "Accessory Building", "code": "Accessory Building" }, { "name": "City Facility", "code": "City Facility" }, { "name": "County", "code": "County" }, { "name": "Industrial", "code": "Industrial" }, { "name": "Residential", "code": "Residential" }, { "name": "School District", "code": "School District" }, { "name": "Utility Structure or Account", "code": "Utility Structure or Account" }, { "name": "Un-Used", "code": "Un-Used" }, { "name": "Commercial", "code": "Commercial" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "HasBackflow", "type": "esriFieldTypeString", "alias": "Has Backflow", "length": 25, "domain": { "type": "codedValue", "name": "HasBackflow", "description": "Has Backflow?", "codedValues": [ { "name": "No", "code": "No" }, { "name": "Yes", "code": "Yes" }, { "name": "Requires Backflow", "code": "Requires Backflow" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "DateLastInspected", "type": "esriFieldTypeDate", "alias": "Date Last Inspected", "length": 8, "domain": null }, { "name": "LastInspectedBy", "type": "esriFieldTypeString", "alias": "Last Inspected By", "length": 255, "domain": null }, { "name": "HazardLevel", "type": "esriFieldTypeString", "alias": "Hazard Level", "length": 15, "domain": { "type": "codedValue", "name": "HazardLevel", "description": "Hazard Level", "codedValues": [ { "name": "Low", "code": "Low" }, { "name": "High", "code": "High" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "FacilityType", "type": "esriFieldTypeString", "alias": "Facility Type", "length": 255, "domain": null }, { "name": "WaterZone", "type": "esriFieldTypeString", "alias": "Water Zone", "length": 255, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "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 } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": [ { "name": "R137_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_137", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_OID_137", "fields": "GlobalID,OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S107_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [ { "id": 5, "name": "DBO.WaterBackflowInspectionsRT", "relatedTableId": 47, "role": "esriRelRoleOrigin", "keyField": "GlobalID", "cardinality": "esriRelCardinalityOneToMany", "composite": false, "catalogID": "{0E248BD3-2CA4-4536-A8D1-C13202809CD6}" } ], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": true, "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": { "timeZone": "Mountain Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Mountain Standard Time", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "4ac7b0e50d9843b58ad6a5c945a598bf" }