{
 "currentVersion": 10.91,
 "cimVersion": "2.9.0",
 "id": 1,
 "name": "SamplingEvents",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPolyline",
 "sourceSpatialReference": {
  "wkid": 26912,
  "latestWkid": 26912,
  "xyTolerance": 0.001,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -5120900,
  "falseY": -9998100,
  "xyUnits": 10000,
  "falseZ": 0,
  "zUnits": 1,
  "falseM": 0,
  "mUnits": 1
 },
 "copyrightText": "",
 "parentLayer": null,
 "subLayers": [],
 "minScale": 0,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSLS",
    "style": "esriSLSSolid",
    "color": [
     79,
     167,
     255,
     255
    ],
    "width": 4
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": -1.2694894446640665E7,
  "ymin": 4459283.395313467,
  "xmax": -1.2162385541453276E7,
  "ymax": 5151163.447228919,
  "spatialReference": {
   "wkid": 102100,
   "latestWkid": 3857,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -20037700,
   "falseY": -30241100,
   "xyUnits": 10000,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "GEO_DEF",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "EVENT_ID",
   "type": "esriFieldTypeGUID",
   "alias": "Event ID",
   "length": 38,
   "domain": null
  },
  {
   "name": "GEO_DEF",
   "type": "esriFieldTypeString",
   "alias": "Geomtry Definition String",
   "length": 1000,
   "domain": null
  },
  {
   "name": "LOCATION_NOTES",
   "type": "esriFieldTypeString",
   "alias": "Location Notes",
   "length": 1000,
   "domain": null
  },
  {
   "name": "EVENT_DATE",
   "type": "esriFieldTypeDate",
   "alias": "Event Date",
   "length": 8,
   "domain": null
  },
  {
   "name": "STATION_ID",
   "type": "esriFieldTypeGUID",
   "alias": "Station ID",
   "length": 38,
   "domain": null
  },
  {
   "name": "SEGMENT_LENGTH",
   "type": "esriFieldTypeInteger",
   "alias": "Stream Length",
   "domain": null
  },
  {
   "name": "NUM_PASSES",
   "type": "esriFieldTypeSmallInteger",
   "alias": "Number of Passes",
   "domain": null
  },
  {
   "name": "WEATHER",
   "type": "esriFieldTypeString",
   "alias": "Weather Condition",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "weather_condition",
    "description": "Weather Conditions",
    "codedValues": [
     {
      "name": "sunny",
      "code": "sunny"
     },
     {
      "name": "partly cloudy",
      "code": "partly cloudy"
     },
     {
      "name": "partly sunny",
      "code": "partly sunny"
     },
     {
      "name": "overcast",
      "code": "overcast"
     },
     {
      "name": "rain",
      "code": "rain"
     },
     {
      "name": "sleet",
      "code": "sleet"
     },
     {
      "name": "snow",
      "code": "snow"
     },
     {
      "name": "clear",
      "code": "clear"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "OBSERVERS",
   "type": "esriFieldTypeString",
   "alias": "Observers",
   "length": 255,
   "domain": null
  },
  {
   "name": "SURVEY_PURPOSE",
   "type": "esriFieldTypeString",
   "alias": "Survey Purpose",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "survey_purpose",
    "description": "the purpose of the survey",
    "codedValues": [
     {
      "name": "Depletion estimate",
      "code": "Depletion estimate"
     },
     {
      "name": "Mark-Recapture",
      "code": "Mark-Recapture"
     },
     {
      "name": "Disease certification",
      "code": "Disease certification"
     },
     {
      "name": "Presence/absence",
      "code": "Presence/absence"
     },
     {
      "name": "Fish community",
      "code": "Fish community"
     },
     {
      "name": "Fish propagation",
      "code": "Fish propagation"
     },
     {
      "name": "Catch and Effort",
      "code": "Catch and Effort"
     },
     {
      "name": "Non-native fish removal",
      "code": "Non-native fish removal"
     },
     {
      "name": "Genetics",
      "code": "Genetics"
     },
     {
      "name": "Other",
      "code": "Other"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "SHAPE",
   "type": "esriFieldTypeGeometry",
   "alias": "SHAPE",
   "domain": null
  },
  {
   "name": "SUBMITTER",
   "type": "esriFieldTypeString",
   "alias": "Submitter Email",
   "length": 255,
   "domain": null
  },
  {
   "name": "SHAPE.STLength()",
   "type": "esriFieldTypeDouble",
   "alias": "SHAPE.STLength()",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "SHAPE",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE"
 },
 "indexes": [
  {
   "name": "R25_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "G55EVENT_ID",
   "fields": "EVENT_ID",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "G55STATION_ID",
   "fields": "STATION_ID",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "S5_idx",
   "fields": "SHAPE",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "subtypes": [],
 "relationships": [
  {
   "id": 1,
   "name": "Fish",
   "relatedTableId": 2,
   "role": "esriRelRoleOrigin",
   "keyField": "EVENT_ID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": true
  },
  {
   "id": 2,
   "name": "Equipment",
   "relatedTableId": 7,
   "role": "esriRelRoleOrigin",
   "keyField": "EVENT_ID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": true
  },
  {
   "id": 3,
   "name": "Habitat",
   "relatedTableId": 6,
   "role": "esriRelRoleOrigin",
   "keyField": "EVENT_ID",
   "cardinality": "esriRelCardinalityOneToOne",
   "composite": true
  },
  {
   "id": 4,
   "name": "Transect",
   "relatedTableId": 9,
   "role": "esriRelRoleOrigin",
   "keyField": "EVENT_ID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": true
  },
  {
   "id": 0,
   "name": "Stations",
   "relatedTableId": 0,
   "role": "esriRelRoleDestination",
   "keyField": "STATION_ID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false
  }
 ],
 "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},
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "advancedQueryCapabilities": {
  "useStandardizedQueries": false,
  "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": true,
  "supportsQueryAnalytic": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeLengthFieldName": "SHAPE.STLength()",
  "units": "esriMeters"
 },
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}