{
 "layers": [
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 0,
   "name": "Barragens",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "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
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -18330.826419635123,
    "ymin": 146587.21544482166,
    "xmax": 113166.55840267912,
    "ymax": 255543.8706185643,
    "spatialReference": {
     "wkid": 27492,
     "latestWkid": 27493,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5623200,
     "falseY": -14395100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 27492,
    "latestWkid": 27493,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5623200,
    "falseY": -14395100,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedSize",
      "classificationMethod": "esriClassifyManual"
     },
     "field": "PercEnchimento",
     "classificationMethod": "esriClassifyManual",
     "minValue": 45.05,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         230,
         0,
         0,
         255
        ],
        "size": 4,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.7
        }
       },
       "classMaxValue": 45.42977941176471,
       "label": "45.050000 - 45.429779"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         245,
         245,
         0,
         255
        ],
        "size": 4,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.7
        }
       },
       "classMaxValue": 75,
       "label": "45.429780 - 75.000000"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         76,
         230,
         0,
         255
        ],
        "size": 4,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.7
        }
       },
       "classMaxValue": 200,
       "label": "75.000001 - 200.000000"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "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": "Designacao",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "IPID",
     "type": "esriFieldTypeInteger",
     "alias": "IPID",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "IPID"
    },
    {
     "name": "TAGID_N",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TAGID_N",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TAGID_N"
    },
    {
     "name": "TAGID_V",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TAGID_V",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TAGID_V"
    },
    {
     "name": "Designacao",
     "type": "esriFieldTypeString",
     "alias": "Designacao",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "Designacao"
    },
    {
     "name": "Afluentes",
     "type": "esriFieldTypeString",
     "alias": "Afluentes",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 40,
     "defaultValue": null,
     "modelName": "Afluentes"
    },
    {
     "name": "Finalidade",
     "type": "esriFieldTypeString",
     "alias": "Finalidade",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 40,
     "defaultValue": null,
     "modelName": "Finalidade"
    },
    {
     "name": "Sistema",
     "type": "esriFieldTypeString",
     "alias": "Sistema",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 128,
     "defaultValue": null,
     "modelName": "Sistema"
    },
    {
     "name": "Subsistema",
     "type": "esriFieldTypeString",
     "alias": "Subsistema",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 128,
     "defaultValue": null,
     "modelName": "Subsistema"
    },
    {
     "name": "Distrito",
     "type": "esriFieldTypeString",
     "alias": "Distrito",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 40,
     "defaultValue": null,
     "modelName": "Distrito"
    },
    {
     "name": "Concelho",
     "type": "esriFieldTypeString",
     "alias": "Concelho",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 40,
     "defaultValue": null,
     "modelName": "Concelho"
    },
    {
     "name": "Freguesia",
     "type": "esriFieldTypeString",
     "alias": "Freguesia",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 100,
     "defaultValue": null,
     "modelName": "Freguesia"
    },
    {
     "name": "NivelMaximoCheia",
     "type": "esriFieldTypeDouble",
     "alias": "NivelMaximoCheia",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NivelMaximoCheia"
    },
    {
     "name": "NivelMinimoExploracao",
     "type": "esriFieldTypeDouble",
     "alias": "NivelMinimoExploracao",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NivelMinimoExploracao"
    },
    {
     "name": "AreaAlagadaHa",
     "type": "esriFieldTypeString",
     "alias": "AreaAlagadaHa",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 20,
     "defaultValue": null,
     "modelName": "AreaAlagadaHa"
    },
    {
     "name": "NivelPlenoArmazenamento",
     "type": "esriFieldTypeDouble",
     "alias": "NivelPlenoArmazenamento",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NivelPlenoArmazenamento"
    },
    {
     "name": "CapacidadeUtilM3",
     "type": "esriFieldTypeDouble",
     "alias": "CapacidadeUtilM3",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "CapacidadeUtilM3"
    },
    {
     "name": "CapacidadeTotalM3",
     "type": "esriFieldTypeInteger",
     "alias": "CapacidadeTotalM3",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "CapacidadeTotalM3"
    },
    {
     "name": "Nivel",
     "type": "esriFieldTypeDouble",
     "alias": "Nivel",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Nivel"
    },
    {
     "name": "NivelDataMedicao",
     "type": "esriFieldTypeDate",
     "alias": "NivelDataMedicao",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "NivelDataMedicao"
    },
    {
     "name": "Volume",
     "type": "esriFieldTypeDouble",
     "alias": "Volume",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Volume"
    },
    {
     "name": "VolumeDataMedicao",
     "type": "esriFieldTypeDate",
     "alias": "VolumeDataMedicao",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "VolumeDataMedicao"
    },
    {
     "name": "PercEnchimento",
     "type": "esriFieldTypeDouble",
     "alias": "PercEnchimento",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "PercEnchimento"
    },
    {
     "name": "Imagem",
     "type": "esriFieldTypeString",
     "alias": "Imagem",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Imagem"
    }
   ],
   "geometryField": {
    "name": "Geometria",
    "type": "esriFieldTypeGeometry",
    "alias": "Geometria",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Geometria"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "GMT Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Barragens",
     "description": "",
     "prototype": {
      "attributes": {
       "PercEnchimento": null,
       "Imagem": null,
       "IPID": 0,
       "TAGID_N": null,
       "TAGID_V": null,
       "Designacao": null,
       "Afluentes": null,
       "Finalidade": null,
       "Sistema": " ",
       "Subsistema": " ",
       "Distrito": " ",
       "Concelho": " ",
       "Freguesia": " ",
       "NivelMaximoCheia": null,
       "NivelMinimoExploracao": null,
       "AreaAlagadaHa": null,
       "NivelPlenoArmazenamento": null,
       "CapacidadeUtilM3": null,
       "CapacidadeTotalM3": null,
       "Nivel": null,
       "NivelDataMedicao": null,
       "Volume": null,
       "VolumeDataMedicao": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 2000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb",
   "capabilities": "Query",
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1,
   "serviceItemId": "d75bc9ce0a434f1499c0b21788a75928"
  }
 ],
 "tables": []
}