{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Spill Sites In Ohio",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Spill Sites In Ohio",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [
    {
     "id": 0,
     "name": "to Products",
     "relatedTableId": 2,
     "cardinality": "esriRelCardinalityOneToMany",
     "role": "esriRelRoleOrigin",
     "keyField": "CASENUMBER",
     "composite": false,
     "catalogID": "{D3067E7D-4EA5-430D-9473-D19CC80EFAC9}"
    }
   ],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "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,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -85.22572268,
    "ymin": -81.351,
    "xmax": 84.73,
    "ymax": 43.3107393,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326,
     "xyTolerance": 8.983152841195215E-9,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -400,
     "falseY": -400,
     "xyUnits": 9.999999999999999E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 4326,
    "latestWkid": 4326,
    "xyTolerance": 8.98315284119522E-9,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -400,
    "falseY": -400,
    "xyUnits": 9.999999999999999E8,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "ae282a0586ab97c4963227b6340c9715",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABF0lEQVQ4jaWTPU7DQBCFv422gAKJ1lQgIRrKzQEQ9baJUlOEhjskvgAH2I4uiiWa5ABcYC9AQxe36aiiQWtnbUUOjq28zj/vmzczu5ozpY+9lBEGMChuEBIUawZ4tWBzEiBj5tyaGXcGrhP4TEGYsiu+pWrJ/F+AvN2veHy2hfFoNGYywqqMYQMgoXKbuZYJ/8Ykuuo5xD5trpNMcGEmOlKLnvtohwVcCQjT7lo9KniqGQg93bVH72lrtvm0VwpFXgMGePLvcu/dE6wqgFqwkfFXSvLQdRNOZfg6ARD2KpdLy9OL4eKqzexVxmt8ODiJ6mM7lN/3w6PcrFyZG4AqycQ7frzdrypcpjz0HGO3AgpIeetcWx9Rfx8lUxNM/3XZAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "CASENUMBER",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "CASENUMBER",
     "type": "esriFieldTypeString",
     "alias": "CaseNumber",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 14,
     "defaultValue": null,
     "modelName": "CASENUMBER"
    },
    {
     "name": "COUNTY",
     "type": "esriFieldTypeString",
     "alias": "County",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 25,
     "defaultValue": null,
     "modelName": "COUNTY"
    },
    {
     "name": "COUNTYNUM",
     "type": "esriFieldTypeString",
     "alias": "countynum",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 2,
     "defaultValue": null,
     "modelName": "COUNTYNUM"
    },
    {
     "name": "OEPADIST",
     "type": "esriFieldTypeString",
     "alias": "OEPADIST",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "OEPADIST"
    },
    {
     "name": "REPORTEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "ReportedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "REPORTEDDATE"
    },
    {
     "name": "SPILLMONTH",
     "type": "esriFieldTypeString",
     "alias": "SpillMonth",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 12,
     "defaultValue": null,
     "modelName": "SPILLMONTH"
    },
    {
     "name": "SPILLDOM",
     "type": "esriFieldTypeInteger",
     "alias": "SpillDOM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLDOM"
    },
    {
     "name": "SPILLYEAR",
     "type": "esriFieldTypeInteger",
     "alias": "SpillYear",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLYEAR"
    },
    {
     "name": "SPILLMONTHNUM",
     "type": "esriFieldTypeInteger",
     "alias": "SpillMonthNum",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLMONTHNUM"
    },
    {
     "name": "SPILLDOY",
     "type": "esriFieldTypeInteger",
     "alias": "SpillDOY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLDOY"
    },
    {
     "name": "SPILLLOCATION",
     "type": "esriFieldTypeString",
     "alias": "SpillLocation",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 120,
     "defaultValue": null,
     "modelName": "SPILLLOCATION"
    },
    {
     "name": "CITY_TWN",
     "type": "esriFieldTypeString",
     "alias": "City_Twn",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "CITY_TWN"
    },
    {
     "name": "ZIPCODE",
     "type": "esriFieldTypeString",
     "alias": "Zipcode",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "ZIPCODE"
    },
    {
     "name": "LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "Latitude",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "LATITUDE"
    },
    {
     "name": "LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "Longitude",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "LONGITUDE"
    },
    {
     "name": "LOCATEDXY",
     "type": "esriFieldTypeString",
     "alias": "locatedxy",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 1,
     "defaultValue": null,
     "modelName": "LOCATEDXY"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "indexes": [
    {
     "name": "R213_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A139_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Spill Sites In Ohio",
     "description": "",
     "prototype": {
      "attributes": {
       "LONGITUDE": 0,
       "LOCATEDXY": " ",
       "CASENUMBER": null,
       "COUNTY": null,
       "COUNTYNUM": null,
       "OEPADIST": null,
       "REPORTEDDATE": null,
       "SPILLMONTH": null,
       "SPILLDOM": null,
       "SPILLYEAR": null,
       "SPILLMONTHNUM": null,
       "SPILLDOY": null,
       "SPILLLOCATION": null,
       "CITY_TWN": null,
       "ZIPCODE": null,
       "LATITUDE": 0
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 2000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1,
   "serviceItemId": "95b81256d4e8450d883725ad29264fea"
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Spill Sites and Products",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": false,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "EMRG.Spills2_Sites_Products_FC",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "modelName": "GP_885469117",
   "supportsRollbackOnFailureParameter": true,
   "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,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -85.22572268,
    "ymin": -81.351,
    "xmax": 84.73,
    "ymax": 43.3107393,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326,
     "xyTolerance": 8.983152841195215E-9,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -400,
     "falseY": -400,
     "xyUnits": 9.999999999999999E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 4326,
    "latestWkid": 4326,
    "xyTolerance": 8.98315284119522E-9,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -400,
    "falseY": -400,
    "xyUnits": 9.999999999999999E8,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "38807e5c5d69d8d053ccff39d71aa821",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABD0lEQVQ4jWNhoBCwYBP8z8BgzADBUgwMDJIMDAxbGBgYzjIyMDwjaMB/BoaGE+5p9Sfc0xieqBgz9PgxgoTToHKNjAwMDTgNuG7suXlCdLMPSCMOUP+fgcGHkYHBBMOA/wwMDQQ0w4AxSC3MJSwwP4OcTYRmZJfMAoUJC8xUkJ9JBD4MDAyzYAZIkWA7DEghh4EkqbphelignC0yd86mkeiK58gGnNU6vQUc7ySAzXADGBkYnv1f3tB4zdSH2JgAxcBZZBcwgOL1XWeoz+TOo8afhPAGCShJp8M4KClR6OV9k/8JUihJGYvNcM0YBsBc8n/nrFkWO2eB4hmWmUABthnmbLwGQA0B5bpZ+PwBAwCUHFJOZj6/NQAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "CASENUMBER",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "CASENUMBER",
     "type": "esriFieldTypeString",
     "alias": "CASENUMBER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 14,
     "defaultValue": null,
     "modelName": "CASENUMBER"
    },
    {
     "name": "REPORTEDPRODUCT",
     "type": "esriFieldTypeString",
     "alias": "REPORTEDPRODUCT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 75,
     "defaultValue": null,
     "modelName": "REPORTEDPRODUCT"
    },
    {
     "name": "REPORTEDAMOUNT",
     "type": "esriFieldTypeDouble",
     "alias": "REPORTEDAMOUNT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "REPORTEDAMOUNT"
    },
    {
     "name": "REPORTEDUOM",
     "type": "esriFieldTypeString",
     "alias": "REPORTEDUOM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "REPORTEDUOM"
    },
    {
     "name": "RECOVAMOUNT",
     "type": "esriFieldTypeDouble",
     "alias": "RECOVAMOUNT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RECOVAMOUNT"
    },
    {
     "name": "RECOVUNIT",
     "type": "esriFieldTypeString",
     "alias": "RECOVUNIT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "RECOVUNIT"
    },
    {
     "name": "RECOVPRODUCTTYPE",
     "type": "esriFieldTypeString",
     "alias": "RECOVPRODUCTTYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "RECOVPRODUCTTYPE"
    },
    {
     "name": "SPILLMONTH",
     "type": "esriFieldTypeString",
     "alias": "SPILLMONTH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 12,
     "defaultValue": null,
     "modelName": "SPILLMONTH"
    },
    {
     "name": "SPILLDOM",
     "type": "esriFieldTypeInteger",
     "alias": "SPILLDOM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLDOM"
    },
    {
     "name": "SPILLYEAR",
     "type": "esriFieldTypeInteger",
     "alias": "SPILLYEAR",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLYEAR"
    },
    {
     "name": "SPILLMONTHNUM",
     "type": "esriFieldTypeInteger",
     "alias": "SPILLMONTHNUM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLMONTHNUM"
    },
    {
     "name": "SPILLDOY",
     "type": "esriFieldTypeInteger",
     "alias": "SPILLDOY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SPILLDOY"
    },
    {
     "name": "COUNTY",
     "type": "esriFieldTypeString",
     "alias": "COUNTY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 25,
     "defaultValue": null,
     "modelName": "COUNTY"
    },
    {
     "name": "COUNTYNUM",
     "type": "esriFieldTypeString",
     "alias": "COUNTYNUM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 2,
     "defaultValue": null,
     "modelName": "COUNTYNUM"
    },
    {
     "name": "REPORTEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "REPORTEDDATE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "REPORTEDDATE"
    },
    {
     "name": "LOCATEDXY",
     "type": "esriFieldTypeString",
     "alias": "LOCATEDXY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "LOCATEDXY"
    },
    {
     "name": "LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "LATITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LATITUDE"
    },
    {
     "name": "LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "LONGITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LONGITUDE"
    },
    {
     "name": "OEPADIST",
     "type": "esriFieldTypeString",
     "alias": "OEPADIST",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "OEPADIST"
    },
    {
     "name": "CITY_TWN",
     "type": "esriFieldTypeString",
     "alias": "CITY_TWN",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "CITY_TWN"
    },
    {
     "name": "WATERWAY",
     "type": "esriFieldTypeString",
     "alias": "WATERWAY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "WATERWAY"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "indexes": [
    {
     "name": "R215_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A140_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Spill Sites and Products",
     "description": "",
     "prototype": {
      "attributes": {
       "CITY_TWN": null,
       "WATERWAY": null,
       "CASENUMBER": null,
       "REPORTEDPRODUCT": null,
       "REPORTEDAMOUNT": null,
       "REPORTEDUOM": null,
       "RECOVAMOUNT": null,
       "RECOVUNIT": null,
       "RECOVPRODUCTTYPE": null,
       "SPILLMONTH": null,
       "SPILLDOM": null,
       "SPILLYEAR": null,
       "SPILLMONTHNUM": null,
       "SPILLDOY": null,
       "COUNTY": null,
       "COUNTYNUM": null,
       "REPORTEDDATE": null,
       "LOCATEDXY": null,
       "LATITUDE": null,
       "LONGITUDE": null,
       "OEPADIST": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 2000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1,
   "serviceItemId": "95b81256d4e8450d883725ad29264fea"
  }
 ],
 "tables": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 2,
   "name": "Spilled Products",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [
    {
     "id": 0,
     "name": "to Spill Site",
     "relatedTableId": 0,
     "cardinality": "esriRelCardinalityOneToMany",
     "role": "esriRelRoleDestination",
     "keyField": "CASENUMBER",
     "composite": false,
     "catalogID": "{D3067E7D-4EA5-430D-9473-D19CC80EFAC9}"
    }
   ],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasMetadata": true,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "CASENUMBER",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "CASENUMBER",
     "type": "esriFieldTypeString",
     "alias": "CASENUMBER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 14,
     "defaultValue": null,
     "modelName": "CASENUMBER"
    },
    {
     "name": "REPORTEDPRODUCT",
     "type": "esriFieldTypeString",
     "alias": "REPORTEDPRODUCT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 75,
     "defaultValue": null,
     "modelName": "REPORTEDPRODUCT"
    },
    {
     "name": "REPORTEDAMOUNT",
     "type": "esriFieldTypeDouble",
     "alias": "REPORTEDAMOUNT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "REPORTEDAMOUNT"
    },
    {
     "name": "REPORTEDUOM",
     "type": "esriFieldTypeString",
     "alias": "REPORTEDUOM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "REPORTEDUOM"
    },
    {
     "name": "RECOVAMOUNT",
     "type": "esriFieldTypeDouble",
     "alias": "RECOVAMOUNT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RECOVAMOUNT"
    },
    {
     "name": "RECOVUNIT",
     "type": "esriFieldTypeString",
     "alias": "RECOVUNIT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "RECOVUNIT"
    },
    {
     "name": "RECOVPRODUCTTYPE",
     "type": "esriFieldTypeString",
     "alias": "RECOVPRODUCTTYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "RECOVPRODUCTTYPE"
    },
    {
     "name": "SPILLSIZE",
     "type": "esriFieldTypeString",
     "alias": "SPILLSIZE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "SPILLSIZE"
    },
    {
     "name": "SPILLTYPE",
     "type": "esriFieldTypeString",
     "alias": "SPILLTYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 55,
     "defaultValue": null,
     "modelName": "SPILLTYPE"
    }
   ],
   "indexes": [
    {
     "name": "G9605CASENUMBER",
     "fields": "CASENUMBER",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "R214_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Spilled Products",
     "description": "",
     "prototype": {
      "attributes": {
       "SPILLSIZE": null,
       "SPILLTYPE": null,
       "CASENUMBER": null,
       "REPORTEDPRODUCT": null,
       "REPORTEDAMOUNT": null,
       "REPORTEDUOM": null,
       "RECOVAMOUNT": null,
       "RECOVUNIT": null,
       "RECOVPRODUCTTYPE": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 2000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 2000,
   "maxRecordCountFactor": 1,
   "serviceItemId": "95b81256d4e8450d883725ad29264fea"
  }
 ]
}