{
 "layers": [
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 27,
   "name": "Termas",
   "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,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -1039451.6867000004,
    "ymin": 4478884.3478999995,
    "xmax": -723667.8532999996,
    "ymax": 5176956.679299999,
    "spatialReference": {
     "wkid": 102100,
     "latestWkid": 3857,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "xyUnits": 9999.824073823906,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 102100,
    "latestWkid": 3857,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5623200,
    "falseY": -14394800,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9ba4faa27446fdf75f34186fc64a4c27",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAnCAYAAAAVW4iAAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAEbElEQVRIic2XX2hbVRzHPydLrq03a7lN6h1SmCLOQlk7mDLGEFaFIgyZLxtFoS97mQzZg3SMoXsQYYKKMEGkWB+K6JPMIuIm224nBBk6Rh9W0210yILrTW93XZts7W2bI+fcJG3WrEs6B34h5OTcw/n8zvn9ye9GecyK/j8AUkYYIVIx1y0WHx3gyGeAHThsR9ATwtgEjDIiJynwNU38zovibn0AR0YR7ETyOdCFWPEsHPcg9biPWUZxZC+7uYoQhYcDHNmA5AOgvzy3GEDUWD0O1QX8icPHOPI43WLuwYAr0sBluHwdSr7LATnBYNN29gYTePcCUolOVknQj6QLR+5Z6Z9ohSMdDurN7+Vpn3dJx9vQ4xb0N0EeiOnlu4IMqXkTNlraCK2NVg8RYx/w3WqAw07gmB4vBhxocOmfNcGy8RZcPTcuTV4QeT1+o3CT8Tmb5LzLR1sMEiLg6FWXVEvnZzjyR7pFbhkQ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
      "width": 18,
      "height": 29,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": true,
   "allowTrueCurvesUpdates": true,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "Denominacao",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "Denominacao",
     "type": "esriFieldTypeString",
     "alias": "Denominação",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "Denominacao"
    },
    {
     "name": "EntExplora",
     "type": "esriFieldTypeString",
     "alias": "Entidade Exploradora",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": "-",
     "modelName": "EntExplora"
    },
    {
     "name": "IndicTerapeu",
     "type": "esriFieldTypeString",
     "alias": "Indicações terapêuticas",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": "-",
     "modelName": "IndicTerapeu"
    },
    {
     "name": "ProgrBemEstar",
     "type": "esriFieldTypeString",
     "alias": "Programas de Bem-Estar",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": "-",
     "modelName": "ProgrBemEstar"
    },
    {
     "name": "Website",
     "type": "esriFieldTypeString",
     "alias": "Website",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": "-",
     "modelName": "Website [Estancias Termais]"
    },
    {
     "name": "Email",
     "type": "esriFieldTypeString",
     "alias": "Email",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": "-",
     "modelName": "Email"
    },
    {
     "name": "Endereco",
     "type": "esriFieldTypeString",
     "alias": "Endereço",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": "-",
     "modelName": "Endereco"
    },
    {
     "name": "CodigoPostal",
     "type": "esriFieldTypeString",
     "alias": "Codigo Postal",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": "-",
     "modelName": "CodigoPostal"
    },
    {
     "name": "LocalidadeCP",
     "type": "esriFieldTypeString",
     "alias": "Localidade CP",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": "-",
     "modelName": "LocalidadeCP"
    },
    {
     "name": "Lat",
     "type": "esriFieldTypeString",
     "alias": "Latitude",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Lat"
    },
    {
     "name": "Lon",
     "type": "esriFieldTypeString",
     "alias": "Longitude",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Lon"
    },
    {
     "name": "LatLong",
     "type": "esriFieldTypeString",
     "alias": "Latitude, Longitude",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "LatLong"
    },
    {
     "name": "FiabilidadeGeo",
     "type": "esriFieldTypeString",
     "alias": "Fiabilidade da georreferenciação",
     "domain": {
      "type": "codedValue",
      "name": "dFiabilidade",
      "description": "Fiabilidade da Informação",
      "codedValues": [
       {
        "name": "Fiável",
        "code": "Fiavel"
       },
       {
        "name": "Pouco Fiável",
        "code": "PoucoFiavel"
       },
       {
        "name": "Não Fiável",
        "code": "NaoFiavel"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "FiabilidadeGeo"
    },
    {
     "name": "Freguesia",
     "type": "esriFieldTypeString",
     "alias": "Freguesia",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 500,
     "defaultValue": null,
     "modelName": "Freguesia"
    },
    {
     "name": "Concelho",
     "type": "esriFieldTypeString",
     "alias": "Concelho",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Concelho"
    },
    {
     "name": "Distrito",
     "type": "esriFieldTypeString",
     "alias": "Distrito",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Distrito"
    },
    {
     "name": "NUTSIII",
     "type": "esriFieldTypeString",
     "alias": "NUTS III",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NUTSIII"
    },
    {
     "name": "NUTSII",
     "type": "esriFieldTypeString",
     "alias": "NUTS II",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NUTSII"
    },
    {
     "name": "ERT",
     "type": "esriFieldTypeString",
     "alias": "Entidade Regional Turismo (ERT)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "ERT"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "S15_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Termas",
     "description": "",
     "prototype": {
      "attributes": {
       "NUTSII": null,
       "Denominacao": null,
       "EntExplora": "-",
       "IndicTerapeu": "-",
       "ProgrBemEstar": "-",
       "Website": "-",
       "Email": "-",
       "Endereco": "-",
       "CodigoPostal": "-",
       "LocalidadeCP": "-",
       "Lat": null,
       "Lon": null,
       "LatLong": null,
       "FiabilidadeGeo": null,
       "Freguesia": null,
       "Concelho": null,
       "Distrito": null,
       "NUTSIII": null,
       "ERT": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 200000,
   "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,
   "serviceItemId": "227e3d7f74ac4a25b1c046c4411b1ad6"
  }
 ],
 "tables": []
}