{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 1, "name": "Tier 1 FOG Traps", "type": "Feature Layer", "description": "The locations of the fat, oil, and grease traps inspected by the Environmental Health & Sustainability Department. The feature class was created in July 2022 and is regularly updated by the staff in the field.", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 102738, "latestWkid": 2276, "xyTolerance": 2.56113708377043E-4, "zTolerance": 1.9999999999999998E-5, "mTolerance": 0.001, "falseX": -1.23407699999878E8, "falseY": -8.61234999999639E7, "xyUnits": 7809.031436363641, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "spatialReference": { "wkid": 102738, "latestWkid": 2276, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -123407700, "falseY": -86123500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "Environmental Health & Sustainability Department, BI-GIS team in Technology Services.", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "if (IsEmpty($feature.Last_Inspection_Date)){\n return \"No date provided\"\n}\nelse if ($feature.Inspection_Results==\"Requires follow-up\"){\n return \"Requires follow-up\"\n}\nelse if (DateDiff(Now(), Date($feature.Last_Inspection_Date), 'year') > 1){\n return \"Needs inspection\"\n}\nelse if (DateDiff(Now(), Date($feature.Last_Inspection_Date), 'year') < 1){\n return \"Inspected within a year\"\n}", "valueExpressionTitle": "Inspection Status", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "Needs inspection", "description": "Needs inspection", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 230, 0, 0, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "values": [ [ "Needs inspection" ] ] }, { "label": "Requires follow-up", "description": "Requires follow-up", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 0, 169, 230, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "values": [ [ "Requires follow-up" ] ] }, { "label": "New facility", "description": "New facility", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 169, 0, 230, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "values": [ [ "No date provided" ] ] }, { "label": "Inspected within a year", "description": "Inspected within a year", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 76, 230, 0, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "values": [ [ "Inspected within a year" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 230, 0, 0, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "value": "Needs inspection", "label": "Needs inspection" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 0, 169, 230, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "value": "Requires follow-up", "label": "Requires follow-up" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 169, 0, 230, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "value": "No date provided", "label": "New facility" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 76, 230, 0, 255 ], "size": 10, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 156, 156, 156, 255 ], "width": 0.5 } }, "value": "Inspected within a year", "label": "Inspected within a year" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 248, 212, 255 ], "toColor": [ 252, 248, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 179, 252, 255 ], "toColor": [ 179, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 200, 255 ], "toColor": [ 252, 179, 200, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 231, 252, 255 ], "toColor": [ 182, 231, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 182, 255 ], "toColor": [ 182, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 251, 255 ], "toColor": [ 252, 179, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 229, 215, 252, 255 ], "toColor": [ 229, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 252, 233, 255 ], "toColor": [ 192, 252, 233, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 225, 255 ], "toColor": [ 252, 215, 225, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 240, 252, 184, 255 ], "toColor": [ 240, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 202, 179, 255 ], "toColor": [ 252, 202, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 214, 252, 210, 255 ], "toColor": [ 214, 252, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 201, 252, 255 ], "toColor": [ 187, 201, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 2472691.3967465013, "ymin": 7050774.640530467, "xmax": 2542159.8919652402, "ymax": 7096364.145439118, "spatialReference": { "wkid": 102738, "latestWkid": 2276, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -123407700, "falseY": -86123500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": true, "attachmentProperties": [ { "name": "id", "fieldName": "ATTACHMENTID", "isEnabled": true }, { "name": "globalid", "fieldName": "GLOBALID", "isEnabled": false }, { "name": "keywords", "fieldName": "KEYWORDS", "isEnabled": false }, { "name": "name", "fieldName": "ATT_NAME", "isEnabled": true }, { "name": "contentType", "fieldName": "CONTENT_TYPE", "isEnabled": true }, { "name": "size", "fieldName": "DATA_SIZE", "isEnabled": true }, { "name": "exifInfo", "fieldName": "EXIFINFO", "isEnabled": false } ], "attachmentFields": [ { "name": "ATTACHMENTID", "type": "esriFieldTypeOID", "alias": "ATTACHMENTID", "editable": false, "nullable": false, "length": 4, "domain": null }, { "name": "ATT_NAME", "type": "esriFieldTypeString", "alias": "ATT_NAME", "editable": true, "nullable": false, "length": 250, "domain": null }, { "name": "CONTENT_TYPE", "type": "esriFieldTypeString", "alias": "CONTENT_TYPE", "editable": true, "nullable": false, "length": 150, "domain": null }, { "name": "DATA_SIZE", "type": "esriFieldTypeInteger", "alias": "DATA_SIZE", "editable": true, "nullable": false, "length": 4, "domain": null } ], "supportsAttachmentsResizing": true, "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": 254, "domain": null }, { "name": "Address", "type": "esriFieldTypeString", "alias": "Address", "length": 100, "domain": null }, { "name": "HS_Establishment_Name", "type": "esriFieldTypeString", "alias": "HS Establishment Name", "length": 50, "domain": null }, { "name": "Inspection_Results", "type": "esriFieldTypeString", "alias": "Inspection Results", "length": 20, "domain": { "type": "codedValue", "name": "InspectionResults", "description": "Inspection Results", "codedValues": [ { "name": "Completed", "code": "Completed" }, { "name": "Requires follow-up", "code": "Requires follow-up" }, { "name": "Not Inspected", "code": "Not Inspected" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Last_Inspection_Date", "type": "esriFieldTypeDate", "alias": "Last Inspection Date", "length": 8, "domain": null }, { "name": "Notes", "type": "esriFieldTypeString", "alias": "Notes", "length": 255, "domain": null }, { "name": "Permit_Number", "type": "esriFieldTypeString", "alias": "Permit Number", "length": 254, "domain": null }, { "name": "Standard_Address", "type": "esriFieldTypeString", "alias": "Standard Address", "length": 50, "domain": null }, { "name": "Tier", "type": "esriFieldTypeString", "alias": "Tier", "length": 4, "domain": { "type": "codedValue", "name": "FOG_Tiers", "description": "FOG Facility Tiers", "codedValues": [ { "name": "LWG1", "code": "LWG1" }, { "name": "LWG2", "code": "LWG2" }, { "name": "LWG3", "code": "LWG3" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "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": "R3922_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S3449_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "maxSelectionCount": 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, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAttachments": true, "supportsQueryAttachmentsWithReturnUrl": true, "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 }