{
 "currentVersion": 10.91,
 "cimVersion": "2.9.0",
 "id": 0,
 "name": "Roads Cleaned by Litter Patrol",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPolyline",
 "sourceSpatialReference": {
  "wkid": 102695,
  "latestWkid": 2255,
  "xyTolerance": 0.003280833333333333,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -16151000,
  "falseY": -43523900,
  "xyUnits": 3048.0060960121928,
  "falseZ": -100000,
  "zUnits": 10000,
  "falseM": -100000,
  "mUnits": 10000
 },
 "copyrightText": "",
 "parentLayer": null,
 "subLayers": [],
 "minScale": 0,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "valueExpression": "// roads which were cleaned within the last 30 days belong in the first group\nif (DateDiff(Now(), Date($feature.DATE), 'days') <= 30) {\n     return \"Cleaned within the last 30 days\" }\n// roads which were cleaned more than 30 days ago but less than 100 days ago belong in the second group\nelse if (DateDiff(Now(), Date($feature.DATE), 'days') > 30 &&\nDateDiff(Now(), Date($feature.DATE), 'days') < 100) {\n    return \"Cleaned between 30 to 100 days ago\" }\n// roads which were cleaned 100 days ago or more belong in the third group\nelse if (DateDiff(Now(), Date($feature.DATE), 'days') >= 100) {\n     return \"Cleaned more than 100 days ago\" }\n//roads which do not satisfy any of the given conditions belong in the fourth group\nelse {\n     return \"None of these conditions\" }",
   "valueExpressionTitle": "Custom",
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       85,
       255,
       0,
       255
      ],
      "width": 4
     },
     "value": "Cleaned within the last 30 days",
     "label": "Cleaned within the last 30 days"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       255,
       0,
       255
      ],
      "width": 4
     },
     "value": "Cleaned between 30 to 100 days ago",
     "label": "Cleaned between 30 to 100 days ago"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 4
     },
     "value": "Cleaned more than 100 days ago",
     "label": "Cleaned more than 100 days ago"
    }
   ],
   "fieldDelimiter": ",",
   "authoringInfo": {
    "colorRamp": {
     "type": "multipart",
     "colorRamps": [
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        215,
        215,
        255
       ],
       "toColor": [
        252,
        215,
        215,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        204,
        252,
        187,
        255
       ],
       "toColor": [
        204,
        252,
        187,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        180,
        179,
        252,
        255
       ],
       "toColor": [
        180,
        179,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        187,
        246,
        252,
        255
       ],
       "toColor": [
        187,
        246,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        179,
        227,
        255
       ],
       "toColor": [
        252,
        179,
        227,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        237,
        194,
        255
       ],
       "toColor": [
        252,
        237,
        194,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        228,
        212,
        252,
        255
       ],
       "toColor": [
        228,
        212,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        215,
        252,
        227,
        255
       ],
       "toColor": [
        215,
        252,
        227,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        189,
        221,
        252,
        255
       ],
       "toColor": [
        189,
        221,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        179,
        194,
        255
       ],
       "toColor": [
        252,
        179,
        194,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        244,
        179,
        252,
        255
       ],
       "toColor": [
        244,
        179,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        244,
        252,
        184,
        255
       ],
       "toColor": [
        244,
        252,
        184,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        179,
        252,
        211,
        255
       ],
       "toColor": [
        179,
        252,
        211,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": -1.615066101312569E7,
  "ymin": -4.352350439805415E7,
  "xmax": 2.0743827679792352E7,
  "ymax": 2.2102772688640784E7,
  "spatialReference": {
   "wkid": 102695,
   "latestWkid": 2255,
   "xyTolerance": 0.003280833333333333,
   "zTolerance": 2,
   "mTolerance": 0.001,
   "falseX": -16151000,
   "falseY": -43523900,
   "xyUnits": 1.3724816813086346E8,
   "falseZ": 0,
   "zUnits": 1,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "NAME",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "ID",
   "type": "esriFieldTypeInteger",
   "alias": "ID",
   "domain": null
  },
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeInteger",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "NAME",
   "type": "esriFieldTypeString",
   "alias": "NAME",
   "length": 50,
   "domain": null
  },
  {
   "name": "Length",
   "type": "esriFieldTypeDouble",
   "alias": "Length",
   "domain": null
  },
  {
   "name": "Shape",
   "type": "esriFieldTypeGeometry",
   "alias": "Shape",
   "domain": null
  },
  {
   "name": "GlobalID",
   "type": "esriFieldTypeGUID",
   "alias": "GlobalID",
   "length": 38,
   "domain": null
  },
  {
   "name": "DATE",
   "type": "esriFieldTypeDate",
   "alias": "DATE",
   "length": 8,
   "domain": null
  },
  {
   "name": "INSPECTOR",
   "type": "esriFieldTypeString",
   "alias": "INSPECTOR",
   "length": 50,
   "domain": null
  },
  {
   "name": "ROAD_ID",
   "type": "esriFieldTypeGUID",
   "alias": "ROAD_ID",
   "length": 38,
   "domain": null
  },
  {
   "name": "ordered",
   "type": "esriFieldTypeDouble",
   "alias": "ordered",
   "domain": null
  },
  {
   "name": "ESRI_OID",
   "type": "esriFieldTypeOID",
   "alias": "ESRI_OID",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape"
 },
 "indexes": [
  {
   "name": "FDO_GlobalID",
   "fields": "GlobalID",
   "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,
 "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,
  "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": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true,
 "serviceItemId": "6f1170de2b1d4deaafd3ecb075549bee"
}