{
 "tables": [
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "ATN___Registo_Interno_atividades_atn",
     "relatedTableId": 0,
     "id": 0,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "hasViews": true,
   "supportsAttachmentsResizing": true,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "atividades_atn",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "atividade_cod",
     "length": 255,
     "alias": "Código de atividade",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "atividade",
     "length": 255,
     "alias": "Atividades",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r661_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_661",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  },
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "ATN___Registo_Interno_ap_atn",
     "relatedTableId": 0,
     "id": 1,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "hasViews": true,
   "supportsAttachmentsResizing": true,
   "id": 2,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "ap_atn",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ap_sigla",
     "length": 255,
     "alias": "Sigla da Área Protegida",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ap",
     "length": 255,
     "alias": "Áreas protegidas",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r662_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_662",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  },
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "ATN___Registo_Interno_zec_atn",
     "relatedTableId": 0,
     "id": 2,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "hasViews": true,
   "supportsAttachmentsResizing": true,
   "id": 3,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "zec_atn",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zec_codigo",
     "length": 255,
     "alias": "Código da ZEC",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zec",
     "length": 255,
     "alias": "Zonas Especiais de Conservação",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r663_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_663",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  },
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "ATN___Registo_Interno_zpe_atn",
     "relatedTableId": 0,
     "id": 3,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "hasViews": true,
   "supportsAttachmentsResizing": true,
   "id": 4,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "zpe_atn",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zpe_codigo",
     "length": 255,
     "alias": "Código da ZPE",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zpe",
     "length": 255,
     "alias": "Zonas de Proteção Especial",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r664_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_664",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  }
 ],
 "layers": [
  {
   "extent": {
    "ymin": -90,
    "xmin": -180,
    "ymax": 90,
    "xmax": 180,
    "spatialReference": {"wkid": 4326},
    "type": "extent"
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Feature Layer",
   "hasStaticData": false,
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "ATN___Registo_Interno_atividades_atn",
     "relatedTableId": 1,
     "id": 0,
     "cardinality": "esriRelCardinalityOneToMany"
    },
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "ATN___Registo_Interno_ap_atn",
     "relatedTableId": 2,
     "id": 1,
     "cardinality": "esriRelCardinalityOneToMany"
    },
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "ATN___Registo_Interno_zec_atn",
     "relatedTableId": 3,
     "id": 2,
     "cardinality": "esriRelCardinalityOneToMany"
    },
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "ATN___Registo_Interno_zpe_atn",
     "relatedTableId": 4,
     "id": 3,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "hasViews": true,
   "supportsAttachmentsResizing": true,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "New Feature",
     "description": "",
     "prototype": {
      "attributes": {}
     }
    }
   ],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "ATN___Registo_Interno",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "uniquerowid",
     "length": 38,
     "alias": "RowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_3f5a5c520f82494094afd9fe065c3f7b_cvd_drcnf",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Alentejo",
        "name": "Alentejo"
       },
       {
        "code": "Algarve",
        "name": "Algarve"
       },
       {
        "code": "Centro",
        "name": "Centro"
       },
       {
        "code": "Lisboa e Vale do Tejo",
        "name": "Lisboa e Vale do Tejo"
       },
       {
        "code": "Norte",
        "name": "Norte"
       },
       {
        "code": "Sede - DAGAC",
        "name": "Sede - DAGAC"
       }
      ]
     },
     "name": "drcnf",
     "length": 255,
     "alias": "Região/Unidade Orgânica",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "utilizador",
     "length": 255,
     "alias": "Nome do utilizador",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "entidade",
     "length": 255,
     "alias": "entidade",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "marca",
     "length": 255,
     "alias": "marca",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "rnaat",
     "length": 255,
     "alias": "rnaat",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "atividades_cod",
     "length": 255,
     "alias": "Indicar a atividade de acordo com a lista constante no Anexo \"Lista exemplificativa de atividades de empresas de animação turística\" a que se refere o n.º 1 do artigo 3.º Decreto-Lei n.º 186/2015 de 3 de setembro",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "atividades_outra",
     "length": 255,
     "alias": "Específique a \"outra\" atividade",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "atividades_atn_count",
     "length": 255,
     "alias": "atividades_atn_count",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "atividades",
     "length": 3000,
     "alias": "atividades",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "rnap_cod",
     "length": 255,
     "alias": "Áreas protegidas",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ap_atn_count",
     "length": 255,
     "alias": "ap_atn_count",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "rnap",
     "length": 3000,
     "alias": "rnap",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zec_cod",
     "length": 255,
     "alias": "Zonas Especiais de Conservação",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zec_atn_count",
     "length": 255,
     "alias": "zec_atn_count",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "rn2000_zec",
     "length": 3000,
     "alias": "rn2000_zec",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zpe_cod",
     "length": 255,
     "alias": "Zonas de Proteção Especial",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zpe_atn_count",
     "length": 255,
     "alias": "zpe_atn_count",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "rn2000_zpe",
     "length": 3000,
     "alias": "rn2000_zpe",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_3f5a5c520f82494094afd9fe065c3f7b_cvd_regime_florestal",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "sim",
        "name": "Sim"
       },
       {
        "code": "não",
        "name": "Não"
       }
      ]
     },
     "name": "regime_florestal",
     "length": 255,
     "alias": "Regime Florestal",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "oficio",
     "length": 255,
     "alias": "Autorização (nº Oficio saída)",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "data_autorizacao",
     "length": 29,
     "alias": "Data do início da autorização",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "data_validade",
     "length": 29,
     "alias": "Validade da autorização",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "observacoes",
     "length": 255,
     "alias": "Observações",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_3f5a5c520f82494094afd9fe065c3f7b_cvd_validacao",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Validado",
        "name": "Validado"
       },
       {
        "code": "Por validar",
        "name": "Por validar"
       }
      ]
     },
     "name": "validacao",
     "length": 255,
     "alias": "Validação",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "standardMaxRecordCountNoGeometry": 16000,
   "indexes": [
    {
     "name": "r660_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_660",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    },
    {
     "name": "a411_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        255,
        255,
        0,
        255
       ],
       "width": 1
      },
      "color": [
       255,
       0,
       0,
       255
      ],
      "size": 8,
      "yoffset": 0,
      "xoffset": 0,
      "angle": 0,
      "style": "esriSMSCircle",
      "type": "esriSMS"
     },
     "description": "Survey Data Locations",
     "label": "ATN - Registo Interno",
     "type": "simple"
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "geometryType": "esriGeometryPoint",
   "supportsLayerOverrides": true
  }
 ]
}