{
 "currentVersion": 11.1,
 "cimVersion": "3.1.0",
 "id": 12,
 "name": "River Flow and Stage Monitoring - Live",
 "type": "Feature Layer",
 "parentLayer": null,
 "defaultVisibility": false,
 "minScale": 0,
 "maxScale": 0,
 "canScaleSymbols": false,
 "geometryType": "esriGeometryPoint",
 "description": "",
 "copyrightText": "",
 "editFieldsInfo": null,
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": false,
 "relationships": [],
 "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,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": false,
  "supportsSqlExpression": true,
  "supportsQueryWithDatumTransformation": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsQueryAnalytic": true
 },
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "advancedEditingCapabilities": {
  "supportedSqlFormatsInCalculate": [
   "standard"
  ],
  "supportsAsyncApplyEdits": true,
  "supportsApplyEditsbyUploadID": true,
  "supportedApplyEditsUploadIDFormats": "JSON"
 },
 "hasMetadata": true,
 "extent": {
  "xmin": 1339755.1253000004,
  "ymin": 5020366.9323,
  "xmax": 2458915.1257999996,
  "ymax": 5337597.5726,
  "spatialReference": {
   "wkid": 2193,
   "latestWkid": 2193,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -4020900,
   "falseY": 1900,
   "xyUnits": 4.504455473910538E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "sourceSpatialReference": {
  "wkid": 2193,
  "latestWkid": 2193,
  "xyTolerance": 0.001,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -4020900,
  "falseY": 1900,
  "xyUnits": 10000,
  "falseZ": 0,
  "zUnits": 1,
  "falseM": 0,
  "mUnits": 1
 },
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSMS",
    "style": "esriSMSCircle",
    "color": [
     137,
     74,
     45,
     255
    ],
    "size": 4,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0,
    "outline": {
     "color": [
      0,
      0,
      0,
      255
     ],
     "width": 0.7
    }
   }
  },
  "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": "SITENAME",
 "typeIdField": "",
 "subtypeField": "",
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "OBJECTID"
  },
  {
   "name": "RIVER",
   "type": "esriFieldTypeString",
   "alias": "RIVER",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 50,
   "defaultValue": null,
   "modelName": "RIVER"
  },
  {
   "name": "SITENAME",
   "type": "esriFieldTypeString",
   "alias": "SITENAME",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 64,
   "defaultValue": null,
   "modelName": "SITENAME"
  },
  {
   "name": "SITE",
   "type": "esriFieldTypeString",
   "alias": "SITE",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 118,
   "defaultValue": null,
   "modelName": "SITE"
  },
  {
   "name": "SITENUMBER",
   "type": "esriFieldTypeInteger",
   "alias": "SITENUMBER",
   "domain": null,
   "editable": true,
   "nullable": false,
   "defaultValue": null,
   "modelName": "SITENUMBER"
  },
  {
   "name": "TIM_CHCH",
   "type": "esriFieldTypeString",
   "alias": "TIM_CHCH",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "TIM_CHCH"
  },
  {
   "name": "RECORDER_SITE",
   "type": "esriFieldTypeString",
   "alias": "RECORDER_SITE",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "RECORDER_SITE"
  },
  {
   "name": "TELEMETERED",
   "type": "esriFieldTypeString",
   "alias": "TELEMETERED",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "TELEMETERED"
  },
  {
   "name": "COMPLIANCE_MONITORING",
   "type": "esriFieldTypeString",
   "alias": "COMPLIANCE_MONITORING",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "COMPLIANCE_MONITORING"
  },
  {
   "name": "FLOOD_CONTROL",
   "type": "esriFieldTypeString",
   "alias": "FLOOD_CONTROL",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "FLOOD_CONTROL"
  },
  {
   "name": "MINIMUM_FLOW_SITE",
   "type": "esriFieldTypeString",
   "alias": "MINIMUM_FLOW_SITE",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "MINIMUM_FLOW_SITE"
  },
  {
   "name": "MINIMUM_FLOW",
   "type": "esriFieldTypeSingle",
   "alias": "MINIMUM_FLOW",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "MINIMUM_FLOW"
  },
  {
   "name": "NO_OF_GAUGINGS",
   "type": "esriFieldTypeInteger",
   "alias": "NO_OF_GAUGINGS",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NO_OF_GAUGINGS"
  },
  {
   "name": "FIRST_GAUGING",
   "type": "esriFieldTypeDate",
   "alias": "FIRST_GAUGING",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "FIRST_GAUGING"
  },
  {
   "name": "LAST_GAUGING",
   "type": "esriFieldTypeDate",
   "alias": "LAST_GAUGING",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "LAST_GAUGING"
  },
  {
   "name": "LOWEST_FLOW",
   "type": "esriFieldTypeSingle",
   "alias": "LOWEST_FLOW",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "LOWEST_FLOW"
  },
  {
   "name": "HIGHEST_FLOW",
   "type": "esriFieldTypeSingle",
   "alias": "HIGHEST_FLOW",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "HIGHEST_FLOW"
  },
  {
   "name": "ALTITUDE",
   "type": "esriFieldTypeSmallInteger",
   "alias": "ALTITUDE",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ALTITUDE"
  },
  {
   "name": "NZMGX",
   "type": "esriFieldTypeInteger",
   "alias": "NZMGX",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZMGX"
  },
  {
   "name": "NZMGY",
   "type": "esriFieldTypeInteger",
   "alias": "NZMGY",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZMGY"
  },
  {
   "name": "NZMS260",
   "type": "esriFieldTypeString",
   "alias": "NZMS260",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 16,
   "defaultValue": null,
   "modelName": "NZMS260"
  },
  {
   "name": "NZTMX",
   "type": "esriFieldTypeInteger",
   "alias": "NZTMX",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZTMX"
  },
  {
   "name": "NZTMY",
   "type": "esriFieldTypeInteger",
   "alias": "NZTMY",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZTMY"
  },
  {
   "name": "NZTOPO50",
   "type": "esriFieldTypeString",
   "alias": "NZTOPO50",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 16,
   "defaultValue": null,
   "modelName": "NZTOPO50"
  },
  {
   "name": "Flow_or_Stage",
   "type": "esriFieldTypeString",
   "alias": "Flow_or_Stage",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "Flow_or_Stage"
  },
  {
   "name": "Website_table_order",
   "type": "esriFieldTypeInteger",
   "alias": "Website_table_order",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Website_table_order"
  },
  {
   "name": "North_or_South",
   "type": "esriFieldTypeString",
   "alias": "North_or_South",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "North_or_South"
  },
  {
   "name": "Supress_table",
   "type": "esriFieldTypeString",
   "alias": "Supress_table",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "Supress_table"
  },
  {
   "name": "Flow_or_stage_hydrotel",
   "type": "esriFieldTypeString",
   "alias": "Flow_or_stage_hydrotel",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": null,
   "modelName": "Flow_or_stage_hydrotel"
  },
  {
   "name": "Comment_for_web",
   "type": "esriFieldTypeString",
   "alias": "Comment_for_web",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 100,
   "defaultValue": null,
   "modelName": "Comment_for_web"
  },
  {
   "name": "Water_temperature_point",
   "type": "esriFieldTypeInteger",
   "alias": "Water_temperature_point",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Water_temperature_point"
  },
  {
   "name": "Last_sample",
   "type": "esriFieldTypeDate",
   "alias": "Last_sample",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Last_sample"
  },
  {
   "name": "Current_stage_height_m",
   "type": "esriFieldTypeDouble",
   "alias": "Current_stage_height_m",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Current_stage_height_m"
  },
  {
   "name": "Current_flow_m3s",
   "type": "esriFieldTypeDouble",
   "alias": "Current_flow_m3s",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Current_flow_m3s"
  },
  {
   "name": "Change_last_hour_mm",
   "type": "esriFieldTypeDouble",
   "alias": "Change_last_hour_mm",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Change_last_hour_mm"
  },
  {
   "name": "Peak_stage_7_day",
   "type": "esriFieldTypeDouble",
   "alias": "Peak_stage_7_day",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Peak_stage_7_day"
  },
  {
   "name": "Peak_flow_7_day",
   "type": "esriFieldTypeDouble",
   "alias": "Peak_flow_7_day",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Peak_flow_7_day"
  },
  {
   "name": "Peak_stage_7_day_date",
   "type": "esriFieldTypeDate",
   "alias": "Peak_stage_7_day_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Peak_stage_7_day_date"
  },
  {
   "name": "Water_temperature",
   "type": "esriFieldTypeDouble",
   "alias": "Water_temperature",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Water_temperature"
  },
  {
   "name": "Mean_annual_flood_stage",
   "type": "esriFieldTypeDouble",
   "alias": "Mean_annual_flood_stage",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Mean_annual_flood_stage"
  },
  {
   "name": "ARI_stage_5_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_stage_5_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_stage_5_year"
  },
  {
   "name": "ARI_stage_10_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_stage_10_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_stage_10_year"
  },
  {
   "name": "ARI_stage_20_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_stage_20_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_stage_20_year"
  },
  {
   "name": "ARI_stage_50_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_stage_50_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_stage_50_year"
  },
  {
   "name": "Mean_annual_flood_flow",
   "type": "esriFieldTypeDouble",
   "alias": "Mean_annual_flood_flow",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Mean_annual_flood_flow"
  },
  {
   "name": "ARI_flow_5_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_5_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_5_year"
  },
  {
   "name": "ARI_flow_10_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_10_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_10_year"
  },
  {
   "name": "ARI_flow_20_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_20_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_20_year"
  },
  {
   "name": "ARI_flow_50_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_50_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_50_year"
  },
  {
   "name": "ARI_flow_100_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_100_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_100_year"
  },
  {
   "name": "ARI_flow_200_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_200_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_200_year"
  },
  {
   "name": "ARI_flow_500_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_500_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_500_year"
  },
  {
   "name": "ARI_flow_1000_year",
   "type": "esriFieldTypeDouble",
   "alias": "ARI_flow_1000_year",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "ARI_flow_1000_year"
  },
  {
   "name": "Flood_frequency_distribution",
   "type": "esriFieldTypeString",
   "alias": "Flood_frequency_distribution",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_frequency_distribution"
  },
  {
   "name": "Flood_frequency_method",
   "type": "esriFieldTypeString",
   "alias": "Flood_frequency_method",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_frequency_method"
  },
  {
   "name": "Maximum_recorded_flow",
   "type": "esriFieldTypeDouble",
   "alias": "Maximum_recorded_flow",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Maximum_recorded_flow"
  },
  {
   "name": "Maximum_recorded_flow_date",
   "type": "esriFieldTypeString",
   "alias": "Maximum_recorded_flow_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "Maximum_recorded_flow_date"
  },
  {
   "name": "Maximum_recorded_stage",
   "type": "esriFieldTypeDouble",
   "alias": "Maximum_recorded_stage",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Maximum_recorded_stage"
  },
  {
   "name": "Maximum_recorded_stage_date",
   "type": "esriFieldTypeString",
   "alias": "Maximum_recorded_stage_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "Maximum_recorded_stage_date"
  },
  {
   "name": "Record_length_years",
   "type": "esriFieldTypeInteger",
   "alias": "Record_length_years",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Record_length_years"
  },
  {
   "name": "Catchment_area",
   "type": "esriFieldTypeDouble",
   "alias": "Catchment_area",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Catchment_area"
  },
  {
   "name": "Flood_freq_analysis_notes",
   "type": "esriFieldTypeString",
   "alias": "Flood_freq_analysis_notes",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_freq_analysis_notes"
  },
  {
   "name": "Flood_freq_analysis_chng_note",
   "type": "esriFieldTypeString",
   "alias": "Flood_freq_analysis_chng_note",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_freq_analysis_chng_note"
  },
  {
   "name": "Flood_frequency_source",
   "type": "esriFieldTypeString",
   "alias": "Flood_frequency_source",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_frequency_source"
  },
  {
   "name": "Flood_frequency_source_link",
   "type": "esriFieldTypeString",
   "alias": "Flood_frequency_source_link",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_frequency_source_link"
  },
  {
   "name": "Flood_freq_analysis_date",
   "type": "esriFieldTypeString",
   "alias": "Flood_freq_analysis_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "Flood_freq_analysis_date"
  },
  {
   "name": "Historic_flow_A",
   "type": "esriFieldTypeDouble",
   "alias": "Historic_flow_A",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Historic_flow_A"
  },
  {
   "name": "Historic_flow_A_date",
   "type": "esriFieldTypeDate",
   "alias": "Historic_flow_A_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Historic_flow_A_date"
  },
  {
   "name": "Historic_flow_B",
   "type": "esriFieldTypeDouble",
   "alias": "Historic_flow_B",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Historic_flow_B"
  },
  {
   "name": "Historic_flow_B_date",
   "type": "esriFieldTypeDate",
   "alias": "Historic_flow_B_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Historic_flow_B_date"
  },
  {
   "name": "Historic_flow_C",
   "type": "esriFieldTypeDouble",
   "alias": "Historic_flow_C",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Historic_flow_C"
  },
  {
   "name": "Historic_flow_C_date",
   "type": "esriFieldTypeDate",
   "alias": "Historic_flow_C_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Historic_flow_C_date"
  },
  {
   "name": "Historic_stage_A",
   "type": "esriFieldTypeDouble",
   "alias": "Historic_stage_A",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Historic_stage_A"
  },
  {
   "name": "Historic_stage_A_date",
   "type": "esriFieldTypeDate",
   "alias": "Historic_stage_A_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Historic_stage_A_date"
  },
  {
   "name": "Historic_stage_B",
   "type": "esriFieldTypeDouble",
   "alias": "Historic_stage_B",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Historic_stage_B"
  },
  {
   "name": "Historic_stage_B_date",
   "type": "esriFieldTypeDate",
   "alias": "Historic_stage_B_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Historic_stage_B_date"
  },
  {
   "name": "Historic_stage_C",
   "type": "esriFieldTypeDouble",
   "alias": "Historic_stage_C",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "Historic_stage_C"
  },
  {
   "name": "Historic_stage_C_date",
   "type": "esriFieldTypeDate",
   "alias": "Historic_stage_C_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "Historic_stage_C_date"
  },
  {
   "name": "Datum",
   "type": "esriFieldTypeString",
   "alias": "Datum",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "Datum"
  }
 ],
 "geometryField": {
  "name": "SHAPE",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE",
  "domain": null,
  "editable": false,
  "nullable": true,
  "defaultValue": null,
  "modelName": "SHAPE"
 },
 "datesInUnknownTimezone": false,
 "dateFieldsTimeReference": {
  "timeZone": "New Zealand Standard Time",
  "respectsDaylightSaving": false
 },
 "preferredTimeReference": null,
 "types": [],
 "templates": [
  {
   "name": "River Flow and Stage Monitoring - Live",
   "description": "",
   "prototype": {
    "attributes": {
     "Historic_stage_C_date": null,
     "Datum": null,
     "RIVER": " ",
     "SITENAME": " ",
     "SITE": " ",
     "SITENUMBER": 0,
     "TIM_CHCH": null,
     "RECORDER_SITE": null,
     "TELEMETERED": null,
     "COMPLIANCE_MONITORING": null,
     "FLOOD_CONTROL": null,
     "MINIMUM_FLOW_SITE": null,
     "MINIMUM_FLOW": null,
     "NO_OF_GAUGINGS": null,
     "FIRST_GAUGING": null,
     "LAST_GAUGING": null,
     "LOWEST_FLOW": null,
     "HIGHEST_FLOW": null,
     "ALTITUDE": null,
     "NZMGX": null,
     "NZMGY": null,
     "NZMS260": null,
     "NZTMX": null,
     "NZTMY": null,
     "NZTOPO50": null,
     "Flow_or_Stage": null,
     "Website_table_order": null,
     "North_or_South": null,
     "Supress_table": null,
     "Flow_or_stage_hydrotel": null,
     "Comment_for_web": null,
     "Water_temperature_point": null,
     "Last_sample": null,
     "Current_stage_height_m": null,
     "Current_flow_m3s": null,
     "Change_last_hour_mm": null,
     "Peak_stage_7_day": null,
     "Peak_flow_7_day": null,
     "Peak_stage_7_day_date": null,
     "Water_temperature": null,
     "Mean_annual_flood_stage": null,
     "ARI_stage_5_year": null,
     "ARI_stage_10_year": null,
     "ARI_stage_20_year": null,
     "ARI_stage_50_year": null,
     "Mean_annual_flood_flow": null,
     "ARI_flow_5_year": null,
     "ARI_flow_10_year": null,
     "ARI_flow_20_year": null,
     "ARI_flow_50_year": null,
     "ARI_flow_100_year": null,
     "ARI_flow_200_year": null,
     "ARI_flow_500_year": null,
     "ARI_flow_1000_year": null,
     "Flood_frequency_distribution": null,
     "Flood_frequency_method": null,
     "Maximum_recorded_flow": null,
     "Maximum_recorded_flow_date": null,
     "Maximum_recorded_stage": null,
     "Maximum_recorded_stage_date": null,
     "Record_length_years": null,
     "Catchment_area": null,
     "Flood_freq_analysis_notes": null,
     "Flood_freq_analysis_chng_note": null,
     "Flood_frequency_source": null,
     "Flood_frequency_source_link": null,
     "Flood_freq_analysis_date": null,
     "Historic_flow_A": null,
     "Historic_flow_A_date": null,
     "Historic_flow_B": null,
     "Historic_flow_B_date": null,
     "Historic_flow_C": null,
     "Historic_flow_C_date": null,
     "Historic_stage_A": null,
     "Historic_stage_A_date": null,
     "Historic_stage_B": null,
     "Historic_stage_B_date": null,
     "Historic_stage_C": null
    }
   },
   "drawingTool": "esriFeatureEditToolPoint"
  }
 ],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
 "capabilities": "Query",
 "useStandardizedQueries": true,
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "standardMaxRecordCount": 32000,
 "tileMaxRecordCount": 8000,
 "standardMaxRecordCountNoGeometry": 32000,
 "maxRecordCountFactor": 1
}